[Kernel-packages] [Bug 1876632] Re: [nvidia] Corrupted/missing shell textures when switching users or resuming from suspend

2023-11-28 Thread Moritz Strübe
I think we have some options to fix this. Yet, which would be a solution that could be packaged? If I understand https://download.nvidia.com/XFree86/Linux-x86_64/510.54/README/powermanagement.html correctly there are the following options: Keep the GPU-Memory Running ===

[Kernel-packages] [Bug 1876632] Re: [nvidia] Corrupted/missing shell textures when switching users or resuming from suspend

2023-11-21 Thread Daniel van Vugt
Yes the solution in comment 10 is indirectly mentioned above in [Workarounds], but it's not very obvious: https://download.nvidia.com/XFree86/Linux-x86_64/510.54/README/powermanagement.html#PreserveAllVide719f0 -- You received this bug notification because you are a member of Kernel Packages,

[Kernel-packages] [Bug 1876632] Re: [nvidia] Corrupted/missing shell textures when switching users or resuming from suspend

2023-11-21 Thread Henrik Harmsen
Daniel, I tried setting that threshold to zero but it made the desktop apps unstable after coming back from resume (Nvidia 3080Ti). Maybe it doesn't work on desktop GPUs. So I went back to the solution I wrote about in comment 10. Maybe that solution should be used to solve this problem? It

[Kernel-packages] [Bug 1876632] Re: [nvidia] Corrupted/missing shell textures when switching users or resuming from suspend

2023-11-21 Thread Daniel van Vugt
This sounds relevant: > This threshold can be set to 0 in order to prevent the video memory from being turned off. https://download.nvidia.com/XFree86/Linux-x86_64/535.129.03/README/dynamicpowermanagement.html#VidMemThreshold -- You received this bug notification because you are a member of

[Kernel-packages] [Bug 1876632] Re: [nvidia] Corrupted/missing shell textures when switching users or resuming from suspend

2023-10-24 Thread Timo Aaltonen
nvidia 440 etc are EOL ** Changed in: nvidia-graphics-drivers-440 (Ubuntu) Status: Triaged => Won't Fix ** Changed in: nvidia-graphics-drivers-460 (Ubuntu) Status: Triaged => Won't Fix ** Changed in: nvidia-graphics-drivers-510 (Ubuntu) Status: Triaged => Won't Fix -- You

[Kernel-packages] [Bug 1876632] Re: [nvidia] Corrupted/missing shell textures when switching users or resuming from suspend

2023-09-17 Thread Daniel van Vugt
** Also affects: nvidia-graphics-drivers-535 (Ubuntu) Importance: Undecided Status: New ** Changed in: nvidia-graphics-drivers-535 (Ubuntu) Importance: Undecided => High ** Changed in: nvidia-graphics-drivers-535 (Ubuntu) Status: New => Triaged ** Changed in:

[Kernel-packages] [Bug 1876632] Re: [nvidia] Corrupted/missing shell textures when switching users or resuming from suspend

2023-01-09 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: nvidia-graphics-drivers-525 (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to nvidia-graphics-drivers-460 in

[Kernel-packages] [Bug 1876632] Re: [nvidia] Corrupted/missing shell textures when switching users or resuming from suspend

2023-01-08 Thread Daniel van Vugt
** Tags added: kinetic ** Also affects: nvidia-graphics-drivers-525 (Ubuntu) Importance: Undecided Status: New ** Changed in: nvidia-graphics-drivers-525 (Ubuntu) Importance: Undecided => High -- You received this bug notification because you are a member of Kernel Packages, which

[Kernel-packages] [Bug 1876632] Re: [nvidia] Corrupted/missing shell textures when switching users or resuming from suspend

2022-11-21 Thread Daniel van Vugt
'nvidia-wayland' means a bug only happens on Wayland, which this does not. We use the 'wayland' tag to indicate that a bug can occur on Wayland, which was already done in comment #9. ** Tags removed: nvidia-wayland -- You received this bug notification because you are a member of Kernel

[Kernel-packages] [Bug 1876632] Re: [nvidia] Corrupted/missing shell textures when switching users or resuming from suspend

2022-11-20 Thread jeremyszu
** Tags added: nvidia-wayland -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to nvidia-graphics-drivers-460 in Ubuntu. https://bugs.launchpad.net/bugs/1876632 Title: [nvidia] Corrupted/missing shell textures when switching users or

[Kernel-packages] [Bug 1876632] Re: [nvidia] Corrupted/missing shell textures when switching users or resuming from suspend

2022-11-01 Thread Daniel van Vugt
'Fix Released' is the only supported closed state for upstream bug tasks, even when an upstream bug is closed without a fix. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to nvidia-graphics-drivers-460 in Ubuntu.

[Kernel-packages] [Bug 1876632] Re: [nvidia] Corrupted/missing shell textures when switching users or resuming from suspend

2022-11-01 Thread Henrik Harmsen
Dear Mr Bug Watch Updater: If you are referring to https://gitlab.gnome.org/GNOME/mutter/-/issues/1942 then I would like to inform you that it was closed without fixing and the problem still remains so please explain in what way the fix is released. Thanks. -- You received this bug notification

[Kernel-packages] [Bug 1876632] Re: [nvidia] Corrupted/missing shell textures when switching users or resuming from suspend

2022-11-01 Thread Bug Watch Updater
** Changed in: mutter Status: New => Fix Released -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to nvidia-graphics-drivers-460 in Ubuntu. https://bugs.launchpad.net/bugs/1876632 Title: [nvidia] Corrupted/missing shell textures

[Kernel-packages] [Bug 1876632] Re: [nvidia] Corrupted/missing shell textures when switching users or resuming from suspend

2022-10-29 Thread Bug Watch Updater
** Changed in: gnome-shell Status: Unknown => New -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to nvidia-graphics-drivers-460 in Ubuntu. https://bugs.launchpad.net/bugs/1876632 Title: [nvidia] Corrupted/missing shell textures

[Kernel-packages] [Bug 1876632] Re: [nvidia] Corrupted/missing shell textures when switching users or resuming from suspend

2022-05-20 Thread Bug Watch Updater
** Changed in: mutter Status: Unknown => New -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to nvidia-graphics-drivers-460 in Ubuntu. https://bugs.launchpad.net/bugs/1876632 Title: [nvidia] Corrupted/missing shell textures when

[Kernel-packages] [Bug 1876632] Re: [nvidia] Corrupted/missing shell textures when switching users or resuming from suspend

2022-05-09 Thread Ari
@Sebastian adding both the kernel parameter and the two lines in the nvidia module conf file works for "systemctl suspend" - the machine can now resume OK when on wayland. Curiously though, when I try systemctl suspend-then-hibernate (my default way of suspending), I get the following in dmesg:

[Kernel-packages] [Bug 1876632] Re: [nvidia] Corrupted/missing shell textures when switching users or resuming from suspend

2022-05-09 Thread Sebastian Heiden
Try nvidia.NVreg_PreserveVideoMemoryAllocations=1 as suggested by @vanvugt You may wanna change the file path of the temporary file thought for better performance. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to

[Kernel-packages] [Bug 1876632] Re: [nvidia] Corrupted/missing shell textures when switching users or resuming from suspend

2022-05-09 Thread Ari
Unfortunately nvidia.NVreg_EnableS0ixPowerManagement=1 did not work on an old Asus Rog Maximus VIII mobo (Kabylake), nvidia 1650. I also tried this: /etc/modprobe.d/nvidia-power-management.conf options nvidia NVreg_PreserveVideoMemoryAllocations=1 and it didn't work either. Missing textures

[Kernel-packages] [Bug 1876632] Re: [nvidia] Corrupted/missing shell textures when switching users or resuming from suspend

2022-05-09 Thread Sebastian Heiden
I'm using a RTX 3080 Ti on a Z690 Desktop motherboard and enabling the S0ix option fixed the problem for me. I've added the following option "nvidia.NVreg_EnableS0ixPowerManagement=1" to GRUB_CMDLINE_LINUX_DEFAULT. -- You received this bug notification because you are a member of Kernel

[Kernel-packages] [Bug 1876632] Re: [nvidia] Corrupted/missing shell textures when switching users or resuming from suspend

2022-04-26 Thread Henrik Harmsen
Daniel: Desktop motherboards usually do not support "S0ix-based power management" so the other option is the only viable one for desktops. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to nvidia-graphics-drivers-460 in Ubuntu.

[Kernel-packages] [Bug 1876632] Re: [nvidia] Corrupted/missing shell textures when switching users or resuming from suspend

2022-04-25 Thread Daniel van Vugt
I've seen most people talking about the first solution that Nvidia documents, which is probably slow: "Save allocations in an unnamed temporary file" The faster solution would be: "S0ix-based power management" Both are documented in

[Kernel-packages] [Bug 1876632] Re: [nvidia] Corrupted/missing shell textures when switching users or resuming from suspend

2022-04-25 Thread Marcos Alano
I executed 'journalctl -b -f' to get the logs (they are in the file) and executed systemctl suspend. ** Attachment added: "gistfile1.txt" https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/1876632/+attachment/5583559/+files/gistfile1.txt -- You received this bug notification because you

[Kernel-packages] [Bug 1876632] Re: [nvidia] Corrupted/missing shell textures when switching users or resuming from suspend

2022-04-25 Thread jeremyszu
Hi Macros, would you please share the output of `journalctl -b` when issuing happening? -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to nvidia-graphics-drivers-460 in Ubuntu. https://bugs.launchpad.net/bugs/1876632 Title: [nvidia]

[Kernel-packages] [Bug 1876632] Re: [nvidia] Corrupted/missing shell textures when switching users or resuming from suspend

2022-04-25 Thread Marcos Alano
@os369510, Here is the content of the file as requested. ``` ResmanDebugLevel: 4294967295 RmLogonRC: 1 ModifyDeviceFiles: 1 DeviceFileUID: 0 DeviceFileGID: 0 DeviceFileMode: 438 InitializeSystemMemoryAllocations: 1 UsePageAttributeTable: 4294967295 EnableMSI: 1 RegisterForACPIEvents: 1

[Kernel-packages] [Bug 1876632] Re: [nvidia] Corrupted/missing shell textures when switching users or resuming from suspend

2022-04-25 Thread jeremyszu
Hi Marcos, For bug description: --- [Workarounds] * Always log into a Xorg session and if corruption occurs then type: Alt+F2, R, Enter * https://download.nvidia.com/XFree86/Linux-x86_64/510.54/README/powermanagement.html#PreserveAllVide719f0 --- It should be workaround by adding

[Kernel-packages] [Bug 1876632] Re: [nvidia] Corrupted/missing shell textures when switching users or resuming from suspend

2022-04-24 Thread Marcos Alano
I tried to set both options mentioned on comment #11 and with X11 after resume I got corrupted lock screen and corrupted shell. I had to restart shell with alt+f2 and type r. Furthermore, I think this is the kind of problem the bug talks about. I have a laptop with an option on BIOS to always

[Kernel-packages] [Bug 1876632] Re: [nvidia] Corrupted/missing shell textures when switching users or resuming from suspend

2022-04-24 Thread jeremyszu
For comment#10: NVreg_TemporaryFilePath means to use the specific path, if you didn't specify it then it will default to use /tmp. (if your /tmp has enough space to use then it's fine) FWIK, the firefox is now from snap and the stable firefox is disable Wayland. Thus, it could be the other

[Kernel-packages] [Bug 1876632] Re: [nvidia] Corrupted/missing shell textures when switching users or resuming from suspend

2022-04-23 Thread Stephen
Blank screen on 22.04 after upgrade. Re-installed nvidia 510 driver. Even adding the following to /etc/modprobe.d/nvidia-power- management.conf does not fix the problem. options nvidia NVreg_TemporaryFilePath=/run options nvidia NVreg_PreserveVideoMemoryAllocations=1 Tried both gdm3 and

[Kernel-packages] [Bug 1876632] Re: [nvidia] Corrupted/missing shell textures when switching users or resuming from suspend

2022-04-23 Thread Henrik Harmsen
I can confirm that adding this file fixes the problem on Ubuntu 22.04 (using Nvidia 3080 card): $ cat /etc/modprobe.d/nvidia-power-management.conf options nvidia NVreg_PreserveVideoMemoryAllocations=1 I did not have to set NVreg_TemporaryFilePath With this set I can also use Wayland but that

[Kernel-packages] [Bug 1876632] Re: [nvidia] Corrupted/missing shell textures when switching users or resuming from suspend

2022-04-22 Thread jeremyszu
Copied the finding from https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/1969142 since this bug is created long time. Pieces of log ``` 四 14 22:55:10 kernel: NVRM: GPU at PCI::01:00: GPU-581d669f-ec00-4588-ca5f-15ab24136974 四 14 22:55:10 kernel: NVRM: Xid (PCI::01:00): 13, pid=798,

[Kernel-packages] [Bug 1876632] Re: [nvidia] Corrupted/missing shell textures when switching users or resuming from suspend

2022-04-22 Thread Yuan-Chen Cheng
** Tags added: oem-priority -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to nvidia-graphics-drivers-460 in Ubuntu. https://bugs.launchpad.net/bugs/1876632 Title: [nvidia] Corrupted/missing shell textures when switching users or

[Kernel-packages] [Bug 1876632] Re: [nvidia] Corrupted/missing shell textures when switching users or resuming from suspend

2022-04-22 Thread jeremyszu
** Also affects: oem-priority Importance: Undecided Status: New ** Changed in: oem-priority Importance: Undecided => Critical ** Changed in: oem-priority Status: New => Confirmed -- You received this bug notification because you are a member of Kernel Packages, which is

[Kernel-packages] [Bug 1876632] Re: [nvidia] Corrupted/missing shell textures when switching users or resuming from suspend

2022-04-19 Thread Daniel van Vugt
** Description changed: [Impact] The Nvidia driver corrupts and/or forgets its textures when resuming from suspend, by design. Documented here: https://www.khronos.org/registry/OpenGL/extensions/NV/NV_robustness_video_memory_purge.txt Although it's so awkward to implement

[Kernel-packages] [Bug 1876632] Re: [nvidia] Corrupted/missing shell textures when switching users or resuming from suspend

2022-04-19 Thread Daniel van Vugt
** Tags added: jammy -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to nvidia-graphics-drivers-460 in Ubuntu. https://bugs.launchpad.net/bugs/1876632 Title: [nvidia] Corrupted/missing shell textures when switching users or resuming

[Kernel-packages] [Bug 1876632] Re: [nvidia] Corrupted/missing shell textures when switching users or resuming from suspend

2022-04-19 Thread Daniel van Vugt
** Description changed: + [Impact] + The Nvidia driver corrupts and/or forgets its textures when resuming from suspend, by design. Documented here: https://www.khronos.org/registry/OpenGL/extensions/NV/NV_robustness_video_memory_purge.txt Although it's so awkward to implement

[Kernel-packages] [Bug 1876632] Re: [nvidia] Corrupted/missing shell textures when switching users or resuming from suspend

2022-04-19 Thread Daniel van Vugt
** Description changed: The Nvidia driver corrupts and/or forgets its textures when resuming from suspend, by design. Documented here: https://www.khronos.org/registry/OpenGL/extensions/NV/NV_robustness_video_memory_purge.txt Although it's so awkward to implement everywhere that

[Kernel-packages] [Bug 1876632] Re: [nvidia] Corrupted/missing shell textures when switching users or resuming from suspend

2022-04-19 Thread Daniel van Vugt
** Changed in: nvidia-graphics-drivers-510 (Ubuntu) Importance: Undecided => High ** Changed in: nvidia-graphics-drivers-510 (Ubuntu) Status: Confirmed => Triaged ** Changed in: nvidia-graphics-drivers-470 (Ubuntu) Importance: Undecided => High ** Changed in:

[Kernel-packages] [Bug 1876632] Re: [nvidia] Corrupted/missing shell textures when switching users or resuming from suspend

2022-04-19 Thread Daniel van Vugt
** Description changed: + The Nvidia driver corrupts and/or forgets its textures when resuming + from suspend. Unfortunately for the moment it's a "feature" of the + Nvidia driver documented here: + + https://www.khronos.org/registry/OpenGL/extensions/NV/NV_robustness_video_memory_purge.txt +

[Kernel-packages] [Bug 1876632] Re: [nvidia] Corrupted/missing shell textures when switching users or resuming from suspend

2022-03-31 Thread Daniel van Vugt
** Tags added: resume suspend-resume -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to nvidia-graphics-drivers-460 in Ubuntu. https://bugs.launchpad.net/bugs/1876632 Title: [nvidia] Corrupted/missing shell textures when switching users

[Kernel-packages] [Bug 1876632] Re: [nvidia] Corrupted/missing shell textures when switching users or resuming from suspend

2022-03-31 Thread Daniel van Vugt
See also bug 1855757. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to nvidia-graphics-drivers-460 in Ubuntu. https://bugs.launchpad.net/bugs/1876632 Title: [nvidia] Corrupted/missing shell textures when switching users or resuming

[Kernel-packages] [Bug 1876632] Re: [nvidia] Corrupted/missing shell textures when switching users or resuming from suspend

2022-03-22 Thread Daniel van Vugt
I wonder if Nvidia is now working on this... "Fixed a regression that could cause OpenGL applications to hang or render incorrectly after suspend/resume cycles or VT-switches" [https://www.nvidia.com/download/driverResults.aspx/187162/en-us] -- You received this bug notification because you

[Kernel-packages] [Bug 1876632] Re: [nvidia] Corrupted/missing shell textures when switching users or resuming from suspend

2022-03-21 Thread Sebastian Heiden
** Also affects: nvidia-graphics-drivers-510 (Ubuntu) Importance: Undecided Status: New ** Changed in: nvidia-graphics-drivers-510 (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to

[Kernel-packages] [Bug 1876632] Re: [nvidia] Corrupted/missing shell textures when switching users or resuming from suspend

2022-02-13 Thread Daniel van Vugt
** Bug watch added: gitlab.gnome.org/GNOME/mutter/-/issues #1942 https://gitlab.gnome.org/GNOME/mutter/-/issues/1942 ** Also affects: mutter via https://gitlab.gnome.org/GNOME/mutter/-/issues/1942 Importance: Unknown Status: Unknown -- You received this bug notification because

[Kernel-packages] [Bug 1876632] Re: [nvidia] Corrupted/missing shell textures when switching users or resuming from suspend

2021-10-18 Thread Daniel van Vugt
** Summary changed: - [nvidia] Corrupted shell textures when switching users or resuming from suspend + [nvidia] Corrupted/missing shell textures when switching users or resuming from suspend -- You received this bug notification because you are a member of Kernel Packages, which is