[Bug 1310489] Re: xorg.conf overwritten by booting system

2017-05-20 Thread Lian Sebe
Found an (idiotic but) efficient workaround!

protect /etc/X11/xorg.conf to be overwritten using:
chattr +i /etc/X11/xorg.conf

Then, don't forget to unprotect it and protect it back each time you
want to modify it.

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

Title:
  xorg.conf overwritten by booting system

To manage notifications about this bug go to:
https://bugs.launchpad.net/linuxmint/+bug/1310489/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1310489] Re: xorg.conf overwritten by booting system

2017-05-20 Thread Lian Sebe
Ubuntu 16.04.2 (installed from minimal install disk -- if it matters).

2 Nvidia gtx 1070 cards and on board intel one.

/etc/X11/xorg.cof gets rewritten at each reboot, with or without
nogpumanager specified in /etc/default/grub

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

Title:
  xorg.conf overwritten by booting system

To manage notifications about this bug go to:
https://bugs.launchpad.net/linuxmint/+bug/1310489/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1310489] Re: xorg.conf overwritten by booting system

2017-04-30 Thread Marzanna
On Ubuntu 17.04 gpu-manager overwrites xorg.conf
Does this bug still persist?

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

Title:
  xorg.conf overwritten by booting system

To manage notifications about this bug go to:
https://bugs.launchpad.net/linuxmint/+bug/1310489/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1310489] Re: xorg.conf overwritten by booting system

2016-03-07 Thread Alberto Milone
@HuaiDan: what do you mean by "failsafe values"?

@g hartog: if you think the problem described in this bug report is
still there, then please explain the situation, and attach your /var/log
/gpu-manager.log after reproducing the problem.

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

Title:
  xorg.conf overwritten by booting system

To manage notifications about this bug go to:
https://bugs.launchpad.net/linuxmint/+bug/1310489/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1310489] Re: xorg.conf overwritten by booting system

2016-03-05 Thread g hartog
it says fix released but i see this (ultra annoying) bug still happening
in a fully patched 14.04?!

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

Title:
  xorg.conf overwritten by booting system

To manage notifications about this bug go to:
https://bugs.launchpad.net/linuxmint/+bug/1310489/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1310489] Re: xorg.conf overwritten by booting system

2015-12-12 Thread HuaiDan
Ubuntu 15.10 x86_64
GPU Manager removes or replaces xorg.conf depending on Nvidia Prime settings.
When set to integrated graphics, xorg.conf gets deleted as expected.
When set to discrete GPU, xorg.conf gets written with failsafe values.
 gpu-manager.log (integrated):

log_file: /var/log/gpu-manager.log
last_boot_file: /var/lib/ubuntu-drivers-common/last_gfx_boot
new_boot_file: /var/lib/ubuntu-drivers-common/last_gfx_boot
grep dmesg status 256
dmesg status 256 == 0? No
Is nvidia loaded? yes
Was nvidia unloaded? no
Is nvidia blacklisted? no
Is fglrx loaded? no
Was fglrx unloaded? no
Is fglrx blacklisted? no
Is intel loaded? yes
Is radeon loaded? no
Is radeon blacklisted? no
Is nouveau loaded? no
Is nouveau blacklisted? yes
Is fglrx kernel module available? no
Is nvidia kernel module available? yes
Vendor/Device Id: 8086:416
BusID "PCI:0@0:2:0"
Is boot vga? yes
Vendor/Device Id: 10de:139a
BusID "PCI:1@0:0:0"
Is boot vga? no
Skipping "/dev/dri/card1", driven by "nvidia-drm"
Skipping "/dev/dri/card0", driven by "i915"
Skipping "/dev/dri/card1", driven by "nvidia-drm"
Skipping "/dev/dri/card0", driven by "i915"
Skipping "/dev/dri/card1", driven by "nvidia-drm"
Found "/dev/dri/card0", driven by "i915"
output 0:
eDP connector
Number of connected outputs for /dev/dri/card0: 1
Does it require offloading? yes
last cards number = 1
Has amd? no
Has intel? yes
Has nvidia? yes
How many cards? 2
The number of cards has changed!
Has the system changed? Yes
main_arch_path x86_64-linux-gnu, other_arch_path i386-linux-gnu
Current alternative: /usr/lib/x86_64-linux-gnu/mesa/ld.so.conf
Current core alternative: (null)
Is nvidia enabled? no
Is fglrx enabled? no
Is mesa enabled? yes
Is pxpress enabled? no
Is prime enabled? no
Is nvidia available? yes
Is fglrx available? no
Is fglrx-core available? no
Is mesa available? yes
Is pxpress available? no
Is prime available? yes
System configuration has changed
Intel IGP detected
Intel hybrid system
Nvidia driver version 355.11 detected
/sys/class/dmi/id/product_version="1.0"
/sys/class/dmi/id/product_name="X550JX"
1st try: bbswitch without quirks
Loading bbswitch with "load_state=-1 unload_state=1" parameters
Selecting prime
/usr/bin/update-alternatives --set x86_64-linux-gnu_gl_conf 
/usr/lib/nvidia-355-prime/ld.so.conf
update-alternatives status 0
Calling ldconfig
ldconfig status 0
/usr/bin/update-alternatives --set i386-linux-gnu_gl_conf 
/usr/lib/nvidia-355-prime/alt_ld.so.conf
update-alternatives status 0
Calling ldconfig
ldconfig status 0
Removing xorg.conf. Path: /etc/X11/xorg.conf
Moved /etc/X11/xorg.conf to /etc/X11/xorg.conf.12132015
Powering off the discrete card
Unloading nvidia-uvm with "no" parameters
Unloading nvidia with "no" parameters

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

Title:
  xorg.conf overwritten by booting system

To manage notifications about this bug go to:
https://bugs.launchpad.net/linuxmint/+bug/1310489/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1310489] Re: xorg.conf overwritten by booting system

2015-12-12 Thread HuaiDan
gpu_mamnger.log (discrete)
log_file: /var/log/gpu-manager.log
last_boot_file: /var/lib/ubuntu-drivers-common/last_gfx_boot
new_boot_file: /var/lib/ubuntu-drivers-common/last_gfx_boot
grep dmesg status 256
dmesg status 256 == 0? No
Is nvidia loaded? yes
Was nvidia unloaded? no
Is nvidia blacklisted? no
Is fglrx loaded? no
Was fglrx unloaded? no
Is fglrx blacklisted? no
Is intel loaded? yes
Is radeon loaded? no
Is radeon blacklisted? no
Is nouveau loaded? no
Is nouveau blacklisted? yes
Is fglrx kernel module available? no
Is nvidia kernel module available? yes
Vendor/Device Id: 8086:416
BusID "PCI:0@0:2:0"
Is boot vga? yes
Vendor/Device Id: 10de:139a
BusID "PCI:1@0:0:0"
Is boot vga? no
Skipping "/dev/dri/card1", driven by "nvidia-drm"
Skipping "/dev/dri/card0", driven by "i915"
Skipping "/dev/dri/card1", driven by "nvidia-drm"
Skipping "/dev/dri/card0", driven by "i915"
Skipping "/dev/dri/card1", driven by "nvidia-drm"
Found "/dev/dri/card0", driven by "i915"
output 0:
eDP connector
Number of connected outputs for /dev/dri/card0: 1
Does it require offloading? yes
last cards number = 1
Has amd? no
Has intel? yes
Has nvidia? yes
How many cards? 2
The number of cards has changed!
Has the system changed? Yes
main_arch_path x86_64-linux-gnu, other_arch_path i386-linux-gnu
Current alternative: /usr/lib/nvidia-355/ld.so.conf
Current core alternative: (null)
Is nvidia enabled? yes
Is fglrx enabled? no
Is mesa enabled? no
Is pxpress enabled? no
Is prime enabled? no
Is nvidia available? yes
Is fglrx available? no
Is fglrx-core available? no
Is mesa available? yes
Is pxpress available? no
Is prime available? yes
System configuration has changed
Intel IGP detected
Intel hybrid system
Nvidia driver version 355.11 detected
/sys/class/dmi/id/product_version="1.0"
/sys/class/dmi/id/product_name="X550JX"
1st try: bbswitch without quirks
Loading bbswitch with "load_state=-1 unload_state=1" parameters
intel_matches: 1, nvidia_matches: 1, intel_set: 1, nvidia_set: 2 
x_options_matches: 4, accel_method_matches: 1
Check failed
Removing xorg.conf. Path: /etc/X11/xorg.conf
Regenerating xorg.conf. Path: /etc/X11/xorg.conf
No need to change the current bbswitch status

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

Title:
  xorg.conf overwritten by booting system

To manage notifications about this bug go to:
https://bugs.launchpad.net/linuxmint/+bug/1310489/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1310489] Re: xorg.conf overwritten by booting system

2015-12-12 Thread HuaiDan
Ubuntu 15.10 x86_64
GPU Manager removes or replaces xorg.conf depending on Nvidia Prime settings.
When set to integrated graphics, xorg.conf gets deleted as expected.
When set to discrete GPU, xorg.conf gets written with failsafe values.
 gpu-manager.log:

log_file: /var/log/gpu-manager.log
last_boot_file: /var/lib/ubuntu-drivers-common/last_gfx_boot
new_boot_file: /var/lib/ubuntu-drivers-common/last_gfx_boot
grep dmesg status 256
dmesg status 256 == 0? No
Is nvidia loaded? yes
Was nvidia unloaded? no
Is nvidia blacklisted? no
Is fglrx loaded? no
Was fglrx unloaded? no
Is fglrx blacklisted? no
Is intel loaded? yes
Is radeon loaded? no
Is radeon blacklisted? no
Is nouveau loaded? no
Is nouveau blacklisted? yes
Is fglrx kernel module available? no
Is nvidia kernel module available? yes
Vendor/Device Id: 8086:416
BusID "PCI:0@0:2:0"
Is boot vga? yes
Vendor/Device Id: 10de:139a
BusID "PCI:1@0:0:0"
Is boot vga? no
Skipping "/dev/dri/card1", driven by "nvidia-drm"
Skipping "/dev/dri/card0", driven by "i915"
Skipping "/dev/dri/card1", driven by "nvidia-drm"
Skipping "/dev/dri/card0", driven by "i915"
Skipping "/dev/dri/card1", driven by "nvidia-drm"
Found "/dev/dri/card0", driven by "i915"
output 0:
eDP connector
Number of connected outputs for /dev/dri/card0: 1
Does it require offloading? yes
last cards number = 1
Has amd? no
Has intel? yes
Has nvidia? yes
How many cards? 2
The number of cards has changed!
Has the system changed? Yes
main_arch_path x86_64-linux-gnu, other_arch_path i386-linux-gnu
Current alternative: /usr/lib/x86_64-linux-gnu/mesa/ld.so.conf
Current core alternative: (null)
Is nvidia enabled? no
Is fglrx enabled? no
Is mesa enabled? yes
Is pxpress enabled? no
Is prime enabled? no
Is nvidia available? yes
Is fglrx available? no
Is fglrx-core available? no
Is mesa available? yes
Is pxpress available? no
Is prime available? yes
System configuration has changed
Intel IGP detected
Intel hybrid system
Nvidia driver version 355.11 detected
/sys/class/dmi/id/product_version="1.0"
/sys/class/dmi/id/product_name="X550JX"
1st try: bbswitch without quirks
Loading bbswitch with "load_state=-1 unload_state=1" parameters
Selecting prime
/usr/bin/update-alternatives --set x86_64-linux-gnu_gl_conf 
/usr/lib/nvidia-355-prime/ld.so.conf
update-alternatives status 0
Calling ldconfig
ldconfig status 0
/usr/bin/update-alternatives --set i386-linux-gnu_gl_conf 
/usr/lib/nvidia-355-prime/alt_ld.so.conf
update-alternatives status 0
Calling ldconfig
ldconfig status 0
Removing xorg.conf. Path: /etc/X11/xorg.conf
Moved /etc/X11/xorg.conf to /etc/X11/xorg.conf.12132015
Powering off the discrete card
Unloading nvidia-uvm with "no" parameters
Unloading nvidia with "no" parameters

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

Title:
  xorg.conf overwritten by booting system

To manage notifications about this bug go to:
https://bugs.launchpad.net/linuxmint/+bug/1310489/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1310489] Re: xorg.conf overwritten by booting system

2015-12-09 Thread Rene Herman
Also affected, although nothing to do with a multi-gpu system. Mint 17.3
(64-bit, Cinnamon) and a local /etc/X11/xorg.conf to slow down my crazy-
fast Logitech mouse. Installing fglrx renamed xorg.conf to xorg.conf-
DATE (and put nothing in its place).

Not a huge problem in this case, but certainly rather uncourteous of it.
If this is an involved problem, perhaps at least this specific situation
could be worked around by not moving xorg.conf out of the way if it
isn't being replaced by anything. That is, I imagine it could be
generally troublesome to merge a local configuration, but merging with a
new /empty/ configuration is not. If a new xorg.conf is in fact
generated, maybe a user warning if an old one was also found...

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

Title:
  xorg.conf overwritten by booting system

To manage notifications about this bug go to:
https://bugs.launchpad.net/linuxmint/+bug/1310489/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1310489] Re: xorg.conf overwritten by booting system

2015-12-09 Thread Nazar Mokrynskyi
Just noticed that on Ubuntu 16.04 xorg.conf is actually removed on restart, 
which is why I'm always loaded with Intel driver instead of Nvidia on my laptop.
This happened within updated during last 2 days, everything worked fine before.
What happens, why file is REMOVED?

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

Title:
  xorg.conf overwritten by booting system

To manage notifications about this bug go to:
https://bugs.launchpad.net/linuxmint/+bug/1310489/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1310489] Re: xorg.conf overwritten by booting system

2015-12-09 Thread Nazar Mokrynskyi
Looks like one more plymouth update fixed and issue, sorry for
bothering.

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

Title:
  xorg.conf overwritten by booting system

To manage notifications about this bug go to:
https://bugs.launchpad.net/linuxmint/+bug/1310489/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1310489] Re: xorg.conf overwritten by booting system

2015-09-07 Thread TBar
Over the last day I decided to try Ubuntu 14.10 to see if this Bug was still 
present. First attempt using the Ubuntu supplied driver in Additional Drivers 
was a failure. The installed driver contained AMD-APP 1526.3 which should be 
Catalyst 14.6. With this driver installed an incomplete xorg.conf was generated 
missing the Monitor/Screen sections, only the Device section was present. Only 
One card was present in clinfo, this also created numerous Errors using 
aticonfig and after a few attempts at reverting drivers and trying one from AMD 
the result was an unusable system claiming my password was suddenly invalid. 
Reading from AMD, is Cat 14.6 even compatible with 14.10? From here; 
http://support.amd.com/en-us/kb-articles/Pages/Latest-LINUX-Beta-Driver.aspx
System Requirements: Before attempting to install the AMD Catalyst™ Linux 
graphics driver, the following software must be installed:
Xorg/Xserver 7.4 and above (up to 1.15)
Linux kernel 2.6 or above (up to 3.13)
My updated 14.10 has kernel 3.16.

On the second attempt, with a fresh install, I used Catalyst 15.5 from
AMD First and that system seems to work fine. Both AMD cards are enabled
, both appear in clinfo, and there isn't any problems using aticonfig.
It would appear this Bug isn't present in 14.10 on this machine. I
haven't tested the others. Unfortunately 14.10 has reached the End of
Support and is not in consideration and my experience with catalyst 15.7
while running 12.04.x was not satisfactory, so, Ubuntu 15.04  is out as
well.

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

Title:
  xorg.conf overwritten by booting system

To manage notifications about this bug go to:
https://bugs.launchpad.net/linuxmint/+bug/1310489/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1310489] Re: xorg.conf overwritten by booting system

2015-09-04 Thread TBar
It seems this Bug also affects ATI/AMD full sized graphic cards. I've
had a problem on 4 different machines since 14.04 was released where it
is impossible to enable both ATI GPUs. I have one machine running just 1
ATI card and that machine is functional, it has 6 xorg.conf.currentdate
files in etc/X11. The other test 14.04.1 systems on spare hard drives
installed yesterday have just one xorg.conf.currentdate files. I have
been trying to say with AMD Catalyst 14.6 as that works best with the
OpenCL Apps the machines run, however, I have the same problem with the
FGLRX driver in Additional Drivers currently installing AMD-APP 1729.3.
I have tried dozens of clean, fresh installs of different versions of
14.04.x, same problem in each one.

How do I fix this so it works the way it did in 12.04.x? I'm currently
running 12.04.5 on my main machine with an AMD 7750 and 6970 simply
because I can't get both cards enabled in any version of 14.04.x.

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

Title:
  xorg.conf overwritten by booting system

To manage notifications about this bug go to:
https://bugs.launchpad.net/linuxmint/+bug/1310489/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1310489] Re: xorg.conf overwritten by booting system

2015-09-04 Thread TBar
I can confirm this Bug is indeed the reason my 4 Desktop machines can't
enable the second ATI graphics card. I made the "a)" changes mentioned
here, ,
copied my xorg.conf file from my working 12.04.5 machine to the 14.04.1
HDD, deleted all the rest, and upon Boot both my Cards were enabled.
Both cards appear in clinfo, and I can issue commands in aticonfig
without receiving an Error.  What other, if any,  problems will this
Edit create?

I suspect if my 4 machines are suffering from this Bug then it's very
probable that many more are also effected. I'd hate to generalize,
however, I would guess that Most machines running some version of 14.04
are effected. This week I downloaded and installed the latest version
14.04.3 and it too has this Bug with my machines.

It would be nice if this were fixed, and I could run kernel 3.13.xxx
without having to make this Edit.

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

Title:
  xorg.conf overwritten by booting system

To manage notifications about this bug go to:
https://bugs.launchpad.net/linuxmint/+bug/1310489/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1310489] Re: xorg.conf overwritten by booting system

2015-09-01 Thread salsaman
OK, rebooting was a red herring, it turned out there was a disk problem,
fixed by fsck. Unfortunately the "nogpumanager" did not help. Is there a
fix for this problem now ?

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

Title:
  xorg.conf overwritten by booting system

To manage notifications about this bug go to:
https://bugs.launchpad.net/linuxmint/+bug/1310489/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1310489] Re: xorg.conf overwritten by booting system

2015-09-01 Thread salsaman
Hi, I think I just got bitten by this same bug.  Runing ubuntu 14.10. I
installed nvidia drivers on Dell Vostro notebook. After this, any
attempt to log in to Xwindows results in a loop and returns to the login
window.

I tried following the suggestion here and booting with "nogpumanager".
It seems to have broken something else and now the machine gets stuck in
booting, even after removing it again.

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

Title:
  xorg.conf overwritten by booting system

To manage notifications about this bug go to:
https://bugs.launchpad.net/linuxmint/+bug/1310489/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1310489] Re: xorg.conf overwritten by booting system

2015-07-08 Thread Alberto Milone
@Jeremy: what do you mean by settings?

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

Title:
  xorg.conf overwritten by booting system

To manage notifications about this bug go to:
https://bugs.launchpad.net/linuxmint/+bug/1310489/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1310489] Re: xorg.conf overwritten by booting system

2015-07-07 Thread Jeremy Jao
I'm on Linux Mint with the 352 xorg-edgers driver (I have to go this
route because of Quadro) in Linux Mint 17.2 I have this problem,
too, except it doesn't overwrite my xorg conf in /etc/X11/xorg.conf. In
17.1 I can restart and it will retain my settings, but once I turn off
the monitor, the settings just reset. Now in 17.2, if I turn off the
monitor and reboot, the settings reset. xorg.conf remains untouched...

** Also affects: linuxmint
   Importance: Undecided
   Status: New

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

Title:
  xorg.conf overwritten by booting system

To manage notifications about this bug go to:
https://bugs.launchpad.net/linuxmint/+bug/1310489/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1310489] Re: xorg.conf overwritten by booting system

2015-05-19 Thread György Solymosi
My bad Alberto! I did it now it works well!
Thank you for your work and efforts!
George

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

Title:
  xorg.conf overwritten by booting system

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1310489] Re: xorg.conf overwritten by booting system

2015-05-14 Thread Alberto Milone
The nogpumanager parameter has been supported since ubuntu-drivers-
common 1:0.2.89 in 14.04. I'm not sure why that doesn't work for you.
Did you update the grub menu with sudo update-grub ?

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

Title:
  xorg.conf overwritten by booting system

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1310489] Re: xorg.conf overwritten by booting system

2015-05-13 Thread Alberto Milone
@György: your system is a bit of a special case, as it has 1 integrated
intel GPU and 2 nvidia cards. If you file a separate bug report about
your specific configuration, I'll work on a fix.

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

Title:
  xorg.conf overwritten by booting system

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1310489] Re: xorg.conf overwritten by booting system

2015-05-13 Thread György Solymosi
Thank you Alberto, then I file a separate bug report, however I didn't found 
any answer to Mark's report, I hoped that will be shed a light to my issue as 
well:

 On 23-10-14 06:29:51, Mark Duncan wrote:
 This bug is still affecting me.  I have a desktop with two nVidia cards
 in an SLI configuration.  I need a custom xorg.conf to support my 1440p
 monitor, but my xorg.conf gets renamed to xorg.conf.mmdd almost
 every reboot.

That's a separate case.

Can you attach your working xorg.conf and the file that the sudo
nvidia-bug-report.sh command creates, please?

Odds: I don't really need the integrated intel GPU, but I have to use, because 
the GT630 wasn't be able to start as display driver along the GTX980. I have 
had two options for the display section: integrated or GTX 980. I want to use 
GTX980 for computing only, so I had to use the integrated one. Then I faced 
this xorg.conf issue.

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

Title:
  xorg.conf overwritten by booting system

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1310489] Re: xorg.conf overwritten by booting system

2015-05-13 Thread Alberto Milone
The problem is that, as long as a display is connected to the integrated
GPU, gpu-manager will use it and offload rendering to one of the nvidia
GPUs. I'm not sure how SLI works with that. You can try booting with the
nogpumanager (from the grub menu), then generate the xorg.conf that
you need and restart X, to see if that works.

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

Title:
  xorg.conf overwritten by booting system

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1310489] Re: xorg.conf overwritten by booting system

2015-05-13 Thread György Solymosi
Dear Alberto,
Previously I said nogpumanager solution works but it was right on 14.10!
Unfortunately when I reinstalled 14.04 LTS and modified /etc/default/grub: 
GRUB_CMDLINE_LINUX_DEFAULT=quiet splash nogpumanager,
it doesn't result in any changes in manner of xorg.conf overwriting issue.
It doesn't work.

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

Title:
  xorg.conf overwritten by booting system

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1310489] Re: xorg.conf overwritten by booting system

2015-05-13 Thread György Solymosi
@Alberto
Yes, I've tried the nogpumanager solution same time I send you my issue and 
it worked.
Anyway, I tried to charge the display tasks to either the integrated Intel or 
the Nvidia GT 630 drive to relieve the GTX980 to achieve more resource  for 
computing capabilities. 
1. BIOS doesn't start the display with Nvidia GT 630 along the 980. 
2. If I start with the integrated Intel drive, system starts virtually 
appropriately, but X Server charge 6-7% of memory of GTX 980, I don't know why? 
Any help would be highly appreciated, and thank you for your undiminished 
efforts.

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

Title:
  xorg.conf overwritten by booting system

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1310489] Re: xorg.conf overwritten by booting system

2015-05-12 Thread György Solymosi
** Attachment added: nvidia-bug-report.log.gz
   
https://bugs.launchpad.net/ubuntu/+source/ubuntu-drivers-common/+bug/1310489/+attachment/4396551/+files/nvidia-bug-report.log.gz

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

Title:
  xorg.conf overwritten by booting system

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1310489] Re: xorg.conf overwritten by booting system

2015-05-12 Thread György Solymosi
** Attachment added: xorg.conf
   
https://bugs.launchpad.net/ubuntu/+source/ubuntu-drivers-common/+bug/1310489/+attachment/4396552/+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/1310489

Title:
  xorg.conf overwritten by booting system

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1310489] Re: xorg.conf overwritten by booting system

2015-05-12 Thread György Solymosi
Exactly the same problem:
With the latest drivers.
This bug is still affecting me. I have a desktop with two nVidia cards in an 
SLI configuration. I need a custom xorg.conf to support my 1440p monitor, but 
my xorg.conf gets renamed to xorg.conf.mmdd almost every reboot.

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

Title:
  xorg.conf overwritten by booting system

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1310489] Re: xorg.conf overwritten by booting system

2015-03-10 Thread Alberto Milone
@John: that sounds like a bug in the intel driver then. Please attach
your /var/log/Xorg.0.log and /var/log/Xorg.0.log.old after reproducing
the problem.

@Keith: I think the main problem there is that we have to re-enable the
disabled GPU on shutdown in order to avoid problems with the BIOS. This
is why two GPUs are detected on boot. I'll think of a workaround. As for
test-case 2), I'll look into that, as gpu-manager always says in the log
when it is removing or renaming the xorg.conf (and the log shows no
trace of it).

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

Title:
  xorg.conf overwritten by booting system

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1310489] Re: xorg.conf overwritten by booting system

2015-03-10 Thread Keith Helms
Thanks Alberto.

FYI, the log excerpts I included are not in the exact same order as the
4 cases I listed.   I did put text above each log section indicating
what I was trying at the time.  Test case 2 in my posting corresponds to
the 3rd block of log messages in the attachment.

So far, I've never seen a case where gpu-manager renamed the xorg.conf
file without logging a message that it was doing so.

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

Title:
  xorg.conf overwritten by booting system

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1310489] Re: xorg.conf overwritten by booting system

2015-03-09 Thread Keith Helms
This problem is not fixed, or at least not fully.  I am running Xubuntu
14.04 on the 3.13.0-47-generic kernel.  I have Nvidia optimus graphics
on my laptop with dual Intel GMA HD and Nvidia GeForce GTX 860M
graphics cards.  I have the ubuntu-drivers-common version 1:0.2.91.8,
nvidia drivers version 331.113, and nvidia-prime version 0.6.2.

I've noticed the following:

1. When I have the Nvidia prime profile selected and reboot, the system
leaves my xorg.conf alone.  The gpu-manager.log says that I previously
had 2 cards, I have 2 cards now, and nothing changed.

2. When I switch to the Intel prime profile from the Nvidia prime
profile and reboot, the gpu-manager.log says I previously had 2 cards
and I have 2 cards now and the system did not change, but IT DELETES
xorg.conf anyway!

3. Whenever I reboot with the Intel prime profile in effect, the gpu-
manager.log always says I previously had 1 card, I have 2 cards now, and
the system has changed.   Then it renames xorg.conf to
xorg.conf.currentdate.

4. When I switch from the Intel prime profile to the Nvidia prime
profile, the gpu-manager.log says I previously had 1 card, I now have 2
cards, and the system has changed.  It then tries to remove xorg.conf,
which isn't there anyway, and then regenerates xorg.conf.  One weird
thing is it usually says Found /dev/dri/card0, driven by i915, but
in this case only it says Found /dev/dri/card1, driven by i915.  Why
would the card number change?

Without knowing anything about the internals here, it sure looks like
there is a bug in how gpu-manager counts cards, or if it gets that info
from something else, then that something has a bug.

** Attachment added: GPU Manager logs
   
https://bugs.launchpad.net/ubuntu/+source/ubuntu-drivers-common/+bug/1310489/+attachment/4339543/+files/gpu%20manager%20logs

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

Title:
  xorg.conf overwritten by booting system

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1310489] Re: xorg.conf overwritten by booting system

2015-01-30 Thread John
Hi Alberto on my machine NVIDIA Optimus setup is no working even with
the latest version of  ubuntu-drivers-common  i.e.:(1:0.2.91.8),
although it does work with older version of this package i.e.
(1:0.2.91.4).  I have noticed one difference in the xorg.config file
generated by the new and old versions of gpu-manager. Basically when
using NVIDIA GPU as the main one i.e. prime-select nvidia the old gpu-
manager sets the Driver value for the intel device to modesetting,
but the new gpu-manager sets the Driver value for the intel device
to intel.

As far as I can understand by looking into the X server log setting  the
Driver value to intel instead of modesetting prevents the X server
from correctly identifying the screen on my laptop giving a black screen
on boot.

Please see the file attached to this post for a comparison of xorg.conf
files generated by the new and old gpu-managers.

** Attachment added: Comparison of the xorg.conf files generated by the 
new(not working) and old(working) gpu-managers
   
https://bugs.launchpad.net/ubuntu/+source/ubuntu-drivers-common/+bug/1310489/+attachment/4308885/+files/gpu-manager_xorg.conf_files_comparison

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

Title:
  xorg.conf overwritten by booting system

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1310489] Re: xorg.conf overwritten by booting system

2014-12-01 Thread Alberto Milone
Alistair: apparently, the gpu-manager detected zero GPUs on your
previous boot (last cards number = 0). I'm not sure why that is. The
number of GPUs from last boot is usually available in /var/lib/ubuntu-
drivers-common/last_gfx_boot.

Is it possible that the said file was removed? As that would explain the
zero GPUs statement in the log.

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

Title:
  xorg.conf overwritten by booting system

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 1310489] Re: xorg.conf overwritten by booting system

2014-12-01 Thread Alistair Buxton
Well it wasn't removed by me.

This problem only seems to happen when there is an update for the
graphics drivers. This kicks off DKMS on next boot, so perhaps
gpu-manager is looking for the driver before DKMS has rebuilt it?

On 1 December 2014 at 11:29, Alberto Milone
alberto.mil...@canonical.com wrote:
 Alistair: apparently, the gpu-manager detected zero GPUs on your
 previous boot (last cards number = 0). I'm not sure why that is. The
 number of GPUs from last boot is usually available in /var/lib/ubuntu-
 drivers-common/last_gfx_boot.

 Is it possible that the said file was removed? As that would explain the
 zero GPUs statement in the log.

 --
 You received this bug notification because you are subscribed to the bug
 report.
 https://bugs.launchpad.net/bugs/1310489

 Title:
   xorg.conf overwritten by booting system

 Status in ubuntu-drivers-common package in Ubuntu:
   Fix Released
 Status in ubuntu-drivers-common source package in Trusty:
   Fix Released

 Bug description:
   Description:  Ubuntu 14.04 LTS
   Release:  14.04

   

   == SRU Request ==

   There is a regression in the gpu-manager that causes it to revert user
   changes right before the first reboot after enabling the fglrx driver
   or the nvidia driver on a system with hybrid graphics (Intel+AMD or
   Intel+NVIDIA). This causes the gpu-manager to remove the current
   xorg.conf and to switch to Mesa.

   [Impact]
* This regression makes it almost impossible to use binary drivers on 
 systems with hybrid graphics.

   [Test Case]
* Make sure to be using a hybrid system with Intel+AMD or Intel+NVIDIA 
 GPUs.

* Make sure that the gpu-manager is not disabled (only necessary if
   you disabled it manually).

* Remove all fglrx and nvidia drivers (keep the nvidia-common and the 
 nvidia-prime packages):
  sudo apt-get --purge remove nvidia-331
  sudo apt-get --purge remove nvidia-331
  sudo apt-get --purge remove fglrx
  sudo apt-get --purge remove fglrx-updates

* Install ubuntu-drivers-common from trusty-proposed.

* Restart the system.

* Install the binary driver (either fglrx or nvidia, according to the 
 available discrete GPU), reboot, and check that the binary driver is enabled 
 (attach your /var/log/gpu-manager.log)
   - Expected: the (AMD or NVIDIA) discrete GPU is enabled.
   - Bad behavior: the system switches back to the intel driver and the 
 discrete GPU is not used, despite the fact that the system was configured 
 properly.

   [Regression Potential]
* Low. Systems that currently work will keep working as usual, the ones 
 that currently fail should finally work.

   [Other Info]
* N/A

   -

   Hello,

   I am using a notebook with a quadcore AMD A10 and hybrid graficcard AMD/ATI 
 Radeon HD 8650G / AMD/ATI Sun XT Radeon HD 8670A/8670M/8690M.
   After installing fglrx I generated the xorg.conf in the terminal with 'sudo 
 aticonfig --adapter=all --initial' and it looked pretty good. Up to this 
 point I was able to switch between the cards with the commands 'sudo 
 aticonfig --px-dgpu' for the discrete card and 'sudo aticonfig --px-igpu' for 
 the intigrated card to save power.
   After rebooting I realized that I was no longer able to switch between the 
 cards and found that the xorg.conf will be overwritten whenever I modified it 
 and reboot the system. The new (by boot) generated xorg.conf contains not the 
 relevant information for switing between the cards.
   I attached both configuration in one file (xorg.conf.comparison). I will 
 also provide the atisysteminfo-report.txt so far I will find the place where 
 to attach.

   Edit: I fixed the error -- AIGLX error: failed to open
   /usr/lib64/dri/fglrx_dri.so, error[/usr/lib64/dri/fglrx_dri.so: cannot
   open shared object file: No such file or directory] but it changed
   not the bug of overwriting the xorg.conf.

   Regards,
   Uwe

   ProblemType: Bug
   DistroRelease: Ubuntu 14.04
   Package: xorg 1:7.7+1ubuntu8
   ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
   Uname: Linux 3.13.0-24-generic x86_64
   NonfreeKernelModules: fglrx
   .tmp.unity.support.test.0:

   ApportVersion: 2.14.1-0ubuntu3
   Architecture: amd64
   CompizPlugins: No value set for 
 `/apps/compiz-1/general/screen0/options/active_plugins'
   CompositorRunning: None
   CurrentDesktop: Unity
   Date: Mon Apr 21 08:43:29 2014
   DistUpgraded: Fresh install
   DistroCodename: trusty
   DistroVariant: ubuntu
   DkmsStatus: fglrx, 13.350.1, 3.13.0-24-generic, x86_64: installed
   ExtraDebuggingInterest: Yes
   GraphicsCard:
Advanced Micro Devices, Inc. [AMD/ATI] Richland [Radeon HD 8650G] 
 [1002:990b] (prog-if 00 [VGA controller])
  Subsystem: Hewlett-Packard Company Device [103c:1985]
  Subsystem: Hewlett-Packard Company Device [103c:1985]
   InstallationDate: Installed on 2014-04-20 (0 days ago)
   InstallationMedia: Ubuntu 14.04 LTS Trusty Tahr - Release amd64 

Re: [Bug 1310489] Re: xorg.conf overwritten by booting system

2014-10-30 Thread Alberto Milone
@Alistair: if the gpu-manager detected only one GPU, it means that the
other one was probably powered down (or it hadn't been powered on yet?).

Either way, you can work around the problem by passing the
nogpumanager kernel parameter on boot. This will disable the
gpu-manager. If that helps, you can make the parameter permanent in
GRUB.

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

Title:
  xorg.conf overwritten by booting system

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1310489] Re: xorg.conf overwritten by booting system

2014-10-30 Thread Alistair Buxton
gpu-manager only detected one GPU because I only *have* one GPU. This
hardware configuration has never changed since I built the computer.

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

Title:
  xorg.conf overwritten by booting system

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1310489] Re: xorg.conf overwritten by booting system

2014-10-24 Thread Alistair Buxton
No, somewhat obviously, I did not unplug my graphics card or disable it
in the BIOS; this would render the system unbootable.

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

Title:
  xorg.conf overwritten by booting system

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1310489] Re: xorg.conf overwritten by booting system

2014-10-23 Thread Mark Duncan
This bug is still affecting me.  I have a desktop with two nVidia cards
in an SLI configuration.  I need a custom xorg.conf to support my 1440p
monitor, but my xorg.conf gets renamed to xorg.conf.mmdd almost
every reboot.

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

Title:
  xorg.conf overwritten by booting system

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 1310489] Re: xorg.conf overwritten by booting system

2014-10-23 Thread Alberto Milone
On 23-10-14 06:29:51, Mark Duncan wrote:
 This bug is still affecting me.  I have a desktop with two nVidia cards
 in an SLI configuration.  I need a custom xorg.conf to support my 1440p
 monitor, but my xorg.conf gets renamed to xorg.conf.mmdd almost
 every reboot.

That's a separate case.

Can you attach your working xorg.conf and the file that the sudo
nvidia-bug-report.sh command creates, please?

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

Title:
  xorg.conf overwritten by booting system

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1310489] Re: xorg.conf overwritten by booting system

2014-10-23 Thread Alistair Buxton
I also still have the same problem - xorg.conf is randomly overwritten
by gpu-manager.


** Attachment added: nvidia-bug-report.log.gz
   
https://bugs.launchpad.net/ubuntu/+source/ubuntu-drivers-common/+bug/1310489/+attachment/4242349/+files/nvidia-bug-report.log.gz

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

Title:
  xorg.conf overwritten by booting system

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1310489] Re: xorg.conf overwritten by booting system

2014-10-23 Thread Alistair Buxton
** Attachment added: xorg.conf
   
https://bugs.launchpad.net/ubuntu/+source/ubuntu-drivers-common/+bug/1310489/+attachment/4242350/+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/1310489

Title:
  xorg.conf overwritten by booting system

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 1310489] Re: xorg.conf overwritten by booting system

2014-10-23 Thread Alberto Milone
@Alistair: please also include your /var/log/gpu-manager.log after your
xorg.conf is overwritten.

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

Title:
  xorg.conf overwritten by booting system

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1310489] Re: xorg.conf overwritten by booting system

2014-10-23 Thread Alistair Buxton
Available here:

https://launchpadlibrarian.net/186397248/gpu-manager.log

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

Title:
  xorg.conf overwritten by booting system

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1310489] Re: xorg.conf overwritten by booting system

2014-10-23 Thread Alberto Milone
@Alistair: the gpu-manager detected a change in the number of the
available graphics cards:

How many cards? 1
The number of cards has changed!

It detects the following card:

Vendor/Device Id: 10de:1004
BusID PCI:1@0:0:0

The gpu-manager reconfigures your xorg.conf when you physically remove,
add, or disable a graphics card from the BIOS. Did you do any of this?

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

Title:
  xorg.conf overwritten by booting system

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1310489] Re: xorg.conf overwritten by booting system

2014-09-17 Thread Launchpad Bug Tracker
This bug was fixed in the package ubuntu-drivers-common - 1:0.2.91.7

---
ubuntu-drivers-common (1:0.2.91.7) trusty-proposed; urgency=medium

  * gpu-manager.c, gpu-manager.py:
- Add support for testing core alternatives. This will be needed
  by fglrx.
- Fix a regression that caused the gpu-manager to switch to mesa
  after enabling fglrx on hybrid systems (LP: #1310489). Also
  add a test case so that we don't regress in the future.
- Check that either fglrx or nvidia is set in xorg.conf when
  xorg.conf is needed.
- Check if kernel modules are blacklisted before choosing the
  driver (LP: #1310489).
- Enable only GPUs with open drivers that have connected outputs.
  Attaching to GPUs that have no connected outputs would result
  in a black screen.
- Allow RandR offloading even without bbswitch (LP: #1349282).
- Fall back to mesa when failing to enable prime.
- Do not try to enable prime if the nvidia driver is older than
  331.
- Do not abort if the settings for prime cannot be found.
  Try to create the file before failing.
 -- Alberto Milone alberto.mil...@canonical.com   Fri, 29 Aug 2014 11:29:55 
+0200

** Changed in: ubuntu-drivers-common (Ubuntu Trusty)
   Status: Fix Committed = Fix Released

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

Title:
  xorg.conf overwritten by booting system

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1310489] Re: xorg.conf overwritten by booting system

2014-09-13 Thread Mathew Hodson
** Tags removed: ubuntu

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

Title:
  xorg.conf overwritten by booting system

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1310489] Re: xorg.conf overwritten by booting system

2014-09-12 Thread Taihsiang Ho
An I+N machine, Lenovo ThinkPad T440p (CID 201309-14169),
could not reproduce this issue.

It has the devices:
Intel Corporation 4th Gen Core Processor Integrated Graphics Controller 
[8086:0416] (rev 06)
NVIDIA Corporation GK208M [GeForce GT 730M] [10de:1290] (rev a1)

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

Title:
  xorg.conf overwritten by booting system

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1310489] Re: xorg.conf overwritten by booting system

2014-09-08 Thread Alberto Milone
you can file a bug report by typing the following command:

ubuntu-bug fglrx (or fglrx-updates, according to the package you're
using).

This will attach most of the relevant logs.

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

Title:
  xorg.conf overwritten by booting system

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 1310489] Re: xorg.conf overwritten by booting system

2014-09-08 Thread Philipp Commans
Hallo Alberto!

I found the time do delete the Catalyst drivers (AMD installer) and reinstall 
fglrx from the repositories. 
I also reinstalled ubuntu-drivers-common from the proposed-archive just to make 
sure. 

Some testing showed the following results: 
Configuration via sudo aticonfig --adapter=all --initial -f is successfull. 
Amdcccle shows the right graphics cards information. 
The discrete card is activated by default. 
But when I switch cards via amdcccle or aticonfig the X-Server crashes at 
restart with error:
No matching device section for instance (BusID PCI:0@0:1:1)
Rewritting the xorg.conf with aticonfig makes the X-Server startable again. 
This error also appeared with the drivers from the AMD installer before. 

The gpu-manager still does not seem to be working. Should the 
/var/log/gpu-manager normally be rewritten on each boot?
That's definitely not the case, according to the last modification time. 

Can you give me any advice on how to find out what could possibly be 
blacklisting gpu-manager or stopping it from working?
When I start gpu-manager manually the log gets rewritten. 

Could the X-server-crash be linked with the deactivated gpu-manager?

Once again thanks a lot for your work. It's highly appreciated!

Best regards

Philipp

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

Title:
  xorg.conf overwritten by booting system

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 1310489] Re: xorg.conf overwritten by booting system

2014-09-08 Thread Alberto Milone
On 08-09-14 08:27:54, Philipp Commans wrote:
 Hallo Alberto!
 
 I found the time do delete the Catalyst drivers (AMD installer) and reinstall 
 fglrx from the repositories. 
 I also reinstalled ubuntu-drivers-common from the proposed-archive just to 
 make sure. 
 
 Some testing showed the following results: 
 Configuration via sudo aticonfig --adapter=all --initial -f is successfull. 
 Amdcccle shows the right graphics cards information. 
 The discrete card is activated by default. 
 But when I switch cards via amdcccle or aticonfig the X-Server crashes at 
 restart with error:
 No matching device section for instance (BusID PCI:0@0:1:1)
 Rewritting the xorg.conf with aticonfig makes the X-Server startable again. 
 This error also appeared with the drivers from the AMD installer before. 
 

The last fix I committed in 14.10 should fix this.

 The gpu-manager still does not seem to be working. Should the 
 /var/log/gpu-manager normally be rewritten on each boot?
 That's definitely not the case, according to the last modification time. 
 
 Can you give me any advice on how to find out what could possibly be 
 blacklisting gpu-manager or stopping it from working?
 When I start gpu-manager manually the log gets rewritten. 
 
 Could the X-server-crash be linked with the deactivated gpu-manager?
 

Yes, the log should be rewritten at least on boot. If it's not, it means
that the gpu-manager is not starting. For some reason the gpu-manager
upstart job (/etc/init/gpu-manager.conf) must not be starting on your
system.

No gpu-manager means that the system won't adapt when you switch to a
different driver or when something goes wrong (and you'll have to
configure things manually).

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

Title:
  xorg.conf overwritten by booting system

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 1310489] Re: xorg.conf overwritten by booting system

2014-09-08 Thread Philipp Commans
The last fix I committed in 14.10 should fix this.

Does your fix affect the gpu-manager?
In this case I would still have to get it started. 

Could I start it manually with a start-script as a workaround?

--
Philipp Commans
In der Silbert 21
47877 Willich
0163 6961900
PGP-Key
Threema AHZSVZ2V


 Am 08.09.2014 um 12:44 schrieb Alberto Milone alberto.mil...@canonical.com:
 
 The last fix I committed in 14.10 should fix this.

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

Title:
  xorg.conf overwritten by booting system

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 1310489] Re: xorg.conf overwritten by booting system

2014-09-08 Thread Alberto Milone
On 08-09-14 11:15:07, Philipp Commans wrote:
 The last fix I committed in 14.10 should fix this.
 
 Does your fix affect the gpu-manager?
 In this case I would still have to get it started. 
 

Yes,

 Could I start it manually with a start-script as a workaround?

Sure, whatever works best for you.

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

Title:
  xorg.conf overwritten by booting system

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1310489] Re: xorg.conf overwritten by booting system

2014-09-07 Thread Uwe Cappeller
Hi Alberto,

I can confirm that the system is running without black screen and no
boot error appears.

It is still not possible to swith between the graphic cards with the
generated xorg.conf in amdcccle frontend or over terminal!

The hardware is still the same as in the intially created bug
description.

I tried the following to make the system switchable:

1. Install ubuntu-drivers-common and fglrx as described in the bug-fix (incl. 
reboot)
2. Renamne xorg.conf into xorg.conf.201409.07 
3. Generate a new xorg.conf with 'sudo amdconfig --adapter=all --initial' (this 
would make the system switchable)
4. When I only log off and on again I can swith from one GPU to the other
4. Reboot
5. System overwrites xorg.conf and boots without any issues but switching from 
one GPU  to the other is not possible

My question is, should we now distinguish between the black screen and
the switch problem? In this case I would open a new bug.

Best Regards,
Uwe

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

Title:
  xorg.conf overwritten by booting system

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1310489] Re: xorg.conf overwritten by booting system

2014-09-07 Thread Alberto Milone
@Uwe: please attach the following files:

1) /var/log/gpu-manager.log
2) /var/log/Xorg.0.log
3) /etc/X11/xorg.conf (the one generated by the gpu-manager)
4)/etc/X11/xorg.conf (the one generated by amdconfig)
5) the dmesg output

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

Title:
  xorg.conf overwritten by booting system

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1310489] Re: xorg.conf overwritten by booting system

2014-09-07 Thread Alberto Milone
@Abhijit: I don't think the xorg.conf that gpu-manager generates is
causing your problem (I don't see anything wrong in the X log) but let's
see what happens when the gpu-manager is disabled. Please follow these
steps:

1) sudo nano -w /etc/default/grub

2) Add nogpumanager in the following line (within the quotation marks)
e.g. if you have this line:
GRUB_CMDLINE_LINUX_DEFAULT=quiet splash
it should look like this:
GRUB_CMDLINE_LINUX_DEFAULT=quiet splash nogpumanager 

3) Press CTRL+X to save and exit

4) sudo update-grub

5) Reboot

6) Make sure that the following command returns true:
grep nogpumanager /proc/cmdline  echo true || echo false

7) If it returns true, regenerate the xorg.conf
sudo aticonfig --adapter=all --initial

8) Reboot and see if it all works (attach your /var/log/Xorg.0.log and
/etc/X11/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/1310489

Title:
  xorg.conf overwritten by booting system

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1310489] Re: xorg.conf overwritten by booting system

2014-09-07 Thread Alberto Milone
In the mean time I have committed a fix in 14.10 so that we are more
tolerant with xorg.confs in general. I included Abhijit's xorg.conf in
the test suite, and the new test shows that the xorg.conf is no longer
being removed. I'll backport the fix to 14.04.

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

Title:
  xorg.conf overwritten by booting system

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1310489] Re: xorg.conf overwritten by booting system

2014-09-07 Thread Uwe Cappeller
Hi Alberto,

first I would like to say that I highly appreciate what you doing here
and overall to support us!

What I did:

1. Fresh Install of fglrx (xorg.conf will be created by next 
boot!)-gpu1st_xorg.conf.txt
2. Reboot
3. Generate new xorg.conf with 'sudo amdconfig --adapter=all --initial' - 
amd_xorg.conf.txt
4. Reboot (xorg.cond will be overwritten by gpu) - gpu2_xorg.conf.txt

All requested files attached to this message.

Best Regards,
Uwe

** Attachment added: Log- and Config Files
   
https://bugs.launchpad.net/ubuntu/+source/ubuntu-drivers-common/+bug/1310489/+attachment/4197693/+files/Launchpad.tar.gz

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

Title:
  xorg.conf overwritten by booting system

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1310489] Re: xorg.conf overwritten by booting system

2014-09-07 Thread Alberto Milone
@Uwe: ok, the fix that I committed today should solve your problem. I'll
backport it soon.

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

Title:
  xorg.conf overwritten by booting system

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1310489] Re: xorg.conf overwritten by booting system

2014-09-07 Thread Abhijit Sengupta
Thanks Alberto. I followed the above instructions and tried regenerating
the xorg.conf. But it's giving the following message:

Found fglrx primary device section
Found fglrx primary device section
 Unable to find any supported Screen sections

The resulting xorg.conf looks the same as before (its not the longer
version). I have rebooted the machine, but its stuck at black screen. I
am attaching the Xorg.0.log and the xorg.conf here.

I could potentially reinstall and apply the above nogpumanager
modification and let you know how it goes. Let me know how to proceed.

I can only echo Uwe's sentiment above. Really appreciate all your help.
Abhijit 

** Attachment added: files3.zip
   
https://bugs.launchpad.net/ubuntu/+source/ubuntu-drivers-common/+bug/1310489/+attachment/4197717/+files/files3.zip

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

Title:
  xorg.conf overwritten by booting system

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1310489] Re: xorg.conf overwritten by booting system

2014-09-07 Thread Uwe Cappeller
@Abhijit: The xorg.conf will only regenerated if you have deleted or
renamed the previous version of it. Otherwise the change will be skipped
by system.

Do the following:

1. 'sudo mv xorg.conf xorg.conf.backup' (Don't reboot after it go directly to 
the next step!) 
2. 'sudo aticonfig --adapter=all --initial'
3. Reboot and go on as Alberto described

but i guess that after rebootimg the system the xorg.conf generated by
by aticonfig will be overwritten again.

@Alberto: Thank you for the fix. As soon as it is issued I will load
from backport and test it .

Best Regards,
Uwe

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

Title:
  xorg.conf overwritten by booting system

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1310489] Re: xorg.conf overwritten by booting system

2014-09-07 Thread Abhijit Sengupta
@Uwe: Thanks! You are right, it has now regenerated the xorg.conf.

However, now a different problem. After the reboot, it gave me a black
screen with a mouse pointer (which looked like a cross) and nothing
else. I can't even go to the command line with a Ctrl+Alt+F1 anymore.
All it gives is a dead black screen with nothing on it if I press that
key combo.

Don't know how to extract the xorg.conf and Xorg.0.log files anymore
without reinstalling Ubuntu. Any ideas what's the next thing to be done?

Abhijit

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

Title:
  xorg.conf overwritten by booting system

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1310489] Re: xorg.conf overwritten by booting system

2014-09-07 Thread Uwe Cappeller
Hi Abhijit,

don't reinstall Ubuntu!

When your maschine start to boot stop it with ESC to modify the boot option to 
go into the boot menu. 
Enter the first line and push 'e'. This will enable you to  modify the boot 
parameter.
There is a line looking like this:
linux ... ro quiet splash $vt_handoff
'' means that there are some additional commands. 
enter before or after 'quiet splash' 'nomodeset' . It should look like below:
linux ... ro quiet splash nomodeset $vt_handoff
Reboot now

Another method is to go from boot menu into recover mode and recover the
xorg file as described from there.

Even if the x-server doesn't start you should be able to start a
terminal again with Ctrl+Alt+F1. Now you are able to recover the old
xorg.conf by

1. sudo rm xorg.conf
2. mv xorg.conf.backup xorg.conf
3. reboot

Please try and let me know if you managed to do so.

Best Regards,
Uwe

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

Title:
  xorg.conf overwritten by booting system

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1310489] Re: xorg.conf overwritten by booting system

2014-09-07 Thread Alberto Milone
@Abhijit: you can use pastebinit to upload text files from the command
line:

Install pastebinit:
sudo apt-get install pastebinit

Upload the files:
pastebinit /var/log/Xorg.0.log

pastebinit /etc/X11/xorg.conf

Post the links that pastebinit will give you.

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

Title:
  xorg.conf overwritten by booting system

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1310489] Re: xorg.conf overwritten by booting system

2014-09-07 Thread Abhijit Sengupta
Hi guys

The first method (modifying boot parameters) did not work, so went for
the recovery mode. Copied off the Xorg.o.log and xorg.conf and have have
attached the the two files here.

The xorg.conf attached here is the one generated according to Alberto's
instruction at #52 and subsequently Uwe's at #57.

Thanks
Abhijit 

** Attachment added: files4.zip
   
https://bugs.launchpad.net/ubuntu/+source/ubuntu-drivers-common/+bug/1310489/+attachment/4197884/+files/files4.zip

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

Title:
  xorg.conf overwritten by booting system

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1310489] Re: xorg.conf overwritten by booting system

2014-09-07 Thread Abhijit Sengupta
Sorry the zip above doesn't have xorg.conf. Here it is.

** Attachment added: xorg.conf
   
https://bugs.launchpad.net/ubuntu/+source/ubuntu-drivers-common/+bug/1310489/+attachment/4197885/+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/1310489

Title:
  xorg.conf overwritten by booting system

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1310489] Re: xorg.conf overwritten by booting system

2014-09-07 Thread Alberto Milone
@Abhijit: as I suspected, your problem is not being caused by the gpu-
manager but it's probably a bug in the fglrx driver. You might want to
file a separate bug report against the fglrx package.

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

Title:
  xorg.conf overwritten by booting system

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1310489] Re: xorg.conf overwritten by booting system

2014-09-07 Thread Abhijit Sengupta
Hi Alberto. So as of now, there is no workaround apart from using the
default driver or reverting to 12.04?  Also, is this where I should
report this bug: https://bugs.launchpad.net/fglrx  ?

Is there any other information that I should specify when filing the bug
or just give them the basics of the problem and take it from there?

Thanks again for spending so much time on this. 
Abhijit

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

Title:
  xorg.conf overwritten by booting system

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1310489] Re: xorg.conf overwritten by booting system

2014-09-06 Thread Abhijit Sengupta
Hi All

I have an AMD APU system with two graphics cards - one integrated and
one stand alone (RADEON HD 6550  6670). I have been having the same
problem as described above, every time I install the driver from AMD's
website generating a new xorg.conf, rebooting removes it and the system
goes into a black screen.

I followed the instructions as above, did a fresh install of 14.04,
enabled trusty-proposed, updated ubuntu-drivers-common and reinstalled
the drivers, but the problem persists. xorg.conf keeps getting rewritten
and the system goes to the black screen on reboot.

I am using the Catalyst 14.6 driver from AMD's website and am choosing
the Generate distribution specific package option for the installation.
Am attaching the gpu-manager.log here.

Have been struggling with this for the last few months and the problem
is that the system under Xorg is almost unusable - laggy graphics and
keyboard. I do hope someone can help me with this. The only other option
I can see is fall back to 12.04, which was working fine on my machine.

Thanks in advance folks.
A

** Attachment added: gpu-manager log
   
https://bugs.launchpad.net/ubuntu/+source/ubuntu-drivers-common/+bug/1310489/+attachment/4196926/+files/gpu-manager.log

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

Title:
  xorg.conf overwritten by booting system

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1310489] Re: xorg.conf overwritten by booting system

2014-09-06 Thread Abhijit Sengupta
I should add that the gpu-manager attached above is actually from the
second reboot I tried once the first one failed. xorg.conf was already
rewritten in the first reboot attempt.

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

Title:
  xorg.conf overwritten by booting system

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1310489] Re: xorg.conf overwritten by booting system

2014-09-06 Thread Alberto Milone
Abhijit: the log looks fine. It says that fglrx is enabled and in use.
Please attach the following files:

1) /var/log/Xorg.0.log
2) the output of the dmesg command
3) your current xorg.conf
4) the xorg.conf that the gpu-manager keeps overwriting (you can try generating 
a new one using the ati-config tool)

This way I can see if you're being hit by the problem discussed here or
if it's a separate issue that needs a different fix.

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

Title:
  xorg.conf overwritten by booting system

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 1310489] Re: xorg.conf overwritten by booting system

2014-09-06 Thread Philipp Commans
Hallo Alberto,

here are my results:

1) After the reboot there was no log-file. It was not created.

2) After starting the upstart job (output:gpu-manager stop/waiting) , 
an new log-file was created. See attachment.
Is gpu-manager working correctly, according to the log-file?

Will the gpu-manager now be working after a restart? How can I verify?
Can I check its status via sudo service gpu-manager status ?
The output of the above command after a reboot was also:gpu-manager 
stop/waiting.

After further reboots the log-file was not rewritten according to the 
last change time in ls -la.

Additional information: I am using Linux Mint 17 with cinnamon.

THX!

Best regards

Philipp


** Attachment added: gpu-manager.log
   
https://bugs.launchpad.net/bugs/1310489/+attachment/4196949/+files/gpu-manager.log

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

Title:
  xorg.conf overwritten by booting system

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1310489] Re: xorg.conf overwritten by booting system

2014-09-06 Thread Alberto Milone
@Philipp: even if the gpu-manager started on boot, it wouldn't solve
your problem. Here's why (as your log shows):

Proprietary driver installer detected

I assume you installed fglrx from the AMD installer without generating
the deb packages. By doing so, you probably broke your system.

Also, I don't know if they blacklist the gpu-manager in Linux Mint 17 (I
don't use Mint).

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

Title:
  xorg.conf overwritten by booting system

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 1310489] Re: xorg.conf overwritten by booting system

2014-09-06 Thread Philipp Commans
That's right.
 I installed the proprietary drivers after the fglrx-packages created problems 
when I switched graphics cards via amdcccle or aticonfig(X-Server-crash). 
The problems unfortunately still exists with newest AMD Catalyst. 
I will deinstall the drivers, use fglrx again and report back. 

I don't think gpu-manager is blacklisted as I would not have had the
problem (overwritten xorg.conf) in the first place.

--
Philipp Commans
In der Silbert 21
47877 Willich
0163 6961900
PGP-Key
Threema AHZSVZ2V


 Am 06.09.2014 um 13:07 schrieb Alberto Milone alberto.mil...@canonical.com:
 
 @Philipp: even if the gpu-manager started on boot, it wouldn't solve
 your problem. Here's why (as your log shows):
 
 Proprietary driver installer detected
 
 I assume you installed fglrx from the AMD installer without generating
 the deb packages. By doing so, you probably broke your system.
 
 Also, I don't know if they blacklist the gpu-manager in Linux Mint 17 (I
 don't use Mint).
 
 -- 
 You received this bug notification because you are subscribed to the bug
 report.
 https://bugs.launchpad.net/bugs/1310489
 
 Title:
  xorg.conf overwritten by booting system
 
 Status in “ubuntu-drivers-common” package in Ubuntu:
  Fix Released
 Status in “ubuntu-drivers-common” source package in Trusty:
  Fix Committed
 
 Bug description:
  Description:Ubuntu 14.04 LTS
  Release:14.04
 
  
 
  == SRU Request ==
 
  There is a regression in the gpu-manager that causes it to revert user
  changes right before the first reboot after enabling the fglrx driver
  or the nvidia driver on a system with hybrid graphics (Intel+AMD or
  Intel+NVIDIA). This causes the gpu-manager to remove the current
  xorg.conf and to switch to Mesa.
 
  [Impact]
   * This regression makes it almost impossible to use binary drivers on 
 systems with hybrid graphics.
 
  [Test Case]
   * Make sure to be using a hybrid system with Intel+AMD or Intel+NVIDIA GPUs.
 
   * Make sure that the gpu-manager is not disabled (only necessary if
  you disabled it manually).
 
   * Remove all fglrx and nvidia drivers (keep the nvidia-common and the 
 nvidia-prime packages):
 sudo apt-get --purge remove nvidia-331
 sudo apt-get --purge remove nvidia-331
 sudo apt-get --purge remove fglrx
 sudo apt-get --purge remove fglrx-updates
 
   * Install ubuntu-drivers-common from trusty-proposed.
 
   * Restart the system.
 
   * Install the binary driver (either fglrx or nvidia, according to the 
 available discrete GPU), reboot, and check that the binary driver is enabled 
 (attach your /var/log/gpu-manager.log)
  - Expected: the (AMD or NVIDIA) discrete GPU is enabled.
  - Bad behavior: the system switches back to the intel driver and the 
 discrete GPU is not used, despite the fact that the system was configured 
 properly.
 
  [Regression Potential]
   * Low. Systems that currently work will keep working as usual, the ones 
 that currently fail should finally work.
 
  [Other Info]
   * N/A
 
  -
 
  Hello,
 
  I am using a notebook with a quadcore AMD A10 and hybrid graficcard AMD/ATI 
 Radeon HD 8650G / AMD/ATI Sun XT Radeon HD 8670A/8670M/8690M.
  After installing fglrx I generated the xorg.conf in the terminal with 'sudo 
 aticonfig --adapter=all --initial' and it looked pretty good. Up to this 
 point I was able to switch between the cards with the commands 'sudo 
 aticonfig --px-dgpu' for the discrete card and 'sudo aticonfig --px-igpu' for 
 the intigrated card to save power.
  After rebooting I realized that I was no longer able to switch between the 
 cards and found that the xorg.conf will be overwritten whenever I modified it 
 and reboot the system. The new (by boot) generated xorg.conf contains not the 
 relevant information for switing between the cards.
  I attached both configuration in one file (xorg.conf.comparison). I will 
 also provide the atisysteminfo-report.txt so far I will find the place where 
 to attach.
 
  Edit: I fixed the error -- AIGLX error: failed to open
  /usr/lib64/dri/fglrx_dri.so, error[/usr/lib64/dri/fglrx_dri.so: cannot
  open shared object file: No such file or directory] but it changed
  not the bug of overwriting the xorg.conf.
 
  Regards,
  Uwe
 
  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: xorg 1:7.7+1ubuntu8
  ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
  Uname: Linux 3.13.0-24-generic x86_64
  NonfreeKernelModules: fglrx
  .tmp.unity.support.test.0:
 
  ApportVersion: 2.14.1-0ubuntu3
  Architecture: amd64
  CompizPlugins: No value set for 
 `/apps/compiz-1/general/screen0/options/active_plugins'
  CompositorRunning: None
  CurrentDesktop: Unity
  Date: Mon Apr 21 08:43:29 2014
  DistUpgraded: Fresh install
  DistroCodename: trusty
  DistroVariant: ubuntu
  DkmsStatus: fglrx, 13.350.1, 3.13.0-24-generic, x86_64: installed
  ExtraDebuggingInterest: Yes
  GraphicsCard:
   Advanced Micro Devices, Inc. [AMD/ATI] Richland [Radeon HD 8650G] 
 

[Bug 1310489] Re: xorg.conf overwritten by booting system

2014-09-06 Thread Abhijit Sengupta
Hi Alberto

Ok, here are all the files requested plus the gpu-manager.log after I
redid everything once again from scratch. Its all there in the zip file.
The original xorg.conf file is labelled as xorg.conf.orig and the output
of dmesg is dmesg.out.

Hope this helps. Thanks again for all the help.

Abhijit

** Attachment added: files.zip
   
https://bugs.launchpad.net/ubuntu/+source/ubuntu-drivers-common/+bug/1310489/+attachment/4197010/+files/files.zip

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

Title:
  xorg.conf overwritten by booting system

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1310489] Re: xorg.conf overwritten by booting system

2014-09-06 Thread Alberto Milone
@Abhijit: please download the attached file and type the following commands:
cd path_to_the_downloaded_xorg_conf
sudo mv -f xorg.conf /etc/X11/

Then restart your computer, see how it goes, and finally attach your
/var/log/gpu-manager.log and /var/log/Xorg.0.log

** Attachment added: xorg.conf
   
https://bugs.launchpad.net/ubuntu/+source/ubuntu-drivers-common/+bug/1310489/+attachment/4197036/+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/1310489

Title:
  xorg.conf overwritten by booting system

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1310489] Re: xorg.conf overwritten by booting system

2014-09-06 Thread Abhijit Sengupta
Hi Alberto

Did as asked, but no avail. Same black screen appears on reboot. I have
attached the files as asked.

Thanks
Abhijit

** Attachment added: files2.zip
   
https://bugs.launchpad.net/ubuntu/+source/ubuntu-drivers-common/+bug/1310489/+attachment/4197421/+files/files2.zip

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

Title:
  xorg.conf overwritten by booting system

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1310489] Re: xorg.conf overwritten by booting system

2014-09-05 Thread Alberto Milone
The error that you see in the log was caused by this code:

if (is_disabled_in_cmdline()) {
fprintf(log_handle, Disabled by kernel parameter \%s\\n,
KERN_PARAM);
goto end;
}

That simply parses /proc/cmdline.


A few more things to try:

1) Maybe what you see is an old log. Try with:

sudo rm /var/log/gpu-manager.log

and reboot

See if you can still see the same gpu-manager.log (with the same error
about the nogpumanager parameter)

2) Try starting the upstart job:

sudo rm /var/log/gpu-manager.log

sudo start gpu-manager

And see what /var/log/gpu-manager.log says

3) If 1) and 2) fail, try this:

sudo rm /var/log/gpu-manager.log

sudo gpu-manager --log /var/log/gpu-manager.log

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

Title:
  xorg.conf overwritten by booting system

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1310489] Re: xorg.conf overwritten by booting system

2014-09-05 Thread Po-Hsu Lin
Verified on 201305-13649 Dell Inspiron 3537, I+A system
Intel Haswell-ULT Integrated Graphics Controller [8086:0a16] (rev 09)
AMD/ATI Sun XT [Radeon HD 8670A/8670M/8690M] [1002:6660] (rev ff)

Steps:
1. Install 14.04.1, boot to desktop
2. Enable -proposed, install ubuntu-drivers-common and reboot.
3. Install fglrx and reboot
4. Check if the driver is enabled

Actual result:
From the output of unity_support_test and gpu-manager.log, fglrx is loaded and 
it's using the discrete (AMD) video card.

ubuntu@201305-13649:~$ /usr/lib/nux/unity_support_test -c -p
OpenGL vendor string:   ATI Technologies Inc.
OpenGL renderer string: AMD Radeon HD 8600M Series
OpenGL version string:  4.3.12798 Compatibility Profile Context 13.35.1005

Not software rendered:yes
Not blacklisted:  yes
GLX fbconfig: yes
GLX texture from pixmap:  yes
GL npot or rect textures: yes

Compiz supported: yes


** Attachment added: gpu-manager.log
   
https://bugs.launchpad.net/ubuntu/+source/ubuntu-drivers-common/+bug/1310489/+attachment/4196300/+files/gpu-manager.log

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

Title:
  xorg.conf overwritten by booting system

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1310489] Re: xorg.conf overwritten by booting system

2014-09-05 Thread Yu Ning
On A+A config I found although fglrx will not be disabled by gpu-
manager, xorg.conf will still be regenerated, and with the regenerated
xorg.conf there is no graphics switching option in amdcccle (amd control
center).

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

Title:
  xorg.conf overwritten by booting system

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1310489] Re: xorg.conf overwritten by booting system

2014-09-05 Thread Alberto Milone
The log attached by Po-Hsu shows that fglrx was correctly enabled on a
system with hybrid graphics.

@Yu Ning: that is ok. If there is no switching option in amdcccle, that
is a bug in the amdcccle binary (nothing I can do about it). The gpu-
manager worked correctly by enabling both AMD GPUs with fglrx.

** Tags removed: verification-needed
** Tags added: verification-done

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

Title:
  xorg.conf overwritten by booting system

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 1310489] Re: xorg.conf overwritten by booting system

2014-09-05 Thread Philipp Commans
Hallo Alberto,

I followed your instructions, including the installation of the 
ubuntu-drivers-common from the proposed-archive.

The result was, that the xorg.conf wasn't changed anymore after reboots.

BUT the output from /var/log/gpumanager.log says: Disabled by kernel 
parameter nogpumanager
Before that I had the gpu-manager disabled via the grub parameter 
nogpumanger to prevent my xorg.conf from being overwritten. But 
following your instructions, I deleted this parameter and updated grub.
I doublechecked my /etc/default/grub: There's no such parameter.
Did this happen intentionally via the new ubuntu-drivers-common-package 
or did I miss something?
Is it possible that there's a lock-file somewhere not working right?

What exactly is the downside of a not-working gpu-manager when 
proprietary drivers are installed?

Thanks a lot in advance


Best regards

Philipp

Am 04.09.2014 um 11:57 schrieb Alberto Milone:
 ** Description changed:

Description:   Ubuntu 14.04 LTS
Release:   14.04



== SRU Request ==

There is a regression in the gpu-manager that causes it to revert user
changes right before the first reboot after enabling the fglrx driver or
the nvidia driver on a system with hybrid graphics (Intel+AMD or
Intel+NVIDIA). This causes the gpu-manager to remove the current
xorg.conf and to switch to Mesa.

[Impact]
 * This regression makes it almost impossible to use binary drivers on 
 systems with hybrid graphics.

[Test Case]
 * Make sure to be using a hybrid system with Intel+AMD or Intel+NVIDIA 
 GPUs.

 * Make sure that the gpu-manager is not disabled (only necessary if you
disabled it manually).

 * Remove all fglrx and nvidia drivers (keep the nvidia-common and the 
 nvidia-prime packages):
   sudo apt-get --purge remove nvidia-331
   sudo apt-get --purge remove nvidia-331
   sudo apt-get --purge remove fglrx
   sudo apt-get --purge remove fglrx-updates
 +
 +  * Install ubuntu-drivers-common from trusty-proposed.

 * Restart the system.

 * Install the binary driver (either fglrx or nvidia, according to the 
 available discrete GPU), reboot, and check that the binary driver is enabled 
 (attach your /var/log/gpu-manager.log)
- Expected: the (AMD or NVIDIA) discrete GPU is enabled.
- Bad behavior: the system switches back to the intel driver and the 
 discrete GPU is not used, despite the fact that the system was configured 
 properly.

[Regression Potential]
 * Low. Systems that currently work will keep working as usual, the ones 
 that currently fail should finally work.

[Other Info]
 * N/A

-

Hello,

I am using a notebook with a quadcore AMD A10 and hybrid graficcard 
 AMD/ATI Radeon HD 8650G / AMD/ATI Sun XT Radeon HD 8670A/8670M/8690M.
After installing fglrx I generated the xorg.conf in the terminal with 
 'sudo aticonfig --adapter=all --initial' and it looked pretty good. Up to 
 this point I was able to switch between the cards with the commands 'sudo 
 aticonfig --px-dgpu' for the discrete card and 'sudo aticonfig --px-igpu' for 
 the intigrated card to save power.
After rebooting I realized that I was no longer able to switch between the 
 cards and found that the xorg.conf will be overwritten whenever I modified it 
 and reboot the system. The new (by boot) generated xorg.conf contains not the 
 relevant information for switing between the cards.
I attached both configuration in one file (xorg.conf.comparison). I will 
 also provide the atisysteminfo-report.txt so far I will find the place where 
 to attach.

Edit: I fixed the error -- AIGLX error: failed to open
/usr/lib64/dri/fglrx_dri.so, error[/usr/lib64/dri/fglrx_dri.so: cannot
open shared object file: No such file or directory] but it changed not
the bug of overwriting the xorg.conf.

Regards,
Uwe

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: xorg 1:7.7+1ubuntu8
ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
Uname: Linux 3.13.0-24-generic x86_64
NonfreeKernelModules: fglrx
.tmp.unity.support.test.0:

ApportVersion: 2.14.1-0ubuntu3
Architecture: amd64
CompizPlugins: No value set for 
 `/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: None
CurrentDesktop: Unity
Date: Mon Apr 21 08:43:29 2014
DistUpgraded: Fresh install
DistroCodename: trusty
DistroVariant: ubuntu
DkmsStatus: fglrx, 13.350.1, 3.13.0-24-generic, x86_64: installed
ExtraDebuggingInterest: Yes
GraphicsCard:
 Advanced Micro Devices, Inc. [AMD/ATI] Richland [Radeon HD 8650G] 
 [1002:990b] (prog-if 00 [VGA controller])
   Subsystem: Hewlett-Packard Company Device [103c:1985]
   Subsystem: Hewlett-Packard Company Device [103c:1985]
InstallationDate: Installed on 

[Bug 1310489] Re: xorg.conf overwritten by booting system

2014-09-05 Thread Alberto Milone
@Philipp: no, I've never disabled the gpu-manager in the package (or
anywhere else).

What's the output of the following command?

cat /proc/cmdline

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

Title:
  xorg.conf overwritten by booting system

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 1310489] Re: xorg.conf overwritten by booting system

2014-09-05 Thread Philipp Commans
Here's the output of cat /proc/cmdline:

BOOT_IMAGE=/boot/vmlinuz-3.13.0-24-generic 
root=UUID=55db27ad-7c65-42fb-8aff-88d58c0a583b ro elevator=noop quiet 
splash acpi=force acpi_osi=!Windows 2012 vt.handoff=7

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

Title:
  xorg.conf overwritten by booting system

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1310489] Re: xorg.conf overwritten by booting system

2014-09-05 Thread Alberto Milone
please also attach your /etc/init/gpu-manager.conf

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

Title:
  xorg.conf overwritten by booting system

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 1310489] Re: xorg.conf overwritten by booting system

2014-09-05 Thread Philipp Commans
Here you are.


** Attachment added: gpu-manager.conf
   
https://bugs.launchpad.net/bugs/1310489/+attachment/4196574/+files/gpu-manager.conf

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

Title:
  xorg.conf overwritten by booting system

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1310489] Re: xorg.conf overwritten by booting system

2014-09-04 Thread Alberto Milone
** Description changed:

  Description:  Ubuntu 14.04 LTS
  Release:  14.04
+ 
+ 
+ 
+ 
+ SRU Request
+ 
+ There is a regression in the gpu-manager that causes it to revert user
+ changes right before the first reboot after enabling the fglrx driver or
+ the nvidia driver on a system with hybrid graphics (Intel+AMD or
+ Intel+NVIDIA). This causes the gpu-manager to remove the current
+ xorg.conf and to switch to Mesa.
+ 
+ [Impact]
+  * This regression makes it almost impossible to use binary drivers on 
systems with hybrid graphics.
+ 
+ [Test Case]
+  * Make sure to be using a hybrid system with Intel+AMD or Intel+NVIDIA GPUs.
+ 
+  * Make sure that the gpu-manager is not disabled (only necessary if you
+ disabled it manually).
+ 
+  * Remove all fglrx and nvidia drivers (keep the nvidia-common and the 
nvidia-prime packages):
+sudo apt-get --purge remove nvidia-331
+sudo apt-get --purge remove nvidia-331
+sudo apt-get --purge remove fglrx
+sudo apt-get --purge remove fglrx-updates
+ 
+  * Restart the system.
+ 
+  * Install the binary driver (either fglrx or nvidia, according to the 
available discrete GPU), reboot, and check that the binary driver is enabled 
(attach your /var/log/gpu-manager.log)
+ - Expected: the (AMD or NVIDIA) discrete GPU is enabled.
+ - Bad behavior: the system switches back to the intel driver and the 
discrete GPU is not used, despite the fact that the system was configured 
properly.
+ 
+ [Regression Potential]
+  * Low. Systems that currently work will keep working as usual, the ones that 
currently fail should finally work.
+ 
+ [Other Info]
+  * N/A
+ 
+ 
+ -
  
  Hello,
  
  I am using a notebook with a quadcore AMD A10 and hybrid graficcard AMD/ATI 
Radeon HD 8650G / AMD/ATI Sun XT Radeon HD 8670A/8670M/8690M.
  After installing fglrx I generated the xorg.conf in the terminal with 'sudo 
aticonfig --adapter=all --initial' and it looked pretty good. Up to this point 
I was able to switch between the cards with the commands 'sudo aticonfig 
--px-dgpu' for the discrete card and 'sudo aticonfig --px-igpu' for the 
intigrated card to save power.
  After rebooting I realized that I was no longer able to switch between the 
cards and found that the xorg.conf will be overwritten whenever I modified it 
and reboot the system. The new (by boot) generated xorg.conf contains not the 
relevant information for switing between the cards.
  I attached both configuration in one file (xorg.conf.comparison). I will also 
provide the atisysteminfo-report.txt so far I will find the place where to 
attach.
  
  Edit: I fixed the error -- AIGLX error: failed to open
  /usr/lib64/dri/fglrx_dri.so, error[/usr/lib64/dri/fglrx_dri.so: cannot
  open shared object file: No such file or directory] but it changed not
  the bug of overwriting the xorg.conf.
  
  Regards,
  Uwe
  
  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: xorg 1:7.7+1ubuntu8
  ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
  Uname: Linux 3.13.0-24-generic x86_64
  NonfreeKernelModules: fglrx
  .tmp.unity.support.test.0:
  
  ApportVersion: 2.14.1-0ubuntu3
  Architecture: amd64
  CompizPlugins: No value set for 
`/apps/compiz-1/general/screen0/options/active_plugins'
  CompositorRunning: None
  CurrentDesktop: Unity
  Date: Mon Apr 21 08:43:29 2014
  DistUpgraded: Fresh install
  DistroCodename: trusty
  DistroVariant: ubuntu
  DkmsStatus: fglrx, 13.350.1, 3.13.0-24-generic, x86_64: installed
  ExtraDebuggingInterest: Yes
  GraphicsCard:
   Advanced Micro Devices, Inc. [AMD/ATI] Richland [Radeon HD 8650G] 
[1002:990b] (prog-if 00 [VGA controller])
     Subsystem: Hewlett-Packard Company Device [103c:1985]
     Subsystem: Hewlett-Packard Company Device [103c:1985]
  InstallationDate: Installed on 2014-04-20 (0 days ago)
  InstallationMedia: Ubuntu 14.04 LTS Trusty Tahr - Release amd64 (20140417)
  MachineType: Hewlett-Packard HP Pavilion 17 Notebook PC
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-24-generic.efi.signed 
root=UUID=fdcb1eaf-eda9-48ee-9d5b-b44e1fc06687 ro quiet splash vt.handoff=7
  SourcePackage: xorg
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 09/26/2013
  dmi.bios.vendor: Insyde
  dmi.bios.version: F.22
  dmi.board.asset.tag: Base Board Asset Tag
  dmi.board.name: 1985
  dmi.board.vendor: Hewlett-Packard
  dmi.board.version: 01.13
  dmi.chassis.type: 10
  dmi.chassis.vendor: Hewlett-Packard
  dmi.chassis.version: Chassis Version
  dmi.modalias: 
dmi:bvnInsyde:bvrF.22:bd09/26/2013:svnHewlett-Packard:pnHPPavilion17NotebookPC:pvr0892100059160:rvnHewlett-Packard:rn1985:rvr01.13:cvnHewlett-Packard:ct10:cvrChassisVersion:
  dmi.product.name: HP Pavilion 17 Notebook PC
  dmi.product.version: 0892100059160
  dmi.sys.vendor: Hewlett-Packard
  version.compiz: compiz 1:0.9.11+14.04.20140409-0ubuntu1
  version.fglrx-installer: fglrx-installer N/A
  version.ia32-libs: ia32-libs 

[Bug 1310489] Re: xorg.conf overwritten by booting system

2014-09-04 Thread Alberto Milone
** Description changed:

  Description:  Ubuntu 14.04 LTS
  Release:  14.04
  
  
  
  == SRU Request ==
  
  There is a regression in the gpu-manager that causes it to revert user
  changes right before the first reboot after enabling the fglrx driver or
  the nvidia driver on a system with hybrid graphics (Intel+AMD or
  Intel+NVIDIA). This causes the gpu-manager to remove the current
  xorg.conf and to switch to Mesa.
  
  [Impact]
   * This regression makes it almost impossible to use binary drivers on 
systems with hybrid graphics.
  
  [Test Case]
   * Make sure to be using a hybrid system with Intel+AMD or Intel+NVIDIA GPUs.
  
   * Make sure that the gpu-manager is not disabled (only necessary if you
  disabled it manually).
  
   * Remove all fglrx and nvidia drivers (keep the nvidia-common and the 
nvidia-prime packages):
     sudo apt-get --purge remove nvidia-331
     sudo apt-get --purge remove nvidia-331
     sudo apt-get --purge remove fglrx
     sudo apt-get --purge remove fglrx-updates
+ 
+  * Install ubuntu-drivers-common from trusty-proposed.
  
   * Restart the system.
  
   * Install the binary driver (either fglrx or nvidia, according to the 
available discrete GPU), reboot, and check that the binary driver is enabled 
(attach your /var/log/gpu-manager.log)
  - Expected: the (AMD or NVIDIA) discrete GPU is enabled.
  - Bad behavior: the system switches back to the intel driver and the 
discrete GPU is not used, despite the fact that the system was configured 
properly.
  
  [Regression Potential]
   * Low. Systems that currently work will keep working as usual, the ones that 
currently fail should finally work.
  
  [Other Info]
   * N/A
  
  -
  
  Hello,
  
  I am using a notebook with a quadcore AMD A10 and hybrid graficcard AMD/ATI 
Radeon HD 8650G / AMD/ATI Sun XT Radeon HD 8670A/8670M/8690M.
  After installing fglrx I generated the xorg.conf in the terminal with 'sudo 
aticonfig --adapter=all --initial' and it looked pretty good. Up to this point 
I was able to switch between the cards with the commands 'sudo aticonfig 
--px-dgpu' for the discrete card and 'sudo aticonfig --px-igpu' for the 
intigrated card to save power.
  After rebooting I realized that I was no longer able to switch between the 
cards and found that the xorg.conf will be overwritten whenever I modified it 
and reboot the system. The new (by boot) generated xorg.conf contains not the 
relevant information for switing between the cards.
  I attached both configuration in one file (xorg.conf.comparison). I will also 
provide the atisysteminfo-report.txt so far I will find the place where to 
attach.
  
  Edit: I fixed the error -- AIGLX error: failed to open
  /usr/lib64/dri/fglrx_dri.so, error[/usr/lib64/dri/fglrx_dri.so: cannot
  open shared object file: No such file or directory] but it changed not
  the bug of overwriting the xorg.conf.
  
  Regards,
  Uwe
  
  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: xorg 1:7.7+1ubuntu8
  ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
  Uname: Linux 3.13.0-24-generic x86_64
  NonfreeKernelModules: fglrx
  .tmp.unity.support.test.0:
  
  ApportVersion: 2.14.1-0ubuntu3
  Architecture: amd64
  CompizPlugins: No value set for 
`/apps/compiz-1/general/screen0/options/active_plugins'
  CompositorRunning: None
  CurrentDesktop: Unity
  Date: Mon Apr 21 08:43:29 2014
  DistUpgraded: Fresh install
  DistroCodename: trusty
  DistroVariant: ubuntu
  DkmsStatus: fglrx, 13.350.1, 3.13.0-24-generic, x86_64: installed
  ExtraDebuggingInterest: Yes
  GraphicsCard:
   Advanced Micro Devices, Inc. [AMD/ATI] Richland [Radeon HD 8650G] 
[1002:990b] (prog-if 00 [VGA controller])
     Subsystem: Hewlett-Packard Company Device [103c:1985]
     Subsystem: Hewlett-Packard Company Device [103c:1985]
  InstallationDate: Installed on 2014-04-20 (0 days ago)
  InstallationMedia: Ubuntu 14.04 LTS Trusty Tahr - Release amd64 (20140417)
  MachineType: Hewlett-Packard HP Pavilion 17 Notebook PC
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-24-generic.efi.signed 
root=UUID=fdcb1eaf-eda9-48ee-9d5b-b44e1fc06687 ro quiet splash vt.handoff=7
  SourcePackage: xorg
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 09/26/2013
  dmi.bios.vendor: Insyde
  dmi.bios.version: F.22
  dmi.board.asset.tag: Base Board Asset Tag
  dmi.board.name: 1985
  dmi.board.vendor: Hewlett-Packard
  dmi.board.version: 01.13
  dmi.chassis.type: 10
  dmi.chassis.vendor: Hewlett-Packard
  dmi.chassis.version: Chassis Version
  dmi.modalias: 
dmi:bvnInsyde:bvrF.22:bd09/26/2013:svnHewlett-Packard:pnHPPavilion17NotebookPC:pvr0892100059160:rvnHewlett-Packard:rn1985:rvr01.13:cvnHewlett-Packard:ct10:cvrChassisVersion:
  dmi.product.name: HP Pavilion 17 Notebook PC
  dmi.product.version: 0892100059160
  dmi.sys.vendor: Hewlett-Packard
  version.compiz: compiz 1:0.9.11+14.04.20140409-0ubuntu1
  

Re: [Bug 1310489] Re: xorg.conf overwritten by booting system

2014-09-04 Thread Philipp Commans
Hallo Alberto!

Thanks a lot for your work on this bug!

I have a question: 
Does your solution also apply when both graphic cards are from AMD?

My laptop has both graphic cards, integrated and discrete, from AMD.

I'm asking because you wrote:
  [Test Case]
   * Make sure to be using a hybrid system with Intel+AMD or Intel+NVIDIA GPUs.


Thanks in advance!

Best regards Philipp

--
Philipp Commans
In der Silbert 21
47877 Willich
0163 6961900
PGP-Key
Threema AHZSVZ2V


 Am 04.09.2014 um 11:57 schrieb Alberto Milone alberto.mil...@canonical.com:
 
 ** Description changed:
 
  Description:Ubuntu 14.04 LTS
  Release:14.04
 
  
 
  == SRU Request ==
 
  There is a regression in the gpu-manager that causes it to revert user
  changes right before the first reboot after enabling the fglrx driver or
  the nvidia driver on a system with hybrid graphics (Intel+AMD or
  Intel+NVIDIA). This causes the gpu-manager to remove the current
  xorg.conf and to switch to Mesa.
 
  [Impact]
   * This regression makes it almost impossible to use binary drivers on 
 systems with hybrid graphics.
 
  [Test Case]
   * Make sure to be using a hybrid system with Intel+AMD or Intel+NVIDIA GPUs.
 
   * Make sure that the gpu-manager is not disabled (only necessary if you
  disabled it manually).
 
   * Remove all fglrx and nvidia drivers (keep the nvidia-common and the 
 nvidia-prime packages):
 sudo apt-get --purge remove nvidia-331
 sudo apt-get --purge remove nvidia-331
 sudo apt-get --purge remove fglrx
 sudo apt-get --purge remove fglrx-updates
 + 
 +  * Install ubuntu-drivers-common from trusty-proposed.
 
   * Restart the system.
 
   * Install the binary driver (either fglrx or nvidia, according to the 
 available discrete GPU), reboot, and check that the binary driver is enabled 
 (attach your /var/log/gpu-manager.log)
  - Expected: the (AMD or NVIDIA) discrete GPU is enabled.
  - Bad behavior: the system switches back to the intel driver and the 
 discrete GPU is not used, despite the fact that the system was configured 
 properly.
 
  [Regression Potential]
   * Low. Systems that currently work will keep working as usual, the ones 
 that currently fail should finally work.
 
  [Other Info]
   * N/A
 
  -
 
  Hello,
 
  I am using a notebook with a quadcore AMD A10 and hybrid graficcard AMD/ATI 
 Radeon HD 8650G / AMD/ATI Sun XT Radeon HD 8670A/8670M/8690M.
  After installing fglrx I generated the xorg.conf in the terminal with 'sudo 
 aticonfig --adapter=all --initial' and it looked pretty good. Up to this 
 point I was able to switch between the cards with the commands 'sudo 
 aticonfig --px-dgpu' for the discrete card and 'sudo aticonfig --px-igpu' for 
 the intigrated card to save power.
  After rebooting I realized that I was no longer able to switch between the 
 cards and found that the xorg.conf will be overwritten whenever I modified it 
 and reboot the system. The new (by boot) generated xorg.conf contains not the 
 relevant information for switing between the cards.
  I attached both configuration in one file (xorg.conf.comparison). I will 
 also provide the atisysteminfo-report.txt so far I will find the place where 
 to attach.
 
  Edit: I fixed the error -- AIGLX error: failed to open
  /usr/lib64/dri/fglrx_dri.so, error[/usr/lib64/dri/fglrx_dri.so: cannot
  open shared object file: No such file or directory] but it changed not
  the bug of overwriting the xorg.conf.
 
  Regards,
  Uwe
 
  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: xorg 1:7.7+1ubuntu8
  ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
  Uname: Linux 3.13.0-24-generic x86_64
  NonfreeKernelModules: fglrx
  .tmp.unity.support.test.0:
 
  ApportVersion: 2.14.1-0ubuntu3
  Architecture: amd64
  CompizPlugins: No value set for 
 `/apps/compiz-1/general/screen0/options/active_plugins'
  CompositorRunning: None
  CurrentDesktop: Unity
  Date: Mon Apr 21 08:43:29 2014
  DistUpgraded: Fresh install
  DistroCodename: trusty
  DistroVariant: ubuntu
  DkmsStatus: fglrx, 13.350.1, 3.13.0-24-generic, x86_64: installed
  ExtraDebuggingInterest: Yes
  GraphicsCard:
   Advanced Micro Devices, Inc. [AMD/ATI] Richland [Radeon HD 8650G] 
 [1002:990b] (prog-if 00 [VGA controller])
 Subsystem: Hewlett-Packard Company Device [103c:1985]
 Subsystem: Hewlett-Packard Company Device [103c:1985]
  InstallationDate: Installed on 2014-04-20 (0 days ago)
  InstallationMedia: Ubuntu 14.04 LTS Trusty Tahr - Release amd64 (20140417)
  MachineType: Hewlett-Packard HP Pavilion 17 Notebook PC
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-24-generic.efi.signed 
 root=UUID=fdcb1eaf-eda9-48ee-9d5b-b44e1fc06687 ro quiet splash vt.handoff=7
  SourcePackage: xorg
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 09/26/2013
  dmi.bios.vendor: Insyde
  dmi.bios.version: F.22
  dmi.board.asset.tag: Base Board Asset Tag
  dmi.board.name: 1985
  

[Bug 1310489] Re: xorg.conf overwritten by booting system

2014-09-04 Thread Alberto Milone
@Philipp: yes, I think the problem (hence also the fix) could affect
systems with multiple AMD systems, although I haven't reproduced it on
such systems yet.

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

Title:
  xorg.conf overwritten by booting system

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1310489] Re: xorg.conf overwritten by booting system

2014-09-04 Thread Brian Murray
Hello Uwe, or anyone else affected,

Accepted ubuntu-drivers-common into trusty-proposed. The package will
build now and be available at http://launchpad.net/ubuntu/+source
/ubuntu-drivers-common/1:0.2.91.7 in a few hours, and then in the
-proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed.  Your feedback will aid us getting this update
out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, and change the tag
from verification-needed to verification-done. If it does not fix the
bug for you, please add a comment stating that, and change the tag to
verification-failed.  In either case, details of your testing will help
us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Changed in: ubuntu-drivers-common (Ubuntu Trusty)
   Status: In Progress = Fix Committed

** Tags added: verification-needed

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

Title:
  xorg.conf overwritten by booting system

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1310489] Re: xorg.conf overwritten by booting system

2014-09-04 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/trusty-proposed/ubuntu-drivers-common

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

Title:
  xorg.conf overwritten by booting system

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1310489] Re: xorg.conf overwritten by booting system

2014-08-28 Thread Launchpad Bug Tracker
This bug was fixed in the package ubuntu-drivers-common - 1:0.2.98

---
ubuntu-drivers-common (1:0.2.98) utopic; urgency=medium

  * gpu-manager.c, gpu-manager.py:
- Add support for testing core alternatives. This will be needed
  by fglrx.
- Add the --backup-log parameter. This is only used for debugging
  and disabled by default.
- Fix a regression that caused the gpu-manager to switch to mesa
  after enabling fglrx on hybrid systems (LP: #1310489). Also
  add a test case so that we don't regress in the future.
- Check that either fglrx or nvidia is set in xorg.conf when
  xorg.conf is needed.
- Check if kernel modules are blacklisted before choosing the
  driver (LP: #1310489).
- Enable only GPUs with open drivers that have connected outputs.
  Attaching to GPUs that have no connected outputs would result
  in a black screen.
- Allow RandR offloading even without bbswitch (LP: #1349282).
- Fall back to mesa when failing to enable prime.
- Do not try to enable prime if the nvidia driver is older than
  331.
- Do not abort if the settings for prime cannot be found.
  Try creating the file before failing.
- Avoid false positives of unloaded modules.
- Use the cleanup attribute.
- Always use snprintf instead of sprintf.
 -- Alberto Milone alberto.mil...@canonical.com   Wed, 27 Aug 2014 10:39:17 
+0200

** Changed in: ubuntu-drivers-common (Ubuntu)
   Status: In Progress = Fix Released

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

Title:
  xorg.conf overwritten by booting system

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1310489] Re: xorg.conf overwritten by booting system

2014-08-27 Thread dododge
BTW I'm going to second the nogpumanager approach, because I just
rebooted and even with a completely commented-out gpu-manager.conf it
still ran and decided the number of cards had changed and removed my
xorg.conf leaving my system unusable.  Putting nogpumanager into the
kernel command line via /etc/default/grub did the trick.  gpu-manager
still runs, but now it explicitly logs that it was disabled by the
kernel parameter.

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

Title:
  xorg.conf overwritten by booting system

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1310489] Re: xorg.conf overwritten by booting system

2014-08-27 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/utopic-proposed/ubuntu-drivers-common

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

Title:
  xorg.conf overwritten by booting system

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1310489] Re: xorg.conf overwritten by booting system

2014-08-27 Thread Alberto Milone
** Also affects: ubuntu-drivers-common (Ubuntu Trusty)
   Importance: Undecided
   Status: New

** Changed in: ubuntu-drivers-common (Ubuntu Trusty)
   Status: New = In Progress

** Changed in: ubuntu-drivers-common (Ubuntu Trusty)
   Importance: Undecided = High

** Changed in: ubuntu-drivers-common (Ubuntu Trusty)
 Assignee: (unassigned) = Alberto Milone (albertomilone)

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

Title:
  xorg.conf overwritten by booting system

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1310489] Re: xorg.conf overwritten by booting system

2014-08-27 Thread Alberto Milone
Just an update: I've fixed the issue in 14.10. It's still in the utopic-
proposed repository and I expect it to be available in 14.10 soon.

As for 14.04, I've added a separate task for it in this bug report, and
I'm working to backport the code using a stable release update (SRU).

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

Title:
  xorg.conf overwritten by booting system

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1310489] Re: xorg.conf overwritten by booting system

2014-08-25 Thread Alberto Milone
@all: I tracked down and fixed the issue here. I plan to deliver an
update soon. In the meantime you can disable the gpu-manager by passing
nogpumanager on boot (you can also set it permanently in
/etc/default/grub).

Please do not edit the upstart job (/etc/init/gpu-manager.conf)

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

Title:
  xorg.conf overwritten by booting system

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1310489] Re: xorg.conf overwritten by booting system

2014-08-24 Thread dododge
Just a comment that I never saw gpu-manager *modify* xorg.conf -- it
just renamed it to xorg.conf-DATE leaving me with no xorg.conf at all
(which in my case was enough to cause major problems).  Commenting out
all of the lines in gpu-manager.conf seems to have stopped it from
running, which solved my issue for now.

If something is actually changing the content of your xorg.conf file,
I'd be more suspicious of the graphics driver installer or perhaps some
helper program that came with the driver.

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

Title:
  xorg.conf overwritten by booting system

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1310489] Re: xorg.conf overwritten by booting system

2014-08-24 Thread Steve Dodd
Just been hit by this. Spent all day debugging graphics problems, only
now to discover that something has renamed my xorg.conf. I need 'Option
PageFlip false' with nouveau to get decent performance, something
decided that it knew better than me how to configure my hardware :(

Graphics card is:

01:00.0 VGA compatible controller: NVIDIA Corporation GT218 [GeForce
210] (rev a2)

Any other useful info I can include? I don't know what suddenly
triggered this..

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

Title:
  xorg.conf overwritten by booting system

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1310489] Re: xorg.conf overwritten by booting system

2014-08-23 Thread Marc Defossez
The same happens for my system (Dell M6800 with Nvidia Quadro K3100M).
I found on the web somebody who stated to have the solution.
Solution provided, remove the ~/.config/monitor.xml file.
Tried that but then the light went out completely (no graphics anymore, only a 
command line prompt).
Even restorting the monitor.xml file could not make it work again.

Will try the trick with the /etc/init/gpu-manager.conf file.

Kind regadrs,

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

Title:
  xorg.conf overwritten by booting system

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


  1   2   >