building my own kernel: no video output on notebook LCD
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.
You can get good info on what works in your Huge kernel with modinfo which will include firmware modules. Here's some good info --- --- Understanding Modinfo ---
nVidia makes the following driver for your card
Code:
Version: 375.66
Release Date: 2017.5.4
Operating System: Linux 64-bit
So if you load the Huge kernel and install nVidia's 375.66 and use modinfo on that driver you can see all it needs to work. Rebuild your kernel with that, launch in VGA (no modeset) and install 375.66 on the new kernel. I think that covers it.
I have tried installing 340.102, but I have hit some compilation/module load errors
I eventually managed to compile and load the 340.102 driver version, but still no framebuffer console for me.
Hints for compiling the module: forum thread patch for 4.9.x
In the end I also tried to switch back to the built-in Intel card, but that did not yield any graphics output either (with my own kernel).
Only with the old distro kernel, and there nouveau worked as well when the NVidia card was enabled.
Nomodeset prevents the kernel module from making settings adjustments. It's the sort of thing that goes in when you have video trouble (e.g. video crashing/going AWOL halfway through the boot). If the system works well, you won't want it.
Nomodeset prevents the kernel module from making settings adjustments. It's the sort of thing that goes in when you have video trouble (e.g. video crashing/going AWOL halfway through the boot). If the system works well, you won't want it.
I also mentioned "nomodeset" as my personal preference is to forego higher bootup resolution in favor of graphics and boot simplicity. I see now that for some reason OP really wants higher resolution during bootup, so nomodeset does indeed need to come out.
I have the same issue. I don't like high resolution on bootup, as the fonts become tiny. I have a 1600x900 17.3" laptop screen. What I did was to load the Red Hat terminus fonts. They go big - up to 32 points. In rc.local, I have the line
Code:
setfont ter-928n
in the sequence. I don't load the 32 point font as it's too big for the console and causes side issues.
I forget where I got them, but I'm sure you'll find them.
In deed my problem is not that the framebuffer console fonts are tiny or unreadable.
There is nothing displayed at all.
In the meantime I tried removing nomodeset, and recompiled my kernel with the EFI frame buffer disabled, and I got the framebuffer console working with the integrated Intel card.
Switching over to the NVidia discrete card however meant that I lost everything on the bootup console again, plus the graphical GUI did not come up either.
I will have to debug that issue further. Perhaps the X logs may tell me some information...
Please forgive me if this question is too basic, but you do realize you don't need a frameuffer to see the bootup process, right? Basic VGA or VESA output is a requirement in all video cards, AFAIK. That's why there is a fundamental option in /etc/lilo.conf for "VGA = normal"
Please forgive me if this question is too basic, but you do realize you don't need a frameuffer to see the bootup process, right? Basic VGA or VESA output is a requirement in all video cards, AFAIK. That's why there is a fundamental option in /etc/lilo.conf for "VGA = normal"
Yes, currently there is no explicit framebuffer device driver compiled into the kernel or as a module.
The intel graphics driver shows the boot process okay, and so does nouveau when the nvidia card is enabled.
With the proprietary nvidia driver however there is nothing shown on the screen.
In my case the "vga = normal" setting is a remnant of the original kernel parameter string from elilo.conf.
I managed to make some further progress:
With the most recent nvidia driver (375.66) I managed to get the graphical GUI working, but still no text console for me.
So during a boot, I am basically flying blind, which is unacceptable for me.
Other part of the picture is (as I mentioned earlier) that intel graphics driver shows the boot process okay, and so does nouveau when the nvidia card is enabled.
Ok, you're making progress.
You have the Intel card singing; the Nvidia card comes once the module is loaded, or when you start X?
Either way, it seems you're down to boot options. You have a couple of ways to go
1. Fix your Nvidia boot arrangement. Those lilo or grub video parameters may matter to you.
2. Boot on the Intel card and switch over to nvidia later.
3. Load the Nvidia module in an initrd and see if that improves things.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.