[Bug 1195094] New: nVidia: Remove generic (fb) driver first ...
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
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://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1195094
https://bugzilla.suse.com/show_bug.cgi?id=1195094#c1
Stefan Dirsch
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1195094
https://bugzilla.suse.com/show_bug.cgi?id=1195094#c2
--- Comment #2 from Stefan Dirsch
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://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1195094
https://bugzilla.suse.com/show_bug.cgi?id=1195094#c3
--- Comment #3 from Stefan Dirsch
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1195094
https://bugzilla.suse.com/show_bug.cgi?id=1195094#c5
--- Comment #5 from Thomas Zimmermann
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1195094
https://bugzilla.suse.com/show_bug.cgi?id=1195094#c8
--- Comment #8 from Stefan Dirsch
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://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1195094
Stefan Dirsch
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1195094
Stefan Dirsch
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1195094
https://bugzilla.suse.com/show_bug.cgi?id=1195094#c9
--- Comment #9 from Stefan Dirsch
(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://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1195094
Stefan Dirsch
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1195094
https://bugzilla.suse.com/show_bug.cgi?id=1195094#c13
--- Comment #13 from Stefan Dirsch
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1195094
https://bugzilla.suse.com/show_bug.cgi?id=1195094#c17
--- Comment #17 from Stefan Dirsch
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1195094
https://bugzilla.suse.com/show_bug.cgi?id=1195094#c18
--- Comment #18 from Stefan Dirsch
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1195094
https://bugzilla.suse.com/show_bug.cgi?id=1195094#c19
--- Comment #19 from Stefan Dirsch
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1195094
Darren Davis
participants (1)
-
bugzilla_noreply@suse.com