[Bug 1195094] New: nVidia: Remove generic (fb) driver first ...
https://bugzilla.suse.com/show_bug.cgi?id=1195094 Bug ID: 1195094 Summary: nVidia: Remove generic (fb) driver first ... Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: x86-64 OS: openSUSE Tumbleweed Status: NEW Severity: Enhancement Priority: P5 - None Component: X11 3rd Party Driver Assignee: gfx-bugs@suse.de Reporter: sndirsch@suse.com QA Contact: sndirsch@suse.com Found By: --- Blocker: --- Users of nVidia's proprietary driver are running into issues with the introduction of 'simpledrm'. https://forums.developer.nvidia.com/t/510-39-01-on-5-16-0-kernel-green-scree... There are workarounds available like a) patching the nvidia kernel module and no longer calling pci_request_regions(...) function b) Kernel option 'initcall_blacklist=simpledrm_platform_driver_init' c) Kerneloption ' fbcon=map:1'. But the culprit is that nVidia doesn't remove the generic driver (e.g. efifb/vesafb) first. This should be changed to address the real issue here. API under MIT license https://elixir.bootlin.com/linux/latest/source/include/drm/drm_aperture.h Example for nouveau driver. https://elixir.bootlin.com/linux/latest/source/drivers/gpu/drm/nouveau/nouve... Thomas is the author of 'simpledrm'. Please correct me, if I misunderstood anything and feel free to add more details here. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1195094 https://bugzilla.suse.com/show_bug.cgi?id=1195094#c1 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P2 - High Status|NEW |IN_PROGRESS CC| |ddadap@nvidia.com, | |tzimmermann@suse.com Assignee|gfx-bugs@suse.de |sndirsch@suse.com --- Comment #1 from Stefan Dirsch <sndirsch@suse.com> --- @Daniel Could you please consider addressing and tracking this on your side? We can talk in more detail about this (as far as I understood the issue) in next week's call of course. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1195094 https://bugzilla.suse.com/show_bug.cgi?id=1195094#c2 --- Comment #2 from Stefan Dirsch <sndirsch@suse.com> --- simpledrm is new since Kernel version 5.14 https://www.phoronix.com/scan.php?page=news_item&px=Linux-5.14-Initial-DRM-Misc (In reply to Stefan Dirsch from comment #0)
There are workarounds available like
a) patching the nvidia kernel module and no longer calling pci_request_regions(...) function
https://github.com/rpmfusion/nvidia-kmod/blob/master/nvidia-kmod-pci-request... -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1195094 https://bugzilla.suse.com/show_bug.cgi?id=1195094#c3 --- Comment #3 from Stefan Dirsch <sndirsch@suse.com> --- openSUSE Testkernel with simpledrm support. https://build.suse.de/package/show/home:tiwai:test:simpledrm/kernel-default -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1195094 https://bugzilla.suse.com/show_bug.cgi?id=1195094#c5 --- Comment #5 from Thomas Zimmermann <tzimmermann@suse.com> --- Here's an example patch from Fedora https://github.com/rpmfusion/nvidia-kmod/commit/cad35064f5eb115b9ef8ea06159b... -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1195094 https://bugzilla.suse.com/show_bug.cgi?id=1195094#c8 --- Comment #8 from Stefan Dirsch <sndirsch@suse.com> --- (In reply to Thomas Zimmermann from comment #5)
Here's an example patch from Fedora
https://github.com/rpmfusion/nvidia-kmod/commit/ cad35064f5eb115b9ef8ea06159b4c0716e1599b
We figured out, that this breaks the Linux console. One would need to add a generic drm console, which might be just a one-liner according to Thomas Zimmermann. Unfortunately he couldn't work on this before his parental leave. He'll be back in April and then will work again on the remaining issues of simpledrm. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1195094 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|nVidia: Remove generic (fb) |nVidia: Remove generic (fb) |driver first ... |driver first and add | |generic drm console -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1195094 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |1193250 -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1195094 https://bugzilla.suse.com/show_bug.cgi?id=1195094#c9 --- Comment #9 from Stefan Dirsch <sndirsch@suse.com> --- (In reply to Stefan Dirsch from comment #8)
(In reply to Thomas Zimmermann from comment #5)
Here's an example patch from Fedora
https://github.com/rpmfusion/nvidia-kmod/commit/ cad35064f5eb115b9ef8ea06159b4c0716e1599b
We figured out, that this breaks the Linux console. One would need to add a generic drm console, which might be just a one-liner according to Thomas Zimmermann. Unfortunately he couldn't work on this before his parental leave. He'll be back in April and then will work again on the remaining issues of simpledrm.
That may even make more sense with the OpenSource driver now ... -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1195094 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |msuchanek@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1195094 https://bugzilla.suse.com/show_bug.cgi?id=1195094#c13 --- Comment #13 from Stefan Dirsch <sndirsch@suse.com> --- Oh. Wow! Thanks for the pointer, Michal! -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1195094 https://bugzilla.suse.com/show_bug.cgi?id=1195094#c17 --- Comment #17 from Stefan Dirsch <sndirsch@suse.com> --- There is hope. NVIDIA is working now on that. https://github.com/NVIDIA/open-gpu-kernel-modules/issues/341#issuecomment-14... https://github.com/NVIDIA/open-gpu-kernel-modules/files/10483493/nvidia-525.... -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1195094 https://bugzilla.suse.com/show_bug.cgi?id=1195094#c18 --- Comment #18 from Stefan Dirsch <sndirsch@suse.com> --- See also https://github.com/NVIDIA/open-gpu-kernel-modules/pull/342#issuecomment-1397... -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1195094 https://bugzilla.suse.com/show_bug.cgi?id=1195094#c19 --- Comment #19 from Stefan Dirsch <sndirsch@suse.com> --- Just found that in the latest release of nvidia driver diff -u NVIDIA-Linux-x86_64-525.089.02/ NVIDIA-Linux-x86_64-525.105.17/NVIDIA_Changelog [...] ======== Release 470 Entries ======== + * Fixed a bug that could cause fullscreen PRIME Render Offload + applications and/or X to crash when an NVIDIA GPU is driving + multiple displays with Reverse PRIME. + + * Added support for console restoration when using simpledrm. + Not sure what this means ... and it would be only relevant for the 470.xx legacy driver, i.e. not for the current driver 525.xx ?!? -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1195094 Darren Davis <ddavis@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ddavis@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com