PDA

View Full Version : Managing display driver in fedora 12



cjohnson
14th April 2010, 05:29 AM
How do I determine what graphics card I am using in Linux? In windows it's no problem, but I don't know how to determine such things as a) what hardware am I using? and b) what driver am I using?

After determining which hardware my display is using, what is the best way to manage the drivers to ensure i'm using the most up to date version?

thanks.

ozjd
14th April 2010, 06:09 AM
Try

lspci |grep Display

BugRocks1
14th April 2010, 03:30 PM
What video card I'm using?

lspci | grep -i vga

What is the driver I'm using?


grep -i driver /etc/X11/xorg.conf
ps: By default there is no xorg.conf file created in Fedora 12.
or

grep -i driver /var/log/Xorg.0.log

cjohnson
14th April 2010, 07:49 PM
lspci | grep Display

>> 00:02.1 Display controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)

So, what is the best way to determine if I am using the correct driver for this card? And, how would I update if necessary? Through yum? Standard update repositories?

[chris@ChrisDELL ~]$ grep -i driver /var/log/Xorg.0.log
X.Org Video Driver: 6.0
X.Org XInput driver : 7.0
Driver "intel"
Driver "vesa"
Driver "fbdev"
(II) Loading /usr/lib64/xorg/modules/drivers/intel_drv.so
Module class: X.Org Video Driver
ABI class: X.Org Video Driver, version 6.0
(II) Loading /usr/lib64/xorg/modules/drivers/vesa_drv.so
Module class: X.Org Video Driver
ABI class: X.Org Video Driver, version 6.0
(II) Loading /usr/lib64/xorg/modules/drivers/fbdev_drv.so
ABI class: X.Org Video Driver, version 6.0
(II) intel: Driver for Intel Integrated Graphics Chipsets: i810,
(II) VESA: driver for VESA chipsets: vesa
(II) FBDEV: driver for framebuffer: fbdev
ABI class: X.Org Video Driver, version 6.0
(II) Unloading /usr/lib64/xorg/modules/drivers/vesa_drv.so
(II) Unloading /usr/lib64/xorg/modules/drivers/fbdev_drv.so
(II) UXA(0): Driver registered support for the following operations:
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 7.0
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 7.0
(II) Synaptics touchpad driver version 1.2.1

BugRocks1
14th April 2010, 08:42 PM
lspci | grep Display

>> 00:02.1 Display controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)

So, what is the best way to determine if I am using the correct driver for this card? And, how would I update if necessary? Through yum? Standard update repositories?

[chris@ChrisDELL ~]$ grep -i driver /var/log/Xorg.0.log
X.Org Video Driver: 6.0
X.Org XInput driver : 7.0
Driver "intel"
Driver "vesa"
Driver "fbdev"
(II) Loading /usr/lib64/xorg/modules/drivers/intel_drv.so
Module class: X.Org Video Driver
ABI class: X.Org Video Driver, version 6.0
(II) Loading /usr/lib64/xorg/modules/drivers/vesa_drv.so
Module class: X.Org Video Driver
ABI class: X.Org Video Driver, version 6.0
(II) Loading /usr/lib64/xorg/modules/drivers/fbdev_drv.so
ABI class: X.Org Video Driver, version 6.0
(II) intel: Driver for Intel Integrated Graphics Chipsets: i810,
(II) VESA: driver for VESA chipsets: vesa
(II) FBDEV: driver for framebuffer: fbdev
ABI class: X.Org Video Driver, version 6.0
(II) Unloading /usr/lib64/xorg/modules/drivers/vesa_drv.so
(II) Unloading /usr/lib64/xorg/modules/drivers/fbdev_drv.so
(II) UXA(0): Driver registered support for the following operations:
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 7.0
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 7.0
(II) Synaptics touchpad driver version 1.2.1

There are 2 different drivers with one of them that has 2 parts. Xorg unloaded vesa and fbdev so you are using the intel driver.

And now that you know the name of the drivers you can see which one was load with:


lsmod | grep -i "intel\|vesa\|fbdev"

cjohnson
15th April 2010, 11:23 AM
There are 2 different drivers with one of them that has 2 parts. Xorg unloaded vesa and fbdev so you are using the intel driver.

And now that you know the name of the drivers you can see which one was load with:

Would it be safe to remove vesa and fbdev from my system? Would this improve startup time? If so, what's the safest way to remove drivers from system?

BugRocks1
15th April 2010, 11:56 AM
You don't need to remove them, you can just blacklist them so they are not called there are several methods to do that(in grub.conf, in /etc/modprobe.d adding a file with the name of the module you want to blacklist, using the blacklist.conf and some more ways to do it), but there is no problem with those 2 modules, they probably don't take much time to load and you can see the process in real time pressing ESC when the little bubble appears, Now one thing very important, the VESA driver is your backup, your ensurance if anything goes wrong. That is the drive the system should use to get you going when things go wrong, that is the spare tire on the trunk, do you really want to remove it?

Hlingler
15th April 2010, 12:04 PM
Would it be safe to remove vesa and fbdev from my system? Would this improve startup time? If so, what's the safest way to remove drivers from system?No! (and [2]No, and [3]not necessary) Vesa (and possibly fbdev) is used to probe for the modes.

As you can see: Xorg dumps them when it's done probing, and uses the Intel driver. Besides: X11/Xorg loads after boot sequence, and so doesn't "count" towards boot time.

To answer your original question further:
glxinfo | grep render

will show 3D driver in use (which implies 2D driver if other than "Software Rasterizer").

V

P.S. Theoretically: you can remove all other unneeded (2D) video drivers (e.g.: xorg-x11-drv-nouveau, -ati, & etc.), but this will save very minimal HDD space, and will not in any way affect boot time nor Xorg.