[Desktop-packages] [Bug 1809407] Re: [nvidia] Corrupted wallpaper after resuming from suspend or hibernation

2020-03-12 Thread Juan Carlos Carvajal Bermúdez
I just fixed my issue with this script:
https://slimbook.es/tutoriales/linux/422-fixing-the-broken-desktop-after-resuming-from-a-suspension-in-gnome

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

Title:
  [nvidia] Corrupted wallpaper after resuming from suspend or
  hibernation

Status in GNOME Shell:
  Fix Released
Status in mutter package in Ubuntu:
  Fix Released
Status in mutter source package in Disco:
  Won't Fix
Status in mutter source package in Eoan:
  Fix Released

Bug description:
  [Impact]

  The Nvidia (Xorg) driver corrupts the desktop wallpaper (by design
  (1)) upon resuming from suspend. This creates a poor user experience
  and gives the impression of severe memory corruption.

  (1)
  
https://www.khronos.org/registry/OpenGL/extensions/NV/NV_robustness_video_memory_purge.txt

  [Test Case]

  0. Set up an Nvidia-only system using the proprietary Nvidia Xorg driver.
  1. Suspend and resume the machine.
  Expect: The wallpaper still looks like it did before suspending.

  [Regression Potential]

  Low. The exact same patch is in Gnome 3.34 (Ubuntu 19.10) already and
  has been used for a couple of months without issue.

  [Original Report]

  https://trello.com/c/i5hENxSO

  Every other wake from sleep presents a corrupted screen with no unlock
  app.  There's a dock and system menu on a black background with pixel
  garbage.  Some personal information in the dock's large window
  thumbnails.  Bitmap garbage flashes on the screen when interacting
  with anything.  Only workaround is doing another sleep-wake cycle.

  ProblemType: Bug
  DistroRelease: Ubuntu 18.10
  Package: xorg 1:7.7+19ubuntu8
  ProcVersionSignature: Ubuntu 4.18.0-12.13-generic 4.18.17
  Uname: Linux 4.18.0-12-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  .proc.driver.nvidia.gpus..4b.00.0: Error: [Errno 21] Is a directory: 
'/proc/driver/nvidia/gpus/:4b:00.0'
  .proc.driver.nvidia.registry: Binary: ""
  .proc.driver.nvidia.version:
   NVRM version: NVIDIA UNIX x86_64 Kernel Module  390.87  Tue Aug 21 12:33:05 
PDT 2018
   GCC version:  gcc version 8.2.0 (Ubuntu 8.2.0-7ubuntu1)
  ApportVersion: 2.20.10-0ubuntu13.1
  Architecture: amd64
  BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
  CompizPlugins: No value set for 
`/apps/compiz-1/general/screen0/options/active_plugins'
  CompositorRunning: None
  CurrentDesktop: ubuntu:GNOME
  Date: Thu Dec 20 22:19:29 2018
  DistUpgraded: 2018-12-01 23:07:50,385 ERROR got error from PostInstallScript 
./xorg_fix_proprietary.py (g-exec-error-quark: Failed to execute child process 
“./xorg_fix_proprietary.py” (No such file or directory) (8))
  DistroCodename: cosmic
  DistroVariant: ubuntu
  DkmsStatus:
   nvidia, 390.87, 4.18.0-11-generic, x86_64: installed
   nvidia, 390.87, 4.18.0-12-generic, x86_64: installed
   virtualbox, 5.2.18, 4.18.0-11-generic, x86_64: installed
   virtualbox, 5.2.18, 4.18.0-12-generic, x86_64: installed
  ExtraDebuggingInterest: Yes, if not too technical
  GraphicsCard:
   NVIDIA Corporation GP106 [GeForce GTX 1060 3GB] [10de:1c02] (rev a1) 
(prog-if 00 [VGA controller])
     Subsystem: eVga.com. Corp. GP106 [GeForce GTX 1060 3GB] [3842:6162]
  InstallationDate: Installed on 2018-10-28 (54 days ago)
  InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 
(20180725)
  MachineType: Gigabyte Technology Co., Ltd. Default string
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.18.0-12-generic 
root=UUID=a8c839e7-c579-4699-999a-748f804ff9e0 ro quiet splash vt.handoff=1
  SourcePackage: xorg
  Symptom: display
  UpgradeStatus: Upgraded to cosmic on 2018-12-02 (18 days ago)
  dmi.bios.date: 06/08/2017
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: F24
  dmi.board.asset.tag: Default string
  dmi.board.name: X99P-SLI-CF
  dmi.board.vendor: Gigabyte Technology Co., Ltd.
  dmi.board.version: x.x
  dmi.chassis.asset.tag: Default string
  dmi.chassis.type: 3
  dmi.chassis.vendor: Default string
  dmi.chassis.version: Default string
  dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvrF24:bd06/08/2017:svnGigabyteTechnologyCo.,Ltd.:pnDefaultstring:pvrDefaultstring:rvnGigabyteTechnologyCo.,Ltd.:rnX99P-SLI-CF:rvrx.x:cvnDefaultstring:ct3:cvrDefaultstring:
  dmi.product.family: Default string
  dmi.product.name: Default string
  dmi.product.sku: Default string
  dmi.product.version: Default string
  dmi.sys.vendor: Gigabyte Technology Co., Ltd.
  version.compiz: compiz N/A
  version.libdrm2: libdrm2 2.4.95-1
  version.libgl1-mesa-dri: libgl1-mesa-dri 18.2.2-0ubuntu1
  version.libgl1-mesa-glx: libgl1-mesa-glx 18.2.2-0ubuntu1
  version.nvidia-graphics-drivers: nvidia-graphics-drivers-* N/A
  version.xserver-xorg-core: xserver-xorg-core 2:1.20.1-3ubuntu2.1
  

[Desktop-packages] [Bug 1276123] Re: Xorg loads wrong libglx.so

2017-09-10 Thread Juan Carlos Carvajal Bermúdez
** Also affects: nvidia-drivers-ubuntu
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to nvidia-graphics-drivers-304 in Ubuntu.
https://bugs.launchpad.net/bugs/1276123

Title:
  Xorg loads wrong libglx.so

Status in NVIDIA Drivers Ubuntu:
  New
Status in nvidia-graphics-drivers-304 package in Ubuntu:
  Confirmed

Bug description:
  This bug concerns all versions of the nvidia-packages I have tested so
  far, actually since ubuntu 8.something...

  If I install the proprietary nvidia drivers, I can properly set up my
  xorg.conf and the Xorg driver as well as the kernel module load
  correctly. However, when using unity or anything requiring libglx.so,
  X simply crashes. The reason is that X is loading the wrong libglx.so:

  grep glx /var/log/Xorg.0.log

  [ 11312.722] (II) "glx" will be loaded. This was enabled by default and also 
specified in the config file.
  [ 11312.722] (II) LoadModule: "glx"
  [ 11312.722] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
  [ 11312.722] (II) Module glx: vendor="X.Org Foundation"

  My first solution was to move
  /usr/lib/xorg/modules/extensions/libglx.so out of the way and to
  replace it with a symlink to /usr/lib/nvidia-VERSION/xorg/libglx.so.
  However, as you might imagine, this quick-and-dirty fix has to be
  redone each time that MESA gets updated, as my symlink is destroyed. I
  have now found a better solution, which consists in telling Xorg where
  the right library is in /etc/X11/xorg.conf

  Section "Files"
  ModulePath  "/usr/lib/nvidia-VERSION/xorg"
  ModulePath  "/usr/lib/xorg/modules"
  ...
  EndSection

  nvidia-VERSION has to be replaced by the proper nvidia version (such
  as nvidia-current). As a result, X loads the right libglx.so.

  This solution could be included in all nvidia- packages, so that the
  problem does not occur any longer. I have found other bug reports from
  other distributions about this, but most are solved by moving
  libglx.so out of the way.

  Just for information, here's some details about my system:
  philippe@saaba:~$ dpkg -l xorg
  Gewünscht=Unbekannt/Installieren/R=Entfernen/P=Vollständig Löschen/Halten
  | Status=Nicht/Installiert/Config/U=Entpackt/halb konFiguriert/
   Halb installiert/Trigger erWartet/Trigger anhängig
  |/ Fehler?=(kein)/R=Neuinstallation notwendig (Status, Fehler: GROSS=schlecht)
  ||/ Name   Version  Architektur  Beschreibung
  +++-==---=
  ii  xorg   1:7.7+1ubunt amd64X.Org X Window System

  philippe@saaba:~$ lspci | grep VGA
  02:00.0 VGA compatible controller: NVIDIA Corporation G96M [GeForce 9600M GT] 
(rev a1)

  philippe@saaba:/var/log$ lsb_release -rd
  Description:  Ubuntu 13.10
  Release:  13.10

  nvidia-current is at 304.88-0ubuntu8 0, I also had the problem with
  nvidia-319-updates 319.60-0ubuntu1 0

To manage notifications about this bug go to:
https://bugs.launchpad.net/nvidia-drivers-ubuntu/+bug/1276123/+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 1716104] [NEW] can't get nvidia to work

2017-09-09 Thread Juan Carlos Carvajal Bermúdez
Public bug reported:

I can't get the nvidia driver to work.

When I type "prime-select intel" the system works.

When I type "prime-select nvidia" glxinfo breaks.


lsmod | grep nvidia
nvidia_uvm688128  0
nvidia_drm 49152  0
nvidia_modeset843776  1 nvidia_drm
nvidia  12984320  2 nvidia_modeset,nvidia_uvm
drm_kms_helper155648  2 i915,nvidia_drm
drm   364544  4 i915,drm_kms_helper,nvidia_drm


> BUT: Xorg.0.log has the following errors:

[   478.562] (EE) Failed to load module "nvidia" (module does not exist, 0)
[   478.562] (EE) Failed to load module "nouveau" (module does not exist, 0)
[   478.563] (EE) Failed to load module "nvidia" (module does not exist, 0)
[   478.563] (EE) Failed to load module "nouveau" (module does not exist, 0)
[   478.572] (EE) open /dev/fb0: No such file or directory
[   478.572] (EE) open /dev/fb0: No such file or directory
[   478.572] (EE) open /dev/fb0: No such file or directory
[   478.572] (EE) open /dev/fb0: No such file or directory
[   478.572] (EE) Screen 0 deleted because of no matching config section.
[   478.572] (EE) Screen 0 deleted because of no matching config section.
[   478.572] (EE) Screen 0 deleted because of no matching config section.
[   478.572] (EE) Screen 0 deleted because of no matching config section.
[   478.699] (EE) AIGLX: reverting to software rendering


> I think I need to generate a valid xorg.conf file


> BUT: when I execute sudo X -configure I get the following error at the 
end:


List of video drivers:
amdgpu
ati
cirrus
intel
mach64
mga
neomagic
openchrome
qxl
r128
radeon
savage
siliconmotion
sisusb
trident
vmware
vesa
modesetting
fbdev
tdfx
(++) Using config file: "/home/jccb/xorg.conf.new"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
Number of created screens does not match number of detected devices.
  Configuration failed.
(EE) Server terminated with error (2). Closing log file.

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: xorg 1:7.7+13ubuntu3
ProcVersionSignature: Ubuntu 4.4.0-93.116-generic 4.4.79
Uname: Linux 4.4.0-93-generic x86_64
NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
.proc.driver.nvidia.gpus..01.00.0: Error: [Errno 21] Is a directory: 
'/proc/driver/nvidia/gpus/:01:00.0'
.proc.driver.nvidia.registry: Binary: ""
.proc.driver.nvidia.version:
 NVRM version: NVIDIA UNIX x86_64 Kernel Module  384.69  Wed Aug 16 19:34:54 
PDT 2017
 GCC version:  gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4)
.tmp.unity_support_test.1:
 
ApportVersion: 2.20.1-0ubuntu2.10
Architecture: amd64
CompizPlugins: No value set for 
`/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: None
Date: Sat Sep  9 11:25:06 2017
DistUpgraded: Fresh install
DistroCodename: xenial
DistroVariant: ubuntu
DkmsStatus:
 bbswitch, 0.8, 4.4.0-93-generic, x86_64: installed
 nvidia-384, 384.69, 4.4.0-93-generic, x86_64: installed
 webcamstudio, 0.73, 3.13.0-101-generic, x86_64: installed
 webcamstudio, 0.73, 4.4.0-92-generic, x86_64: installed
 webcamstudio, 0.73, 4.4.0-93-generic, x86_64: installed
ExtraDebuggingInterest: Yes
GraphicsCard:
 Intel Corporation 4th Gen Core Processor Integrated Graphics Controller 
[8086:0416] (rev 06) (prog-if 00 [VGA controller])
   Subsystem: Micro-Star International Co., Ltd. [MSI] 4th Gen Core Processor 
Integrated Graphics Controller [1462:1113]
   Subsystem: Micro-Star International Co., Ltd. [MSI] GM108M [GeForce 840M] 
[1462:1113]
InstallationDate: Installed on 2015-01-23 (960 days ago)
InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.2)
MachineType: Micro-Star International Co., Ltd. GP60 2PE
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-93-generic 
root=UUID=da904324-ef1b-4408-8fe7-543a661e7464 ro nomodeset=1 splash quiet
Renderer: Software
SourcePackage: xorg
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 10/23/2014
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: E16GHIMS.10B
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: MS-16GH
dmi.board.vendor: Micro-Star International Co., Ltd.
dmi.board.version: REV:1.0
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvrE16GHIMS.10B:bd10/23/2014:svnMicro-StarInternationalCo.,Ltd.:pnGP602PE:pvrREV1.0:rvnMicro-StarInternationalCo.,Ltd.:rnMS-16GH:rvrREV1.0:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
dmi.product.name: GP60 2PE
dmi.product.version: REV:1.0
dmi.sys.vendor: Micro-Star International Co., Ltd.
nvidia-settings:
 ERROR: Error querying enabled displays on GPU 0 (Missing Extension).
 
 
 ERROR: Error querying connected 

[Desktop-packages] [Bug 1715633] [NEW] nvidia drivers...

2017-09-07 Thread Juan Carlos Carvajal Bermúdez
Public bug reported:

I'm trying to install the nvidia driver since days. I'm afraid that one
of the "displays" (the intel VGA one) is not working anymore. At least
it appears unclaimed with or without the nvidia driver.


*** ANY HELP IS HIGHLY APPREACIATED, THANK YOU ***


ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: xorg 1:7.7+13ubuntu3
ProcVersionSignature: Ubuntu 4.4.0-93.116-generic 4.4.79
Uname: Linux 4.4.0-93-generic x86_64
NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
.proc.driver.nvidia.gpus..01.00.0: Error: [Errno 21] Is a directory: 
'/proc/driver/nvidia/gpus/:01:00.0'
.proc.driver.nvidia.registry: Binary: ""
.proc.driver.nvidia.version:
 NVRM version: NVIDIA UNIX x86_64 Kernel Module  381.26.13  Wed Aug 16 04:02:47 
PDT 2017
 GCC version:  gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4)
ApportVersion: 2.20.1-0ubuntu2.10
Architecture: amd64
CompizPlugins: No value set for 
`/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: None
CurrentDesktop: GNOME-Flashback:Unity
Date: Thu Sep  7 14:54:16 2017
DistUpgraded: Fresh install
DistroCodename: xenial
DistroVariant: ubuntu
DkmsStatus:
 bbswitch, 0.8, 4.4.0-93-generic, x86_64: installed
 nvidia-381, 381.26.13, 4.4.0-93-generic, x86_64: installed
 webcamstudio, 0.73, 3.13.0-101-generic, x86_64: installed
 webcamstudio, 0.73, 4.4.0-92-generic, x86_64: installed
 webcamstudio, 0.73, 4.4.0-93-generic, x86_64: installed
ExtraDebuggingInterest: Yes
GconfCompiz:
 /apps/compiz-1/plugins:
   /apps/compiz-1/plugins/unityshell:
/apps/compiz-1/plugins/unityshell/screen0:
 /apps/compiz-1/plugins/unityshell/screen0/options:
  devices_option = 0
GraphicsCard:
 Intel Corporation 4th Gen Core Processor Integrated Graphics Controller 
[8086:0416] (rev 06) (prog-if 00 [VGA controller])
   Subsystem: Micro-Star International Co., Ltd. [MSI] 4th Gen Core Processor 
Integrated Graphics Controller [1462:1113]
   Subsystem: Micro-Star International Co., Ltd. [MSI] GM108M [GeForce 840M] 
[1462:1113]
InstallationDate: Installed on 2015-01-23 (958 days ago)
InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.2)
MachineType: Micro-Star International Co., Ltd. GP60 2PE
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-93-generic 
root=UUID=da904324-ef1b-4408-8fe7-543a661e7464 ro nomodeset=1 splash quiet
SourcePackage: xorg
UnitySupportTest: Error: command ['/usr/lib/nux/unity_support_test', '-p', 
'-f'] failed with exit code 5: Error: GLX is not available on the system
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 10/23/2014
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: E16GHIMS.10B
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: MS-16GH
dmi.board.vendor: Micro-Star International Co., Ltd.
dmi.board.version: REV:1.0
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvrE16GHIMS.10B:bd10/23/2014:svnMicro-StarInternationalCo.,Ltd.:pnGP602PE:pvrREV1.0:rvnMicro-StarInternationalCo.,Ltd.:rnMS-16GH:rvrREV1.0:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
dmi.product.name: GP60 2PE
dmi.product.version: REV:1.0
dmi.sys.vendor: Micro-Star International Co., Ltd.
version.compiz: compiz 1:0.9.12.2+16.04.20160823-0ubuntu1
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.76-1~ubuntu16.04.1
version.libgl1-mesa-dri: libgl1-mesa-dri 17.0.7-0ubuntu0.16.04.1
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 17.0.7-0ubuntu0.16.04.1
version.nvidia-graphics-drivers: nvidia-graphics-drivers-* N/A
version.xserver-xorg-core: xserver-xorg-core 2:1.18.4-0ubuntu0.3
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.10.1-1ubuntu2
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.7.0-1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 
2:2.99.917+git20160325-1ubuntu1.2
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau N/A
xserver.bootTime: Thu Sep  7 14:46:28 2017
xserver.configfile: default
xserver.logfile: /var/log/Xorg.0.log
xserver.version: 2:1.18.4-0ubuntu0.3

** Affects: xorg (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: amd64 apport-bug possible-manual-nvidia-install ubuntu xenial

** Description changed:

  I'm trying to install the nvidia driver since days. I'm afraid that one
  of the "displays" (the intel VGA one) is not working anymore. At least
  it appears unclaimed with or without the nvidia driver.
+ 
+ 
+ *** ANY HELP IS HIGHLY APPREACIATED, THANK YOU ***
+ 
  
  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: xorg 1:7.7+13ubuntu3
  ProcVersionSignature: Ubuntu 4.4.0-93.116-generic 4.4.79
  Uname: Linux 4.4.0-93-generic x86_64
  NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia