Closed nicolascolla closed 4 years ago
These are the contents of my Xorg log file:
[ 1387.859]
X.Org X Server 1.20.6
X Protocol Version 11, Revision 0
[ 1387.865] Build Operating System: Linux Void
[ 1387.868] Current Operating System: Linux iBookG3 5.3.16_1 #1 SMP Sat Dec 14 04:28:11 UTC 2019 ppc
[ 1387.869] Kernel command line: BOOT_IMAGE=/boot/vmlinux-5.3.16_1 root=UUID=db3c1081-d7f9-4e56-b8eb-f4063cdfebf9 ro loglevel=4 slub_debug=P page_poison=1
[ 1387.880] Build Date: 08 December 2019 06:20:23PM
[ 1387.884]
[ 1387.889] Current version of pixman: 0.38.4
[ 1387.899] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 1387.900] Markers: (--) probed, () from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 1387.925] (==) Log file: "/var/log/Xorg.1.log", Time: Tue Dec 17 08:57:57 2019
[ 1387.935] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 1387.937] (==) No Layout section. Using the first Screen section.
[ 1387.938] (==) No screen section available. Using defaults.
[ 1387.938] () |-->Screen "Default Screen Section" (0)
[ 1387.938] (*) | |-->Monitor "
[ 1388.076] (II) [KMS] Kernel modesetting enabled. [ 1388.077] (WW) Falling back to old probe method for modesetting [ 1388.082] (II) RADEON(0): Creating default Display subsection in Screen section "Default Screen Section" for depth/fbbpp 24/32 [ 1388.082] (==) RADEON(0): Depth 24, (--) framebuffer bpp 32 [ 1388.082] (II) RADEON(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps) [ 1388.082] (==) RADEON(0): Default visual is TrueColor [ 1388.082] (II) Applying OutputClass "Radeon" options to /dev/dri/card0 [ 1388.082] (**) RADEON(0): Option "Accel" "false" [ 1388.083] (==) RADEON(0): RGB weight 888 [ 1388.083] (II) RADEON(0): Using 8 bits per RGB (8 bit DAC) [ 1388.083] (--) RADEON(0): Chipset: "ATI Radeon Mobility M7" (ChipID = 0x4c57) [ 1388.083] (II) Loading sub module "fb" [ 1388.083] (II) LoadModule: "fb" [ 1388.085] (II) Loading /usr/lib/xorg/modules/libfb.so [ 1388.090] (II) Module fb: vendor="X.Org Foundation" [ 1388.091] compiled for 1.20.6, module version = 1.0.0 [ 1388.091] ABI class: X.Org ANSI C Emulation, version 0.4 [ 1388.091] (II) RADEON(0): GPU accel disabled or not working, using shadowfb for KMS [ 1388.091] (II) Loading sub module "shadow" [ 1388.091] (II) LoadModule: "shadow" [ 1388.092] (II) Loading /usr/lib/xorg/modules/libshadow.so [ 1388.096] (II) Module shadow: vendor="X.Org Foundation" [ 1388.096] compiled for 1.20.6, module version = 1.1.0 [ 1388.097] ABI class: X.Org ANSI C Emulation, version 0.4 [ 1388.097] (II) RADEON(0): KMS Color Tiling: disabled [ 1388.097] (II) RADEON(0): KMS Color Tiling 2D: disabled [ 1388.097] (II) RADEON(0): KMS Pageflipping: enabled [ 1388.097] (II) RADEON(0): SwapBuffers wait for vsync: enabled [ 1388.098] (II) RADEON(0): Output LVDS has no monitor section [ 1388.109] (II) RADEON(0): Output VGA-0 has no monitor section [ 1388.112] (II) RADEON(0): Output S-video has no monitor section [ 1388.113] (WW) RADEON(0): 3 ZaphodHeads crtcs unavailable. Some outputs will stay off. [ 1388.113] (II) RADEON(0): EDID for output LVDS [ 1388.113] (II) RADEON(0): Manufacturer: APP Model: 9c1a Serial#: 0 [ 1388.113] (II) RADEON(0): Year: 2001 Week: 31 [ 1388.114] (II) RADEON(0): EDID Version: 1.3 [ 1388.114] (II) RADEON(0): Digital Display Input [ 1388.114] (II) RADEON(0): Max Image Size [cm]: horiz.: 29 vert.: 21 [ 1388.114] (II) RADEON(0): Gamma: 2.20 [ 1388.114] (II) RADEON(0): No DPMS capabilities specified [ 1388.114] (II) RADEON(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4 [ 1388.114] (II) RADEON(0): First detailed timing not preferred mode in violation of standard! [ 1388.114] (II) RADEON(0): redX: 0.580 redY: 0.339 greenX: 0.327 greenY: 0.533 [ 1388.114] (II) RADEON(0): blueX: 0.157 blueY: 0.143 whiteX: 0.320 whiteY: 0.330 [ 1388.114] (II) RADEON(0): Supported established timings: [ 1388.115] (II) RADEON(0): 1024x768@60Hz [ 1388.115] (II) RADEON(0): Manufacturer's mask: 0 [ 1388.115] (II) RADEON(0): Supported detailed timing: [ 1388.115] (II) RADEON(0): clock: 65.0 MHz Image Size: 285 x 214 mm [ 1388.115] (II) RADEON(0): h_active: 1024 h_sync: 1048 h_sync_end 1184 h_blank_end 1344 h_border: 0 [ 1388.115] (II) RADEON(0): v_active: 768 v_sync: 771 v_sync_end 777 v_blanking: 806 v_border: 0 [ 1388.115] (II) RADEON(0): LTN141XF [ 1388.115] (II) RADEON(0): LTN141XF [ 1388.115] (II) RADEON(0): Monitor name: Color LCD [ 1388.115] (II) RADEON(0): EDID (in hex): [ 1388.115] (II) RADEON(0): 00ffffffffffff0006101a9c00000000 [ 1388.116] (II) RADEON(0): 1f0b0103801d157808be629456538828 [ 1388.116] (II) RADEON(0): 24525400080001010101010101010101 [ 1388.116] (II) RADEON(0): 01010101010164190040410026301888 [ 1388.116] (II) RADEON(0): 36001dd610000018000000fe004c544e [ 1388.116] (II) RADEON(0): 31343158460000000a20000000fe004c [ 1388.116] (II) RADEON(0): 544e31343158460000000a20000000fc [ 1388.116] (II) RADEON(0): 00436f6c6f72204c43440a20202000ba [ 1388.116] (II) RADEON(0): Printing probed modes for output LVDS [ 1388.117] (II) RADEON(0): Modeline "1024x768"x60.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (48.4 kHz e) [ 1388.117] (II) RADEON(0): Modeline "800x600"x60.0 38.31 800 832 912 1024 600 603 607 624 -hsync +vsync (37.4 kHz) [ 1388.117] (II) RADEON(0): Modeline "848x480"x59.9 31.65 848 872 952 1056 480 483 493 500 -hsync +vsync (30.0 kHz) [ 1388.117] (II) RADEON(0): Modeline "720x480"x59.9 26.85 720 744 808 896 480 483 493 500 -hsync +vsync (30.0 kHz) [ 1388.117] (II) RADEON(0): Modeline "640x480"x59.9 23.98 640 664 720 800 480 483 487 500 -hsync +vsync (30.0 kHz) [ 1388.128] (II) RADEON(0): EDID for output VGA-0 [ 1388.131] (II) RADEON(0): EDID for output S-video [ 1388.131] (II) RADEON(0): Output LVDS connected [ 1388.131] (II) RADEON(0): Output VGA-0 disconnected [ 1388.131] (II) RADEON(0): Output S-video disconnected [ 1388.131] (II) RADEON(0): Using exact sizes for initial modes [ 1388.131] (II) RADEON(0): Output LVDS using initial mode 1024x768 +0+0 [ 1388.132] (II) RADEON(0): mem size init: gart size :1fdff000 vram size: s:2000000 visible:3e40000 [ 1388.132] (II) RADEON(0): EXA: Driver will allow EXA pixmaps in VRAM [ 1388.132] (==) RADEON(0): DPI set to (96, 96) [ 1388.132] (==) RADEON(0): Using gamma correction (1.0, 1.0, 1.0) [ 1388.132] (II) Loading sub module "ramdac" [ 1388.132] (II) LoadModule: "ramdac" [ 1388.132] (II) Module "ramdac" already built-in [ 1388.132] (II) UnloadModule: "modesetting" [ 1388.133] (II) Unloading modesetting [ 1388.134] (II) RADEON(0): Front buffer size: 3072K [ 1388.135] (II) RADEON(0): VRAM usage limit set to 54576K [ 1388.146] (==) RADEON(0): DRI3 disabled [ 1388.146] (==) RADEON(0): Backing store enabled [ 1388.146] (WW) RADEON(0): Direct rendering disabled [ 1388.146] (II) RADEON(0): Acceleration disabled [ 1388.147] (==) RADEON(0): DPMS enabled [ 1388.147] (==) RADEON(0): Silken mouse disabled [ 1388.153] (II) Initializing extension Generic Event Extension [ 1388.155] (II) Initializing extension SHAPE [ 1388.156] (II) Initializing extension MIT-SHM [ 1388.157] (II) Initializing extension XInputExtension [ 1388.163] (II) Initializing extension XTEST [ 1388.164] (II) Initializing extension BIG-REQUESTS [ 1388.166] (II) Initializing extension SYNC [ 1388.169] (II) Initializing extension XKEYBOARD [ 1388.174] (II) Initializing extension XC-MISC [ 1388.175] (II) Initializing extension SECURITY [ 1388.176] (II) Initializing extension XFIXES [ 1388.177] (II) Initializing extension RENDER [ 1388.178] (II) Initializing extension RANDR [ 1388.181] (II) Initializing extension COMPOSITE [ 1388.182] (II) Initializing extension DAMAGE [ 1388.183] (II) Initializing extension MIT-SCREEN-SAVER [ 1388.184] (II) Initializing extension DOUBLE-BUFFER [ 1388.185] (II) Initializing extension RECORD [ 1388.186] (II) Initializing extension DPMS [ 1388.187] (II) Initializing extension Present [ 1388.188] (II) Initializing extension DRI3 [ 1388.189] (II) Initializing extension X-Resource [ 1388.190] (II) Initializing extension XVideo [ 1388.191] (II) Initializing extension XVideo-MotionCompensation [ 1388.191] (II) Initializing extension GLX [ 1388.192] (II) AIGLX: Screen 0 is not DRI2 capable [ 1389.938] (II) IGLX: Loaded and initialized swrast [ 1389.938] (II) GLX: Initialized DRISWRAST GL provider for screen 0 [ 1389.938] (II) Initializing extension XFree86-VidModeExtension [ 1389.940] (II) Initializing extension XFree86-DGA [ 1389.941] (II) Initializing extension XFree86-DRI [ 1389.941] (II) Initializing extension DRI2 [ 1389.945] (II) RADEON(0): Setting screen physical size to 270 x 203
Steps to reproduce:
-Edit /usr/share/X11/xorg.conf.d/10-radeon.conf -Add the following line: Option "NoAccel" "true" -Run startx
this means you have a KMS driver, so why bother with radeon at all, instead of using modesetting? (you should also be able to get fbdev + xf86-video-fbdev working by disabling modeset and falling back to dumb framebuffer, and have functional suspend/resume)
Also, confirmed the lockup on a 2004 PowerBook G4.
However, using
Section "Device"
Identifier "GPU0"
Driver "fbdev"
EndSection
Section "Screen"
Identifier "Screen0"
Device "GPU0"
EndSection
works just fine; no need to mess with anything.
System: Void Linux PPC (glibc version)
Package: xf86-video-ati-19.1.0_1
When disabling hardware acceleration in the xorg configuration file with the line "Option "Accel" "false"", Xorg refuses to start. After running "startx", the screen locks up after showing some Xorg messages and the user is unable to change to another tty, leaving the system unusable without a hard reboot. This has been tried with numerous window managers, with the same results
Disabling hardware acceleration is vital for those using iBook G3s, since an infamous Radeon bug already makes it impossible to run any modern version of xorg with acceleration enabled.