UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I need to find what video driver is being used for my ati card. Usually I'd have a look in xorg.conf. However with this install of Xubuntu 8.04 the xorg.conf file doesn't seem to contain such stuff but refers to "Configured video device".
Now I need to know the driver as I have to blacklist it in acpi-support to get suspend functioning on this laptop.
Any ideas what I can do?
Had a look through the log files and the output from glxinfo and both are fuzzy.
Your question implies (to me) that you already know what driver was used by other distributions - it would simply be the same.
The driver-name "ati" should probably be sufficient and the rest will be autodetected by xorg on startup.
See the logs after trying that - but that is what you already did...
Does "lspci" not give you enough information to find out what card you have?
The card isn't the issue, it's the actual driver that the video card is using that I need to know.
lspci gives me
Quote:
VGA compatible controller: ATI Technologies Inc RV350 [Mobility Radeon 9600 M10] (prog-if 00 [VGA controller])
Subsystem: Uniwill Computer Corp Unknown device 2324
Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 16
Memory at d0000000 (32-bit, prefetchable) [size=128M]
I/O ports at c800 [size=256]
Memory at dfef0000 (32-bit, non-prefetchable) [size=64K]
Expansion ROM at dfec0000 [disabled] [size=128K]
Capabilities: <access denied>
Drivers in the past have been vesa, ati, fglrx, maybe mesa?
The thing is there are likely to be other things in acpi-support that I have to set and i need to get this right before I start tinkering with other stuff in there.
/var/logs/ gives an indication that it may be the ati driver but running armagetron it refers to the mesa driver.
It used to be so simple just by having a shufty in xorg.conf
Thanks for the suggestions though!
Last edited by Chris H; 07-10-2008 at 12:53 AM.
Reason: dodgy spelling
If this is not a really wiered thing - it is obviously a radeon card - and that is the name of the driver for xorg too: radeon
A non-accelerated alternative to that would be vesa.
as a comparsion - here is mine:
Code:
01:00.0 VGA compatible controller: ATI Technologies Inc RV350 [Mobility Radeon 9600 M10] (prog-if 00 [VGA controller])
Subsystem: Samsung Electronics Co Ltd P35 notebook
Flags: bus master, fast Back2Back, 66MHz, medium devsel, latency 66, IRQ 11
Memory at d8000000 (32-bit, prefetchable) [size=128M]
I/O ports at 3000 [size=256]
Memory at d0100000 (32-bit, non-prefetchable) [size=64K]
[virtual] Expansion ROM at d0120000 [disabled] [size=128K]
Capabilities: [58] AGP version 2.0
Capabilities: [50] Power Management version 2
Kernel driver in use: radeonfb
The last line is saying that the console-framebuffer-driver "radeonfb" is loaded - "vesafb" would (and does) work just as well. But that does not have anything to do with what driver is used for xorg. In xorg it its name is "radeon"
You would need some kernel-modules: agpgart + drm from the device-drivers / graphics support category too. drm for your card agpgart for your agp-chipset if you have such a thing.
[edit]
The "-k" option to lspci only works on version 2.6 kernels. That is what my man lspci says.
I can't imagine that Ubuntu is not using such a kernel - wiered too...
01:00.0 VGA compatible controller: ATI Technologies Inc RV350 [Mobility Radeon 9600 M10] (prog-if 00 [VGA controller])
Subsystem: Uniwill Computer Corp Unknown device 2324
Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 16
Memory at d0000000 (32-bit, prefetchable) [size=128M]
I/O ports at c800 [size=256]
Memory at dfef0000 (32-bit, non-prefetchable) [size=64K]
Expansion ROM at dfec0000 [disabled] [size=128K]
Capabilities: [58] AGP version 3.0
Capabilities: [50] Power Management version 2
Almost there!
Any idea why xorg doesn't set up a full xorg.conf like it used to? This is the first distro I've used where all the settings and info aren't clearly detailed.
The "-k" option to lspci only works on version 2.6 kernels. That is what my man lspci says.
I can't imagine that Ubuntu is not using such a kernel - wiered too...
uname -r gives 2.6.24-19-generic
It is a 64 bit installation, maybe that has something to do with it.
So you want to suspend to hd and the driver needs to be unloaded before it will work - is that why you want the name to be in the blacklist?
For me this works perfectly without unloading the driver - might be different for you...
xorg can work reliably without a config-file - it can autodetect everything. Mostly...
Look through Xorg.0.log
Code:
less /var/log/Xorg.0.log
and you will find what driver is being used.
You can run xorgcfg and set up a "real" config-file.
On Ubuntu 7 and Linspire I needed to leave the driver loaded else it wouldn't fire up again after resume. As per acpi-support
# Add modules to this list to leave
them in the kernel over suspend/resume
MODULES_WHITELIST="fglrx"
The above was when I had the fglrx driver.
However, I had issues with fglrx locking up so I don't want to mess too much with my current setup and whatever driver is loaded I want to keep using. Hence needing to know so I can stop it being unloaded. If I leave the whitelist empty then my screen refuses to return after resume, just stays black with no backlight or anything.
I will check the xorg-log again but previously have only found the radeon_drv.so as posted above.
Thanks to Jomen and Takla for your help with this!
I ended up loading the restricted ati binary driver. Once that was installed then fglrx appeared in xorg.conf. Adding fglrx to my acpi-support file means I'm now working with suspend/resume.
Previously I have issues with the fglrx driver causing hang-ups. Hopefully this won't recur on this Xubuntu 8 install.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.