[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Radeon 9600 graphics on an eMac (powermac6,4)



Sorry, I have been meaning to reply about this. I don't believe it's possible to get radeon running without an edid bin (I couldn't get it working anyway, but the situation may have changed since then), and it does need to be loaded from initrd. But I haven't tried a 1152x864 bin file, I use the native resolution of the display (1280x960). I can share my .bin file if it would help.

However, the radeon driver for the 9600, at least on PowerPC, has significant bugs, which I have reported here: https://gitlab.freedesktop.org/drm/amd/-/issues/2269

Best regard,
Ed





On Mon, 12 Jun 2023 at 20:49, Maite Gamper <victor@wenzeslaus.de> wrote:
Sorry, I switched up some terminals and accidentially sent the
xorg resolution file from my other computer, the actual file would
be:

# cat /etc/X11/xorg.conf.d/10-monitor.conf
Section "Monitor"
         Identifier "VGA-0"
         Modeline "1280x960" 122.24 1280 1328 1424 1696 960 961 964 1002
+hsync +vsync
         Modeline "1152x864" 112.44 1152 1216 1344 1560 864 865 868 906
+hsync +vsync
         Modeline "1024x768" 99.19 1024 1072 1168 1376 768 769 772 810
+hsync +vsync
         Modeline "800x600" 77.84 800 816 896 1080 600 601 604 642
+hsync +vsync
         Modeline "640x480" 62.27 640 656 720 864 480 481 484 522 +hsync
+vsync
EndSection

Sorry for mixing that up, and sorry for the previous message being
HTML-formatted, I forgot to check text only

regards,
Maite

On 12.06.23 21:30, Maite Gamper wrote:
>
> Hello again,
>
> I both tried setting the display resolution via Modelines and EDID,
> like described in the thread [1].
>
> Using the config file
>
> $ cat /etc/X11/xorg.conf.d/resolutions.conf
> Section "Monitor"
>     Identifier "Monitor0"
> #    VendorName "Dell"
>     Modeline "1600x1200_120.00i"  167.25  1600 1712 1880 2160 1200
> 1203 1207 1246  Interlace  -HSync +Vsync
>     Modeline "1600x1200_170.00i"  248.00  1600 1728 1896 2192 1200
> 1203 1207 1266  Interlace  -HSync +Vsync
>
>     # 1920x1440 @ 100.00 Hz Interlaced (CVT)
>     #   field rate 99.79 Hz; hsync: 76.49 kHz; pclk: 198.25 MHz
>     Modeline "1920x1440_100.00i"  198.25  1920 2056 2256 2592 1440
> 1443 1447 1486  Interlace  -HSync +Vsync
> EndSection
>
> Section "Screen"
>     Identifier "Screen0"
>     Monitor "Monitor0"
>     SubSection "Display"
>         Modes "1600x1200_120.00i"
>     EndSubSection
> EndSection
>
> Xorg starts up without a problem and seems to work quite well.
> However when I tried using an EDID file (I tried using edid-generator
> [2]),
> the screen remained blank despite the EDID file being generated from the
> Modelines and loaded at startup, as shown in the dmesg log:
>
> [   44.001642] [drm] Got external EDID base block and 0 extensions
> from "edid/powermac6.4-1152x864.bin" for connector "VGA-1"
> [   44.025758] platform VGA-1: firmware: direct-loading firmware
> edid/powermac6.4-1152x864.bin
>
> Though I'm kind of confused as to why it is loaded for VGA-1,
> because the eMac only has a VGA-0, DVI-0 and S-video connector
> (according to xrandr). The internal monitor is at VGA-0
> I added the kernel parameter like so in grub.cfg:
>
> GRUB_CMDLINE_LINUX_DEFAULT="splash
> drm.edid_firmware=edid/powermac6.4-1152x864.bin"
>
> I'll have a look at the loading of the edid file in the next few days
> again.
>
> regards,
> Maite
>
> [1] https://lists.debian.org/debian-powerpc/2020/04/msg00011.html
> [2] https://github.com/akatrevorjay/edid-generator
>
> On 11.06.23 23:50, John Paul Adrian Glaubitz wrote:
>> Hi Maite!
>>
>>> On Jun 11, 2023, at 9:57 PM, Maite Gamper <victor@wenzeslaus.de> wrote:
>>>
>>> Hello,
>>> I've just installed the debian 12 port on my eMac.
>>> After the radeon_drm driver does the modesetting, the screen turns
>>> black with the drm showing some errors (I ran dmesg over ssh)
>>
>> The eMac is special when ir comes to video modes as it requires a
>> special EDID binary.
>>
>> See this thread from 2020:
>>
>> > https://lists.debian.org/debian-powerpc/2020/04/msg00001.html
>>
>> Adrian


Reply to: