-
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
drm: support fbcon #342
base: main
Are you sure you want to change the base?
drm: support fbcon #342
Conversation
0a3feeb
to
88636e7
Compare
7c3533e
to
cb3daaf
Compare
@YusufKhan-gamedev: thanks for the suggestion. However, it is kind of hard to consider patches if they are untested. And, yes, I think it is straightforward to register with fbcon. The concern is what impact this has for users who want to unload the kernel module and install a new driver. Does this change make it more difficult to rmmod nvidia-drm.ko? |
@aritger: Ill work on a solution to this dilemma now that I got ogk running on my desktop. |
Signed-off-by: Yusuf Khan <[email protected]>
cb3daaf
to
cebba86
Compare
I just added the |
any update about this? this PR, plus #356 , the console log freeze late than before with my 1070ti, 525.53 kernel 6.0.x and uefi machine |
As in the console froze here but not in main? Or the other way around? Do you have a specific issue alleviated by this? |
my issue is this: and with this PR and with #356: in both cases. the screen is freeze, but the machine still works doing things in background. and also i can enter to wayland session by blind typping. xorg refuses to load ALL with privative drivers with DKMS (open modules not work with my GPU) . only i applied the .c/.h changes. the greetings |
This MR probably solves your initial problem, but im not setting something properly and so you get an identical problem on your machine.
Do we have a log for that? |
sorry, no because when i do that blind typping, i cant see in what state is when hit the enter. |
Its fine, ill create a script to handle loading X when I have the time to |
Xorg "log" ( runing:
the screens turns black after hit enter edit:
|
Your straight up running the EFI framebuffer, maybe try using the |
i'm here for play the game xd let me check EDIT: with i cant see (after restore the kernel parameters) something wrong in journalctl log
with greetings for note, in my grub conf:
|
Maybe you could lower GRUB_GFXMODE to 1920x1080x16? I cant really tell after this, you might have better luck with nouveau after GSP support and NVK become merged in later kernel and mesa releases. |
the problem is cuda :/ |
@@ -122,6 +122,7 @@ test_headers() { | |||
FILES="$FILES drm/drm_ioctl.h" | |||
FILES="$FILES drm/drm_device.h" | |||
FILES="$FILES drm/drm_mode_config.h" | |||
FILES="$FILES drm/drm_fb_helper.h" | |||
FILES="$FILES dt-bindings/interconnect/tegra_icc_id.h" | |||
FILES="$FILES generated/autoconf.h" | |||
FILES="$FILES generated/compile.h" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Section has been moved to kernel-open/Kbuild with 515.76.
Thanks for getting this idea started, @YusufKhan-gamedev . Unfortunately getting it to work isn't quite this simple. I took a stab at wiring it up properly, but it's going to take some work. I pushed my work-in-progress patches to my fork. This is enough to get drm_fbdev_generic to initialize, and it works alright with drm-kms clients such as typical Wayland compositors. Unfortunately, more work will be needed to make it interoperate correctly with native nvidia-modeset clients such as the NVIDIA X driver or Vulkan direct-to-display. I'm going to keep working on that part of it. |
Untested because I cant test. ---Should fix [341] and [nope]--- should allow tty modesetting.