Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working in Intel graphic with Driver "modesetting" #13

Open
dubeamit opened this issue Aug 18, 2021 · 1 comment
Open

Not working in Intel graphic with Driver "modesetting" #13

dubeamit opened this issue Aug 18, 2021 · 1 comment

Comments

@dubeamit
Copy link

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?

@dubeamit dubeamit changed the title Not working with Driver "modesetting" Not working in Intel graphic with Driver "modesetting" Aug 18, 2021
@blusser31
Copy link

blusser31 commented Oct 17, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants