I must mention that to make things work, I've written a bash script to
add and set 1600x900 mode to the virtual crt screen at login, so it
matches the resolution of my laptop's screen.

The script is the following:
(VGA-0 is the non-existent display recognized by the nvidia driver)
#!/bin/bash

if prime-select query | grep -q "nvidia"; then
        if xrandr | grep -q "HDMI-0 connected"; then
                xrandr --newmode "1600x900_60.00" 118.25  1600 1696 1856 2112  
900 903 908 934 -hsync +vsync
                xrandr --addmode VGA-0 "1600x900"
                xrandr --output VGA-0 --mode "1600x900"
        fi
fi


** Attachment added: "xorg.0.log with the above config"
   
https://bugs.launchpad.net/ubuntu/+source/ubuntu-drivers-common/+bug/1394653/+attachment/4272028/+files/Xorg.0.log

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1394653

Title:
  gpu-manager's xorg.conf generation should be configurable

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-drivers-common/+bug/1394653/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to