Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ATI-Drivers crash the whole machine
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
theomega
Tux's lil' helper
Tux's lil' helper


Joined: 26 Jan 2006
Posts: 88
Location: Germany

PostPosted: Mon Feb 20, 2006 7:48 pm    Post subject: ATI-Drivers crash the whole machine Reply with quote

Hy,
I tried to install the ati-drivers on my System and it seems to work. glxinfo shows the correct Renderer and direct-redering is on. BUT: At random times my pc stops working, everthing hangs and nothing moves, the only solution is a reboot. The locks happen at normal Desktop-Work, so the Drivers 3D features aren't used (much). I try to provide as much information as I can, but if anything is missing please tell me. As the hardware-setup is running fine on Windows, I dont think its a hardware-failure, it must be a gentoo/linux issue. Everything is stable if I swich to the old radeon-driver, but I can't play UT2004 then :D

1. lmod (before starting the X-Server)
Code:

Module                  Size  Used by
fglrx                 451468  0
via_agp                 7808  0
amd64_agp               9924  1
agpgart                29128  3 fglrx,via_agp,amd64_agp
w83627hf               24656  0
hwmon_vid               2112  1 w83627hf
eeprom                  5712  0
i2c_isa                 4160  1 w83627hf
i2c_viapro              8148  0
snd_pcm_oss            49568  0
snd_mixer_oss          17280  1 snd_pcm_oss
snd_seq_oss            32384  0
snd_seq_midi_event      6016  1 snd_seq_oss
snd_seq                50192  4 snd_seq_oss,snd_seq_midi_event
snd_via82xx            23572  0
snd_ac97_codec         92512  1 snd_via82xx
snd_ac97_bus            1792  1 snd_ac97_codec
snd_pcm                82952  3 snd_pcm_oss,snd_via82xx,snd_ac97_codec
snd_timer              22084  2 snd_seq,snd_pcm
snd_page_alloc          8456  2 snd_via82xx,snd_pcm
snd_mpu401_uart         6208  1 snd_via82xx
snd_rawmidi            20896  1 snd_mpu401_uart
snd_seq_device          6860  3 snd_seq_oss,snd_seq,snd_rawmidi
snd                    47076  11 snd_pcm_oss,snd_mixer_oss,snd_seq_oss,snd_seq,snd_via82xx,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
soundcore               7840  1 snd


2. Kernel-Config:
http://www.dbruhn.de/div/gentoo/kernel.conf

3. XOrg-Config:
http://www.dbruhn.de/div/gentoo/xorg.conf

4. XOrg-Log:
http://www.dbruhn.de/div/gentoo/xorg.log

5. emerge --info
Code:

Portage 2.0.54 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.14
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 3dnow X aac alsa apm arts audiofile avi bash-completion bcmath berkdb bitmap-fonts browserplugin bzip2 cdr crypt cups curl dts dvd dvdr dvdread eds emboss encode exif expat fam ffmpeg flac flash foomaticdb fortran gdbm gif gpm gstreamer gtk gtk2 hal icq idn imagemagick imlib ipv6 java javascript jpeg kde lcms libg++ libwww lm_sensors mad mikmod mime mmx mng motif mozdevelop mozilla mozsvg mp3 mpeg musicbrainz ncurses nls nsplugin ogg oggvorbis opengl oscar oss pam pcre pda pdf pdflib perl png python qt quicktime readline samba sdl spell sse sse2 ssl tcpd tiff truetype truetype-fonts type1-fonts udev usb vcd visualization vorbis win32codecs wmf x11 xine xinerama xml2 xmms xv xvid zlib linguas_de userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS


6. My System:
MainBoard: Asus A8V Deluxe (most recent BIOS)
CPU: AMD Athlon 64bit 3000+ Venice
Graphics: Saphire Radeon 9800pro
RAM: 2xInfineon 333Mhz

7. Package-Versions:
* x11-drivers/ati-drivers
Latest version available: 8.22.5
Latest version installed: 8.22.5
* x11-base/xorg-x11
Latest version available: 6.8.2-r6
Latest version installed: 6.8.2-r6

How can help me?

Thanks a lot
TheOmega
Back to top
View user's profile Send private message
blacksadness
n00b
n00b


Joined: 14 Oct 2004
Posts: 19
Location: Lebanon

PostPosted: Tue Feb 21, 2006 5:37 am    Post subject: Reply with quote

it's working for me after i downgraded to the 2.6.14 kernel
how ever i don't know how related it is but i used to have it functioning perfectly on 2.6.15 with gcc 3.3 and it started having the problem after i reinstalled and upgraded to gcc 3.4.4
_________________
Unix Is The Worst Operating system Ever..
Except for all others ..
Back to top
View user's profile Send private message
theomega
Tux's lil' helper
Tux's lil' helper


Joined: 26 Jan 2006
Posts: 88
Location: Germany

PostPosted: Tue Feb 21, 2006 3:57 pm    Post subject: Reply with quote

Hy,
thanks for the tipp, ill try downgrading, but are there any other tipps?

Thanks
TO
Back to top
View user's profile Send private message
blacksadness
n00b
n00b


Joined: 14 Oct 2004
Posts: 19
Location: Lebanon

PostPosted: Tue Feb 21, 2006 5:15 pm    Post subject: Reply with quote

just note that if gdm still crashes edit the /etc/X11/gdm/gdm.conf (not sure of the link i'm not on gentoo now) and force the server to restart each time you log out
you'll find it there in the file i don't know how to do it on kdm though if you use that
_________________
Unix Is The Worst Operating system Ever..
Except for all others ..
Back to top
View user's profile Send private message
theomega
Tux's lil' helper
Tux's lil' helper


Joined: 26 Jan 2006
Posts: 88
Location: Germany

PostPosted: Tue Feb 21, 2006 9:51 pm    Post subject: Reply with quote

Hy,
thanks for the tipp, but i neither use kdm nor gdm.
Anybody else knows a tipp?

Thanks
TO
Back to top
View user's profile Send private message
theomega
Tux's lil' helper
Tux's lil' helper


Joined: 26 Jan 2006
Posts: 88
Location: Germany

PostPosted: Sat Mar 04, 2006 7:30 pm    Post subject: Reply with quote

Hy,
a upgrade to the most recent kernel (2.6.15-r7) didn't make anything better. I also tried Using the Internal AGP and not but nothing helped. Does anybody know a tipp? I want to Play UT2004 *G*

Thanks
TO
Back to top
View user's profile Send private message
RaZoR1394
Guru
Guru


Joined: 09 Jan 2005
Posts: 356

PostPosted: Sat Mar 04, 2006 8:25 pm    Post subject: Reply with quote

I have a similar problem. I'm using an ATI card together with the latest ati-drivers and the latest gentoo-sources. Since 2.6.14 or 2.6.13 got introduced I've had many lockups but they stepped down some months ago. Recently the lockups have started to happen very frequently. Opening a big openoffice document or rendering a page in Firefox could make the box lockup. This happen with both fglrx and radeon though. I've tried memtest86 for several hours and pushed the box pretty hard in Windows XP x64 so I'm pretty sure It isn't a hardware problem.

When does your system lockup at most, when using firefox, office programs, text editors or when doing nothing at all? If it lockups during webbrowsing try another browser. Also what does /var/log/messages say before that system lockups? Can you SSH into the machine from another computer? Have you tried the Sysrq trick? What window or desktop manager are you running?

Don't forget that there is a big thread about lockups above this one.

To be completely sure that you don't have a hardware problem I would try running Prime95 and memtest86. Memtest86 can be run from most linux livecds or the Ultimate boot cd. Prime95 runs on Windows. PI could another choise.

If Prime95, PI and Memtest86 passes without any problems I would try:

1. If you have an AGP card, disable fastwrites. Instructions can be found here
2. Try switching this option to the opposite: Option "BlockSignalsOnLock" "on"
3. Check that you haven't configured the kernel wrong.
4. Try a very old kernel, for ex 2.6.12 and a very fresh one like 2.6.16-rc5.
5. Try an alternative kernel like ck, archck, nitro, vanilla and so on.
6. Try every ati-driver you can get a hold on.
7. Boot without frame buffer.
8. Disable drivers and options in the kernel one by one to rule out the faulty module.
9. Try a testing version of glibc. (not ~arch)
10. At last I would try to reemerge the whole system.

Quote:

#emerge -e system && emerge -e system && emerge -e world && emerge -e world

_________________
http://en.wikipedia.org/wiki/Cell_(microprocessor)


Last edited by RaZoR1394 on Sun Mar 05, 2006 10:53 am; edited 2 times in total
Back to top
View user's profile Send private message
Admiral_Trigger_Happy
Guru
Guru


Joined: 05 Sep 2004
Posts: 337
Location: Australia

PostPosted: Sun Mar 05, 2006 10:37 am    Post subject: Reply with quote

I have a few crashes
When I log out of KDE, (using kdm) it will crash
When I upgraded to the 2.6.15-r1 kernel it will crash as soon as it boots up, listing some error in the fglrx module.

I downgrade my kernel back the old one and all works well.

I am using 8.22.5

I can't see any problems with my kernel config, it worked on the previos kernel (but configured from scratch
_________________
Admiral Trigger Happy
-------------------------------
www.kiba-dock.org
Back to top
View user's profile Send private message
RaZoR1394
Guru
Guru


Joined: 09 Jan 2005
Posts: 356

PostPosted: Sun Mar 05, 2006 10:55 am    Post subject: Reply with quote

Admiral_Trigger_Happy wrote:
I have a few crashes
When I log out of KDE, (using kdm) it will crash
When I upgraded to the 2.6.15-r1 kernel it will crash as soon as it boots up, listing some error in the fglrx module.

I downgrade my kernel back the old one and all works well.

I am using 8.22.5

I can't see any problems with my kernel config, it worked on the previos kernel (but configured from scratch


Yeah I have those kdm crashes too and I think a lot of others also have. However those crashes are not the same as a total lockup for me as I can still ssh the box. I think you can get around them by setting kdm to restart when it crashes. Don't know how to do that though.
_________________
http://en.wikipedia.org/wiki/Cell_(microprocessor)
Back to top
View user's profile Send private message
Admiral_Trigger_Happy
Guru
Guru


Joined: 05 Sep 2004
Posts: 337
Location: Australia

PostPosted: Sun Mar 05, 2006 10:57 am    Post subject: Reply with quote

Just did a couple of things and discovered some interesting things:

If X crashes, or fails to start correctly the fglrx driver from 8.22.5 will take out the kernel and my whole machine goes down.

I tried to test some changes in my Xorg.conf and they didn't work and X didn't start, CRASH!
Tried to stop x using /etc/init.d/xdm stop, CRASH!!

This is bad, has anyone found a solution?

Thanks
_________________
Admiral Trigger Happy
-------------------------------
www.kiba-dock.org
Back to top
View user's profile Send private message
theomega
Tux's lil' helper
Tux's lil' helper


Joined: 26 Jan 2006
Posts: 88
Location: Germany

PostPosted: Sun Mar 05, 2006 1:18 pm    Post subject: Reply with quote

Hy,
thanks for the many advices, but I want to point out some things:

1. The crashes I'm taliking about happen during the run of the X-Server not at the end. I had the problem with the hangs at the end of a X-Server-Session on another machine, but not on this one.
2. Disabling FastWrites in Bios and/or in the X-Server-Config didn't help
3. I don't use a framebuffer
4. I tried to use the Driver-Internal-AGP-Module but it fails because it doesn't recognize my chipset. The dmesg talks about setting "try_unsupported" to "1", but where can I try this?

Thanks
TO
Back to top
View user's profile Send private message
theomega
Tux's lil' helper
Tux's lil' helper


Joined: 26 Jan 2006
Posts: 88
Location: Germany

PostPosted: Sat Mar 25, 2006 6:47 pm    Post subject: Reply with quote

Just a little status-update:
After updating to Xorg 7.x and Kernel 2.6.16 everything works fine now. I don't know if the crashes went away due to the xorg-update or the kernel-update or if both played a role.

Thanks
TO
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum