virtual-display-linux
virtual-display-linux copied to clipboard
Not working in Intel graphic with Driver "modesetting"
Using your script I was able to get a virtual display. But the screen was fuzzy and vlc didn't work or started lagging.
So I found that changing Driver "intel"
to Driver "modesetting"
resolves the fuzzy graphic issue.
This is what the 20-intel.conf
looks like.
Section "Device"
Identifier "intelgpu0"
Driver "intel"
Option "VirtualHeads" "2"
Option "TearFree" "true"
EndSection
But after using this conf I'm unable to get the virtual display working. After running the second command
xrandr --addmode VIRTUAL1 1920x1080
xrandr --output VIRTUAL1 --mode 1920x1080 --left-of eDP1
I get the following error
xrandr: Configure crtc 3 failed.
I tried looking for this specific error but didn't find anything.
OS: Ubuntu 20.04 Graphics: hybrid graphics
$ lspci | grep VGA
>> 00:02.0 VGA compatible controller: Intel Corporation UHD Graphics (rev 05)
>> 01:00.0 VGA compatible controller: NVIDIA Corporation Device 1f95 (rev a1)
I have enabled Intel graphics using nvidia-prime by using NVIDIA on-demand
mode(pic).
Also the /etc/X11/xorg.conf file looks like this
section "Device"
Identifier "intel"
Driver "modesetting"
BusID "PCI:0:2:0"
EndSection
Is there anyway to get this work?
Hi, with modesetting you need the Kernelmodule vkms. here is how to enable it: https://forum.manjaro.org/t/how-do-i-add-vkms-kernel-module/86638 With modesetting you unfortunately can't ude this skript.