LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
LinkBack Search this Thread
Old 07-25-2009, 09:06 AM   #1
Meson
Member
 
Registered: Oct 2007
Distribution: Arch x86_64
Posts: 606

Rep: Reputation: 65
Help setting correct driver for ATI Rage 128 in xorg.conf


I have this old ATI Rage 128 card and I'm trying to configure x11 to use the correct driver. Among other things I'm hoping this will fix issues like choppy scrolling.


Code:
~$ sudo lspci -vv
01:00.0 VGA compatible controller: ATI Technologies Inc Rage 128 PF/PRO AGP 4x TMDS
	Subsystem: ATI Technologies Inc Device 0404
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping+ SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 32 (2000ns min), Cache Line Size: 32 bytes
	Interrupt: pin A routed to IRQ 16
	Region 0: Memory at f8000000 (32-bit, prefetchable) [size=64M]
	Region 1: I/O ports at ee00 [size=256]
	Region 2: Memory at feafc000 (32-bit, non-prefetchable) [size=16K]
	[virtual] Expansion ROM at fea00000 [disabled] [size=128K]
	Capabilities: [50] AGP version 2.0
		Status: RQ=32 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64- HTrans- 64bit- FW- AGP3- Rate=x1,x2,x4
		Command: RQ=1 ArqSz=0 Cal=0 SBA+ AGP- GART64- 64bit- FW- Rate=<none>
	Capabilities: [5c] Power Management version 2
		Flags: PMEClk- DSI- D1+ D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D0 PME-Enable- DSel=0 DScale=0 PME-
	Kernel modules: aty128fb
Code:
~$ sudo lshw
        *-display UNCLAIMED
             description: VGA compatible controller
             product: Rage 128 PF/PRO AGP 4x TMDS
             vendor: ATI Technologies Inc
             physical id: 0
             bus info: pci@0000:01:00.0
             version: 00
             width: 32 bits
             clock: 66MHz
             capabilities: agp agp-2.0 pm bus_master cap_list
             configuration: latency=32 mingnt=8
Let me know if the full listings of these commands would help. I know the 'r128' driver is installed on the system. If I specify it in the Device section of xorg.conf the computer doesn't boot properly. I also tried including r128 in /etc/modules.

I'm pretty sure that if all things are working correctly, there should be a "Kernel Drivers: r128" line in lspci, and in lshw, display should NOT be UNCLAIMED.
 
Old 07-25-2009, 09:47 AM   #2
jdkaye
Senior Member
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 4,044

Rep: Reputation: Disabled
You should check with
Code:
lsmod |grep r128
and see if you see your driver in the output. The kernel definitely has the driver.
cheers,
jdk
 
Old 07-25-2009, 03:39 PM   #3
Meson
Member
 
Registered: Oct 2007
Distribution: Arch x86_64
Posts: 606

Original Poster
Rep: Reputation: 65
Quote:
Originally Posted by jdkaye View Post
You should check with
Code:
lsmod |grep r128
and see if you see your driver in the output. The kernel definitely has the driver.
cheers,
jdk
As I said, it's there. I've included r128 in /etc/modules. (The used by count is 0 however.)
 
Old 07-25-2009, 10:53 PM   #4
jdkaye
Senior Member
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 4,044

Rep: Reputation: Disabled
So it shows up in the lsmod list?
jdk
 
Old 07-25-2009, 11:01 PM   #5
Meson
Member
 
Registered: Oct 2007
Distribution: Arch x86_64
Posts: 606

Original Poster
Rep: Reputation: 65
Quote:
Originally Posted by jdkaye View Post
So it shows up in the lsmod list?
jdk
Yes, it shows up in the lsmod list, and the third column 'used by' is 0
 
Old 07-25-2009, 11:16 PM   #6
jdkaye
Senior Member
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 4,044

Rep: Reputation: Disabled
And this?
Code:
sudo modprobe -v r128
jdk
 
Old 07-26-2009, 08:06 AM   #7
Meson
Member
 
Registered: Oct 2007
Distribution: Arch x86_64
Posts: 606

Original Poster
Rep: Reputation: 65
The driver in use when I run this is vesa (otherwise I can't start X)
Code:
~$ sudo modprobe -v r128
~$
At this point I'm wondering if I need to specify my monitor's refresh rates and such for the r128 driver. This is my current xorg.conf:
Code:
Section "ServerFlags"
	Option     "DontZap"    "false"
EndSection

Section "Device"
	Identifier	"Configured Video Device"
	Driver          "vesa"
EndSection

Section "Monitor"
	Identifier	"Configured Monitor"
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Monitor		"Configured Monitor"
	Device		"Configured Video Device"
EndSection
and all I've done is replaced 'vesa' with 'r128'
 
Old 07-26-2009, 09:01 AM   #8
Meson
Member
 
Registered: Oct 2007
Distribution: Arch x86_64
Posts: 606

Original Poster
Rep: Reputation: 65
So I tried adding my monitor's horizontal and vertical ranges, no luck. I also tried using the 'ati' driver instead of the 'r128' driver because I read that the ati driver actually calls the appropriate driver (r128, radeon, etc). The 'ati' driver met the same fate as the 'r128' driver.
 
Old 07-26-2009, 09:53 AM   #9
jdkaye
Senior Member
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 4,044

Rep: Reputation: Disabled
Quote:
Section "Device"
Identifier "Configured Video Device"
Driver "vesa"
Sorry but isn't that where "r128" should go? It looks like the xorg.conf is set to use the vesa driver?

What about this?
Quote:
Driver "r128"
Then stop and restart your x-server.
jdk
 
Old 07-26-2009, 01:01 PM   #10
Meson
Member
 
Registered: Oct 2007
Distribution: Arch x86_64
Posts: 606

Original Poster
Rep: Reputation: 65
jdkaye, thanks for sticking with me on this, but you're not reading my posts. I've tried it with the r128 and ati driver. Neither worked. I also tried explicitly setting my monitors refresh rates in the Monitor section - didn't help.
 
Old 07-26-2009, 01:39 PM   #11
jdkaye
Senior Member
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 4,044

Rep: Reputation: Disabled
Quote:
Originally Posted by Meson View Post
jdkaye, thanks for sticking with me on this, but you're not reading my posts. I've tried it with the r128 and ati driver. Neither worked. I also tried explicitly setting my monitors refresh rates in the Monitor section - didn't help.
Meson, I am reading your posts. Obviously the last one you posted hadn't yet appeared when I wrote mine. I think I'm about out of ideas on this one. Have you managed to get the ATI rage to work on any live CD's?
jdk
 
Old 07-26-2009, 07:06 PM   #12
Meson
Member
 
Registered: Oct 2007
Distribution: Arch x86_64
Posts: 606

Original Poster
Rep: Reputation: 65
Quote:
Originally Posted by jdkaye View Post
Obviously the last one you posted hadn't yet appeared when I wrote mine.
I said it in the same post =P

Quote:
Originally Posted by jdkaye View Post
Have you managed to get the ATI rage to work on any live CD's?
No, I will try.

Unfortunately I think this thread is going to die because I won't be with the machine in question for another 2 weeks or so. Hopefully someone will have a fresh idea in the interim, or I will try the live CD and bump it up with the outcome in a couple weeks.
 
Old 07-29-2009, 02:37 AM   #13
elprawn
Member
 
Registered: Feb 2005
Distribution: Gentoo 2008
Posts: 138

Rep: Reputation: 15
Should the driver not be "ati" or "fglrx"?
 
Old 07-29-2009, 12:22 PM   #14
Meson
Member
 
Registered: Oct 2007
Distribution: Arch x86_64
Posts: 606

Original Poster
Rep: Reputation: 65
Quote:
Originally Posted by elprawn View Post
Should the driver not be "ati" or "fglrx"?
Like I said, I tried ati and was met with the same result as r128. I hadn't tried fglrx because I thought ATI released their 3D stuff for older cards and it was merged into ati, or radeon or something...
 
Old 07-29-2009, 12:58 PM   #15
elprawn
Member
 
Registered: Feb 2005
Distribution: Gentoo 2008
Posts: 138

Rep: Reputation: 15
Yeah I'm pretty sure up to a certain chip it's ati and beyond that it's fglrx. Only really had to deal with it when I was installing the OS, though but can't recall seeing any others.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
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 rage 128 jmanjeff Debian 5 05-29-2005 11:00 AM
ATI Rage 128 3D not working equus Linux - Hardware 3 05-21-2005 06:15 PM
ATI Rage 128 (Gatos Driver) HELP!! gfem Linux - General 2 12-30-2003 01:07 AM
TV-Out with ATI All-In-Wonder Rage 128 ViralHex Linux - Hardware 0 06-05-2003 08:54 PM


All times are GMT -5. The time now is 05:10 AM.

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