[Kernel-packages] [Bug 1894627] Re: [nvidia] Web browser distorted after hibernation/power save when idle
Daniel, do you have a reference to the chrome fix for this? I'm seeing problems in vscode, wine and also in kde settings app. Is it really feasible to fix this in all apps? -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to nvidia-graphics-drivers-440 in Ubuntu. https://bugs.launchpad.net/bugs/1894627 Title: [nvidia] Web browser distorted after hibernation/power save when idle Status in chromium-browser package in Ubuntu: Triaged Status in nvidia-graphics-drivers-340 package in Ubuntu: Won't Fix Status in nvidia-graphics-drivers-440 package in Ubuntu: Won't Fix Bug description: https://bugs.chromium.org/p/chromium/issues/detail?id=791913 --- my laptop goes to hibernation/power saver mode when my computer is idle. every time I bring my computer back up, the screen distorted. I have to close all my browsers. Sometimes, shut down the computer. Description: Ubuntu 20.04.1 LTS Release: 20.04 N: Unable to locate package pkgname ProblemType: Bug DistroRelease: Ubuntu 20.04 Package: xorg 1:7.7+19ubuntu14 ProcVersionSignature: Ubuntu 5.4.0-45.49-generic 5.4.55 Uname: Linux 5.4.0-45-generic x86_64 NonfreeKernelModules: 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.suspend: suspend hibernate resume .proc.driver.nvidia.suspend_depth: default modeset uvm .proc.driver.nvidia.version: NVRM version: NVIDIA UNIX x86_64 Kernel Module 440.100 Fri May 29 08:45:51 UTC 2020 GCC version: gcc version 9.3.0 (Ubuntu 9.3.0-10ubuntu2) ApportVersion: 2.20.11-0ubuntu27.8 Architecture: amd64 BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log' CasperMD5CheckResult: skip CompositorRunning: None CurrentDesktop: ubuntu:GNOME Date: Mon Sep 7 03:33:23 2020 DistUpgraded: Fresh install DistroCodename: focal DistroVariant: ubuntu DkmsStatus: nvidia, 440.100, 5.4.0-42-generic, x86_64: installed nvidia, 440.100, 5.4.0-45-generic, x86_64: installed ExtraDebuggingInterest: Yes GraphicsCard: Intel Corporation UHD Graphics 630 (Mobile) [8086:3e9b] (prog-if 00 [VGA controller]) Subsystem: Hewlett-Packard Company UHD Graphics 630 (Mobile) [103c:8466] NVIDIA Corporation GP107M [GeForce GTX 1050 Ti Mobile] [10de:1c8c] (rev a1) (prog-if 00 [VGA controller]) Subsystem: Hewlett-Packard Company GP107M [GeForce GTX 1050 Ti Mobile] [103c:8466] InstallationDate: Installed on 2020-06-23 (75 days ago) InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423) Lsusb: Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 002: ID 05c8:03ab Cheng Uei Precision Industry Co., Ltd (Foxlink) HP Wide Vision HD Camera Bus 001 Device 003: ID 8087:0aaa Intel Corp. Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub MachineType: HP OMEN by HP Laptop ProcEnviron: TERM=xterm-256color PATH=(custom, no user) XDG_RUNTIME_DIR= LANG=en_US.UTF-8 SHELL=/bin/bash ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.4.0-45-generic root=UUID=98265a4d-5439-415e-b43c-904265a8559a ro quiet splash vt.handoff=7 SourcePackage: xorg Symptom: display UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 04/24/2019 dmi.bios.vendor: AMI dmi.bios.version: F.09 dmi.board.asset.tag: Base Board Asset Tag dmi.board.name: 8466 dmi.board.vendor: HP dmi.board.version: 68.21 dmi.chassis.type: 10 dmi.chassis.vendor: HP dmi.chassis.version: Chassis Version dmi.modalias: dmi:bvnAMI:bvrF.09:bd04/24/2019:svnHP:pnOMENbyHPLaptop:pvr:rvnHP:rn8466:rvr68.21:cvnHP:ct10:cvrChassisVersion: dmi.product.family: 103C_5335KV HP OMEN dmi.product.name: OMEN by HP Laptop dmi.product.sku: 4CC49UA#ABA dmi.sys.vendor: HP modified.conffile..etc.default.apport: # set this to 0 to disable apport, or to 1 to enable it # you can temporarily override this with # sudo service apport start force_start=1 enabled=0 mtime.conffile..etc.default.apport: 2020-06-26T00:47:21.524860 version.compiz: compiz N/A version.libdrm2: libdrm2 2.4.101-2 version.libgl1-mesa-dri: libgl1-mesa-dri 20.0.8-0ubuntu1~20.04.1 version.libgl1-mesa-glx: libgl1-mesa-glx N/A version.nvidia-graphics-drivers: nvidia-graphics-drivers-* N/A version.xserver-xorg-core: xserver-xorg-core 2:1.20.8-2ubuntu2.3 version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:19.1.0-1 version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20200226-1 version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.16-1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1894627/+subscriptions -- Mailing list: https://launchpad.n
[Kernel-packages] [Bug 1876632] Re: [nvidia] Corrupted/missing shell textures when switching users or resuming from suspend
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 brings other problems, such as really stuttery video playback in at least firefox + youtube. So I stayed in X11 for now. Just note that 22.04 will default to Wayland with the above file present so I had to manually choose Ubuntu on X.org in the login screen. -- 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 from suspend Status in GNOME Shell: Unknown Status in Mutter: Unknown Status in OEM Priority Project: Confirmed Status in gnome-shell package in Ubuntu: Triaged Status in mutter package in Ubuntu: Triaged Status in nvidia-graphics-drivers-440 package in Ubuntu: Triaged Status in nvidia-graphics-drivers-460 package in Ubuntu: Triaged Status in nvidia-graphics-drivers-470 package in Ubuntu: Triaged Status in nvidia-graphics-drivers-510 package in Ubuntu: Triaged Bug description: [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 everywhere that realistically compositors will never support it fully. Instead we're waiting for an Nvidia driver fix. *NOTE* that this is actually not a common problem because the system must be using Nvidia as the primary GPU to be affected. So generally only desktop users will encounter the bug, not laptops. And even then, only desktops that use suspend/resume and VT switching may trigger it, if ever. Even in development the bug cannot be reproduced reliably. [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 [Test Plan] [Where problems could occur] [Original Bug Report] I recently installed ubuntu 20.04 on my computer, and I am running into an issue when I do the following: * Login with a user on desktop * Select switch user, and login as second user * Switch user again, and return to original user At this point, text and icons in the menubar / sidebar are corrupted. Text and icons in normal windows appear correctly. I have attached a screenshot of what this looks like. Screenshots: https://imgur.com/a/3ZFDLMc ProblemType: Bug DistroRelease: Ubuntu 20.04 Package: xorg 1:7.7+19ubuntu14 ProcVersionSignature: Ubuntu 5.4.0-28.32-generic 5.4.30 Uname: Linux 5.4.0-28-generic x86_64 NonfreeKernelModules: nvidia_modeset nvidia .proc.driver.nvidia.gpus..09.00.0: Error: [Errno 21] Is a directory: '/proc/driver/nvidia/gpus/:09:00.0' .proc.driver.nvidia.registry: Binary: "" .proc.driver.nvidia.suspend: suspend hibernate resume .proc.driver.nvidia.suspend_depth: default modeset uvm .proc.driver.nvidia.version: NVRM version: NVIDIA UNIX x86_64 Kernel Module 440.64 Fri Feb 21 01:17:26 UTC 2020 GCC version: ApportVersion: 2.20.11-0ubuntu27 Architecture: amd64 BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log' CasperMD5CheckResult: skip CompositorRunning: None CurrentDesktop: ubuntu:GNOME Date: Sun May 3 18:12:45 2020 DistUpgraded: Fresh install DistroCodename: focal DistroVariant: ubuntu ExtraDebuggingInterest: Yes GraphicsCard: NVIDIA Corporation GP104 [GeForce GTX 1070] [10de:1b81] (rev a1) (prog-if 00 [VGA controller]) Subsystem: ASUSTeK Computer Inc. GP104 [GeForce GTX 1070] [1043:85a0] InstallationDate: Installed on 2020-05-03 (0 days ago) InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423) MachineType: Gigabyte Technology Co., Ltd. AX370-Gaming ProcEnviron: TERM=xterm-256color PATH=(custom, no user) XDG_RUNTIME_DIR= LANG=en_US.UTF-8 SHELL=/bin/bash ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-5.4.0-28-generic root=/dev/mapper/vgubuntu-root ro quiet splash vt.handoff=7 SourcePackage: xorg Symptom: display UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 06/19/2017 dmi.bios.vendor: American Megatrends Inc. dmi.bios.version: F3 dmi.board.asset.tag: Default string dmi.board.name: AX370-Gaming-CF dmi.board.vendor: Gigabyte Technology Co., Ltd. dmi.board.version: se1 dmi.chassis.asset.tag: Default string dmi.chassis.type: 3 dmi.chassis.vendor: Default string dmi.chassis.version: Default string dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrF3:bd06/19/
[Kernel-packages] [Bug 1876632] Re: [nvidia] Corrupted/missing shell textures when switching users or resuming from suspend
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. https://bugs.launchpad.net/bugs/1876632 Title: [nvidia] Corrupted/missing shell textures when switching users or resuming from suspend Status in GNOME Shell: Unknown Status in Mutter: Unknown Status in OEM Priority Project: Confirmed Status in gnome-shell package in Ubuntu: Triaged Status in mutter package in Ubuntu: Triaged Status in nvidia-graphics-drivers-440 package in Ubuntu: Triaged Status in nvidia-graphics-drivers-460 package in Ubuntu: Triaged Status in nvidia-graphics-drivers-470 package in Ubuntu: Triaged Status in nvidia-graphics-drivers-510 package in Ubuntu: Triaged Bug description: [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 everywhere that realistically compositors will never support it fully. Instead we're waiting for an Nvidia driver fix. *NOTE* that this is actually not a common problem because the system must be using Nvidia as the primary GPU to be affected. So generally only desktop users will encounter the bug, not laptops. And even then, only desktops that use suspend/resume and VT switching may trigger it, if ever. Even in development the bug cannot be reproduced reliably. [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 [Test Plan] [Where problems could occur] [Original Bug Report] I recently installed ubuntu 20.04 on my computer, and I am running into an issue when I do the following: * Login with a user on desktop * Select switch user, and login as second user * Switch user again, and return to original user At this point, text and icons in the menubar / sidebar are corrupted. Text and icons in normal windows appear correctly. I have attached a screenshot of what this looks like. Screenshots: https://imgur.com/a/3ZFDLMc ProblemType: Bug DistroRelease: Ubuntu 20.04 Package: xorg 1:7.7+19ubuntu14 ProcVersionSignature: Ubuntu 5.4.0-28.32-generic 5.4.30 Uname: Linux 5.4.0-28-generic x86_64 NonfreeKernelModules: nvidia_modeset nvidia .proc.driver.nvidia.gpus..09.00.0: Error: [Errno 21] Is a directory: '/proc/driver/nvidia/gpus/:09:00.0' .proc.driver.nvidia.registry: Binary: "" .proc.driver.nvidia.suspend: suspend hibernate resume .proc.driver.nvidia.suspend_depth: default modeset uvm .proc.driver.nvidia.version: NVRM version: NVIDIA UNIX x86_64 Kernel Module 440.64 Fri Feb 21 01:17:26 UTC 2020 GCC version: ApportVersion: 2.20.11-0ubuntu27 Architecture: amd64 BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log' CasperMD5CheckResult: skip CompositorRunning: None CurrentDesktop: ubuntu:GNOME Date: Sun May 3 18:12:45 2020 DistUpgraded: Fresh install DistroCodename: focal DistroVariant: ubuntu ExtraDebuggingInterest: Yes GraphicsCard: NVIDIA Corporation GP104 [GeForce GTX 1070] [10de:1b81] (rev a1) (prog-if 00 [VGA controller]) Subsystem: ASUSTeK Computer Inc. GP104 [GeForce GTX 1070] [1043:85a0] InstallationDate: Installed on 2020-05-03 (0 days ago) InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423) MachineType: Gigabyte Technology Co., Ltd. AX370-Gaming ProcEnviron: TERM=xterm-256color PATH=(custom, no user) XDG_RUNTIME_DIR= LANG=en_US.UTF-8 SHELL=/bin/bash ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-5.4.0-28-generic root=/dev/mapper/vgubuntu-root ro quiet splash vt.handoff=7 SourcePackage: xorg Symptom: display UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 06/19/2017 dmi.bios.vendor: American Megatrends Inc. dmi.bios.version: F3 dmi.board.asset.tag: Default string dmi.board.name: AX370-Gaming-CF dmi.board.vendor: Gigabyte Technology Co., Ltd. dmi.board.version: se1 dmi.chassis.asset.tag: Default string dmi.chassis.type: 3 dmi.chassis.vendor: Default string dmi.chassis.version: Default string dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrF3:bd06/19/2017:svnGigabyteTechnologyCo.,Ltd.:pnAX370-Gaming:pvrDefaultstring:rvnGigabyteTechnologyCo.,Ltd.:rnAX370-Gaming-CF:rvrse1:cvnDefaultstring:ct3:cvrDefaultstring: dmi.product.family: Default string dmi.product.name: AX370-Gaming 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.101-2
[Kernel-packages] [Bug 1876632] Re: [nvidia] Corrupted/missing shell textures when switching users or resuming from suspend
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 looks like it is already used in e.g. Tumbleweed. Thanks. -- 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 from suspend Status in GNOME Shell: New Status in Mutter: Fix Released Status in OEM Priority Project: Confirmed Status in gnome-shell package in Ubuntu: Triaged Status in mutter package in Ubuntu: Triaged Status in nvidia-graphics-drivers-440 package in Ubuntu: Won't Fix Status in nvidia-graphics-drivers-460 package in Ubuntu: Won't Fix Status in nvidia-graphics-drivers-470 package in Ubuntu: Triaged Status in nvidia-graphics-drivers-510 package in Ubuntu: Won't Fix Status in nvidia-graphics-drivers-525 package in Ubuntu: Triaged Status in nvidia-graphics-drivers-535 package in Ubuntu: Triaged Bug description: [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 everywhere that realistically compositors will never support it fully. Instead we're waiting for an Nvidia driver fix. *NOTE* that this is actually not a common problem because the system must be using Nvidia as the primary GPU to be affected. So generally only desktop users will encounter the bug, not laptops. And even then, only desktops that use suspend/resume and VT switching may trigger it, if ever. Even in development the bug cannot be reproduced reliably. [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 [Test Plan] [Where problems could occur] [Original Bug Report] I recently installed ubuntu 20.04 on my computer, and I am running into an issue when I do the following: * Login with a user on desktop * Select switch user, and login as second user * Switch user again, and return to original user At this point, text and icons in the menubar / sidebar are corrupted. Text and icons in normal windows appear correctly. I have attached a screenshot of what this looks like. Screenshots: https://imgur.com/a/3ZFDLMc ProblemType: Bug DistroRelease: Ubuntu 20.04 Package: xorg 1:7.7+19ubuntu14 ProcVersionSignature: Ubuntu 5.4.0-28.32-generic 5.4.30 Uname: Linux 5.4.0-28-generic x86_64 NonfreeKernelModules: nvidia_modeset nvidia .proc.driver.nvidia.gpus..09.00.0: Error: [Errno 21] Is a directory: '/proc/driver/nvidia/gpus/:09:00.0' .proc.driver.nvidia.registry: Binary: "" .proc.driver.nvidia.suspend: suspend hibernate resume .proc.driver.nvidia.suspend_depth: default modeset uvm .proc.driver.nvidia.version: NVRM version: NVIDIA UNIX x86_64 Kernel Module 440.64 Fri Feb 21 01:17:26 UTC 2020 GCC version: ApportVersion: 2.20.11-0ubuntu27 Architecture: amd64 BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log' CasperMD5CheckResult: skip CompositorRunning: None CurrentDesktop: ubuntu:GNOME Date: Sun May 3 18:12:45 2020 DistUpgraded: Fresh install DistroCodename: focal DistroVariant: ubuntu ExtraDebuggingInterest: Yes GraphicsCard: NVIDIA Corporation GP104 [GeForce GTX 1070] [10de:1b81] (rev a1) (prog-if 00 [VGA controller]) Subsystem: ASUSTeK Computer Inc. GP104 [GeForce GTX 1070] [1043:85a0] InstallationDate: Installed on 2020-05-03 (0 days ago) InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423) MachineType: Gigabyte Technology Co., Ltd. AX370-Gaming ProcEnviron: TERM=xterm-256color PATH=(custom, no user) XDG_RUNTIME_DIR= LANG=en_US.UTF-8 SHELL=/bin/bash ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-5.4.0-28-generic root=/dev/mapper/vgubuntu-root ro quiet splash vt.handoff=7 SourcePackage: xorg Symptom: display UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 06/19/2017 dmi.bios.vendor: American Megatrends Inc. dmi.bios.version: F3 dmi.board.asset.tag: Default string dmi.board.name: AX370-Gaming-CF dmi.board.vendor: Gigabyte Technology Co., Ltd. dmi.board.version: se1 dmi.chassis.asset.tag: Default string dmi.chassis.type: 3 dmi.chassis.vendor: Default string dmi.chassis.version: Default string dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrF3:bd06/19/2017:svnGigabyteTechnologyCo.,Ltd.:pnAX370-Gaming:pvrDefaults
[Kernel-packages] [Bug 1993721] [NEW] btrfs divide by zero
Public bug reported: After mounting a btrfs file system, exporting it via nfs, and then using that for storing steam games, I get this in the nfs server dmesg (and hanging file systems): [ 195.828931] BTRFS info (device sdf1): use zstd compression, level 3 [ 195.828937] BTRFS info (device sdf1): using free space tree [ 195.828938] BTRFS info (device sdf1): has skinny extents [ 195.978057] BTRFS info (device sdf1): regular block device /dev/sdf1, 11179 emulated zones of 268435456 bytes [ 195.978117] BTRFS info (device sdf1): regular block device /dev/sdd1, 14905 emulated zones of 268435456 bytes [ 196.517424] BTRFS info (device sdf1): zoned mode enabled with zone size 268435456 [ 911.066516] BTRFS info (device sdf1): use zstd compression, level 3 [ 911.066523] BTRFS info (device sdf1): using free space tree [ 911.066524] BTRFS info (device sdf1): has skinny extents [ 911.224659] BTRFS info (device sdf1): regular block device /dev/sdf1, 11179 emulated zones of 268435456 bytes [ 911.224718] BTRFS info (device sdf1): regular block device /dev/sdd1, 14905 emulated zones of 268435456 bytes [ 911.778374] BTRFS info (device sdf1): zoned mode enabled with zone size 268435456 [ 1048.162414] divide error: [#1] PREEMPT SMP NOPTI [ 1048.162433] CPU: 0 PID: 1817 Comm: nfsd Tainted: P O 5.19.0-21-generic #21-Ubuntu [ 1048.162443] Hardware name: ASUS ESC500 G3/P9D WS, BIOS 2402 06/27/2018 [ 1048.162447] RIP: 0010:btrfs_delalloc_reserve_metadata+0xba/0x3d0 [btrfs] [ 1048.162663] Code: 44 20 ff 45 8b a5 f8 0c 00 00 48 f7 da 48 89 cf 49 8b 8d 08 0d 00 00 48 21 d7 48 21 c2 48 89 55 c8 48 8d 44 0f ff 31 d2 89 c9 <48> f7 f1 48 89 7d a8 48 89 45 b8 89 c0 41 83 fc 3f 0f 87 bd 31 02 [ 1048.162671] RSP: 0018:a355881a7a50 EFLAGS: 00010246 [ 1048.162681] RAX: 1fff RBX: 973cd41054f0 RCX: [ 1048.162688] RDX: RSI: 2000 RDI: 2000 [ 1048.162693] RBP: a355881a7ac0 R08: R09: [ 1048.162698] R10: R11: R12: 000c [ 1048.162703] R13: 973a98bb3000 R14: R15: 0005 [ 1048.162709] FS: () GS:973d2f40() knlGS: [ 1048.162716] CS: 0010 DS: ES: CR0: 80050033 [ 1048.162722] CR2: 00c00014d000 CR3: 0002c4c10003 CR4: 001706f0 [ 1048.162729] Call Trace: [ 1048.162734] [ 1048.162743] ? btrfs_qgroup_reserve_data+0x21/0x80 [btrfs] [ 1048.162933] btrfs_buffered_write+0x291/0x960 [btrfs] [ 1048.163085] btrfs_do_write_iter+0x1df/0x230 [btrfs] [ 1048.163233] btrfs_file_write_iter+0x10/0x20 [btrfs] [ 1048.163379] do_iter_readv_writev+0x12a/0x1a0 [ 1048.163394] do_iter_write+0x9d/0x170 [ 1048.163406] vfs_iter_write+0x19/0x40 [ 1048.163416] nfsd_vfs_write+0x1ad/0x5b0 [nfsd] [ 1048.163506] nfsd_write+0x8c/0x180 [nfsd] [ 1048.163579] nfsd3_proc_write+0xe3/0x1a0 [nfsd] [ 1048.163660] nfsd_dispatch+0x15f/0x280 [nfsd] [ 1048.163728] svc_process_common+0x2a3/0x640 [sunrpc] [ 1048.163856] ? svc_handle_xprt+0x166/0x370 [sunrpc] [ 1048.163990] ? nfsd_svc+0x1b0/0x1b0 [nfsd] [ 1048.164059] ? nfsd_shutdown_threads+0xb0/0xb0 [nfsd] [ 1048.164126] svc_process+0xba/0x110 [sunrpc] [ 1048.164245] nfsd+0xdc/0x1b0 [nfsd] [ 1048.164314] kthread+0xe6/0x110 [ 1048.164328] ? kthread_complete_and_exit+0x20/0x20 [ 1048.164340] ret_from_fork+0x1f/0x30 [ 1048.164357] [ 1048.164361] Modules linked in: rpcsec_gss_krb5 xt_nat veth snd_seq_dummy snd_hrtimer nf_conntrack_netlink xfrm_user xfrm_algo xt_addrtype br_netfilter xt_CHECKSUM xt_MASQUERADE xt_conntrack ipt_REJECT nf_reject_ipv4 xt_tcpudp nft_compat nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nf_tables nfnetlink bridge stp llc overlay binfmt_misc zfs(PO) zunicode(PO) zzstd(O) zlua(O) zavl(PO) icp(PO) zcommon(PO) znvpair(PO) spl(O) snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio snd_hda_codec_hdmi snd_hda_intel snd_intel_dspcfg snd_intel_sdw_acpi snd_hda_codec intel_rapl_msr intel_rapl_common snd_hda_core snd_hwdep x86_pkg_temp_thermal snd_pcm intel_powerclamp coretemp snd_seq_midi snd_seq_midi_event mei_pxp mei_hdcp snd_rawmidi kvm_intel input_leds snd_seq kvm snd_seq_device snd_timer rapl cmdlinepart eeepc_wmi intel_cstate at24 wmi_bmof spi_nor snd mtd mei_me soundcore mei mac_hid ie31200_edac msr nfsd parport_pc auth_rpcgss ppdev nfs_acl lockd lp parport grace r amoops [ 1048.164559] pstore_blk reed_solomon pstore_zone efi_pstore sunrpc ip_tables x_tables autofs4 btrfs blake2b_generic raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c raid1 raid0 multipath linear i915 drm_buddy ttm drm_display_helper cec rc_core drm_kms_helper crct10dif_pclmul syscopyarea crc32_pclmul sysfillrect hid_generic spi_intel_platform sysimgblt ghash_clmulni_intel mfd_aaeon usbhid spi_intel fb_sys_fops firewire_ohci igb aesni_int
[Kernel-packages] [Bug 1993721] Re: btrfs divide by zero
I found an upstream bug report: https://bugzilla.kernel.org/show_bug.cgi?id=216522 The conditions are different though. ** Bug watch added: Linux Kernel Bug Tracker #216522 https://bugzilla.kernel.org/show_bug.cgi?id=216522 -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1993721 Title: btrfs divide by zero Status in linux package in Ubuntu: Confirmed Bug description: After mounting a btrfs file system, exporting it via nfs, and then using that for storing steam games, I get this in the nfs server dmesg (and hanging file systems): [ 195.828931] BTRFS info (device sdf1): use zstd compression, level 3 [ 195.828937] BTRFS info (device sdf1): using free space tree [ 195.828938] BTRFS info (device sdf1): has skinny extents [ 195.978057] BTRFS info (device sdf1): regular block device /dev/sdf1, 11179 emulated zones of 268435456 bytes [ 195.978117] BTRFS info (device sdf1): regular block device /dev/sdd1, 14905 emulated zones of 268435456 bytes [ 196.517424] BTRFS info (device sdf1): zoned mode enabled with zone size 268435456 [ 911.066516] BTRFS info (device sdf1): use zstd compression, level 3 [ 911.066523] BTRFS info (device sdf1): using free space tree [ 911.066524] BTRFS info (device sdf1): has skinny extents [ 911.224659] BTRFS info (device sdf1): regular block device /dev/sdf1, 11179 emulated zones of 268435456 bytes [ 911.224718] BTRFS info (device sdf1): regular block device /dev/sdd1, 14905 emulated zones of 268435456 bytes [ 911.778374] BTRFS info (device sdf1): zoned mode enabled with zone size 268435456 [ 1048.162414] divide error: [#1] PREEMPT SMP NOPTI [ 1048.162433] CPU: 0 PID: 1817 Comm: nfsd Tainted: P O 5.19.0-21-generic #21-Ubuntu [ 1048.162443] Hardware name: ASUS ESC500 G3/P9D WS, BIOS 2402 06/27/2018 [ 1048.162447] RIP: 0010:btrfs_delalloc_reserve_metadata+0xba/0x3d0 [btrfs] [ 1048.162663] Code: 44 20 ff 45 8b a5 f8 0c 00 00 48 f7 da 48 89 cf 49 8b 8d 08 0d 00 00 48 21 d7 48 21 c2 48 89 55 c8 48 8d 44 0f ff 31 d2 89 c9 <48> f7 f1 48 89 7d a8 48 89 45 b8 89 c0 41 83 fc 3f 0f 87 bd 31 02 [ 1048.162671] RSP: 0018:a355881a7a50 EFLAGS: 00010246 [ 1048.162681] RAX: 1fff RBX: 973cd41054f0 RCX: [ 1048.162688] RDX: RSI: 2000 RDI: 2000 [ 1048.162693] RBP: a355881a7ac0 R08: R09: [ 1048.162698] R10: R11: R12: 000c [ 1048.162703] R13: 973a98bb3000 R14: R15: 0005 [ 1048.162709] FS: () GS:973d2f40() knlGS: [ 1048.162716] CS: 0010 DS: ES: CR0: 80050033 [ 1048.162722] CR2: 00c00014d000 CR3: 0002c4c10003 CR4: 001706f0 [ 1048.162729] Call Trace: [ 1048.162734] [ 1048.162743] ? btrfs_qgroup_reserve_data+0x21/0x80 [btrfs] [ 1048.162933] btrfs_buffered_write+0x291/0x960 [btrfs] [ 1048.163085] btrfs_do_write_iter+0x1df/0x230 [btrfs] [ 1048.163233] btrfs_file_write_iter+0x10/0x20 [btrfs] [ 1048.163379] do_iter_readv_writev+0x12a/0x1a0 [ 1048.163394] do_iter_write+0x9d/0x170 [ 1048.163406] vfs_iter_write+0x19/0x40 [ 1048.163416] nfsd_vfs_write+0x1ad/0x5b0 [nfsd] [ 1048.163506] nfsd_write+0x8c/0x180 [nfsd] [ 1048.163579] nfsd3_proc_write+0xe3/0x1a0 [nfsd] [ 1048.163660] nfsd_dispatch+0x15f/0x280 [nfsd] [ 1048.163728] svc_process_common+0x2a3/0x640 [sunrpc] [ 1048.163856] ? svc_handle_xprt+0x166/0x370 [sunrpc] [ 1048.163990] ? nfsd_svc+0x1b0/0x1b0 [nfsd] [ 1048.164059] ? nfsd_shutdown_threads+0xb0/0xb0 [nfsd] [ 1048.164126] svc_process+0xba/0x110 [sunrpc] [ 1048.164245] nfsd+0xdc/0x1b0 [nfsd] [ 1048.164314] kthread+0xe6/0x110 [ 1048.164328] ? kthread_complete_and_exit+0x20/0x20 [ 1048.164340] ret_from_fork+0x1f/0x30 [ 1048.164357] [ 1048.164361] Modules linked in: rpcsec_gss_krb5 xt_nat veth snd_seq_dummy snd_hrtimer nf_conntrack_netlink xfrm_user xfrm_algo xt_addrtype br_netfilter xt_CHECKSUM xt_MASQUERADE xt_conntrack ipt_REJECT nf_reject_ipv4 xt_tcpudp nft_compat nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nf_tables nfnetlink bridge stp llc overlay binfmt_misc zfs(PO) zunicode(PO) zzstd(O) zlua(O) zavl(PO) icp(PO) zcommon(PO) znvpair(PO) spl(O) snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio snd_hda_codec_hdmi snd_hda_intel snd_intel_dspcfg snd_intel_sdw_acpi snd_hda_codec intel_rapl_msr intel_rapl_common snd_hda_core snd_hwdep x86_pkg_temp_thermal snd_pcm intel_powerclamp coretemp snd_seq_midi snd_seq_midi_event mei_pxp mei_hdcp snd_rawmidi kvm_intel input_leds snd_seq kvm snd_seq_device snd_timer rapl cmdlinepart eeepc_wmi intel_cstate at24 wmi_bmof spi_nor snd mtd mei_me soundcore mei mac_hid ie31200_edac
[Kernel-packages] [Bug 1993721] Re: btrfs divide by zero
I installed kernel 6.0.1 from the mainline kernel ppa and I think it got better. I will have to test it for a while to see if it is intermittent. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1993721 Title: btrfs divide by zero Status in linux package in Ubuntu: Confirmed Bug description: After mounting a btrfs file system, exporting it via nfs, and then using that for storing steam games, I get this in the nfs server dmesg (and hanging file systems): [ 195.828931] BTRFS info (device sdf1): use zstd compression, level 3 [ 195.828937] BTRFS info (device sdf1): using free space tree [ 195.828938] BTRFS info (device sdf1): has skinny extents [ 195.978057] BTRFS info (device sdf1): regular block device /dev/sdf1, 11179 emulated zones of 268435456 bytes [ 195.978117] BTRFS info (device sdf1): regular block device /dev/sdd1, 14905 emulated zones of 268435456 bytes [ 196.517424] BTRFS info (device sdf1): zoned mode enabled with zone size 268435456 [ 911.066516] BTRFS info (device sdf1): use zstd compression, level 3 [ 911.066523] BTRFS info (device sdf1): using free space tree [ 911.066524] BTRFS info (device sdf1): has skinny extents [ 911.224659] BTRFS info (device sdf1): regular block device /dev/sdf1, 11179 emulated zones of 268435456 bytes [ 911.224718] BTRFS info (device sdf1): regular block device /dev/sdd1, 14905 emulated zones of 268435456 bytes [ 911.778374] BTRFS info (device sdf1): zoned mode enabled with zone size 268435456 [ 1048.162414] divide error: [#1] PREEMPT SMP NOPTI [ 1048.162433] CPU: 0 PID: 1817 Comm: nfsd Tainted: P O 5.19.0-21-generic #21-Ubuntu [ 1048.162443] Hardware name: ASUS ESC500 G3/P9D WS, BIOS 2402 06/27/2018 [ 1048.162447] RIP: 0010:btrfs_delalloc_reserve_metadata+0xba/0x3d0 [btrfs] [ 1048.162663] Code: 44 20 ff 45 8b a5 f8 0c 00 00 48 f7 da 48 89 cf 49 8b 8d 08 0d 00 00 48 21 d7 48 21 c2 48 89 55 c8 48 8d 44 0f ff 31 d2 89 c9 <48> f7 f1 48 89 7d a8 48 89 45 b8 89 c0 41 83 fc 3f 0f 87 bd 31 02 [ 1048.162671] RSP: 0018:a355881a7a50 EFLAGS: 00010246 [ 1048.162681] RAX: 1fff RBX: 973cd41054f0 RCX: [ 1048.162688] RDX: RSI: 2000 RDI: 2000 [ 1048.162693] RBP: a355881a7ac0 R08: R09: [ 1048.162698] R10: R11: R12: 000c [ 1048.162703] R13: 973a98bb3000 R14: R15: 0005 [ 1048.162709] FS: () GS:973d2f40() knlGS: [ 1048.162716] CS: 0010 DS: ES: CR0: 80050033 [ 1048.162722] CR2: 00c00014d000 CR3: 0002c4c10003 CR4: 001706f0 [ 1048.162729] Call Trace: [ 1048.162734] [ 1048.162743] ? btrfs_qgroup_reserve_data+0x21/0x80 [btrfs] [ 1048.162933] btrfs_buffered_write+0x291/0x960 [btrfs] [ 1048.163085] btrfs_do_write_iter+0x1df/0x230 [btrfs] [ 1048.163233] btrfs_file_write_iter+0x10/0x20 [btrfs] [ 1048.163379] do_iter_readv_writev+0x12a/0x1a0 [ 1048.163394] do_iter_write+0x9d/0x170 [ 1048.163406] vfs_iter_write+0x19/0x40 [ 1048.163416] nfsd_vfs_write+0x1ad/0x5b0 [nfsd] [ 1048.163506] nfsd_write+0x8c/0x180 [nfsd] [ 1048.163579] nfsd3_proc_write+0xe3/0x1a0 [nfsd] [ 1048.163660] nfsd_dispatch+0x15f/0x280 [nfsd] [ 1048.163728] svc_process_common+0x2a3/0x640 [sunrpc] [ 1048.163856] ? svc_handle_xprt+0x166/0x370 [sunrpc] [ 1048.163990] ? nfsd_svc+0x1b0/0x1b0 [nfsd] [ 1048.164059] ? nfsd_shutdown_threads+0xb0/0xb0 [nfsd] [ 1048.164126] svc_process+0xba/0x110 [sunrpc] [ 1048.164245] nfsd+0xdc/0x1b0 [nfsd] [ 1048.164314] kthread+0xe6/0x110 [ 1048.164328] ? kthread_complete_and_exit+0x20/0x20 [ 1048.164340] ret_from_fork+0x1f/0x30 [ 1048.164357] [ 1048.164361] Modules linked in: rpcsec_gss_krb5 xt_nat veth snd_seq_dummy snd_hrtimer nf_conntrack_netlink xfrm_user xfrm_algo xt_addrtype br_netfilter xt_CHECKSUM xt_MASQUERADE xt_conntrack ipt_REJECT nf_reject_ipv4 xt_tcpudp nft_compat nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nf_tables nfnetlink bridge stp llc overlay binfmt_misc zfs(PO) zunicode(PO) zzstd(O) zlua(O) zavl(PO) icp(PO) zcommon(PO) znvpair(PO) spl(O) snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio snd_hda_codec_hdmi snd_hda_intel snd_intel_dspcfg snd_intel_sdw_acpi snd_hda_codec intel_rapl_msr intel_rapl_common snd_hda_core snd_hwdep x86_pkg_temp_thermal snd_pcm intel_powerclamp coretemp snd_seq_midi snd_seq_midi_event mei_pxp mei_hdcp snd_rawmidi kvm_intel input_leds snd_seq kvm snd_seq_device snd_timer rapl cmdlinepart eeepc_wmi intel_cstate at24 wmi_bmof spi_nor snd mtd mei_me soundcore mei mac_hid ie31200_edac msr nfsd parport_pc auth_rpcgss ppdev nfs_acl lockd lp parport grace ramoops [
[Kernel-packages] [Bug 1876632] Re: [nvidia] Corrupted/missing shell textures when switching users or resuming from suspend
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 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 from suspend Status in GNOME Shell: New Status in Mutter: Fix Released Status in OEM Priority Project: Confirmed Status in gnome-shell package in Ubuntu: Triaged Status in mutter package in Ubuntu: Triaged Status in nvidia-graphics-drivers-440 package in Ubuntu: Triaged Status in nvidia-graphics-drivers-460 package in Ubuntu: Triaged Status in nvidia-graphics-drivers-470 package in Ubuntu: Triaged Status in nvidia-graphics-drivers-510 package in Ubuntu: Triaged Bug description: [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 everywhere that realistically compositors will never support it fully. Instead we're waiting for an Nvidia driver fix. *NOTE* that this is actually not a common problem because the system must be using Nvidia as the primary GPU to be affected. So generally only desktop users will encounter the bug, not laptops. And even then, only desktops that use suspend/resume and VT switching may trigger it, if ever. Even in development the bug cannot be reproduced reliably. [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 [Test Plan] [Where problems could occur] [Original Bug Report] I recently installed ubuntu 20.04 on my computer, and I am running into an issue when I do the following: * Login with a user on desktop * Select switch user, and login as second user * Switch user again, and return to original user At this point, text and icons in the menubar / sidebar are corrupted. Text and icons in normal windows appear correctly. I have attached a screenshot of what this looks like. Screenshots: https://imgur.com/a/3ZFDLMc ProblemType: Bug DistroRelease: Ubuntu 20.04 Package: xorg 1:7.7+19ubuntu14 ProcVersionSignature: Ubuntu 5.4.0-28.32-generic 5.4.30 Uname: Linux 5.4.0-28-generic x86_64 NonfreeKernelModules: nvidia_modeset nvidia .proc.driver.nvidia.gpus..09.00.0: Error: [Errno 21] Is a directory: '/proc/driver/nvidia/gpus/:09:00.0' .proc.driver.nvidia.registry: Binary: "" .proc.driver.nvidia.suspend: suspend hibernate resume .proc.driver.nvidia.suspend_depth: default modeset uvm .proc.driver.nvidia.version: NVRM version: NVIDIA UNIX x86_64 Kernel Module 440.64 Fri Feb 21 01:17:26 UTC 2020 GCC version: ApportVersion: 2.20.11-0ubuntu27 Architecture: amd64 BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log' CasperMD5CheckResult: skip CompositorRunning: None CurrentDesktop: ubuntu:GNOME Date: Sun May 3 18:12:45 2020 DistUpgraded: Fresh install DistroCodename: focal DistroVariant: ubuntu ExtraDebuggingInterest: Yes GraphicsCard: NVIDIA Corporation GP104 [GeForce GTX 1070] [10de:1b81] (rev a1) (prog-if 00 [VGA controller]) Subsystem: ASUSTeK Computer Inc. GP104 [GeForce GTX 1070] [1043:85a0] InstallationDate: Installed on 2020-05-03 (0 days ago) InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423) MachineType: Gigabyte Technology Co., Ltd. AX370-Gaming ProcEnviron: TERM=xterm-256color PATH=(custom, no user) XDG_RUNTIME_DIR= LANG=en_US.UTF-8 SHELL=/bin/bash ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-5.4.0-28-generic root=/dev/mapper/vgubuntu-root ro quiet splash vt.handoff=7 SourcePackage: xorg Symptom: display UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 06/19/2017 dmi.bios.vendor: American Megatrends Inc. dmi.bios.version: F3 dmi.board.asset.tag: Default string dmi.board.name: AX370-Gaming-CF dmi.board.vendor: Gigabyte Technology Co., Ltd. dmi.board.version: se1 dmi.chassis.asset.tag: Default string dmi.chassis.type: 3 dmi.chassis.vendor: Default string dmi.chassis.version: Default string dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrF3:bd06/19/2017:svnGigabyteTechnologyCo.,Ltd.:pnAX370-Gaming:pvrDefaultstring:rvnGigabyteTechnologyCo.,Ltd.:rnAX370-Gaming-CF:rvrse1:cvnDefaultstring:ct3:cvrDefaultstring: dmi.product.family: Default string dmi.product.name: AX370-Gaming dmi.product.sku: Default string dmi.product.version: Default