problem with radeon X1400 under freebsd 8-current

Robert Noland rnoland at FreeBSD.org
Fri Dec 12 06:01:48 PST 2008


On Fri, 2008-12-12 at 13:54 +0300, jackal wrote:
> Hello,
> 
> I have a problem with Radeon X1400 (dell 6400) under freebsd 8-current:
> 
> startx results in a garbled screen when using the 'radeon' driver.
> So I had to disable acceleration. About an hour later, when I turning on 
> acceleration - it works perfect. Then I can restart X many times - it works. 
> But after rebooting the problem repeats.
> 
> I compared some 'good' and 'bad' logs, the difference follows.
> I can see, that everything works when these variables are zero:
> Ring contents 0x00000000
> Ring read ptr contents 0x00000000
> Vertex/indirect buffers contents 0x00000000
> 
> But I have no idea, how to reset these manually, and why it resets itself in a 
> hour.

Can you send me a drm debug?  After boot, kldload radeon, sysctl
hw.dri.0.debug=1, startx.  another trace when it works might be useful
as well.

robert.

> 
> $ diff -u bad2.log good2.log
> --- bad2.log    2008-12-05 15:51:05.000000000 +0300
> +++ good2.log   2008-12-05 16:00:39.000000000 +0300
> @@ -12,7 +12,7 @@
>  Markers: (--) probed, (**) from config file, (==) default setting,
>         (++) from command line, (!!) notice, (II) informational,
>         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
> -(==) Log file: "/var/log/Xorg.0.log", Time: Fri Dec  5 15:49:12 2008
> +(==) Log file: "/var/log/Xorg.0.log", Time: Fri Dec  5 16:00:11 2008
>  (==) Using config file: "/etc/X11/xorg.conf"
>  (==) ServerLayout "DELL"
>  (**) |-->Screen "Screen0" (0)
> @@ -783,17 +783,17 @@
>  (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
> -(II) RADEON(0): [pci] 8192 kB allocated with handle 0xc6689000
> -(II) RADEON(0): [pci] ring handle = 0xc6689000
> +(II) RADEON(0): [pci] 8192 kB allocated with handle 0xc8257000
> +(II) RADEON(0): [pci] ring handle = 0xc8257000
>  (II) RADEON(0): [pci] Ring mapped at 0x28924000
> -(II) RADEON(0): [pci] Ring contents 0xbdf57fbf
> -(II) RADEON(0): [pci] ring read ptr handle = 0xc678a000
> +(II) RADEON(0): [pci] Ring contents 0x00000000
> +(II) RADEON(0): [pci] ring read ptr handle = 0xc8358000
>  (II) RADEON(0): [pci] Ring read ptr mapped at 0x28781000
> -(II) RADEON(0): [pci] Ring read ptr contents 0xfe3fdbff
> -(II) RADEON(0): [pci] vertex/indirect buffers handle = 0xc678b000
> +(II) RADEON(0): [pci] Ring read ptr contents 0x00000000
> +(II) RADEON(0): [pci] vertex/indirect buffers handle = 0xc8359000
>  (II) RADEON(0): [pci] Vertex/indirect buffers mapped at 0x30c00000
> -(II) RADEON(0): [pci] Vertex/indirect buffers contents 0x9afcffdf
> -(II) RADEON(0): [pci] GART texture map handle = 0xc698b000
> +(II) RADEON(0): [pci] Vertex/indirect buffers contents 0x00000000
> +(II) RADEON(0): [pci] GART texture map handle = 0xc8559000
>  (II) RADEON(0): [pci] GART Texture map mapped at 0x30e00000
>  (II) RADEON(0): [drm] register handle = 0xdfdf0000
>  (II) RADEON(0): [dri] Visual configs initialized
> @@ -978,6 +978,6 @@
>  Unblank CRTC 0 success
>  (==) RADEON(0): Write-combining range (0xa0000,0x10000) was already clear
>  (II) RADEON(0): [drm] removed 1 reserved context for kernel
> -(II) RADEON(0): [drm] unmapping 8192 bytes of SAREA 0xc61c1000 at 0x2877f000
> +(II) RADEON(0): [drm] unmapping 8192 bytes of SAREA 0xc7a84000 at 0x2877f000
>  (II) RADEON(0): [drm] Closed DRM master.
>  FreeFontPath: FPE "/usr/local/lib/X11/fonts/misc" refcount is 2, should be 1; 
> fixing.
> 
> 
> _______________________________________________
> freebsd-x11 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-x11
> To unsubscribe, send any mail to "freebsd-x11-unsubscribe at freebsd.org"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-x11/attachments/20081212/1c0efc62/attachment.pgp


More information about the freebsd-x11 mailing list