UbuntuThis forum is for the discussion of Ubuntu Linux.
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?
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:
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:  AGP version 2.0
Capabilities:  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.
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...
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
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
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!