-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing SimpleDRM Support which is needed by Fedora and NobaraOS #228
Comments
The issue I'm experiencing is not only TTYs, but everything after boot finishes is completely black. This is an example of such a user: https://www.reddit.com/r/Fedora/comments/ueq4jm/internal_laptop_screen_black_in_discrete_graphics/ |
Also part of the same issue |
Let me add this here. This is a major problem when you run into issues with your fstab or one of your disks refuse to mount for some reason. https://www.youtube.com/watch?v=SS0A-XvM8RI |
Might do a video covering this as well to warn the fedora nvidia community |
Apparently Fedora has a fix out per below thread: Also the Rpmfusion akmod-nvidia package was updated to reflect this. You will need akmod-nvidia version 3:510.68.02-2.fc36 which is now in the rpmfusion-nonfree-updates repository. |
Yup! Can confirm. The 5.17.11-300 along with 510.68.02-02 fixed the issue. |
Do note the fedora kernel does not fix the issue per say, simply bypasses it. |
reminder this still needs to be fixed and is very important |
@YusufKhan-gamedev can you maybe work on this if possible? |
I think this might be that this might be something to do with ogk(these modules) not supporting fbdev emulation? My fbcon patches would probably fix the issue if thats the case(remember to set the kernel module param). I dont fully understand the problem though, im more into getting userland drivers for ogk but if I knew what the underlying issue is i would at least look into it. |
The issue is @fedora screwed up and replaced the drm they where using with simpledrm some weird emulation thing and amd supports it and intel but not nvidia |
Simpledrm is just a drm driver, so is amdgpu, nvidia_drm and i915(intel), there has to be some bug. Could this be related to #341? In that case you may have a conflicting drm driver, perhaps it could be simpledrm? If its simpledrm you might want to blacklist it until the kernel issue it fixed. There is also probably some way you can get simplefb or vesafb on fedora, perhaps an external repo? if its completely as you say though, you can get fbdev emulation with my fbcon patches I mentioned before. |
Nobara added a fix in kernel but it doesn’t always work and for regular fedora its just screwed the blacklist doesn’t always work |
I will try your patches |
Could I see the fix? |
They just reverted simpledrm Sent from my iPhoneOn Aug 23, 2022, at 11:33 PM, YusufKhan-human ***@***.***> wrote:
Nobara added a fix in kernel but it doesn’t always work and for regular fedora its just screwed the blacklist doesn’t always work
Could I see the fix?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
|
So they put |
I think it could get a fix up though... |
Hi @YusufKhan-gamedev I'm one of the maintainers of Nobara. To clarify, we disabled simpledrm in the kernel config and re-enabled fb_simple and fb_vesa, essentially reverting Fedora's changes:
This allows us to freely swap between rpmfusion and negativo17 nvidia drivers without messing with people's boot options (other than still needing the nouveau blacklist ofc.). However, this is just a revert, not an actual fix. nvidia-drm.modeset=1 is -required- as a kernel boot option if simpledrm is enabled. (See this which was merged upstream: negativo17/nvidia-driver#129 (comment)). Setting it as a module config is not enough (ie /etc/modprobe.d/). |
Ah that makes sense, im guessing simpledrm is a conflicting framebuffer though. Or there is some conflicting framebuffer somewhere... |
Either fbdev emulation is required or there is another driver trying to take control of the framebuffer, cant think of anything else. |
@ryzendew you might wanna checkout my https://github.com/YusufKhan-gamedev/open-gpu-kernel-modules/tree/drm/aperture_control |
I can reproduce the issue |
Yeah, none of them solve it, perhaps its a duplicate of #341 ? In that case maybe try a older kernel?? |
This has once again become a problem on the 6.1 kernel on Fedora: https://bugzilla.redhat.com/show_bug.cgi?id=2161104 Apparently given the comment on the Fedora dev their goal is not to ship any fbdev, and won't block any release on the NVIDIA driver, classic Fedora behavior, as they seem to be hoping for Nouveau to improve. |
sigh. Been nothing but problems with the drivers since moving to the 6.x kernels. It appears fedora has stopped supporting the nvidia workaround with the latest kernels. There is a patch in testing linked to the bug. I couldn't tell if works or what needs to be done to make it work (per some comments). Might just have to give this GPU the Office Space treatment. |
Fedora devs readded the kernel hack (it was accidentally dropped during an update), and the Nvidia driver works again as of |
This must have been fixed in 545.23.06 beta drivers. |
On Nobara we manually reenabled simpledrm a long while back since this happened. on fedora as mentioned a kernel patch/hack is used. The only way to test this is without simpledrm being enabled and without the hack. |
Wasn't this fixed? Judging by this comment negativo17/nvidia-driver#129 (comment), support was silently added in Stable Added support for console restoration when using simpledrm. |
NVIDIA Driver Version
515.43.04
GPU
3070 Max-q/GTX 1070
Describe the bug
https://fedoraproject.org/wiki/Changes/ReplaceFbdevDrivers
These Changes have broken TTY on fedora 36 and it causes a black screen for most if not all users.
more info here https://www.reddit.com/r/Fedora/comments/ucnqet/fedora_36_nvidia_blank_ttys/
Another issue is nvidia users are also getting a black screen at boot some having to wait 5 mins for the screen to kick in.
To Reproduce
install any driver on fedora 36 and try to switch to TTY
Expected behavior
No black screen on TTY
The text was updated successfully, but these errors were encountered: