How to tell which Xorg video driver is in use.

I was really looking for something under the Xorg frameworks. (Not grepping the log)
xrandr --listproviders
Not much useful there.
Might be all I need. Need to see what VESA and SCFB output looks like.

Not real verbose except name:
Code:
# xrandr --listproviders
Providers: number : 1
Provider 0: id: 0x49 cap: 0xb, Source Output, Sink Output, Sink Offload crtcs: 2 outputs: 8 associated providers: 0 name:Intel
 
For me, it says "modesetting" but doesn't say AMD or Intel
Code:
tingo@kg-core2:~ $ xrandr --listproviders
Providers: number : 1
Provider 0: id: 0x46 cap: 0xa, Sink Output, Sink Offload crtcs: 4 outputs: 3 associated providers: 0 name:modesetting
adding --verbose doesn't help.
 
There isn't any such utility, best you can do is checking what drivers are loaded with procstat:
Code:
% sudo procstat -v `pgrep Xorg` | grep drivers
 1207        0x801c00000        0x802172000 r-x  456  501   2   1 CN--- vn /usr/local/lib/xorg/modules/drivers/nvidia_drv.so
 1207        0x802372000        0x8023cd000 rw-   45    0   1   0 C---- vn /usr/local/lib/xorg/modules/drivers/nvidia_drv.so
(Note that Xorg is able to use multiple drivers if there is more than one GPU.)

Also, glxinfo shows an OpenGL implementation, which is only tangentially related to Xorg.
 
glxgears -info|grep GL_RENDERER

Info Center:

1651632853573.png

<https://www.freshports.org/sysutils/plasma5-kinfocenter/#dependencies>

Code:
% xrandr --listproviders
Providers: number : 1
Provider 0: id: 0x4a cap: 0xa, Sink Output, Sink Offload crtcs: 6 outputs: 5 associated providers: 0 name:modesetting
%
 
In my case (xf86-video-nv):
# xrandr --listproviders
Providers: number : 0

There is a Graphics tab in CPU-X, but there is no information about the driver.
 
Back
Top