Debian 中有没有类似 Windows 中“设备管理器”的程序,可以查看硬件?

Debian 中有没有类似 Windows 中“设备管理器”的程序,可以查看硬件?

一般使用 lshw, lspci, lsusb, dmidecode, inxi 等工具
图形界面工具可选用 hardinfo

只使用一款工具难以收集到全面的信息
可讲明具体需求

[quote=“vickycq”]一般使用 lshw, lspci, lsusb, dmidecode 等工具
图形界面程序可选用 hardinfo

只使用一款工具难以收集到全面的信息
可讲明具体需求[/quote]

主要是想知道已经安装了哪些驱动程序,还有什么驱动程序没有安装。

Linux 内核已经自带了绝大多数驱动程序。
当你发现某个设备工作与预期不符时,再有针对性地提问/搜索

[quote=“vickycq”]
Linux 内核已经自带了绝大多数驱动程序。
当你发现某个设备工作与预期不符时,再有针对性地提问/搜索[/quote]

我本子内有一块集成显卡,一块独立显卡。在 Windows 下,独立显卡只能在调用应用程序时才能使用,而不是禁用集成显卡,只使用独立显卡。

所以,我想知道:
1、我两块显卡是否都安装了驱动。
2、是否可以禁用集成显卡,只使用独立显卡。
3、如果不用禁用集成显卡,如何在调用程序时,使用独立显卡。

[quote=“I’mITman”]
我本子内有一块集成显卡,一块独立显卡。在 Windows 下,独立显卡只能在调用应用程序时才能使用,而不是禁用集成显卡,只使用独立显卡。
所以,我想知道:
1、我两块显卡是否都安装了驱动。
2、是否可以禁用集成显卡,只使用独立显卡。
3、如果不用禁用集成显卡,如何在调用程序时,使用独立显卡。[/quote]

执行以下命令将结果全部复制贴上来

lspci -knn | grep -iA2 'vga\|3d'
sudo lshw -C display

[quote=“vickycq”]
执行以下命令将结果全部复制贴上来

lspci -knn | grep -iA2 'vga\|3d' sudo lshw -C display [/quote]

lspci -knn | grep -iA2 'vga|3d’
00:02.0 VGA compatible controller [0300]: Intel Corporation Broadwell-U Integrated Graphics [8086:1616] (rev 09)
Subsystem: Dell Device [1028:0632]
Kernel driver in use: i915

04:00.0 3D controller [0302]: NVIDIA Corporation GM108M [GeForce 830M] [10de:1340] (rev a2)
Subsystem: Dell Device [1028:0632]

sudo lshw -C display
*-display
description: VGA compatible controller
product: Broadwell-U Integrated Graphics
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 09
width: 64 bits
clock: 33MHz
capabilities: msi pm vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:67 memory:f5000000-f5ffffff memory:d0000000-dfffffff ioport:f000(size=64)
*-display UNCLAIMED
description: 3D controller
product: GM108M [GeForce 830M]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:04:00.0
version: a2
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress cap_list
configuration: latency=0
resources: memory:f6000000-f6ffffff memory:e0000000-efffffff memory:f0000000-f1ffffff ioport:d000(size=128) memory:f7000000-f707ffff

[quote=“I’mITman”]
Broadwell-U Integrated Graphics
driver=i915

*-display UNCLAIMED
description: 3D controller
product: GM108M [GeForce 830M][/quote]

集成显卡为 Intel 集成显卡,内核自带驱动 i915
独立显卡为 GeForce 830M,内核自带开源驱动 nouveau 不支持(?),需安装私有驱动
对于 830M,nvidia-337.12 添加支持。安装私有驱动的版本号不可低于 337.12

应该不可以
你的独立显卡为 3D Controller,不是 VGA Compatible Controller。这种情况下,“…独立显卡是接在集成显卡上输出的…”。
具体参考 [双显卡疑问) 中 @poloshiao 的详细介绍
参考 forum.ubuntu.org.cn/viewtopic.php?f=42&t=476675
askubuntu.com/questions/733183/difference-between-vga-compatible-controller-and-3d-controller

先安装私有驱动
再安装第三方軟體 Bumblebee
具体参考 [双显卡疑问) 中 @poloshiao 的详细介绍

[quote=“vickycq”]
集成显卡为 Intel 集成显卡,内核自带驱动 i915
独立显卡为 GeForce 830M,内核自带开源驱动 nouveau 不支持(?),需安装私有驱动
对于 830M,nvidia-337.12 添加支持。安装私有驱动的版本号不可低于 337.12[/quote]

在新立得软件里安装 nvidia 驱动失败。nvidia-kernel-dkms 报错。

将相关的输出全部复制贴上来,不要节选

[quote=“vickycq”]

将相关的输出全部复制贴上来,不要节选[/quote]

不知道什么原因,刚才重装 nvidia-kernel-dkms 时,又好装了。
我再贴一下显示内容,你帮我看一下还有没有什么问题。

00:02.0 VGA compatible controller [0300]: Intel Corporation Broadwell-U Integrated Graphics [8086:1616] (rev 09)
	Subsystem: Dell Device [1028:0632]
	Kernel driver in use: i915
--
04:00.0 3D controller [0302]: NVIDIA Corporation GM108M [GeForce 830M] [10de:1340] (rev ff)

[code]sudo lshw -C display[/code]
  *-display               
       description: VGA compatible controller
       product: Broadwell-U Integrated Graphics
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       version: 09
       width: 64 bits
       clock: 33MHz
       capabilities: msi pm vga_controller bus_master cap_list rom
       configuration: driver=i915 latency=0
       resources: irq:68 memory:f5000000-f5ffffff memory:d0000000-dfffffff ioport:f000(size=64)

00:02.0 VGA compatible controller [0300]: Intel Corporation Broadwell-U Integrated Graphics [8086:1616] (rev 09)
Subsystem: Dell Device [1028:0632]
Kernel driver in use: i915

04:00.0 3D controller [0302]: NVIDIA Corporation GM108M [GeForce 830M] [10de:1340] (rev ff)

*-display
description: VGA compatible controller
product: Broadwell-U Integrated Graphics
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 09
width: 64 bits
clock: 33MHz
capabilities: msi pm vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:68 memory:f5000000-f5ffffff memory:d0000000-dfffffff ioport:f000(size=64)

  1. 有没有安装 Bumblebee ?

安装后的流程参考 wiki.debian.org/NvidiaGraphicsDrivers#configure
注意

[quote=“vickycq”]1. 有没有安装 Bumblebee ?
2.安装后的流程参考 wiki.debian.org/NvidiaGraphicsDrivers#configure
注意

; on such systems, the primary X display is driven by your Intel GPU, which is autodetected by X. See Bumblebee for more details on how to configure an Optimus system.[/quote]

已安装 Bumblebee,在应用程序菜单->系统->NVIDIA X 服务器设置。是否还需要按 wiki.debian.org/NvidiaGraphicsDrivers#configure 进行设置?
我装的是 XFCE4。

[quote=“I’mITman”]
已安装 Bumblebee,在应用程序菜单->系统->NVIDIA X 服务器设置。是否还需要按 wiki.debian.org/NvidiaGraphicsDrivers#configure 进行设置?
我装的是 XFCE4。[/quote]

如果重启能进桌面就不必了。
你的机器属于 Optimus?按楼上说法, Optimus 系统无需生成 xorg.conf

[quote=“vickycq”]

[quote=“I’mITman”]
已安装 Bumblebee,在应用程序菜单->系统->NVIDIA X 服务器设置。是否还需要按 wiki.debian.org/NvidiaGraphicsDrivers#configure[/quote]

进行设置?
我装的是 XFCE4。
如果重启能进桌面就不必了。
你的机器属于 Optimus?按楼上说法, Optimus 系统无需生成 xorg.conf[/quote]

是 Latitude 3000 系列

GeForce 830M 的产品页面包含 Optimus 字样
参考 geforce.com/hardware/notebook-gpus/geforce-830m

[quote=“vickycq”]GeForce 830M 的产品页面包含 Optimus 字样
参考 geforce.com/hardware/notebook-gpus/geforce-830m[/quote]

是我理解错了。

因为我的机器是 Dell Latitude 3000 系列。所以,我把 Optimus 当成 Dell Optiplex 系列了。呵呵

打开 NVIDIA X Server Settings,显示:
You do not appear to be using the NVIDIA X driver. Please edit your X configuration file (just run ‘nvidia-xconfig’ as root), and restart the X server.

[quote=“I’mITman”]打开 NVIDIA X Server Settings,显示:
You do not appear to be using the NVIDIA X driver. Please edit your X configuration file (just run ‘nvidia-xconfig’ as root), and restart the X server.[/quote]

可能原因 独显已被 Bumblebee 关闭。运行 sudo lshw -C display 确认这一点
忽略该提示即可