The nouveau driver has never been well supported. It remains buggy for years even for old hardware so the outlook is not great there. If you would like to debug the nouveau driver then it lives in the Linux kernel at:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/gpu/drm/nouveau The other information I've been referring to comes from these pages: https://www.nvidia.com/Download/index.aspx?lang=en-us https://launchpad.net/ubuntu/+source/nvidia-graphics-drivers-340 https://launchpad.net/ubuntu/+source/linux https://launchpad.net/ubuntu/+source/linux-hwe-5.11 https://nvidia.custhelp.com/app/answers/detail/a_id/3142/~/support-timeframes-for-unix-legacy-gpu-releases Nvidia has never supported their own chips for more than a few years and your Samsung machine appears to be 11 years old. You would have less trouble if the machine had AMD or Intel graphics. Otherwise if you use Nvidia you will either need newer hardware or to stay on an older OS like Ubuntu 20.04. -- 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/1940154 Title: Xorg freeze (nouveau/ttm use-after-free with full-screen video) Status in linux package in Ubuntu: New Bug description: Since upgrading to Ubuntu 21.04 yesterday, I've noticed several hangs during full-screen video playback (watching Youtube videos in Chromium). Often, it happens just after or during the switch to full- screen. The system stays running and I can connect via ssh, but restarting gdm3 has no effect and most of the time I've had to reboot. The latest hang recovered automatically when I left the machine alone for about 2 minutes, and produced the following messages in dmesg (I'll attach a more complete log): ``` [ 3520.856803] [TTM] Buffer eviction failed [ 3520.856856] ------------[ cut here ]------------ [ 3520.856859] refcount_t: underflow; use-after-free. [ 3520.856888] WARNING: CPU: 3 PID: 6842 at lib/refcount.c:28 refcount_warn_saturate+0xae/0xf0 ... [ 3520.857292] Call Trace: [ 3520.857305] ttm_bo_put+0x3f/0x50 [ttm] [ 3520.857331] nouveau_gem_new+0xc4/0x100 [nouveau] [ 3520.857611] ? nouveau_gem_new+0x100/0x100 [nouveau] [ 3520.857871] nouveau_gem_ioctl_new+0x5b/0x100 [nouveau] [ 3520.858133] ? nouveau_gem_new+0x100/0x100 [nouveau] [ 3520.858398] drm_ioctl_kernel+0xae/0xf0 [drm] [ 3520.858500] drm_ioctl+0x245/0x400 [drm] [ 3520.858586] ? nouveau_gem_new+0x100/0x100 [nouveau] [ 3520.858850] ? __fget_files+0x5f/0x90 [ 3520.858864] ? __fget_light+0x32/0x80 [ 3520.858879] nouveau_drm_ioctl+0x66/0xc0 [nouveau] [ 3520.859145] __x64_sys_ioctl+0x91/0xc0 [ 3520.859158] do_syscall_64+0x38/0x90 [ 3520.859170] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 3520.859182] RIP: 0033:0x7fce8ceb0317 ``` ProblemType: Bug DistroRelease: Ubuntu 21.04 Package: xorg 1:7.7+22ubuntu1 ProcVersionSignature: Ubuntu 5.11.0-31.33-generic 5.11.22 Uname: Linux 5.11.0-31-generic x86_64 NonfreeKernelModules: wl .tmp.unity_support_test.0: ApportVersion: 2.20.11-0ubuntu65.1 Architecture: amd64 CasperMD5CheckResult: unknown CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins' CompositorRunning: None CurrentDesktop: ubuntu:GNOME Date: Mon Aug 16 23:36:04 2021 DistUpgraded: 2021-08-15 02:10:41,733 DEBUG Running PostInstallScript: '/usr/lib/ubuntu-advantage/upgrade_lts_contract.py' DistroCodename: hirsute DistroVariant: ubuntu ExtraDebuggingInterest: Yes, including running git bisection searches GpuHangFrequency: Several times a day GpuHangReproducibility: Occurs more often under certain circumstances GpuHangStarted: Immediately after installing this version of Ubuntu GraphicsCard: NVIDIA Corporation GT218M [GeForce 310M] [10de:0a70] (rev a2) (prog-if 00 [VGA controller]) Subsystem: Samsung Electronics Co Ltd GT218M [GeForce 310M] [144d:c079] InstallationDate: Installed on 2014-06-27 (2607 days ago) InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417) MachineType: SAMSUNG ELECTRONICS CO., LTD. Q430/Q530 ProcEnviron: LANGUAGE=en_IE:en PATH=(custom, no user) XDG_RUNTIME_DIR=<set> LANG=en_IE.UTF-8 SHELL=/usr/bin/zsh ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.11.0-31-generic root=UUID=fc20db83-0138-4e0c-b7e9-04da38c1e9e9 ro quiet splash acpi_backlight=vendor crashkernel=512M-:192M acpi_enforce_resources=lax crashkernel=512M-:192M vt.handoff=7 SourcePackage: xorg Symptom: display Title: Xorg freeze UpgradeStatus: Upgraded to hirsute on 2021-08-15 (1 days ago) dmi.bios.date: 05/29/2010 dmi.bios.release: 2.0 dmi.bios.vendor: Phoenix Technologies Ltd. dmi.bios.version: 02KF.M008.20100529.KSJ dmi.board.asset.tag: Tag 12345 dmi.board.name: Q430/Q530 dmi.board.vendor: SAMSUNG ELECTRONICS CO., LTD. dmi.board.version: Not Applicable dmi.chassis.asset.tag: No Asset Tag dmi.chassis.type: 9 dmi.chassis.vendor: SAMSUNG ELECTRONICS CO., LTD. dmi.chassis.version: N/A dmi.modalias: dmi:bvnPhoenixTechnologiesLtd.:bvr02KF.M008.20100529.KSJ:bd05/29/2010:br2.0:svnSAMSUNGELECTRONICSCO.,LTD.:pnQ430/Q530:pvrNotApplicable:rvnSAMSUNGELECTRONICSCO.,LTD.:rnQ430/Q530:rvrNotApplicable:cvnSAMSUNGELECTRONICSCO.,LTD.:ct9:cvrN/A: dmi.product.name: Q430/Q530 dmi.product.version: Not Applicable dmi.sys.vendor: SAMSUNG ELECTRONICS CO., LTD. version.compiz: compiz 1:0.9.14.1+20.10.20200813-0ubuntu4 version.libdrm2: libdrm2 2.4.105-3~21.04.1 version.libgl1-mesa-dri: libgl1-mesa-dri 21.0.3-0ubuntu0.2 version.libgl1-mesa-glx: libgl1-mesa-glx 21.0.3-0ubuntu0.2 version.xserver-xorg-core: xserver-xorg-core 2:1.20.11-1ubuntu1.1 version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.10.6-2build1 version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:19.1.0-2 version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20200714-1ubuntu1 version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.17-1 xserver.bootTime: Sat Aug 14 22:37:51 2021 xserver.configfile: default xserver.errors: xserver.logfile: /var/log/Xorg.0.log xserver.outputs: xserver.version: 2:1.20.11-1ubuntu1~20.04.2 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1940154/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp