mach64: failed to setup DRM signal handler
- Linux Kernel version: 5.4.29
- Xorg Server version: 1.20.6
- Mesa version: 19.2.3, with
mach64_dri.sopackaged from 7.11.2.
- xf86-video-mach64: 6.9.6 (with patch to fix EXA)
- mach64drm from here
DRIVER_IRQ_SHAREDfrom line 76 in
mach64_drv.cto fix build on Kernel 5.4.
When attempting to start X with the following configuration (resolution set to 800x600x16 as my laptop only has 4MiB of SGRAM)...
Section "Device" Identifier "card0" Driver "mach64" Option "AccelMethod" "EXA" Option "ForcePCIMode" "true" Option "DMAMode" "async" EndSection Section "Screen" Identifier "screen0" DefaultDepth 16 SubSection "Display" Viewport 0 0 Depth 16 Modes "800x600" EndSubSection EndSection
The system freezes on a blank screen, and keyboard is frozen. However, system did not seem to have crashed, as it shuts down normally if I press the power button once. Upon reboot,
/var/log/Xorg.0.log shows the following error (full log attached below)...
[ 373.248] (EE) MACH64(0): [drm] failed to setup DRM signal handler [ 373.248] (EE) MACH64(0): [dri] DRIScreenInit Failed
The DRI driver seemed to have been detected and loaded, if I understood correctly. However, the two lines above are the final lines that X would print out, before the system "froze" in a blank screen.
mach64 Kernel DRM driver also appears to have loaded correctly (though I haven't tested it in any other way, suggestions welcome)...
[38.270691] [drm] Initialized mach64 2.0.0 20060718 for 000:00:05.0 on minor 0
X also starts up "correctly," if the resolution was reset to native (1024x768x32), and X would return an error about insufficient memory for setting up a DRI screen.