Xubuntu determining video driver
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? |
you can use either
Code:
lspci -k Code:
lspci -v -v will give you verbose (detailed) information about them. It includes the info offered by -k |
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:
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 :cry: Thanks for the suggestions though! |
Code:
lspci -k It will tell you the kernel driver in use for your device. It will also tell you which other drivers are also suitable for it. -k k - kthxbye |
Quote:
Quote:
|
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]) 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... |
Quote:
and it isn't --k, it's -k |
-k does give --k on the error report.
using -v I get Quote:
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. |
grep on the /var/logs gave me
Quote:
glxinfo gives me Quote:
|
Quote:
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 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. |
All times are GMT -5. The time now is 02:35 AM. |