Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Frmebuffer problem on intel 945GM
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
redzi
n00b
n00b


Joined: 16 Sep 2005
Posts: 6

PostPosted: Fri Dec 07, 2007 8:55 pm    Post subject: Frmebuffer problem on intel 945GM Reply with quote

Hi.

I have HP compaq nx7400 notebook with intel 945GM graphics card. I've installed Gentoo with gentoo-sources 2.6.23-r3 x86 and cannot get any reasonable resolution in the console. My screen is 1280x800@60. I tried intelfb, vesafb and uvesafb none of which worked for me. In the kernel menuconfig I can't find vesa-tng, anyone knows why it isn't there?
Has anyone got his intel 945 run on anything more than 80x60 chars?
If so please post what should be done to make it running.
Maybe it would be worth to create some kind of walkthrough because quite many people have similar problem?

Best regards.
Rafal
Back to top
View user's profile Send private message
semtex
n00b
n00b


Joined: 01 May 2007
Posts: 18

PostPosted: Fri Dec 07, 2007 9:12 pm    Post subject: Reply with quote

I think that you should use the forum search option because a lot of people had the same question recently, including myself. Anyway, here is everything I know about the problem and how to fix it:

You will need the following kernel options (maybe not all of them, but it won't hurt to activate all of them):
Code:
Device Drivers  --->
  Graphics support  --->
    [*] Support for frame buffer devices
   <*>  Userspace VESA VGA graphics support
       
       Console display driver support  --->
        [*]    Video mode selection support
       <*>   Framebuffer Console support
        [*]    Support for the Framebuffer Console Decorations


And then you will need to add the following kernel boot option to your menu.lst (or grub.conf):
Code:
video=uvesafb:1024x768-32@60,(mtrr:3,ywrap)

The options in braces are optional, if you want to use them remove the braces. You will have to change the resolution, color depth and refresh rate to values that will fit your screen.

This config worked for me and for the most people I know.
CU,

SemteX
Back to top
View user's profile Send private message
skypjack
l33t
l33t


Joined: 05 Aug 2006
Posts: 884
Location: Italia - Firenze

PostPosted: Fri Dec 07, 2007 11:04 pm    Post subject: Reply with quote

I have an Intel 945GM and I use vesafb-ng for the framebuffer.
Of course, resolution is 1024x768 and it's the better one (1280x80 is possible but difficult to obtain).
semtex, why do you have uvesa and you don't use vesafb-ng?
Back to top
View user's profile Send private message
semtex
n00b
n00b


Joined: 01 May 2007
Posts: 18

PostPosted: Fri Dec 07, 2007 11:21 pm    Post subject: Reply with quote

I'm using x86_64 :)
Back to top
View user's profile Send private message
redzi
n00b
n00b


Joined: 16 Sep 2005
Posts: 6

PostPosted: Sat Dec 08, 2007 8:53 am    Post subject: Reply with quote

I added initramfs line in grub.conf.
During bootup I get following messages:

uvesafb: failed to execute /sbin/v86d
uvesafb: Geting VBE info block failed (eax=0x4f00,err=-2)
uvesafb: vbe_init() failed with -22
uvesafb: probe of uvesafb.O failed with error -22

Do you have any idea what could it be?
Back to top
View user's profile Send private message
redzi
n00b
n00b


Joined: 16 Sep 2005
Posts: 6

PostPosted: Sat Dec 08, 2007 9:37 am    Post subject: Reply with quote

Ok, it works on 1280x800 now (wow).
I added CONFIG_INITRAMFS_SOURCE=/usr/share/v86d/initramfs in the kernel configuration and deleted the line with initrd in the grub.conf.
Back to top
View user's profile Send private message
drFUNK
n00b
n00b


Joined: 23 Oct 2007
Posts: 6
Location: noVA, USA

PostPosted: Mon Dec 10, 2007 7:10 pm    Post subject: Reply with quote

redzi wrote:
Ok, it works on 1280x800 now (wow).
I added CONFIG_INITRAMFS_SOURCE=/usr/share/v86d/initramfs in the kernel configuration and deleted the line with initrd in the grub.conf.


Thanks! This worked on my i915GM as well.

P.S. Frambuffer in 1280x800 glory truly is beautiful :D .
Back to top
View user's profile Send private message
skypjack
l33t
l33t


Joined: 05 Aug 2006
Posts: 884
Location: Italia - Firenze

PostPosted: Tue Dec 11, 2007 2:25 pm    Post subject: Reply with quote

What's kind of driver do you have: uvesafb or intelfb?
Thanks so much ...
Back to top
View user's profile Send private message
drFUNK
n00b
n00b


Joined: 23 Oct 2007
Posts: 6
Location: noVA, USA

PostPosted: Tue Dec 11, 2007 5:44 pm    Post subject: Reply with quote

skypjack wrote:
What's kind of driver do you have: uvesafb or intelfb?
Thanks so much ...

I'm using uvesafb. Intelfb crashed on me a few times unfortunately.
Back to top
View user's profile Send private message
skypjack
l33t
l33t


Joined: 05 Aug 2006
Posts: 884
Location: Italia - Firenze

PostPosted: Wed Dec 12, 2007 12:18 pm    Post subject: Reply with quote

Ok. Thanks.
I'm using vesafb-ng, whit kernel 2.6.22. I know that uvesa start by kernel 2.6.23 so I'll try it in the near future ...
If it works whit your 915gm maybe it will work also with my 945gm ... Don't you think so?
Thansk ...
Bye bye
Back to top
View user's profile Send private message
skypjack
l33t
l33t


Joined: 05 Aug 2006
Posts: 884
Location: Italia - Firenze

PostPosted: Thu Dec 27, 2007 11:49 pm    Post subject: Reply with quote

Hi there,
I'm using uvesafb now, and fbcondecor with gentoo theme.
I can't start 1280x800 resolution, because the framebuffer crash to 640x480 ...
Trying without fbcondecor into boot runlevel and without the initrd line into menu.lst the result is the same: framebuffer doesn't work at 1280x800!
I don't know why ... Someone has an idea?
I have an intel 945gm, too ...

Thanks in advance ...
Back to top
View user's profile Send private message
write2prasadk
n00b
n00b


Joined: 27 Mar 2006
Posts: 29
Location: Kerala, India

PostPosted: Tue Jun 17, 2008 3:36 am    Post subject: Reply with quote

hi skypjack,

me too using uvesafb on a 945GM with tuxonice-2.6.25-r4, did you get 1280x800 resolution work??, if yes please reply
_________________
Acer Aspire/C2D1.73/945GM/1.5GB/160GB/DVD-RW/Gentoo x86/TuxOnIce 2.6.25-r4/GCC 4.3.1/Fluxbox 1.0
Linux Registered User #404517
Back to top
View user's profile Send private message
superlusr
n00b
n00b


Joined: 03 Jul 2009
Posts: 7

PostPosted: Sun Jul 05, 2009 9:24 am    Post subject: Reply with quote

Is an initial ramdisk required for frame buffer console decoration?
Back to top
View user's profile Send private message
szczerb
Veteran
Veteran


Joined: 24 Feb 2007
Posts: 1709
Location: Poland => Lodz

PostPosted: Sun Jul 05, 2009 10:57 am    Post subject: Reply with quote

Only if you want it right after grub.
Back to top
View user's profile Send private message
superlusr
n00b
n00b


Joined: 03 Jul 2009
Posts: 7

PostPosted: Sun Jul 05, 2009 2:11 pm    Post subject: Reply with quote

szczerb wrote:
Only if you want it right after grub.


Otherwise what happens? It appears as its runlevel is loaded?


Last edited by superlusr on Sun Jul 05, 2009 2:14 pm; edited 1 time 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: Sun Jul 05, 2009 2:11 pm    Post subject: Reply with quote

You need a initrd to have a console decoration and if not, you will only have a framebuffer.
Back to top
View user's profile Send private message
superlusr
n00b
n00b


Joined: 03 Jul 2009
Posts: 7

PostPosted: Mon Jul 06, 2009 4:38 am    Post subject: Reply with quote

d2_racing wrote:
You need a initrd to have a console decoration and if not, you will only have a framebuffer.

Thanks for the clarification, sorry for derailing the thread. Here's something a little more apropos http://mjanusz.wordpress.com/2009/05/31/915resolution-with-built-in-uvesafb/
Back to top
View user's profile Send private message
s4e8
Guru
Guru


Joined: 29 Jul 2006
Posts: 311

PostPosted: Mon Jul 06, 2009 5:39 am    Post subject: Reply with quote

I prefer the KMS fb support.
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: Mon Jul 06, 2009 11:43 am    Post subject: Reply with quote

Hi, in fact nowadays, we have the VESAFB and the new UVESAFB.

For my concern, if I want to use a framebuffer, I prefer to use the one inside the kernel, but for what I know, the uvesafb is working pretty good too :P
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