Cod*_*123 9 display multiple-monitors dell hdmi display-resolution
我有一台 DELL XPS 15。我正在努力将外部显示器连接到我的 Ubuntu 机器。这是我的 xrandr 输出。我尝试安装 nvidia 驱动程序等,但没有任何效果。电缆是好的,所以这应该不是问题。
Screen 0: minimum 8 x 8, current 2048 x 1152, maximum 32767 x 32767
eDP1 connected primary 2048x1152+0+0 (normal left inverted right x axis y axis) 346mm x 194mm
3840x2160 60.00 +
3200x1800 60.00
2880x1620 60.00
2560x1440 60.00
2048x1536 60.00
1920x1440 60.00
960x540 60.00
800x600 60.32 56.25
864x486 60.00
640x480 59.94
720x405 60.00
640x360 60.00
DP1 disconnected (normal left inverted right x axis y axis)
DP2 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
HDMI2 disconnected (normal left inverted right x axis y axis)
inxi -G
Graphics: Card-1: Intel Skylake Integrated Graphics
Card-2: NVIDIA GM107M [GeForce GTX 960M]
Display Server: X.org 1.18.4 drivers: intel (unloaded: fbdev,vesa) FAILED: nouveau Resolution: N/A
GLX Renderer: N/A GLX Version: N/A
lspci -nn | grep '\[03'
00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 530 [8086:191b] (rev 06)
01:00.0 3D controller [0302]: NVIDIA Corporation GM107M [GeForce GTX 960M] [10de:139b] (rev ff)
Run Code Online (Sandbox Code Playgroud)
当涉及 NViDIA 图形驱动程序安装时,可以通过虚拟控制台完成所有操作。
还要在 NVIDIA 显卡驱动程序安装过程中断开外接显示器。
您已经安装了最新的驱动程序,因此应该已经添加了图形驱动程序 PPA。
首先完全卸载您当前安装的所有 NVIDIA 驱动程序和软件。
启动笔记本并在 GRUB 启动菜单中标记 Ubuntu 条目,然后按 键E。
添加nouveau.modeset=0
到该行的末尾linux
。按F10键启动系统。
不要错过Space在该行的最后一个字母linux
和之间设置 a nouveau.modeset=0
。
当登录屏幕出现时,按Ctrl+ Alt+ F1。
输入您的用户名和密码,然后执行:
sudo apt purge nvidia*
sudo reboot
Run Code Online (Sandbox Code Playgroud)
现在重新安装最新稳定的NVIDIA驱动程序378(支持NVIDIA GEFORCE GTX 960M)。
重新启动后,再次在 GRUB 启动菜单中标记 Ubuntu 条目,然后按 键E。
添加nouveau.modeset=0
到该行的末尾linux
。按F10键启动系统。
不要错过Space在该行的最后一个字母linux
和之间设置 a nouveau.modeset=0
。
当登录屏幕出现时,按Ctrl+ Alt+ F1。
输入您的用户名和密码,然后执行:
sudo apt update
sudo apt install nvidia-378 nvidia-prime
sudo reboot
Run Code Online (Sandbox Code Playgroud)
确保 NVIDIA X Server 设置 -> PRIME 配置文件中正在使用 NVIDIA 显卡。
如果未使用它们,请切换到它们,注销会话并返回或重新启动系统。
现在将外接显示器重新连接到 HDMI 端口,它应该可以正确识别。
更新解决您的评论,它仍然不起作用
启动笔记本电脑的 BIOS,然后检查是否明确必须启用外部显示器支持 - 在某些较新的计算机中,特别是在采用 NVIDIA Optimus 技术的计算机中,已实现此选项。另请检查系统设置/显示是否需要在那里进行调整。
归档时间: |
|
查看次数: |
12675 次 |
最近记录: |