LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-28-2017, 03:17 PM   #1
WiseDraco
Member
 
Registered: Nov 2006
Location: Europe,Latvia,Riga
Distribution: slackware,slax, OS X, exMandriva
Posts: 591

Rep: Reputation: 72
slackware64 14.2 +last kernel _ nvidia = blank screen from half a boot process


Hello!
Linux make me feel very happy more with every year.
at the beginning it was much more stable software, i think.

situation:
intel dg965ss motherboard, 8 Gb RAM, core 2 duo 2.2 ghz CPU,
Nvidia ASUS GT630 videocard with 2 gb RAM. ( PCI-express).

fresh slackware64 14.2 installation, latest kernel, upgraded today via slackpkg.

initlevel 3
all looks ok.
download last long-lived branch nvidia driver ( 375.66 ?).
start install it - it says about opensource nvidia driver, disable it via modprobe - as usual - ok.
reboot


start booting is ok till about half a boot process ( there is coming a lot of kernel messages), and then screen turns blank.
monitor show, there is a signal, there is a backlight, but no any graphical information - screen is completely blank.

great, yes?
ok, i have no total novice - i connect via ssh from my macbook, see machine is up and running.
try to connect monitor cable to onboard i915 video - no signal.
install nvidia driver, reboot - the same story. no any information on monitor after about half a boot process.

try to do vga=ask in lilo.conf and re-run lilo. boot, choose some videomodes - there is seen framebuffer video, but the same - about in a half of machine booting process there is no any videoinformation - screen is blank.

turn on init4 via /etc/initlevel or how that file names. reboot
ok, now there is any information lost after about half a boot process, but after some time display come to life, and start to show graphical login to x window system.


for me, looks like kernel in some stage try to decide, where and in what resolution it give video output, and if you have nvidia card without nouveau opensource driver from kernel, and textmode - you have an problem....

on the same hardware on 14.1 and upgrading to 14.2 ( but with older kernels, i do not upgrade old sytem about a year) all was ok.
i get into problems only today, when install fresh system for my son, and try install legacy nvidia driver ( from nvidia site).....
 
Old 06-29-2017, 03:40 AM   #2
aragorn2101
Member
 
Registered: Dec 2012
Location: Mauritius
Distribution: Slackware
Posts: 552

Rep: Reputation: 272Reputation: 272Reputation: 272
Hi,

With nouveau it normally like this:
The system boots in a low resolution up to the point where the nouveau module is loaded. Then you have graphics, the resolution becomes better and you get the prompt for login in runlevel 3.

With the older Nvidia drivers it used to be like this:
The system boots in low resolution. At some point you see the kernel loading the Nvidia module but all along you remain in low resolution. Finally you get your login prompt in runlevel 3 in low resolution. You login and startx, then the graphics kick in and your nvidia card is put to use in X. The tty's are just blank screens and the X session is in high res. Back then the nvidia drivers could not render tty.

But as from driver version 364.16, nvidia drivers started supporting KMS modesetting (https://wiki.archlinux.org/index.php...l_mode_setting), so that you can have a high resolution framebuffer.

This could be affecting you. It is likely that the system boots and you get a visual output up to the point where it loads the Nvidia module. Then, the driver attempts to give you a high resolution in the tty, but it does not work correctly. So, when your default runlevel is 4, you lose the screen output between the loading of the driver until X starts, then it is similar to the older drivers, i.e. your graphics works correctly in X.
 
1 members found this post helpful.
Old 06-29-2017, 11:55 AM   #3
WiseDraco
Member
 
Registered: Nov 2006
Location: Europe,Latvia,Riga
Distribution: slackware,slax, OS X, exMandriva
Posts: 591

Original Poster
Rep: Reputation: 72
thanks for answer, looks like it is the root of problem, but also, from what i read, it can be solved only via use of initramfs
 
Old 06-29-2017, 01:36 PM   #4
elcore
Member
 
Registered: Sep 2014
Distribution: Slackware
Posts: 677

Rep: Reputation: Disabled
Nouveau KMS works here without initramfs, it's just the nvidia KMS blob that doesn't work.
I just downgrade to 340.102, which doesn't have modesetting.
 
1 members found this post helpful.
Old 07-14-2017, 06:54 AM   #5
Synchronicity
LQ Newbie
 
Registered: Jul 2017
Location: Columbus, OH
Distribution: Slackware
Posts: 10

Rep: Reputation: Disabled
Hey, Slack newbie here. Created an account here specifically to look for this issue, since it's got me stumped. WiseDraco's issue description matches mine exactly.

I'm still confused, though. The responses seem to be saying that the blank screen is an issue with Nvidia's KMS modesetting, introduced in 364.16. Except that, in my case, I haven't installed the Nvidia drivers. WiseDraco didn't either, according to his description. He let the Nvidia installer blacklist nouveau, then rebooted, presumably with the intention of running the installer again afterwards. This is exactly what I did, and is consistent with SlackDocs' instructions.

I assumed the resolution kick during boot was a feature of nouveau, which aragorn2101 confirms is the case, so I don't understand why it is still happening even after the blacklist conf is added. It can't be the Nvidia drivers doing it either, because I haven't had the chance to install them yet.
 
Old 07-20-2017, 05:43 AM   #6
Synchronicity
LQ Newbie
 
Registered: Jul 2017
Location: Columbus, OH
Distribution: Slackware
Posts: 10

Rep: Reputation: Disabled
Found a workaround thanks to a tip from someone elsewhere on the net.

My mistaken assumption was that KMS was controlled by my system's video drivers - either nouveau or Nvidia - and that it would not happen if neither were active. This is not the case, and presumably with no video drivers to help, KMS doesn't function correctly.

I'm still not entirely sure how the kernel decides what mode to boot into, but I was able to suppress KMS temporarily by adding the "nomodeset" option from LILO. This succeeded in preserving the default VESA mode so that I could get to the terminal and install the Nvidia drivers.

Unfortunately, despite what some people have said, the latest Nvidia driver does NOT work with KMS (at least not out of the box), as I still get a blank screen when it kicks in. The drivers are working in X, at least. Worst case scenario, I may have to disable KMS permanently by adding nomodeset to my lilo.conf, but I'm still hopeful that I can work this problem and get Nvidia and KMS to cooperate.
 
Old 07-20-2017, 08:19 PM   #7
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 2,939

Rep: Reputation: 3001Reputation: 3001Reputation: 3001Reputation: 3001Reputation: 3001Reputation: 3001Reputation: 3001Reputation: 3001Reputation: 3001Reputation: 3001Reputation: 3001
FWIW I neither use KMS nor any initrd. I install nVidia drivers as I have for years by dropping out of X to Slackware's runlevel 3, CLI Only mode and although this works fine even with the original Huge.s kernel, I always compile my own and simply enable ext4 as an in-kernel module. My lilo.conf states "vga = normal" and for good measure I do

[code] append = "nomodeset" [/quote]

I have zero problems with this arrangement.
 
  


Reply

Tags
kernel, nvidia


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Why is it that Nvidia graphics cards boot into a blank screen... trist007 Slackware 8 11-06-2011 03:57 AM
[SOLVED] Slackware64 13.1 Nvidia framebuffer woes - blank screen after lilo ahmadj Slackware 18 06-12-2010 11:02 AM
NVidia Quadro FX 4800 - blank screen on X-Windows boot-up RHEL4u3 steventimothy Red Hat 0 06-15-2009 01:05 PM
Blank screen after boot on HP Pavilion dv6000 with a NVidia graphics card peruna Debian 3 06-04-2008 07:20 PM
Keep getting blank screen on attempt yo boot into kernel 2.6.7 johncsl82 Slackware 5 07-08-2004 09:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration