LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 03-29-2012, 02:32 PM   #1
idnotcrae
Member
 
Registered: May 2011
Distribution: Slackware
Posts: 121

Rep: Reputation: 0
video mode changes during boot


slackware boot with the penguin logo at the top and the text shows normally then the screen gets black and continue again with smaller text and the penguin logo has disappeared. this does not annoy me actualy but i just wanna find out why this happens.

I'm running slackware 13.37 and here is my graphic card type and lilo config

Quote:
root@H:/home/tux# lspci | grep -i vga
00:02.0 VGA compatible controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 03)
root@H:/home/tux# cat /etc/lilo.conf
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/sda
compact # faster, but won't work on all systems.
# Standard menu.
message = /boot/boot_message.txt

# Append any additional kernel parameters:
append=" vt.default_utf8=0"
#prompt
#timeout = 5
# VESA framebuffer console @ 1024x768x256
vga = 773
# Normal VGA console
#vga = normal
 
Old 03-29-2012, 05:37 PM   #2
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
Intel GPUs now support KMS. The kernel loads a module ('i915' in this particular case) which reads the EDID from the monitor and switches the console to the monitors preferred resolution. You can force a resolution by using the video=XRESxYRES kernel option (ie. video=640x480).

Adam
 
Old 03-29-2012, 06:33 PM   #3
idnotcrae
Member
 
Registered: May 2011
Distribution: Slackware
Posts: 121

Original Poster
Rep: Reputation: 0
thank you Adam, now i understand why video resolution changes, and i tried to force a resolution and added "video=1024x768" in lilo.conf but nothing happened, is there anything else missing?
 
Old 03-29-2012, 06:36 PM   #4
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
Did you rerun 'lilo' after editing /etc/lilo.conf? That should do it. What's the output of 'cat /proc/fb' ?

Adam
 
Old 03-29-2012, 07:03 PM   #5
idnotcrae
Member
 
Registered: May 2011
Distribution: Slackware
Posts: 121

Original Poster
Rep: Reputation: 0
no i forgot to run lilo,,, actually I always forget running it after any change of lilo.conf
,, anyway i run lilo now but here is the output

Quote:
bash-4.1# lilo
Unrecognized token "video" at or above line 12 in file '/etc/lilo.conf'
bash-4.1# cat /proc/fb
0 inteldrmfb
 
Old 03-29-2012, 07:14 PM   #6
idnotcrae
Member
 
Registered: May 2011
Distribution: Slackware
Posts: 121

Original Poster
Rep: Reputation: 0
i've noticed these lines by "dmesg" may help in this situation


Quote:
9.907341] fb: conflicting fb hw usage inteldrmfb vs VESA VGA - removing generic driver
[ 9.908320] Console: switching to colour dummy device 80x25
[ 9.911074] [drm:intel_panel_get_max_backlight] *ERROR* fixme: max PWM is zero.
[ 9.911080] Console: switching to colour frame buffer device 160x50
[ 9.916058] fb0: inteldrmfb frame buffer device
 
Old 03-29-2012, 07:29 PM   #7
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
Well you're definitely using KMS, but you need to add the video option to the append line in /etc/lilo.conf. I think you must have added it on its own line.

Once you make that change and run 'lilo', reboot and your console resolution should be 1024x768. You can confirm this with 'fbset'.

Adam
 
Old 03-29-2012, 07:54 PM   #8
idnotcrae
Member
 
Registered: May 2011
Distribution: Slackware
Posts: 121

Original Poster
Rep: Reputation: 0
fbset at the console gives me a resolution of 1280x800

it seems i'm missing something, lilo does not accept "video=XRESxYRES" option,, may be i need to read about frame buffer, i'll google it and see if i can learn additional information about it.
 
Old 03-29-2012, 07:59 PM   #9
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
Adding video=1024x768 to the append line definitely works here on my laptop with an intel GPU. My append line in /etc/lilo.conf looks like this now:

Code:
append=" vt.default_utf8=0 video=1024x768 "
Adam
 
Old 03-29-2012, 08:14 PM   #10
idnotcrae
Member
 
Registered: May 2011
Distribution: Slackware
Posts: 121

Original Poster
Rep: Reputation: 0
the append line works for me now and run lilo without problems with "video=XRESxYRES",,, however i still have the same problem ,,, during the boot my screen get black and then shows again without penguin logo. does that mean forcing a resolution did not work!
 
Old 03-29-2012, 08:23 PM   #11
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
No, it means the kernel is first launching with the vesa framebuffer and then switching to the KMS provided framebuffer when the i915 kernel module loads.
 
Old 03-29-2012, 08:38 PM   #12
idnotcrae
Member
 
Registered: May 2011
Distribution: Slackware
Posts: 121

Original Poster
Rep: Reputation: 0
that's what u already told me at the beginning,,, i thought i can boot without the changing in the resolution,,and i know i've asked many questions so far ,,, thank u for ur patience
 
Old 03-29-2012, 11:06 PM   #13
0mani
LQ Newbie
 
Registered: Mar 2012
Distribution: Slackware
Posts: 9

Rep: Reputation: Disabled
I have the same problem. Lilo will not exceed 800x600 resolution, but will switch to KMS i915 driver upon initrd initializations. I want to use KMS i915 straight from the lilo getgo. I have yet to figure it out after 2 days of tinkering.

Will building the i915 straight in to the kernel instead of as a module help? If so, how do i make sure it loads on boot?
 
Old 03-30-2012, 02:07 AM   #14
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Quote:
Originally Posted by 0mani View Post
Will building the i915 straight in to the kernel instead of as a module help? If so, how do i make sure it loads on boot?
It may fix the problem. A driver that is built-in does not need to be loaded.
 
Old 03-30-2012, 04:14 AM   #15
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
You won't be able to get KMS working "straight from the lilo getgo." KMS is part of the linux kernel and lilo launches before the kernel. If you build KMS into the kernel, however, you can get it to load within the first few seconds of the kernel loading.

Adam
 
  


Reply



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
[SOLVED] how to set video mode at boot user100 Slackware 10 10-15-2010 07:45 AM
Setting video mode on boot vs after?? coffeecoffee Linux - Newbie 3 10-08-2009 08:05 PM
Intel i810 video mode to use at boot prompt for high res video in Xwin will_kranz Linux - Newbie 0 02-17-2009 10:07 AM
Video mode boot message problem flowersrj Slackware 7 12-02-2006 05:52 PM
I want to boot my redhat8.0 in video mode,how to do it? prad Linux - General 11 12-12-2002 02:38 PM

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

All times are GMT -5. The time now is 07:30 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