LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 12-03-2013, 10:27 PM   #1
Noony
LQ Newbie
 
Registered: Feb 2009
Distribution: Slackware
Posts: 15

Rep: Reputation: 0
14.1: Xorg crashes on ATI 3d rage pro cards


Out of 22 machines at home, 16 of them have an ATI 3d Rage Pro video card. On all machines with that video card, the X system in Slack 14.1 crashes with a segmentation fault shortly after startup. It appears to be the mach64 driver that crashes. Through a ton of googling, I see that the same thing happens in other distros, too.

I installed the driver from the 14.0 distribution, but the newer server rejected it. Then I also installed the xorg server from the 14.0 distro, but then it choked on another mismatch or 2.

I looked in modules.dep, but that didn't mention any dependencies for these things. Does anyone know the list of things I need to downgrade in order to use the working driver from the 14.0 distro?

ps: The hint in 'changes & hints' about disabling composites has no effect.

pps: Both 'Xorg -configure' and 'xorgsetup' also crash on these machines.
 
Old 12-03-2013, 10:51 PM   #2
ReaperX7
Senior Member
 
Registered: Jul 2011
Distribution: LFS-SVN, Slackware-14.1, PCBSD-10.0
Posts: 3,004
Blog Entries: 15

Rep: Reputation: 754Reputation: 754Reputation: 754Reputation: 754Reputation: 754Reputation: 754Reputation: 754
Have you tried at minimum using just the standard VESA driver?

The Mach64 driver is over a year old by now, so I'm not sure how well it has been maintained since that time in regards to newer kernels, x-servers, etc. It may actually have issues with the kernel driver and not just the xorg driver.

If you're using these as a server system setup, the VESA driver should be more than adequate.
 
Old 12-04-2013, 04:10 PM   #3
Noony
LQ Newbie
 
Registered: Feb 2009
Distribution: Slackware
Posts: 15

Original Poster
Rep: Reputation: 0
On servers, I don't use a GUI. I couldn't remember what happens with vesa, so I went ahead and tried it.

If I use modelines, I get just a mess of lines, smears, and confetti. If I terminate X with a ctl-alt-bksp, the screen turns black, and I think the computer has crashed because I can't switch to any virtual console.

If I don't use modelines, I get a GUI display with extreme flickering (60 Hz). I can terminate using the normal logout from KDE or xfce, but this also turns the screen black and (I think) crashes the whole computer.

The mach64 driver is more like 2 decades old, but new versions are continually released. The newest release (which is in Slack 14.1) is newer than the latest rollup release of Xorg.

Last edited by Noony; 12-04-2013 at 04:15 PM.
 
Old 12-04-2013, 04:54 PM   #4
ReaperX7
Senior Member
 
Registered: Jul 2011
Distribution: LFS-SVN, Slackware-14.1, PCBSD-10.0
Posts: 3,004
Blog Entries: 15

Rep: Reputation: 754Reputation: 754Reputation: 754Reputation: 754Reputation: 754Reputation: 754Reputation: 754
Flickering on the VESA, Modesetting, or even the FBDev driver, could be bad sign that you have a possible and/or potential hardware failure with the graphics or AGP memory controller. It also could be an improperly set interrupt for the PCI bus management system as well.

If it's crashing with the actual driver then you have something seriously wrong happening.

Is this repeating on other machines with similar hardware, and do you have a spare video card that is compatible with the system to test out also?
 
Old 12-04-2013, 06:26 PM   #5
turtleli
Member
 
Registered: Aug 2012
Location: UK
Distribution: Slackware 14.1
Posts: 135

Rep: Reputation: Disabled
This bug report about the xorg server segfaulting with a mach64 driver might be relevant to you.

Can you patch and rebuild the mach64 driver and see if it will solve your problem?
 
1 members found this post helpful.
Old 12-04-2013, 08:32 PM   #6
mlslk31
Member
 
Registered: Mar 2013
Location: Florida, USA
Distribution: Slackware, FreeBSD
Posts: 109

Rep: Reputation: 30
Last time I had to fiddle with this, I ended up recompiling xf86-video-mach64 with some flags like "--enable-exa --disable-uxa", but there might be xorg.conf directives that you can use instead. It's been a while, though, and I've given up on using X11 on that PC. It's too slow, and there's not enough memory in the PC to get the best out of X11.
 
Old 12-04-2013, 08:45 PM   #7
ReaperX7
Senior Member
 
Registered: Jul 2011
Distribution: LFS-SVN, Slackware-14.1, PCBSD-10.0
Posts: 3,004
Blog Entries: 15

Rep: Reputation: 754Reputation: 754Reputation: 754Reputation: 754Reputation: 754Reputation: 754Reputation: 754
Found this on the Arch Wiki. Apparently this is a well known problem with Rage Pro based video adapters:

https://wiki.archlinux.org/index.php/mach64
 
Old 12-05-2013, 09:24 PM   #8
GVrooman
Member
 
Registered: May 2008
Distribution: Slackware
Posts: 38

Rep: Reputation: 11
I am a little concerned about this because I have three of these cards, and someday I may want to upgrade to a newer version of Slackware. I found this discussion which pertains to Lubuntu:

https://bugs.launchpad.net/ubuntu/+s...4/+bug/1077975

The problem seems to be that Xorg dropped support for XAA with xorg-server 1.13. Slackware 14.1 is now using 1.14.3. One workaround seems to be to disable hardware acceleration altogether. I also found this article which doesn't bode well for people who are still using old video cards:

http://www.phoronix.com/scan.php?pag...tem&px=MTA0NDg

I am not sure how useful all of this is but it will at least help to point people in the right direction.
 
Old 12-06-2013, 04:13 AM   #9
ReaperX7
Senior Member
 
Registered: Jul 2011
Distribution: LFS-SVN, Slackware-14.1, PCBSD-10.0
Posts: 3,004
Blog Entries: 15

Rep: Reputation: 754Reputation: 754Reputation: 754Reputation: 754Reputation: 754Reputation: 754Reputation: 754
Older video cards aren't subject to continued support on any OS. For developers they try to keep support of commonly used hardware if driver code is maintained, but all too often older cards that start getting deprecation in driver support, will get pushed back to barebones support through VESA and LLVMPipe in Mesa.

It happens not too often but as older cards see less driver support, and support is at a dead end, it starts showing up.

Often you really have to do extensive homework now when building for Linux, BSD, or any other UNIX family OS.
 
Old 12-06-2013, 02:59 PM   #10
Noony
LQ Newbie
 
Registered: Feb 2009
Distribution: Slackware
Posts: 15

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by turtleli View Post
This bug report about the xorg server segfaulting with a mach64 driver might be relevant to you.

Can you patch and rebuild the mach64 driver and see if it will solve your problem?
Thank you, turtleli, that patch does fix the driver so it doesn't crash anymore.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help me get 2 ATI Rage XL Video Cards Going xmrkite Linux - Hardware 2 05-25-2009 11:37 AM
Xorg impossibly slow on Debian Etch (PowerPC) with ATI Rage 128 Pro video card Lannix Linux - Hardware 7 04-20-2007 01:41 AM
ATI drivers for old ATI Rage LT Pro card? Kramer Linux - Hardware 7 12-22-2005 09:55 AM
ATI Driver for RAGE Pro Error1312 Linux - Software 10 07-24-2004 10:56 AM
ati rage pro tvout Angotull Linux - Software 0 06-15-2004 06:11 AM


All times are GMT -5. The time now is 09:34 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration