我正试图让英特尔和Nvidia显卡与两个显示器协同工作。一个监视器应该使用英特尔卡,另一个应该使用Nvidia卡。当然,我只想用一个键盘和一个鼠标在两个屏幕之间切换。大黄蜂不适合我。
我不想使用xserver-xorg-video-all
软件包,因为我需要Nvidia卡进行游戏,我不能只使用一个图形卡,因为我需要一个用于KVM虚拟化,另一个用于我的Linux桌面。
因此,我尝试安装驱动程序并手动配置Xserver。英伟达的司机在工作,我得到了一个视频输出。但我拿不到英特尔卡的视频输出。
我跟着这篇博客文章中的说明
配置文件:
发布于 2016-09-04 23:48:23
从2013年起就有可能使用图形卸载(请参阅http://us.download.nvidia.com/XFree86/Linux-x86/319.12/README/randr14.html)
我已经用了几个月了,它对我来说已经足够好了。这是我的装置:
__nvidia__ __intel___ __nvidia__
| | | |
| DVI-I-1 | VGA-1 | DVI-D-1 |
|__________|__________|__________|
如果您正在运行nvidia卡,并希望通过嵌入式图形(英特尔)输出第三个屏幕,您应该使用以下内容:
Xorg.conf
# Discrete Card as Primary GPU
Section "ServerLayout"
Identifier "layout"
Screen 0 "nouveau"
Inactive "intel"
EndSection
Section "Device"
Identifier "nouveau"
Driver "nouveau"
BusID "PCI:1:0:0" # see man lspci
EndSection
Section "Screen"
Identifier "nouveau"
Device "nouveau"
EndSection
Section "Device"
Identifier "intel"
Driver "modesetting"
EndSection
Section "Screen"
Identifier "intel"
Device "intel"
EndSection
现在将其添加到会话管理器启动脚本中:
xrandr --setprovideroutputsource modesetting nouveau
xrandr --output VGA-1 --mode 1920x1080
sleep 1s
xrandr --output VGA-1 --mode 1920x1080 --pos 1920x0 --rotate normal --output DVI-D-1 --mode 1920x1080 --pos 3840x0 --output DVI-I-1 --mode 1920x1080 --pos 0x0
这些粘贴来自我自己的配置,应该调整以适应您自己的用例。完整的文档可在这里获得:http://us.download.nvidia.com/XFree86/Linux-x86/319.12/README/randr14.html
在这个配置中,nvidia GPU完成所有的渲染工作。英特尔的iGPU只显示主GPU发送给它的任何东西。请注意,nvidia GPU在发送帧到显示时完全不知道iGPU的状态。这意味着可能有相当数量的撕裂(水平和对角!)对于那些想要尝试的人来说,你不能在你的TearFree中使用“Xorg.conf”选项。
发布于 2017-11-19 06:40:41
比“天皇邮报”要简单一些。
三重显示器GT 1030 (DVI,HDMI)和英特尔HD 4600 (VGA输出)。
BIOS设置:
Primary GPU: PCI Express
IGPU Multi-monitor: Enabled
在Ubuntu14.04上为我工作,使用NVIDIA驱动程序(不是Nouveau,实际上没有尝试Nouveau ),就像最初的文章(http://us.download.nvidia.com/XFree86/Linux-x86/319.12/README/randr14.html)中描述的那样(必须先睡一觉!:-)
只要找出Nvidia总线的ID
nvidia-xconfig --query-gpu-info
必须在.xprofile中输入最终命令
#!/bin/sh
xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --auto
然后,使用本机Ubuntu显示设置(GUI)配置显示布局。
发布于 2019-04-05 06:32:14
我在Ubuntu18.04中成功地遵循了天皇的解决方案
OS : ubuntu 18.04
GPU : nvidia 1080ti @ nvidia 410.104 driver / CUDA 10.0
MB: MSI Z370 tomahawk
CPU: intel core i7 8700
Screen1 : LG 29" 21:9 @ 1080ti/DP
Screen2 : PHILIPS 27" 4K @ Intel Graphic/HDMI on motherboard
1.在bios中启用iGPU选项并安装intel图形驱动程序
2.在/etc/x11/xorg.conf中添加以下行:(请记住在编辑之前备份)
Section "Device"
Identifier "intel"
Driver "modesetting"
EndSection
Section "Screen"
Identifier "intel"
Device "intel"
EndSection
3.
sudo xrandr --setprovideroutputsource modesetting NVIDIA-0
sudo xrandr --auto
在我的情况下
https://askubuntu.com/questions/593938
复制相似问题