Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Dec 2008 09:01:40 -0500
From:      Robert Noland <rnoland@FreeBSD.org>
To:        jackal <me@jackal.in>
Cc:        freebsd-x11@freebsd.org
Subject:   Re: problem with radeon X1400 under freebsd 8-current
Message-ID:  <1229090500.1751.5.camel@wombat.2hip.net>
In-Reply-To: <200812121354.26530.me@jackal.in>
References:  <200812121354.26530.me@jackal.in>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-FSm1QV447Wyg1uQp+pW6
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Fri, 2008-12-12 at 13:54 +0300, jackal wrote:
> Hello,
>=20
> I have a problem with Radeon X1400 (dell 6400) under freebsd 8-current:
>=20
> 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=20
> acceleration - it works perfect. Then I can restart X many times - it wor=
ks.=20
> But after rebooting the problem repeats.
>=20
> 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
>=20
> But I have no idea, how to reset these manually, and why it resets itself=
 in a=20
> hour.

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

robert.

>=20
> $ 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, (=3D=3D) default setting,
>         (++) from command line, (!!) notice, (II) informational,
>         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
> -(=3D=3D) Log file: "/var/log/Xorg.0.log", Time: Fri Dec  5 15:49:12 2008
> +(=3D=3D) Log file: "/var/log/Xorg.0.log", Time: Fri Dec  5 16:00:11 2008
>  (=3D=3D) Using config file: "/etc/X11/xorg.conf"
>  (=3D=3D) 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 =3D 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 =3D 0xc6689000
> +(II) RADEON(0): [pci] 8192 kB allocated with handle 0xc8257000
> +(II) RADEON(0): [pci] ring handle =3D 0xc8257000
>  (II) RADEON(0): [pci] Ring mapped at 0x28924000
> -(II) RADEON(0): [pci] Ring contents 0xbdf57fbf
> -(II) RADEON(0): [pci] ring read ptr handle =3D 0xc678a000
> +(II) RADEON(0): [pci] Ring contents 0x00000000
> +(II) RADEON(0): [pci] ring read ptr handle =3D 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 =3D 0xc678b000
> +(II) RADEON(0): [pci] Ring read ptr contents 0x00000000
> +(II) RADEON(0): [pci] vertex/indirect buffers handle =3D 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 =3D 0xc698b000
> +(II) RADEON(0): [pci] Vertex/indirect buffers contents 0x00000000
> +(II) RADEON(0): [pci] GART texture map handle =3D 0xc8559000
>  (II) RADEON(0): [pci] GART Texture map mapped at 0x30e00000
>  (II) RADEON(0): [drm] register handle =3D 0xdfdf0000
>  (II) RADEON(0): [dri] Visual configs initialized
> @@ -978,6 +978,6 @@
>  Unblank CRTC 0 success
>  (=3D=3D) 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 0x2877=
f000
> +(II) RADEON(0): [drm] unmapping 8192 bytes of SAREA 0xc7a84000 at 0x2877=
f000
>  (II) RADEON(0): [drm] Closed DRM master.
>  FreeFontPath: FPE "/usr/local/lib/X11/fonts/misc" refcount is 2, should =
be 1;=20
> fixing.
>=20
>=20
> _______________________________________________
> freebsd-x11@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-x11
> To unsubscribe, send any mail to "freebsd-x11-unsubscribe@freebsd.org"

--=-FSm1QV447Wyg1uQp+pW6
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (FreeBSD)

iEYEABECAAYFAklCbsQACgkQM4TrQ4qfRONUyACfSot93rPAuuQzBUjn5sthzBE8
6X4An0pijFlYE5SizONW6V9RUU9V0aT8
=hcm4
-----END PGP SIGNATURE-----

--=-FSm1QV447Wyg1uQp+pW6--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1229090500.1751.5.camel>