[Desktop-packages] [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 Desktop
Packages, which is subscribed to ubuntu-drivers-common in Ubuntu.
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 (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 

[Desktop-packages] [Bug 1220426] Re: [nvidia-prime]Freeze while using touchpad

2015-03-09 Thread Keith Helms
Try building with dpkg-buildpackage -b.

That command appears to complete with no errors.   Afterwards I have the
following .deb files in the parent directory:

xorg-server-source-lts-utopic_1.16.0-1ubuntu1.2~trusty2_all.deb
xserver-xephyr-lts-utopic_1.16.0-1ubuntu1.2~trusty2_amd64.deb
xserver-xorg-core-lts-utopic_1.16.0-1ubuntu1.2~trusty2_amd64.deb
xserver-xorg-core-lts-utopic-dbg_1.16.0-1ubuntu1.2~trusty2_amd64.deb
xserver-xorg-dev-lts-utopic_1.16.0-1ubuntu1.2~trusty2_amd64.deb
xwayland-lts-utopic_1.16.0-1ubuntu1.2~trusty2_amd64.deb

The instructions from Patrick Mertens in posting #212 said

There should now be 11 *.deb files in that folder (run ll *.deb to check).
As nielsmayer pointed out we need to install only two: xserver-common_1.15.1 
and xserver-xorg-core_1.15.1 (The exakt file names vary depending on your 
distro! Just type the first few letters and hit the TAB key to get them typing 
this command):
~/Downloads$ sudo dpkg -i ./xserver-common_1.15.1-0ubuntu2.3_all.deb 
./xserver-xorg-core_1.15.1-0ubuntu2.3_amd64.deb

There is an xorg-core deb, but no xserver-common deb.  Should I install
the xephyr deb instead?   The xwayland one?

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to xorg-server in Ubuntu.
https://bugs.launchpad.net/bugs/1220426

Title:
  [nvidia-prime]Freeze while using touchpad

Status in X.Org X server:
  Fix Released
Status in xorg-server package in Ubuntu:
  Triaged

Bug description:
  Using Asus N43SL laptop as an example, with nvidia-prime installed, so
  the dedicated NVIDIA graphics card (GT 540m) is in use, once in a
  while, my screen will freeze when I use my touchpad.

  WORKAROUND: Use USB mouse.

  WORKAROUND: Uninstall nvidia-prime and use integrated graphics.

  WORKAROUND: Do a VT switch via Ctrl+Alt+F1 then Ctrl+Alt+F7.

  In the attached Xorg.0.log, you can see synaptics: ETPS/2 Elantech Touchpad: 
touchpad found each time I did a VT switch and regained control:
  
https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1220426/+attachment/3801516/+files/Xorg.0.log

  The following upstream report has a patch that addresses this issue:
  https://bugs.freedesktop.org/show_bug.cgi?id=86288

To manage notifications about this bug go to:
https://bugs.launchpad.net/xorg-server/+bug/1220426/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [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 Desktop
Packages, which is subscribed to ubuntu-drivers-common in Ubuntu.
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 

[Desktop-packages] [Bug 1220426] Re: [nvidia-prime]Freeze while using touchpad

2015-03-05 Thread Keith Helms
Okay, I got a lot further this time.   Instead of

sudo apt-get build-dep xorg-server

I used

sudo apt-get build-dep xorg-server-lts-utopic

That installed a bunch of additional packages.   When I executed the
sudo fakeroot debian/rules binary command it ran for a few minutes,
spit out thousands of lines of output, and appeared to compile dozens or
hundreds of modules.   However it got to a point where it failed with
the following messages:

dh_shlibdeps
sed -i 's/libgl1-mesa-glx /libgl1-mesa-glx-lts-utopic /' -i 
debian/xserver-xorg-core-lts-utopic.substvars
sed: can't read debian/xserver-xorg-core-lts-utopic.substvars: No such file or 
directory
make[1]: *** [binary-deb] Error 2

Any suggestions of how to get past this?

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to xorg-server in Ubuntu.
https://bugs.launchpad.net/bugs/1220426

Title:
  [nvidia-prime]Freeze while using touchpad

Status in X.Org X server:
  Fix Released
Status in xorg-server package in Ubuntu:
  Triaged

Bug description:
  Using Asus N43SL laptop as an example, with nvidia-prime installed, so
  the dedicated NVIDIA graphics card (GT 540m) is in use, once in a
  while, my screen will freeze when I use my touchpad.

  WORKAROUND: Use USB mouse.

  WORKAROUND: Uninstall nvidia-prime and use integrated graphics.

  WORKAROUND: Do a VT switch via Ctrl+Alt+F1 then Ctrl+Alt+F7.

  In the attached Xorg.0.log, you can see synaptics: ETPS/2 Elantech Touchpad: 
touchpad found each time I did a VT switch and regained control:
  
https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1220426/+attachment/3801516/+files/Xorg.0.log

  The following upstream report has a patch that addresses this issue:
  https://bugs.freedesktop.org/show_bug.cgi?id=86288

To manage notifications about this bug go to:
https://bugs.launchpad.net/xorg-server/+bug/1220426/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1220426] Re: [nvidia-prime]Freeze while using touchpad

2015-03-05 Thread Keith Helms
I recently installed Ubuntu 14.04.2 and the release notes include In an
effort to support a wider variety of hardware on an existing LTS
release, the 14.04.2 point release will ship with an updated kernel and
X stack by default. This newer hardware enablement stack will be
comprised of the kernel and X stack from the Utopic 14.10 release. 

I was able to build and use the patch on my Xubuntu 14.04 system, but I
get errors following the instructions on Ubuntu 14.04.2.

sudo apt-get build-dep xorg-server gives me:
The following packages have unmet dependencies:
 libegl1-mesa : Depends: libgbm1 (= 7.11~1) but it is not going to be installed
 libqt5gui5 : Depends: libgbm1 (= 8.1~0) but it is not going to be installed

If I download xorg-server-source, that's the 1.15.1 version and it
doesn't match what I'm running (1.16.0), right?  I tried downloading the
xorg-server-source-lts-utopic package, but it won't build.

sudo fakeroot debian/rules binary  gives me:
debian/rules:17: /usr/share/quilt/quilt.make: No such file or directory
make: *** No rule to make target `/usr/share/quilt/quilt.make'.  Stop.

I tried adding the PPA using utopic main and when I selected the xorg-
common package from it, it appeared it was going to uninstall dozens of
packages, so I didn't proceed with that.

How do I get this working on 14.04.2?

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to xorg-server in Ubuntu.
https://bugs.launchpad.net/bugs/1220426

Title:
  [nvidia-prime]Freeze while using touchpad

Status in X.Org X server:
  Fix Released
Status in xorg-server package in Ubuntu:
  Triaged

Bug description:
  Using Asus N43SL laptop as an example, with nvidia-prime installed, so
  the dedicated NVIDIA graphics card (GT 540m) is in use, once in a
  while, my screen will freeze when I use my touchpad.

  WORKAROUND: Use USB mouse.

  WORKAROUND: Uninstall nvidia-prime and use integrated graphics.

  WORKAROUND: Do a VT switch via Ctrl+Alt+F1 then Ctrl+Alt+F7.

  In the attached Xorg.0.log, you can see synaptics: ETPS/2 Elantech Touchpad: 
touchpad found each time I did a VT switch and regained control:
  
https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1220426/+attachment/3801516/+files/Xorg.0.log

  The following upstream report has a patch that addresses this issue:
  https://bugs.freedesktop.org/show_bug.cgi?id=86288

To manage notifications about this bug go to:
https://bugs.launchpad.net/xorg-server/+bug/1220426/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp