Hi guys,
I want to know how to check for graphic driver that is loaded currently.
thanks in advance.
Hi guys,
I want to know how to check for graphic driver that is loaded currently.
thanks in advance.
cmd
lsmod
gives all kernel modules loaded
so the video driver will be listed
on this pc the radeon driver is installed hence
output of cmd
lsmod | grep radeon :-
radeon 1308792 2
ttm 92265 1 radeon
drm_kms_helper 52710 1 radeon
drm 309344 4 radeon,ttm,drm_kms_helper
i2c_algo_bit 13413 1 radeon
OK my PC shows that I am using gma_gfx. How to know if a driver is loaded correctly or not.
What is the default location of drivers. I couldn’t find gma_gfx driver in /usr/lib/xorg/modules/drivers but instead I have vesa,fbdev and modesetting in this directory
Another method to obtain the information (run as root)
#hwinfo --gfxcard
Could you please post the output of that as well? So far as I know gma_gfx is not a kernel module in itself - gma500_gfx, i915, etc. are.
Kernel video drivers will be in a location similar to
/lib/modules/3.9.4-1-default/kernel/drivers/video/
As for if it is being used by XOrg correctly, look at the contents of /var/log/Xorg.0.log and search for LoadModule. Note that errors in the log are noted with (EE)
#/usr/sbin/hwinfo --gfxcard
09: PCI 02.0: 0300 VGA compatible controller (VGA)
[Created at pci.319]
Unique ID: _Znp.ZP5ETdaUkAD
SysFS ID: /devices/pci0000:00/0000:00:02.0
SysFS BusID: 0000:00:02.0
Hardware Class: graphics card
Model: “Intel VGA compatible controller”
Vendor: pci 0x8086 “Intel Corporation”
Device: pci 0x0be2
SubVendor: pci 0x1849 “ASRock Incorporation”
SubDevice: pci 0x0be2
Revision: 0x0b
Driver: “gma500”
Driver Modules: “drm”
Memory Range: 0xdfd00000-0xdfdfffff (rw,non-prefetchable)
I/O Ports: 0xf100-0xf107 (rw)
IRQ: 43 (no events)
I/O Ports: 0x3c0-0x3df (rw)
Module Alias: “pci:v00008086d00000BE2sv00001849sd00000BE2bc03sc00i00”
Driver Info #0:
Driver Status: gma500_gfx is active
Driver Activation Cmd: “modprobe gma500_gfx”
Config Status: cfg=new, avail=yes, need=no, active=unknown
Primary display adapter: #9
When X loads with a graphic driver, it logs salient information to a log file, with location/file-name /var/log/Xorg.0.log
That file should tell all information and more wrt making a reasonable driver loading assessment.
If one wishes to share that information, then its best IMHO to copy the file contents and paste it to the site SUSE Paste, press ‘create’ on that site, and then share the URL/address of the paste that one is provided.
OK thanks for all your replies.
Great - given the output to hwinfo, we can see:
Driver: "gma500"
Driver Modules: "drm"
The driver (kernel module) is the Intel gma500, and XOrg should be using the drm (Direct Rendering Manager) which is what is used for Intel chipsets.
You should be good to go.
As oldcpu mentioned, if needed post your Xorg log to pastebing, etc.
Here is my Xorg.0.log file