Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
About the framebuffer logo
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Sixtiz
n00b
n00b


Joined: 09 Oct 2002
Posts: 56
Location: Australia

PostPosted: Thu Jan 16, 2003 1:31 pm    Post subject: About the framebuffer logo Reply with quote

Hi everybody !

Is there a special command to show / hide the framebuffer logo ?

I noticed that it disappears during boot, I don't know when exactly (just before entering the defaut runlevel I think).

Is it possible to re-display it later ? Or to prevent it from disappearing ?
I have a sparcstation running a debian 3.0 and on this station the logo never disappears, so I guess there's a way to control it...
Back to top
View user's profile Send private message
charlieg
Advocate
Advocate


Joined: 30 Jul 2002
Posts: 2149
Location: Manchester UK

PostPosted: Thu Jan 16, 2003 2:01 pm    Post subject: hmm Reply with quote

some people can't read.

(not a support forum)
_________________
Want Free games?
Free Gamer - open source games list & commentary

Open source web-enabled rich UI platform: Vexi
Back to top
View user's profile Send private message
cyfred
Retired Dev
Retired Dev


Joined: 23 Aug 2002
Posts: 596

PostPosted: Thu Jan 16, 2003 2:05 pm    Post subject: Reply with quote

Be nice.

Framebuffer options and the like are controlled by the kernel AFAIK.
To get the little pic to stay there permanently the source either has to be changed or the gentoo people have changed it to remove the image, so to maximise the CLI screen lines.

Which kernel are you using?
Look at the differences between the Debian fb headers and the Gentoo ones.
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Thu Jan 16, 2003 3:05 pm    Post subject: Reply with quote

Moved from Documentation, Tips & Tricks.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
Sixtiz
n00b
n00b


Joined: 09 Oct 2002
Posts: 56
Location: Australia

PostPosted: Thu Jan 16, 2003 11:23 pm    Post subject: Reply with quote

I know that the image is included un the kernel, I wonder if there's a hard-coded timout which makes the logo disappear or is there a way to tell the kernel to show / hide the logo while the system is running, for example via a /proc/sys entry...
Back to top
View user's profile Send private message
cyfred
Retired Dev
Retired Dev


Joined: 23 Aug 2002
Posts: 596

PostPosted: Fri Jan 17, 2003 3:16 am    Post subject: Reply with quote

I just did some grepping and reading through the kernel, and it looks like the image is set to be overriden after a certain number of lines, 80.

Ive tried changing this setting and am recompiling currently. So will post results in a little while.

The probable reason that the logo disappears is because the kernel defaults to "redraw" scrolling (which when the buffer fills, returns to the start and writes from there, going over the image). The documentation points to several other methods either ywrap or ypan which write to the screen slightly differently. Failing my simple kernel hack I will look at these too file is from /usr/src/linux/Documentation/fb/vesafb.txt (unless you use a specific other).
Back to top
View user's profile Send private message
cyfred
Retired Dev
Retired Dev


Joined: 23 Aug 2002
Posts: 596

PostPosted: Fri Jan 17, 2003 3:50 am    Post subject: Reply with quote

Well the hack didnt work, but it did allow me to increase the size of the image that was displayed. For those intersted you need to adjust both the LOGO_W and LOGO_H values in /usr/src/linux/drivers/video/fbcon.c currently they are set to 80 each which gives you 80 pixels, or 5 lines (16 pixel lines).

I changed these values to 200 a piece and the buffer still worked optimally with a 200 x 200 pixel image.

In regards to modifying the scroll method, ypan didnt work, and was unusable. ywrap doesnt seem to work either, but what I have noticed is that the image disappears when the keymod map is applied, or maybe just before.

In fact an complete new buffer seems to be formed at this time... Im still investigating this though.
Back to top
View user's profile Send private message
mr_neutron
Tux's lil' helper
Tux's lil' helper


Joined: 05 Jan 2003
Posts: 124
Location: Germany

PostPosted: Fri Jan 17, 2003 11:59 am    Post subject: Reply with quote

Quote:

I just did some grepping and reading through the kernel, and it looks like the image is set to be overriden after a certain number of lines, 80.

hmm... that's interesting, because since I changed the logo from "Larry the cow"[*] to "powered by gentoo" during my last kernel re-configuration, the logo does not disappear. Which is definitely not a good thing because it messes up the console when using 'less' or scrolling back with SHIFT+PGUP, even CTRL-L does not help.

I did not change any framebuffer-related kernel options besides the logo, so the reason seems to be in the logo itself, but I could not find the actual logo files under /usr/src/linux.

[*] don't want to offend Larry the cow :wink: , but the logo looks a little crumbly.
Back to top
View user's profile Send private message
cyfred
Retired Dev
Retired Dev


Joined: 23 Aug 2002
Posts: 596

PostPosted: Fri Jan 17, 2003 1:09 pm    Post subject: Reply with quote

mr_neutron wrote:

hmm... that's interesting, because since I changed the logo from "Larry the cow"[*] to "powered by gentoo" during my last kernel re-configuration, the logo does not disappear. Which is definitely not a good thing because it messes up the console when using 'less' or scrolling back with SHIFT+PGUP, even CTRL-L does not help.


Hmmmm what kernel options did you enable in the frame buffer section?
Which driver, etc...
Back to top
View user's profile Send private message
mr_neutron
Tux's lil' helper
Tux's lil' helper


Joined: 05 Jan 2003
Posts: 124
Location: Germany

PostPosted: Fri Jan 17, 2003 3:11 pm    Post subject: Reply with quote

CONFIG_FB=y
# CONFIG_FB_LOGO_TUX is not set
# CONFIG_FB_LOGO_LARRY is not set
# CONFIG_FB_LOGO_GENTOO is not set
CONFIG_FB_LOGO_POWEREDBY=y
# CONFIG_FB_RIVA is not set
# CONFIG_FB_CLGEN is not set
# CONFIG_FB_PM2 is not set
# CONFIG_FB_PM3 is not set
# CONFIG_FB_CYBER2000 is not set
CONFIG_FB_VESA=y
# CONFIG_FB_VGA16 is not set
# CONFIG_FB_HGA is not set
# CONFIG_FB_MATROX is not set
# CONFIG_FB_ATY is not set
# CONFIG_FB_RADEON is not set
# CONFIG_FB_ATY128 is not set
# CONFIG_FB_SIS is not set
# CONFIG_FB_NEOMAGIC is not set
# CONFIG_FB_3DFX is not set
# CONFIG_FB_VOODOO1 is not set
# CONFIG_FB_TRIDENT is not set
# CONFIG_FB_VIRTUAL is not set
# CONFIG_FBCON_ADVANCED is not set
CONFIG_FBCON_CFB8=y
CONFIG_FBCON_CFB16=y
CONFIG_FBCON_CFB24=y
CONFIG_FBCON_CFB32=y
# CONFIG_FBCON_FONTWIDTH8_ONLY is not set
# CONFIG_FBCON_FONTS is not set

This is not a big problem. I'll have to recompile the kernel someday, then I'll try another logo. Most of the time, I'm using X anyway.
Back to top
View user's profile Send private message
cyfred
Retired Dev
Retired Dev


Joined: 23 Aug 2002
Posts: 596

PostPosted: Sat Jan 18, 2003 12:40 am    Post subject: Reply with quote

Its not really a big issue no, and considering you are in X most of the time there is even less to be concerned with. But try adding this line below the VESA one.

CONFIG_FB_VESA=y
# CONFIG_FB_VGA16 is not set
# CONFIG_FB_HGA is not set
CONFIG_VIDEO_SELECT=y
.
.
.

See what happens then. Im not sure which menuconfig option produces this setting but thats the only difference between mine and your .config files.
Back to top
View user's profile Send private message
mr_neutron
Tux's lil' helper
Tux's lil' helper


Joined: 05 Jan 2003
Posts: 124
Location: Germany

PostPosted: Sat Jan 18, 2003 2:09 pm    Post subject: Reply with quote

Quote:

CONFIG_VIDEO_SELECT=y


I have that enabled, too. What I posted before was the output of
Code:

grep _FB_ /usr/src/linux/.config

I was just too lazy to check if this would miss some framebuffer related options.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum