LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 04-04-2004, 09:21 PM   #1
Huddlebum
Member
 
Registered: Nov 2003
Distribution: RedHat 9.0
Posts: 45

Rep: Reputation: 15
Help With Resolution in Gentoo


I recently did a stage 1 install of Gentoo on my PC, and I am having difficulties getting the monitor to do anything above 640x480. I am using the OEM onboard Intel i815 video card, and the system has gone up to 1280x1024 before under my coexisting Red Hat 9.0 installation.

Even when I use the exact same XF86Config file as my Red Hat, the monitor is still at 640x480. When I pass vga=791 to the kernel, I still get a 640x480 framebuffer.

I compiled my kernel myself, and I'm pretty sure I did it right. How can I be sure of this?

640x480 sucks.
 
Old 04-05-2004, 12:33 AM   #2
watashiwaotaku7
Member
 
Registered: Oct 2002
Location: wisconsin -- The Badger state
Distribution: gentoo
Posts: 654

Rep: Reputation: 30
to be sure its the kernel itself thats causing the problem you can always get a redhat or mandrake or whatever kernel from their packages directory on their ftp mirrors, you should have no problems simply booting with it though it may spit out a bunch of warnings they wont actually affect you or better yet would be to get a .config from one of those places and use make oldconfig so that you get all the proper modules why dont you post the section of your XF86Config that relates to resolutions, we dont need the rest
 
Old 04-05-2004, 02:17 AM   #3
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 57
In menuconfig/xconfig (for 2.6 series kernels):
[i]Device drivers --> Graphics support:
[ * ] Support for framebuffer devices
[ * ] VESA VGA graphics support
< * > Intel 810/815 support
Console display driver support -->
[ * ] Video mode selection support
< * > Framebuffer console support

...should enable your kernel to take full advantage of framebuffer textmode.


Håkan
 
Old 04-06-2004, 07:29 PM   #4
Huddlebum
Member
 
Registered: Nov 2003
Distribution: RedHat 9.0
Posts: 45

Original Poster
Rep: Reputation: 15
Here is the part of my XF86Config that relates to resolutions. Note that even though the only resolution specified is 1024x768, it goes to 640x480. The Red Hat config is identical to this one, and as stated above, it works fine. I have even chrooted to its X server, and it goes to 640x480 under this kernel. And if anyone knows of a stock kernel that has devfs support (required by gentoo), let me know. Thanks.

Code:
Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	DefaultDepth	24
	SubSection "Display"
		Depth     24
		Modes "1024x768"
	EndSubSection
EndSection
The full XF86Config is at http://home.comcast.net/~ryhudd/XF86Config

I now realize why genkernel didn't work right! I forgot to use hotplug. I'll try my newly recompiled kernel, and if that doesn't work, I'll try genkernel.

Last edited by Huddlebum; 04-06-2004 at 07:59 PM.
 
Old 04-06-2004, 11:48 PM   #5
watashiwaotaku7
Member
 
Registered: Oct 2002
Location: wisconsin -- The Badger state
Distribution: gentoo
Posts: 654

Rep: Reputation: 30
all kernels have devfs or at least all that I've ever seen, however you have to go to code maturity level options and use yes on prompt for development and/or incomplete code/drivers
 
Old 04-07-2004, 06:20 AM   #6
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 57
Huddlebum, hold your horses!

It sounds to me as if you are confusing framebuffer console modes with X modes. X modes have nothing to do with framebuffer modes. The vga=791 kernel option indicates you want to change your framebuffer resolution but you're editing XF86Config-4 which only matters to XFree86, not the framebuffer.


Håkan
 
Old 04-09-2004, 12:04 PM   #7
Huddlebum
Member
 
Registered: Nov 2003
Distribution: RedHat 9.0
Posts: 45

Original Poster
Rep: Reputation: 15
I understand that, but I'm saying, neither works above 640x480.

I have tried just about everything now. Can anyone help me, or tell me if I can find a kernel with everything enabled that does not conflict with each other? I'm to the point where I want to turn on everything until it works and then start turning things off.

The framebuffer isn't really that important to me. However, I REALLY want X to work right...

EDIT: ACK!!! I'm such an idiot. I looked at my X log in /var/log and it said that it thought my hsync rate of my monitor was too low to support the higher resolutions. It detected my $*(%(#%#% monitor wrong! I used the text utility xf86config and it now works great.

Last edited by Huddlebum; 04-09-2004 at 12:59 PM.
 
Old 04-09-2004, 08:36 PM   #8
watashiwaotaku7
Member
 
Registered: Oct 2002
Location: wisconsin -- The Badger state
Distribution: gentoo
Posts: 654

Rep: Reputation: 30
what version of Xfree do you have are you running arch or ~arch? try running the stable version, I've never had the problem with any version (im running ~arch) also, please post either your make.conf or just your USE and Cflags

edit
just read the rest of your post...great to hear you figured it out
/edit

Last edited by watashiwaotaku7; 04-09-2004 at 08:37 PM.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
default screen resolution smaller than max. resolution ?? Thoddy Linux - General 2 11-10-2005 01:33 AM
X: using larger resolution for games than default desktop resolution Jamo Linux - Games 2 04-10-2005 03:16 AM
gentoo resolution / nvidia pureevil4 Linux - Distributions 5 04-09-2004 03:40 AM
Installation screen resolution on gentoo mjovy Linux - Newbie 2 03-06-2004 01:36 AM
Issues with Gentoo - Sound, Wireless 1150, and SCREEN RESOLUTION!! ARGH@!!! Odubhth4igh Linux - Newbie 3 10-23-2003 03:17 AM


All times are GMT -5. The time now is 07:09 PM.

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