Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Jan 2006 23:25:46 -0500
From:      Nicolas Blais <nb_root@videotron.ca>
To:        freebsd-current@freebsd.org
Subject:   Radeon 9550 + R300 DRM + Xorg 6.9 = freeze
Message-ID:  <200601212325.54004.nb_root@videotron.ca>

next in thread | raw e-mail | index | archive | help
--nextPart2147917.GbglsLkB0D
Content-Type: multipart/mixed;
  boundary="Boundary-01=_Klw0DJaOBLFIzuu"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

--Boundary-01=_Klw0DJaOBLFIzuu
Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Not my lucky day :)

After upgrading my Xorg port to 6.9.0, my -CURRENT freezes at launch of kdm=
=2E=20
I'm able to do nothing with the system (can't exit to debugger, can't ssh t=
o=20
it).  Running top in another tty while loading X at the same time shows tha=
t=20
Xorg uses 99.9% of WCPU. =20

Checking around, I found that the actual freeze was due to Xorg using the R=
300=20
microcode (commenting out the Load "glx" and Load "dri" in xorg.conf makes =
X=20
work again). =20

I'm lost as to where to start debugging this as I cannot ssh,=20
Ctrl-Alt-Backspace or get a dump during that freeze. Since it causes a cras=
h,=20
anything logged on the harddrive is lost (no sync done...)

I tried running xorgcfg (graphic mode) to see if it would record something=
=20
useful in Xorg.8.log and I have it attached. For some reason, X detects my=
=20
lcd as having a max res of 1280x1024, but tries to open a display for=20
1600x1200 which only makes my screen show an "Out of Resolution" message. M=
y=20
console shows a message similar to "R300 Microcode loaded". I can=20
Ctrl-Alt-Backspace out of X.

I've tried both dri and dri-devel with no luck.

So I resume:
  1. Xorg 6.9.0 + R300 DRM + dri causes freeze
  2. Disable dri+glx in Xorg.conf makes X work again (without drm)
  3. xorgcfg tries to start in 1600x1200 for a screen capable of only=20
1280x1024, rendering it useless.

Anyone using a R300 powered card (Radeon 9550/9600) with DRM+Xorg 6.9.0 out=
=20
there?

dmesg:
vgapci0: <VGA-compatible display> port 0xe000-0xe0ff mem=20
0xe8000000-0xefffffff,0xfbe00000-0xfbe0ffff irq 16 at device 0.0 on pci1
drm0: <ATI Radeon AS 9600 AS> on vgapci0
info: [drm] AGP at 0xe0000000 64MB
info: [drm] Initialized radeon 1.19.0 20050911
vgapci1: <VGA-compatible display> mem=20
0xf0000000-0xf7ffffff,0xfbf00000-0xfbf0ffff at device 0.1 on pci1

Thanks,
Nicolas
=2D-=20
=46reeBSD 7.0-CURRENT #0: Sat Jan 21 11:33:22 EST 2006    =20
root@clk01a:/usr/obj/usr/src/sys/CLK01A=20
PGP? (updated 16 Nov 05) : http://www.clkroot.net/security/nb_root.asc

--Boundary-01=_Klw0DJaOBLFIzuu--

--nextPart2147917.GbglsLkB0D
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQBD0wlR4wTBlvcsbJURAruOAJ4wMnE7XsC6aZYVk7ZoZXorROBRqwCgv4C7
idZ0bKOsMR8KVWnwEa2N/HM=
=ShDc
-----END PGP SIGNATURE-----

--nextPart2147917.GbglsLkB0D--



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