Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] Framebuffer (vesafb) in Linux 2.6.28
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
MaximeG
l33t
l33t


Joined: 15 Apr 2008
Posts: 722
Location: Belgium

PostPosted: Wed Dec 24, 2008 8:38 pm    Post subject: [Solved] Framebuffer (vesafb) in Linux 2.6.28 Reply with quote

Hi,

I've installed kernel 2.6.27 lately and framebuffer stopped working.

The problem is I don't really know what to set up in kemel to get it back working for my nvidia card.

So if someone could give me some hint on which configuration I need to enable back the framebuffer for my video card, I'd be grateful :)
(It used to work perfectly on my 2.6.26 kernel)

Regards,
Maxime
_________________
Future is wide open.


Last edited by MaximeG on Mon Jan 19, 2009 4:54 pm; edited 4 times in total
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Wed Dec 24, 2008 8:56 pm    Post subject: Reply with quote

Hi, I would like to know if you use the Vesa Framebuffer or something else ?
Back to top
View user's profile Send private message
MaximeG
l33t
l33t


Joined: 15 Apr 2008
Posts: 722
Location: Belgium

PostPosted: Wed Dec 24, 2008 10:34 pm    Post subject: Reply with quote

Hi,

To be honest I don't really remember last kernel default.
It used to wrok quite efficiently using it, but since the new kernel version I suspect framebuffer not to be enabled by default anymore.

I may find the one I need by trying them one by one, one after the other. But I don't want to mess something up doing this.

I know your question is relevant, but I honestly cannot answer it. My question being basically yours : which framebuffer should I use and how to install it properly considering I have an nvidia GPU.

Kind Regards,
Maxime
_________________
Future is wide open.
Back to top
View user's profile Send private message
Xake
Guru
Guru


Joined: 11 Feb 2004
Posts: 588
Location: Göteborg, the rainy part of scandinavia

PostPosted: Thu Dec 25, 2008 2:52 am    Post subject: Reply with quote

MaximeG wrote:
I know your question is relevant, but I honestly cannot answer it. My question being basically yours : which framebuffer should I use and how to install it properly considering I have an nvidia GPU.


What is your use-case?
If you are using X you can forget about nvidiafb, as it kills kittens 8or other nvidia drivers trying to handle the same hardvare).
In that case you should if you are running x86 try vesafb, if not try uvesafb. Both are in the kernel, but uvesafb are a bit harder to setup (if yu cannot remeber setting it up earlier, this was not what you used).

That said: is there no way for you to retrieve your old working config?
Like looking inside /usr/src/(name of your old kernel)/.config?
Or If you used genkernel /etc/kernels/(name of your old kernel)?
Back to top
View user's profile Send private message
MaximeG
l33t
l33t


Joined: 15 Apr 2008
Posts: 722
Location: Belgium

PostPosted: Thu Dec 25, 2008 10:54 am    Post subject: Reply with quote

Hi,

According to my grub settings, I used to use vesafb.

I dig in the new kernel configuration and found a list of different brand specific FB drivers (nvidiafb ...) and even the uvesafb but couldn't find the vesafb module.
I found other framebuffer supports but couldn't make sure it was the vesafb (using the help menu option).

Do you happen to know where it's the option in the kernel config ?

Thanks !
Maxime
_________________
Future is wide open.
Back to top
View user's profile Send private message
Xake
Guru
Guru


Joined: 11 Feb 2004
Posts: 588
Location: Göteborg, the rainy part of scandinavia

PostPosted: Thu Dec 25, 2008 11:32 am    Post subject: Reply with quote

MaximeG wrote:
Hi,

According to my grub settings, I used to use vesafb.

I dig in the new kernel configuration and found a list of different brand specific FB drivers (nvidiafb ...) and even the uvesafb but couldn't find the vesafb module.
I found other framebuffer supports but couldn't make sure it was the vesafb (using the help menu option).

Do you happen to know where it's the option in the kernel config ?

Thanks !
Maxime


IIRC it is listed as "VESA support", directly below "VGA support" under framebuffert-drivers.
Cannot confimr currently.
Back to top
View user's profile Send private message
MaximeG
l33t
l33t


Joined: 15 Apr 2008
Posts: 722
Location: Belgium

PostPosted: Fri Dec 26, 2008 9:29 am    Post subject: Reply with quote

Hi,

Well, as I said in my previous post, I couldn't find it in the framebuffer devices.

I see the vga support (module vga16fb or something) and directly below it I have the userspace vesa support (module uvesafb)
But I cannot find (vesafb) in the list.

Have they removed it from 2.6.27 kernels, or have they moved somewhere else in the kernel config ?

Thanks,
Maxime
_________________
Future is wide open.
Back to top
View user's profile Send private message
ok
Guru
Guru


Joined: 11 Jul 2006
Posts: 390
Location: germany

PostPosted: Fri Dec 26, 2008 10:24 am    Post subject: Reply with quote

You have to select 'Support for frame buffer devices' as build-in not as module:
Code:

Symbol: FB_VESA [=n]
   Prompt: VESA VGA graphics support
     Defined at drivers/video/Kconfig:675
     Depends on: HAS_IOMEM && FB=y && X86
     Location:
       -> Device Drivers
         -> Graphics support
           -> Support for frame buffer devices (FB [=y])
     Selects: FB_CFB_FILLRECT && FB_CFB_COPYAREA && FB_CFB_IMAGEBLIT && VIDEO_SELECT
                                                                                                                                                                                                                     
Symbol: FB_UVESA [=n]
   Prompt: Userspace VESA VGA graphics support
     Defined at drivers/video/Kconfig:657
     Depends on: HAS_IOMEM && FB && CONNECTOR
     Location:
       -> Device Drivers
         -> Graphics support
           -> Support for frame buffer devices (FB [=y])
     Selects: FB_CFB_FILLRECT && FB_CFB_COPYAREA && FB_CFB_IMAGEBLIT && FB_MODE_HELPERS
Back to top
View user's profile Send private message
MaximeG
l33t
l33t


Joined: 15 Apr 2008
Posts: 722
Location: Belgium

PostPosted: Tue Jan 13, 2009 8:27 pm    Post subject: Reply with quote

Thanks,

Looks like that compiling it in kernel instead as a module worked.

Although, now using kernel 2.6.28, it doesn't recognize my configuration anymore. It says it doesn't know the vga mode : 31A.

It's the same configuration (grub.conf) as before, and it used to work :

Code:

kernel /boot/kernel-2.6.28 root=/dev/sdb3 video=vesafb:ywrap,mtrr vga=0x31A


Do the options changed ?

Thanks,
Maxime
_________________
Future is wide open.
Back to top
View user's profile Send private message
MaximeG
l33t
l33t


Joined: 15 Apr 2008
Posts: 722
Location: Belgium

PostPosted: Sat Jan 17, 2009 4:29 pm    Post subject: Reply with quote

Hi,

Nobody knows how to use (configure) the FrameBuffer with kernel 2.6.28 ?

Thanks,
Maxime
_________________
Future is wide open.
Back to top
View user's profile Send private message
swimmer
Veteran
Veteran


Joined: 15 Jul 2002
Posts: 1330
Location: Netherlands

PostPosted: Sun Jan 18, 2009 1:49 pm    Post subject: Reply with quote

Should'n that be "video=uvesafb"? Besides that you're missing "console=tty1" in your cmdline ...

Finally my /etc/modprobe.d/options:
Code:
options uvesafb mode_option=1280x1024-32@75
options uvesafb scroll=ywrap mtrr=3


HTH
swimmer
Back to top
View user's profile Send private message
MaximeG
l33t
l33t


Joined: 15 Apr 2008
Posts: 722
Location: Belgium

PostPosted: Mon Jan 19, 2009 1:29 pm    Post subject: Reply with quote

Hi,

Well, I'm trying to use vesafb and not uvesafb. So it's configured to video=vesafb on purpose.
This configuration line (which comes from my grub.conf) used to work well with my previous version of kernel (2.6.26 at least, can't be sure for the 2.6.27 though).

So my question is, what has changed since 2.6.26 concerning vesafb ?

About this module options in
Code:
/etc/modprobe.d/options

Is it valid for baselayout 2 (which one I'm currently using)?[/code]

Regards,
Maxime
_________________
Future is wide open.
Back to top
View user's profile Send private message
swimmer
Veteran
Veteran


Joined: 15 Jul 2002
Posts: 1330
Location: Netherlands

PostPosted: Mon Jan 19, 2009 1:49 pm    Post subject: Reply with quote

Ok - sorry about the confusion with vesafb & uvesafb :-/

And I have no idea whether /etc/modprobe.d/options is a legal option for your baselayout-2 - but you can also use /etc/modules.d/vesafb for example so this should not be such a big problem ;-)

Greetz
swimmer
Back to top
View user's profile Send private message
MaximeG
l33t
l33t


Joined: 15 Apr 2008
Posts: 722
Location: Belgium

PostPosted: Mon Jan 19, 2009 2:45 pm    Post subject: Reply with quote

Ok thanks :)

I'll have to figure out how these options need to be configured for baselayout 2 then, since I know it uses a different syntax than what it used to.

Anyway, seems like I'll have to try out this uvesafb.

Maxime
_________________
Future is wide open.
Back to top
View user's profile Send private message
MaximeG
l33t
l33t


Joined: 15 Apr 2008
Posts: 722
Location: Belgium

PostPosted: Mon Jan 19, 2009 4:51 pm    Post subject: Reply with quote

Ok,

My bad ... :oops:
It looks like I checked the wrong fb module in my kernel config.

So indeed : compiling in kernel support for frame buffer and hardware driver FB_VESA worked.

Regards and Thanks !
Maxime
_________________
Future is wide open.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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