LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 08-12-2004, 03:16 PM   #1
superandrzej
Member
 
Registered: Nov 2003
Posts: 63

Rep: Reputation: 15
problems with bootsplash/ framebuffer


Hi,

I have one question concerning bootsplash:
I'm using Slackware 10 with 2.6.7 patched and configured as advised on sites related to bootsplash.
I tried to run it but with no luck.
There is I guess one inconsistency in the information on the Net:

* on one hand bootsplash requires 16 bits images, and most images are 1024x768. That would meant that I should put vga=791 in my lilo.conf.
moreover it is strongly advised that only

"VESA VGA graphics support" should be the only graphic device to be compiled into kernel
http://www.gentoo-wiki.com/HOWTO_Fra...ash:Grubsplash

* on another hand frame buffer supports maximum
1024x768x256

http://www.linuxquestions.org/questi...71#post1014871

the above statements exclude each other. Where do I have things wrong??

thanks in advance

Andrzej

BTW. with my GeForce 4 the maximum resolution and colors I can have in frame buffer is 800x600x256
A.
 
Old 08-12-2004, 03:57 PM   #2
sio
Member
 
Registered: Jul 2003
Location: Louisiana, US
Distribution: Slackware
Posts: 129

Rep: Reputation: 15
I'm not sure what your asking. But I have a built-in GeForce 4 MX (NFORCE2 MB)

heres my experience.

kernel 2.4.26
I had the rivafb compiled in as a module [thats default]
you do have to have 16bit color.
The highest frame buffer i could have for that to work is 640x480

I had a beautiful 640x480 16bit picture load up just fine, worked great.

Most images are 1024x768, but you can open them up in gimp and scale
 
Old 08-13-2004, 04:44 AM   #3
superandrzej
Member
 
Registered: Nov 2003
Posts: 63

Original Poster
Rep: Reputation: 15
I know that with XFree86/x.org my graphic card support plenty of resolutions with 16bit and 32bit.
The question is why I cannot obtain in VESA framebuffer resolution 1024x768 16 bit when I know that under XFree86/x.org it is obtainable. I was also told that VESA frame buffer can support 1024x768 16 bit or eaven more.

Is there something wrong with with my hardware??
something wrong with my configuration??
or maybe there is a bug in VESA framebuffer driver??
 
Old 08-13-2004, 11:33 AM   #4
sio
Member
 
Registered: Jul 2003
Location: Louisiana, US
Distribution: Slackware
Posts: 129

Rep: Reputation: 15
As i stated above, you its something with your hardware.

The resolution you get in X is dependant on what driver you use. If your using the genereic nvidia driver "nv" then yes you can get higher resolutions. But if you were to use the Vesa Frame buffer it would be limited. Vesafb is what is used when the computer is also booting up. You could use rivafb (not the funnest thing to get working apparently) but then that would conflict with the driver (if your using the official driver) from nvidia. with your hardware, the highest resolution you can get in a vesa frame buffer @ 16bit color is 640x480. If you would like to see this for yourself open up a command prompt and type the following in as root, unless you have privileges to lilo

lilo -T video

this will list what video modes are supported, you'll also see a "bug found" i believe on that card as well.
 
Old 08-15-2004, 04:41 AM   #5
superandrzej
Member
 
Registered: Nov 2003
Posts: 63

Original Poster
Rep: Reputation: 15
Thank you sio,

It is even worst than you said


root@~\502#lilo -T video

VGA/VESA adapter:

640x350x16 mode 0x0010
640x480x16 mode 0x0012

320x200x256 mode 0x0013
640x480x256 mode 0x0101
800x600x256 mode 0x0103


good bye bootsplash
 
Old 08-16-2004, 06:57 AM   #6
superandrzej
Member
 
Registered: Nov 2003
Posts: 63

Original Poster
Rep: Reputation: 15
Talking

Good news,

Apparently the lilo was not too acurate in detecting avaliable resolutions.
I managed to run few themes 800x600x16bit which I downloaded from bootsplash.de.
 
Old 08-16-2004, 07:51 AM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,378

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
lilo only ever acknowledges standard resolutions, not framebuffer ones. does keep things in the dark a bit, but just add 200 to a normal hex resolution for the framebuffer equivalent
 
Old 08-16-2004, 10:05 AM   #8
superandrzej
Member
 
Registered: Nov 2003
Posts: 63

Original Poster
Rep: Reputation: 15
Question

I'm not sure what you are talking about.
can you give an example??
 
Old 08-16-2004, 10:12 AM   #9
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 242Reputation: 242Reputation: 242
I have a nvidia 440 MX and framebuffer is able to render 1024x768@24 bits resolution, I compiled the kernel 2.6.7 though.

in my grub.conf, I enable the framebuffer resolution by just put ' vga=792 ' into it at kernel parameters line.
 
Old 08-16-2004, 10:14 AM   #10
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,378

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
640x480x256 mode 0x0101 => FB mode = 0x0101 + 200 = 0x0301
800x600x256 mode 0x0103 => FB mode = 0x0301 + 200 = 0x0303
 
Old 08-17-2004, 03:40 PM   #11
abs
Member
 
Registered: Oct 2003
Posts: 203

Rep: Reputation: 30
so if i understand this correctly, even if lilo is configured with framebuffer (any mode), we can use the usual 640x480x16 bootsplashes?

also, i can use the rivafb drivers but stopped using them for lilo since the nvidia driver installer said it causes a conflict. could one of u shed a light on what my options are? can/cannot use fb with official nv drivers?

btw, i used to use 'VESA framebuffer console @ 800x600x256
vga = 771' so i know that res works for fb.

ty
abs

Last edited by abs; 08-17-2004 at 03:47 PM.
 
Old 08-19-2004, 03:20 AM   #12
superandrzej
Member
 
Registered: Nov 2003
Posts: 63

Original Poster
Rep: Reputation: 15
Cool

Cedric,

>I have a nvidia 440 MX and framebuffer is able to render 1024x768@24 bits resolution, I compiled the >kernel 2.6.7 though.

>in my grub.conf, I enable the framebuffer resolution by just put ' vga=792 ' into it at kernel parameters line.

from what I understood only 16 bit works with bootsplash. I haven't tried it yet but I assume that if 1024x768@16 bits resolution (vga=792) doesn't work in my case, neither will 1024x768@24 bits resolution.



acid_kewpie,

>lilo only ever acknowledges standard resolutions, not framebuffer ones. does keep things in the dark a >bit, but just add 200 to a normal hex resolution for the framebuffer equivalent

but still what lilo shows is that maximum is 800x600x256 mode 0x0103 => FB mode = 0x0301 + 200 = 0x0303 and in fact I can run 800x600x16bit that is 0x314.


abs,

>so if i understand this correctly, even if lilo is configured with framebuffer (any mode), we can use >the usual 640x480x16 bootsplashes?

frame buffer mode must correspond to bootsplash one for 640x480x16bit it is vga=785

>also, i can use the rivafb drivers but stopped using them for lilo since the nvidia driver installer said >it causes a conflict. could one of u shed a light on what my options are? can/cannot use fb with >official nv drivers?

you can use VESAfb just like me (no conflict with official Nvidia drivers.)


>btw, i used to use 'VESA framebuffer console @ 800x600x256
>vga = 771' so i know that res works for fb.

for bootsplash you need 16bit colors so either:
640x480x16bit it is vga=785
800x600x16bit it is vga=788 <-- this is the maximum I can get on my GeForce 4 MX 440
1024x768x16bit it is vga=791
1280x1024x16bit it is vga=794

I found on the net information that there are problems with GeForce 4 MX and frame buffer. What is funny because older cards do not have these problems and neither do newer ones.
 
Old 08-20-2004, 01:20 PM   #13
abs
Member
 
Registered: Oct 2003
Posts: 203

Rep: Reputation: 30
Quote:
Originally posted by superandrzej
abs,

>so if i understand this correctly, even if lilo is configured with framebuffer (any mode), we can use >the usual 640x480x16 bootsplashes?

frame buffer mode must correspond to bootsplash one for 640x480x16bit it is vga=785
i think u're wrong about this. i use 640x480x16bit for my bootsplash and for fb:
# VESA framebuffer console @ 800x600x64k
vga=788

Quote:
Originally posted by superandrzej
>btw, i used to use 'VESA framebuffer console @ 800x600x256
>vga = 771' so i know that res works for fb.

for bootsplash you need 16bit colors so either:
640x480x16bit it is vga=785
800x600x16bit it is vga=788 <-- this is the maximum I can get on my GeForce 4 MX 440
1024x768x16bit it is vga=791
1280x1024x16bit it is vga=794

I found on the net information that there are problems with GeForce 4 MX and frame buffer. What is funny because older cards do not have these problems and neither do newer ones.
i use the 64k frame buffer and 16bit splash both in different resolutions.
 
Old 08-22-2004, 05:14 PM   #14
superandrzej
Member
 
Registered: Nov 2003
Posts: 63

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by abs
i think u're wrong about this. i use 640x480x16bit for my bootsplash and for fb:
# VESA framebuffer console @ 800x600x64k
vga=788

i use the 64k frame buffer and 16bit splash both in different resolutions.
I don't think so. Both official documentation and my experience tell me that only the same resolutions of bootsplash and frame buffer will work. I checked 640x480x16bit FB with 800x600x16bit bootsplash and 800x600x16bit FB with 640x480x16bit bootsplash and neither worked.

What command do you use to create Initial RAM disk (initrd)???
 
Old 08-22-2004, 11:34 PM   #15
abs
Member
 
Registered: Oct 2003
Posts: 203

Rep: Reputation: 30
ok
i used a 640x480x16 splash and used the vga=788 fb (which is at 800x600x64).

i used the same command as is given in the README.initrd in /boot (diff kernel version, root, etc.) BUT i'm not using initrd. created it, tried it. worked. then i disabled it in lilo so i used the 2.6.7 kernel without initrd.

i managed to get my 2.6.8.1 kernel up and running and *now* framebuffer isn't working.
Code:
vesafb: probe of vesafb0 failed with error -6
i think some config vars have changed between 2.6.7 and 2.6.8. getting fb to work seems a bit more difficult. from what i can make out, since the probe failed, it has nothing to do with the resolution, even if i am wrong about that. (go top :P )

abs

Last edited by abs; 08-23-2004 at 12:37 AM.
 
  


Reply


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
trying to setup framebuffer/bootsplash slinky2004 Linux - General 9 10-13-2005 05:50 PM
Bootsplash, framebuffer help! shashir Slackware 1 08-17-2005 09:03 PM
VESA framebuffer vs Intel framebuffer in Slackware 10.0 with default kernel brancalessio Slackware 3 01-20-2005 03:21 PM
i810 FrameBuffer,Bootsplash, X SLaCk_KiD Linux - Hardware 1 01-20-2005 08:10 AM
2.4.26 No framebuffer or bootsplash jong357 Linux - General 3 07-06-2004 11:50 AM


All times are GMT -5. The time now is 02:19 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration