SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I've switched to distro kernel (generic) and initrd and elilo.conf recently. Ever since then the kernel will boot with a framebuffer console, which later on conflicts with the nvidia blob in many ways.
I have provided kernel parameters to stop this. no avail.
I have this in my kernel append statement and the Nvidia binary driver is working well with the generic Slackware kernel (I am typing this on that PC):
Code:
nvidia-drm.modeset=1
The nvidia installer also installed a blacklist file:
Code:
$ cat /etc/modprobe.d/nvidia-installer-disable-nouveau.conf
# generated by nvidia-installer
blacklist nouveau
options nouveau modeset=0
Thanks for the input. The nouveau blacklist I had already, although not created by any installer.
I replaced my kernel parameters by "nvidia-drm.modeset=1" and rebooted. This had an effect, but for the worse:
The kernel still bootet in framebuffer mode with a row of penguins at the top. Presumably at the time of pivot_root() (when the initrd is swapped for the real root fs) the display became garbled, in the sense that the console output only went to an area in the centre of the screen.
In hindsight it is clear that kernel options relating to nvidia modules (like nvidia-drm) can only come into effect when the nvidia modules are loaded.
So what I really need is control of the kernel when it is loaded with the initrd.
efifb is used as it should be, are there any kernel parameters boot used when you did the command?
Just to resume, at boot you get a readable resolution in console (1024x768), then the nvidia module is loaded and it messes with the resolution (too tiny) right?
efifb is used as it should be, are there any kernel parameters boot used when you did the command?
I've tried combinations of nomodeset, nofb, vga=normal, nvidia-drm.modeset=1, all with the same efifb output.
Quote:
Originally Posted by keefaz
Just to resume, at boot you get a readable resolution in console (1024x768), then the nvidia module is loaded and it messes with the resolution (too tiny) right?
I get a readable console resolution (larger than 1024 x 768), log in at run level 3. I am not sure if nvidia modules are already loaded at that point (I think in the past they were). I can work for hours in that mode, including switching virtual consoles.
Then I do telinit 4. X comes up using the nvidia modules. When switching back to "text" console (ctrl alt f1), the screen blanks out and the monitor goes to sleep. I can toggle back to desktop fine (alt f7).
When shutting down, again the screen blanks without a signal.
I also have a suspend/resume issue, which may be related to the PSU, I am not sure yet.
Quote:
Originally Posted by LuckyCyborg
BTW, the Linux kernel MUST use EFIFB to display something, because you console is not text, but graphical since the BIOS startup.
I didn't realize that. That makes the whole issue more difficult to solve.
I still wonder, am I the only one with this issue? Every motherboard of the last N years boots in EFI mode, no? maybe my screen size (4k)?
Addendum
Code:
video=efifb:off
using this kernel parameter leads to booting without any console output whatsoever. Every user name, password and command needs to be typed in blindly, but you will make it to the nvidia-powered desktop eventually.
Not recommended.
Last edited by Martinus2u; 01-18-2021 at 12:45 PM.
Reason: addendum
I just want to point out that I have the very same problem.
- UEFI boot with pinguins
- Slackware current with latest huge kernel (5.10.8)
- NVIDIA propriertary blob (460.32.03)
I can boot into run level 3 and 4 without problems, but as soon as I try to go from run level 4 to 3, the monitor goes into standby. Enabling modeset for nvidia-drm makes it worse, reducing the usable screen space to one third of the upper display.
Code:
$ sudo dmesg | grep -i fb
[ 0.151231] pci 0000:08:00.0: reg 0x10: [mem 0xfb000000-0xfbffffff]
[ 0.151279] pci 0000:08:00.0: BAR 1: assigned to efifb
[ 0.151557] pci 0000:00:03.1: bridge window [mem 0xfb000000-0xfc0fffff]
[ 0.294935] pci 0000:00:03.1: bridge window [mem 0xfb000000-0xfc0fffff]
[ 0.294985] pci_bus 0000:08: resource 1 [mem 0xfb000000-0xfc0fffff]
[ 0.306275] efifb: probing for efifb
[ 0.306285] efifb: framebuffer at 0xd0000000, using 3072k, total 3072k
[ 0.306286] efifb: mode is 1024x768x32, linelength=4096, pages=1
[ 0.306287] efifb: scrolling: redraw
[ 0.306289] efifb: Truecolor: size=8:8:8:8, shift=24:16:8:0
[ 0.308312] fb0: EFI VGA frame buffer device
[ 0.318478] ahci 0000:0b:00.0: flags: 64bit ncq sntf ilck pm led clo only pmp fbs pio slum part
From searching the internet, it seems that other distributions are reporting similar issues. It all points to the nvidia blob. Unfortunately I cannot test downgrading the driver as I have a RTX 3000 card.
From searching the internet, it seems that other distributions are reporting similar issues. It all points to the nvidia blob. Unfortunately I cannot test downgrading the driver as I have a RTX 3000 card.
Because it is The Blob's fault.
Guys, if you really want to happy switch the virtual consoles and things alike, I strongly recommend you to buy another graphics card, made by another vendor which considers seriously the open-source, for example: AMD or Intel.
PS. I use (sometimes) a NVIDIA graphics card only and exclusivelly because I received it as gift. And only for experiments.
I would NOT give one ruble (or dollar) for any FaRTX 5000 made by NVIDIA. Because of The Blob they worth nothing.
When they will consider seriously to have open-source drivers for real, maybe I will reconsider my opinion myself.
Last edited by LuckyCyborg; 01-19-2021 at 04:02 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.