hello, Everything compiles properly on the pci-rework branch of the ati driver, xserver 1.4 branch. However, when I attempt to start it, the server crashes and hangs the operating system. This is what I am left with in the log: (==) RADEON(0): Write-combining range (0xd8000000,0x4000000) (==) RADEON(0): Using 24 bit depth buffer (II) RADEON(0): RADEONInitMemoryMap() : (II) RADEON(0): mem_size : 0x04000000 (II) RADEON(0): MC_FB_LOCATION : 0xdbffd800 (II) RADEON(0): MC_AGP_LOCATION : 0xffffffc0 (II) RADEON(0): Depth moves disabled by default (II) RADEON(0): CP in BM mode (II) RADEON(0): Using 8 MB GART aperture (II) RADEON(0): Using 1 MB for the ring buffer (II) RADEON(0): Using 2 MB for vertex/indirect buffers (II) RADEON(0): Using 5 MB for GART textures (II) RADEON(0): Memory manager initialized to (0,0) (1024,8191) (II) RADEON(0): Reserved area from (0,1024) to (1024,1026) (II) RADEON(0): Largest offscreen area available: 1024 x 7165 (II) RADEON(0): Will use front buffer at offset 0x0 (II) RADEON(0): Will use back buffer at offset 0x1000000 (II) RADEON(0): Will use depth buffer at offset 0x1400000 (II) RADEON(0): Will use 40960 kb for textures at offset 0x1800000 drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is 7, (OK) drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is 7, (OK) drmOpenByBusid: Searching for BusID pci:0000:01:00.0 (II) [drm] DRM interface version 1.3 (II) [drm] DRM open master succeeded. (II) RADEON(0): [drm] Using the DRM lock SAREA also for drawables. (II) RADEON(0): [drm] framebuffer handle = 0xd8000000 (II) RADEON(0): [drm] added 1 reserved context for kernel (II) RADEON(0): X context handle = 0x1 (II) RADEON(0): [drm] installed DRM signal handler (==) RADEON(0): Using AGP 4x (II) RADEON(0): [agp] Mode 0x1f000207 [AGP 0x1106/0x3189; Card 0x1002/0x5144] (II) RADEON(0): [agp] 8192 kB allocated with handle 0x00000001 (II) RADEON(0): [agp] ring handle = 0xe0000000 (II) RADEON(0): [agp] Ring mapped at 0xb380d000 (II) RADEON(0): [agp] ring read ptr handle = 0xe0101000 (II) RADEON(0): [agp] Ring read ptr mapped at 0xb7efe000 (II) RADEON(0): [agp] vertex/indirect buffers handle = 0xe0102000 (II) RADEON(0): [agp] Vertex/indirect buffers mapped at 0xb360d000 (II) RADEON(0): [agp] GART texture map handle = 0xe0302000 (II) RADEON(0): [agp] GART Texture map mapped at 0xb312d000 (II) RADEON(0): [drm] register handle = 0xd7000000 (II) RADEON(0): [dri] Visual configs initialized init memmap init common init crtc1 init pll1 restore memmap (II) RADEON(0): RADEONRestoreMemMapRegisters() : (II) RADEON(0): MC_FB_LOCATION : 0xdbffd800 (II) RADEON(0): MC_AGP_LOCATION : 0xffffffc0 restore common restore crtc1 restore pll1 finished PLL1 Backtrace: 0: /usr/X11R6/bin/X(xf86SigHandler+0x7e) [0x80ca63e] 1: [0xb7f1c420] 2: /usr/X11R6/lib/xorg/modules/drivers//radeon_drv.so(RADEONInitDispBandwidth+0x66) [0xb7ae0146] 3: /usr/X11R6/lib/xorg/modules/drivers//radeon_drv.so [0xb7ae1515] 4: /usr/X11R6/bin/X(xf86CrtcSetMode+0x24b) [0x80ed1bb] 5: /usr/X11R6/lib/xorg/modules/drivers//radeon_drv.so(RADEONScreenInit+0x129e) [0xb7ad30ce] 6: /usr/X11R6/bin/X(AddScreen+0x1f9) [0x806dae9] 7: /usr/X11R6/bin/X(InitOutput+0x21c) [0x80a1d1c] 8: /usr/X11R6/bin/X(main+0x286) [0x806e286] 9: /lib/libc.so.6(__libc_start_main+0xdc) [0xb7c33f5c] 10: /usr/X11R6/bin/X(FontFileCompleteXLFD+0x201) [0x806d7c1] Fatal server error: Caught signal 11. Server aborting disable montype: 1 (II) RADEON(0): RADEONRestoreMemMapRegisters() : (II) RADEON(0): MC_FB_LOCATION : 0xffff0000 (II) RADEON(0): MC_AGP_LOCATION : 0x003fffc0 finished PLL1
The ati driver is actually a wrapper for three drivers: (mach64, r128, and radeon). Only the mach64 driver was ported to the new PCI code.
Similar error in a gentoo ~x86 system with latest portage masked 6.7.194. I was trying those because of EXA font corruption issues with 6.6.3, which otherwise works nicely. My radeon is the former Radeon VIVO OEM, core & memory @ 166 Mhz, I think later rebranded to Radeon 7200. Summed up error is: restore common restore crtc1 restore pll1 finished PLL1 Backtrace: 0: X(xf86SigHandler+0x82) [0x80d3312] 1: /usr/lib/xorg/modules/drivers//radeon_drv.so(RADEONInitDispBandwidth+0x66) [0xa7b0d8c6] 2: /usr/lib/xorg/modules/drivers//radeon_drv.so [0xa7b0ecc7] 3: X(xf86CrtcSetMode+0x23d) [0x80f6f3d] Fatal server error: Caught signal 11. Server aborting disable montype: 1 (II) RADEON(0): RADEONRestoreMemMapRegisters() : (II) RADEON(0): MC_FB_LOCATION : 0xffff0000 (II) RADEON(0): MC_AGP_LOCATION : 0x003fffc0 finished PLL1 xf86-video-ati was compiled with debug and I think without -fomit-frame-pointer, rest of the system is compiled without debug and with cflags "-march=athlon-tbird -O2 -pipe -fomit-frame-pointer -mmmx -m3dnow -fno-strict-aliasing". gcc-4.1.2, glibc-2.6.1-r0, 2.6.22-kamikaze9, xorg 1.4-r2 from portage as well. I can try as well git version of the drivers from primozic overlay if wanted.
Created attachment 11855 [details] my xorg.conf Xorg.conf of the crash. Works in 6.6.3 as said.
Created attachment 11856 [details] Log of the crash Monitor turns off and doesn't turn on again (green light remains orange as in powersave mode). Neither switching VT's nor Cntr-Alt-Backspace function; can reboot by using Cntr-Alt-Sys-U,S,B . Unfortunately didn't get gdb debugging on a single machine to work yet, and my laptop's video card is fried :(.
Created attachment 11857 [details] verbose lspci of my system
*** This bug has been marked as a duplicate of bug 12490 ***
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.