Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 34190 - radeon driver causes X to lock up on opteron system
Summary: radeon driver causes X to lock up on opteron system
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: High minor (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
: 34189 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-11-23 08:07 UTC by Kyle Schlansker
Modified: 2004-02-22 13:07 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
strace files of processes started for startx (strace_by_pid.tar.gz,528 bytes, application/octet-stream)
2003-11-23 10:16 UTC, Kyle Schlansker
Details
strace for startx (strace_one_file.tar.gz,300 bytes, application/octet-stream)
2003-11-23 10:18 UTC, Kyle Schlansker
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kyle Schlansker 2003-11-23 08:07:55 UTC
I can start X fine and move my mouse around forever, but as soon as I open up
any window (a terminal, settings, etc...anything that pops up) X locks up and
requires a system reboot.  This only happens when I'm using the 'radeon' driver.
 If I use the 'vga' driver things work great (except the low resolution and
color :) ).
This is all happening on a dual opteron system with the ATI Radeon 9600 Pro AIW.
 I have tried compiling X with multilib and without.  

Reproducible: Always
Steps to Reproduce:
1.  Compile X with GCC 3.3.1
2.  set the graphics card driver to 'radeon'
3.  startx

Actual Results:  
X fires up and works great until you open *anything*.  When this happens, the
screen locks up.  Ctrl-Alt-Backspace doesn't even kill it.  The mouse is
unresponsive, as is the keyboard.

Expected Results:  
Not frozen.
Comment 1 Kyle Schlansker 2003-11-23 10:16:45 UTC
Created attachment 21162 [details]
strace files of processes started for startx
Comment 2 Kyle Schlansker 2003-11-23 10:18:07 UTC
Created attachment 21163 [details]
strace for startx
Comment 3 Marius Mauch (RETIRED) gentoo-dev 2003-11-23 10:20:24 UTC
*** Bug 34189 has been marked as a duplicate of this bug. ***
Comment 4 Brad House 2003-11-23 15:15:21 UTC
Can you provide more info?

I'm not sure what the 'radeon' driver comes from, I use the
'ati' driver with my Radeon card, as I don't need 3D support.

Can you tell me what package provides that for you, and I
can look into it.

Now when you say 'requires system reboot', can you not SSH
in, is it a full kernel lock?  Can you not
CTRL-ALT-F1 to switch to the main tty?

Need this sort of info as well as what kernel you're running.

-Brad
Comment 5 Kyle Schlansker 2003-11-23 16:50:58 UTC
>I'm not sure what the 'radeon' driver comes from, 

It comes with xfree.  It should be found in the same directory as your ati driver (/usr/X11R6/lib/modules/drivers).

>I use the 'ati' driver with my Radeon card, as I don't need 3D support.
hmmm.  I tried the 'ati' driver but it wouldn't even load.  'radeon' loaded for me, but gave the symptoms I described...It starts up but freezes when there is any window action.  It is a Radeon 9600 Pro AIW fyi.

>can you not SSH in, is it a full kernel lock?  
Correct.  I cannot ssh in.  In fact, if I am already logged in from another computer, then the connction gets shut down.

>Can you not CTRL-ALT-F1 to switch to the main tty?
I cannot CTRL-ALT-F1 nor switch to any other tty.  I also cannot CTRL-ALT-BACKSPACE to kill X.

>Need this sort of info as well as what kernel you're running.
2.6.0-test9 (gentoo-dev-sources).
Comment 6 Brad House 2003-11-29 13:42:07 UTC
moving this away from criticial. I have reports from other people
and they have had no problems with the radeon driver.  Think it's
something specific with your setup.

Comment 7 Kyle Schlansker 2003-12-04 10:28:06 UTC
Well, after trying everything I thought possible, I bought an Nvidia card and it worked the first time.  My lesson's learned...I'll never buy an ATi again.
Comment 8 David Henderson 2003-12-09 15:56:59 UTC
Whoa, talk about a dummy spit... (comment #7)

Some more detail;
This affects both the kernel DRI driver for radeon (radeon.ko module) (in gentoo-dev-sources-beta11) AND the xfree 4.3.0-r3 DRI driver in AMD64. But only radeon 9600 and 9800 (and presumably 9700); So I expect it is major for those of us with high end radeons and amd64 systems, my current workaround is to have a chrooted 32 bit linux environment, where all is well.

The xfree CVS changelog apparently has support for these cards included in the xfree radeon driver since September (how recent a merge of drivers from cvs into xfree 4.3.0-r3 or the kernel??)

(I have access to six radeon cards and have experimented as follows).
(I will add my XF86config when I get home tonight and try and salvage some logs from the crash)

If I use a radeon 7200, 8500 or 9200; everything is tickety-boo; no problems beyond some flickering on my dvi panel (I put this down to using an adaptor).  2D and 3D (dvi) works.  performance comparable to that evident in 32bit environment.

If I use a radeon 9600, 9600pro or 9800. As soon as I attempt to do anything (including move the mouse pointer over another window to change focus); the system completely hangs.  I have to use the basic X; it wont even successfully load gnome or kde before the hang.  The problem appears to be with the DRI radeon drivers relating to the "latest" radeon cards.

I have yet to try the 2D only ati-drivers (will do so perhaps on the weekend).

ATI tech support (despite company press releases to the contrary) dont even appear to have a clue what Im talking about when I ask for an "amd64 build of their binary drivers for linux".

Hope this info helps; Ill try to be heavier on detail later; I only just resurrected my AMD64 system after stupidly being one of the braindead who tested packages by "ACCEPT_KEYWORDS="x86"" rather than editing the ebuilds, so I haven't had alot of time to experiment yet (that and the girlfriend expects to see me on occasion :).
Comment 9 David Henderson 2003-12-10 15:14:59 UTC
Ok,  Im still having issues getting logs and data off my linux box; but some more detail;

I run an Athlon64 system on an MSI K8T neo motherboard;
The Radeon used for the failure test was a radeon9600pro.
kernel version is gentoo-dev-kernel-beta11-r2
xfree version is 4.3.0-r3

lspci fails to properly identify the radeon and lists it as "unknown"
setting video driver to "radeon" in a vanilla flavoured XF86config
modprobe radeon to load the glx kernel module
"startx" (with Gnome or KDE as the environment, complete system hang, with basic X environment, loads 3 xterms and the clock; complete system hang only occurs when you try to *DO* something;).
The hang is complete; keyboard leds non-responsive, cannot ssh (or even ping) the box.
on a reboot, XFree86.0.log reveals no issues but does reveal the following:
the "radeon" driver correctly identifies the radeon type and model as a Radeon9600pro (clearly this driver knows more than the lspci database).
After a normal and apparently successful initialisation; the only sign of something amis is that the driver quietly notes "3D acceleration not supported in 9600, 9800..." or some such followed by "GLX extensions disabled").
No other system logs reveal any untoward messages preceeding the failure;
I will emerge strace and give that a shot once I get the box talking to the world again.

It should be noted that I had the same issue with the radeon 9600 PRIOR so my use flag brainfart.  I hadn't however, tested other radeons.
Comment 10 Danny van Dyk (RETIRED) gentoo-dev 2003-12-14 06:16:44 UTC
Same problem here with a Radeon 9600 on Athlon64 System (K8V Deluxe) running XFree 4.3.0-r3

X / KDM freezes a soon as you want to do something, this happens only when using the radeon driver.
I can reproduce it on Kernel 2.6-test9, test10 and test-11-r1.
Comment 11 Danny van Dyk (RETIRED) gentoo-dev 2003-12-25 08:36:57 UTC
works now when using xfree-4.3.99.902
Comment 12 Dylan Carlson (RETIRED) gentoo-dev 2004-02-09 02:01:27 UTC
4.3.99.902's radeon driver module works for me as well.  zero problems in the last week of constant use/abuse.
Comment 13 Brad House 2004-02-22 13:07:29 UTC
closing this since it's in the tech notes ...
(and works for xfree-4.3.99.902+ )