服务器显卡驱动怎么显示器,如何检查哪个显卡驱动了我的显示器?

朗德

使用xrandr将显示哪些卡可用。

$ 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

在此系统上,我有1个图形卡,一个Intel,具有2个端口(输出)。您可以xrandr像这样看到输出:

$ xrandr -q

Screen 0: minimum 320 x 200, current 3360 x 1080, maximum 8192 x 8192

LVDS1 connected primary 1440x900+0+0 (normal left inverted right x axis y axis) 303mm x 190mm

1440x900 60.0*+ 50.0

1024x768 60.0

800x600 60.3 56.2

640x480 59.9

VGA1 connected 1920x1080+1440+0 (normal left inverted right x axis y axis) 521mm x 293mm

1920x1080 60.0*+

1680x1050 60.0

1280x1024 75.0 60.0

1440x900 59.9

1280x960 60.0

1152x864 75.0

1024x768 75.1 70.1 60.0

832x624 74.6

800x600 72.2 75.0 60.3 56.2

640x480 75.0 72.8 66.7 60.0

720x400 70.1

HDMI1 disconnected (normal left inverted right x axis y axis)

DP1 disconnected (normal left inverted right x axis y axis)

HDMI2 disconnected (normal left inverted right x axis y axis)

HDMI3 disconnected (normal left inverted right x axis y axis)

DP2 disconnected (normal left inverted right x axis y axis)

DP3 disconnected (normal left inverted right x axis y axis)

2个输出是VGA1(VGA外部端口)和LVDS1(笔记本电脑上的LCD监视器)。

sh

最后,您可以用来lshw查找有关实际显卡信息的更多信息:

$ sudo lshw -numeric -c video

*-display

description: VGA compatible controller

product: Core Processor Integrated Graphics Controller [8086:46]

vendor: Intel Corporation [8086]

physical id: 2

bus info: pci@0000:00:02.0

version: 02

width: 64 bits

clock: 33MHz

capabilities: msi pm vga_controller bus_master cap_list rom

configuration: driver=i915 latency=0

resources: irq:41 memory:f2000000-f23fffff memory:d0000000-dfffffff ioport:1800(size=8)

如何确定哪个GPU在驱动哪个显示器

要完成此任务,您需要获取提供程序列表,并从xrandr --listproviders命令中记下其编号。该编号是设备编号。它的时间通常是在输出中与屏幕一起分配的相同数字xrandr -q。

因此,人们可以轻松地构造出哪个GPU“设备”正在驱动哪个屏幕。在我的示例中,“提供者0”正在驱动“屏幕0”。

注意:术语“屏幕”不一定对应于单个显示器。在我的场景中,我的GPU可以驱动2个输出,即LVDS1和VGA1。但是,这种方法的确可以使您高度确定哪个GPU驱动哪个显示器。

上述关联是通过系统的设置进行控制的,因此有可能会误导您。例如,上面的关联是由通常如下所示的设置驱动的:

Section "Screen"

Identifier "Screen0"

Device "Device0"

EndSection

Section "Screen"

Identifier "Screen1"

Device "Device1"

EndSection

因此,有可能系统被设置Screen0为非驱动Device0。

参考文献

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值