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
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:
Adrian