[Bug 1394653] Re: gpu-manager's xorg.conf generation should be configurable

2019-05-04 Thread Paul Kenyon
I've been struggling with this for the past year, but never thought to
file a bug report.  My use case is a little different, but the base
request - allow customization of the Xorg config - is the same.

My system is an Intel Skull Canyon NUC with Iris Pro integrated
graphics.  I also have an external GPU box with an Nvidia 1080 Ti that
connects to the system with a Thunderbolt interface.  Two displays are
connected - one to the main system's port, and one to external video
card's port.

The Nvidia driver requires an option added to the Xorg config to use the
external GPU:

Option "AllowExternalGpus" "True"

If this is not set, the Nvidia section of the Xorg config will fail, and
this cascades to Xorg not starting (i.e. login screen immediately drops
back to login screen.)  Currently I work around this by editing
/usr/share/X11/xorg.conf.d/11-nvidia-prime.conf, which is generated by
gpu-manager.  The problem comes when a system update occurs, and gpu-
manager is run again, re-generating the config file.  Thus, it would be
beneficial to have a way to save customizations of gpu-manager's
configs.

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1394653] Re: gpu-manager's xorg.conf generation should be configurable

2016-04-13 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: ubuntu-drivers-common (Ubuntu)
   Status: New => Confirmed

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1394653] Re: gpu-manager's xorg.conf generation should be configurable

2015-04-29 Thread Alberto Milone
** Changed in: ubuntu-drivers-common (Ubuntu)
   Importance: Undecided => Wishlist

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1394653] Re: gpu-manager's xorg.conf generation should be configurable

2014-12-01 Thread solazs
I've figured out (by looking through the xorg.0.log) that there's a
config directory: /usr/share/X11/xorg.conf.d/ where I can put config
snippets, so this bug report in the present form is invalid, as there is
a way to configure X besides the autogenerated xorg.conf.

I've created a file in the xorg.conf.d directory: 90-force-crt to force a 
virtual display to be recognized by the nvidia card, so i can align my laptop's 
internal screen to cover this virtual crt, thus being able to the internal 
screen.
90-force-crt content:
Section "Screen"
Identifier "nvidia"
Device "nvidia"
Option "AllowEmptyInitialConfiguration" "on"
Option "IgnoreDisplayDevices" ""
EndSection



** Attachment added: "generated xorg.conf"
   
https://bugs.launchpad.net/ubuntu/+source/ubuntu-drivers-common/+bug/1394653/+attachment/4272021/+files/xorg.conf

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1394653] Re: gpu-manager's xorg.conf generation should be configurable

2014-12-01 Thread solazs
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1394653] Re: gpu-manager's xorg.conf generation should be configurable

2014-12-01 Thread Alberto Milone
Can you please attach a xorg.conf that works for you (and a
/var/log/Xorg.0.log), so that I can see what's going on?

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs