Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Framebuffer problems after exiting XFree / KDE
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
hitman200ca
Tux's lil' helper
Tux's lil' helper


Joined: 02 Oct 2002
Posts: 110
Location: Canada

PostPosted: Fri Jan 16, 2004 7:11 am    Post subject: Framebuffer problems after exiting XFree / KDE Reply with quote

When using framebuffer mode (vga=788 in grub) and after exiting
Xfree the framebuffer mode seems to be changed. Each character is
huge and slightly distorted.

When using consolefont mode everything works fine.
A consolefont restart does not fix the problem. Is there a place in
the X / KDE configuration where the framebuffer mode after exiting
is set?

Everything worked before I upgraded to KDE 3.1.4 so I image the problem
is in a configuration file somewhere.

Anybody else delt with this issue ?

:o)
_________________
"Against stupidity, the Gods themselves contend in vain."
-- Friedrich von Schiller


Last edited by hitman200ca on Sat Jan 17, 2004 6:01 am; edited 1 time in total
Back to top
View user's profile Send private message
Angrybob
Guru
Guru


Joined: 19 Apr 2003
Posts: 575

PostPosted: Fri Jan 16, 2004 1:40 pm    Post subject: Reply with quote

are you using the plain vesa driver or the specialised nvidia framebuffer driver?
Back to top
View user's profile Send private message
hitman200ca
Tux's lil' helper
Tux's lil' helper


Joined: 02 Oct 2002
Posts: 110
Location: Canada

PostPosted: Fri Jan 16, 2004 3:34 pm    Post subject: Reply with quote

I'm not sure. I just recompiled the new 2.4.22-gentoo-r5 kernel
with the Oops fix patch however this problems been around
a while before that.

Where can I check which framebuffer I am using?

What is required to be compiled into the kernel for it to work?
(It works perfectly on bootup just screwed up after exiting X)

Thanks :o)
_________________
"Against stupidity, the Gods themselves contend in vain."
-- Friedrich von Schiller
Back to top
View user's profile Send private message
Angrybob
Guru
Guru


Joined: 19 Apr 2003
Posts: 575

PostPosted: Fri Jan 16, 2004 4:35 pm    Post subject: Reply with quote

run this:-
Code:

grep CONFIG_FB /usr/src/linux/.config



you might get something similar to this:-
Code:

CONFIG_FB=y
# CONFIG_FB_CYBER2000 is not set
# CONFIG_FB_IMSTT is not set
# CONFIG_FB_VGA16 is not set
CONFIG_FB_VESA=y
# CONFIG_FB_HGA is not set
# CONFIG_FB_RIVA is not set
# CONFIG_FB_I810 is not set
# CONFIG_FB_MATROX is not set
# CONFIG_FB_RADEON is not set
# CONFIG_FB_ATY128 is not set
# CONFIG_FB_ATY 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


only these two lines should be set:-

Code:

CONFIG_FB=y
CONFIG_FB_VESA=y
Back to top
View user's profile Send private message
Angrybob
Guru
Guru


Joined: 19 Apr 2003
Posts: 575

PostPosted: Fri Jan 16, 2004 4:36 pm    Post subject: Reply with quote

or you could run
Code:

dmesg | grep vesa
Back to top
View user's profile Send private message
hitman200ca
Tux's lil' helper
Tux's lil' helper


Joined: 02 Oct 2002
Posts: 110
Location: Canada

PostPosted: Fri Jan 16, 2004 7:18 pm    Post subject: Reply with quote

Here are the replys to the two commands that were described above.

Code:


midnight init.d # grep CONFIG_FB /usr/src/linux/.config
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_G is not set
# CONFIG_FB_LOGO_PENGUIN 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_LYNX 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_INTEL 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_SPLASHSCREEN=y
CONFIG_FBCON_CFB16=y
# 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
midnight init.d # dmesg | grep vesa
vesafb: framebuffer at 0xc8000000, mapped to 0xd0809000, size 1875k
vesafb: mode is 800x600x16, linelength=1600, pages=2
vesafb: protected mode interface info at c000:e700
vesafb: scrolling: redraw
vesafb: directcolor: size=0:5:6:5, shift=0:11:5:0
midnight init.d #

_________________
"Against stupidity, the Gods themselves contend in vain."
-- Friedrich von Schiller
Back to top
View user's profile Send private message
Angrybob
Guru
Guru


Joined: 19 Apr 2003
Posts: 575

PostPosted: Fri Jan 16, 2004 8:39 pm    Post subject: Reply with quote

well you are using the vesa framebuffer driver so thats ok, sometimes the nvidia framebuffer driver conflicts with the nvidia Xfree driver.... not sure whats wrong then, are you doing anything strange like tv output or dual monitor ?
Back to top
View user's profile Send private message
hitman200ca
Tux's lil' helper
Tux's lil' helper


Joined: 02 Oct 2002
Posts: 110
Location: Canada

PostPosted: Fri Jan 16, 2004 9:34 pm    Post subject: Reply with quote

Nope nothing strange.

The problem started when I updated KDE to version 3.1.4

I merged in the etc files with etc-update overwritting some
old stuff and when I reboot next (a while later) the framebuffer
mode was screwed up.

Where are the KDE config files located?
Which ones might deal with video stuff ?

Thanks :o)
_________________
"Against stupidity, the Gods themselves contend in vain."
-- Friedrich von Schiller
Back to top
View user's profile Send private message
Angrybob
Guru
Guru


Joined: 19 Apr 2003
Posts: 575

PostPosted: Fri Jan 16, 2004 9:51 pm    Post subject: Reply with quote

/usr/kde I think, but they shouldnt do anything like that... maybe you messed up your /etc/X11/XF86Config file..... dunno
Back to top
View user's profile Send private message
hitman200ca
Tux's lil' helper
Tux's lil' helper


Joined: 02 Oct 2002
Posts: 110
Location: Canada

PostPosted: Sat Jan 17, 2004 5:59 am    Post subject: Reply with quote

I checked the output of fbset before and after using X and the
output is the same so it seems that its not the mode that
has changed but some other aspect of the framebuffer
(font?)

Anybody know more about the framebuffer ?
_________________
"Against stupidity, the Gods themselves contend in vain."
-- Friedrich von Schiller
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