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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
04-04-2004, 09:21 PM
|
#1
|
|
Member
Registered: Nov 2003
Distribution: RedHat 9.0
Posts: 45
Rep:
|
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.
|
|
|
|
04-05-2004, 12:33 AM
|
#2
|
|
Member
Registered: Oct 2002
Location: wisconsin -- The Badger state
Distribution: gentoo
Posts: 654
Rep:
|
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
|
|
|
|
04-05-2004, 02:17 AM
|
#3
|
|
Senior Member
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032
Rep:
|
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
|
|
|
|
04-06-2004, 07:29 PM
|
#4
|
|
Member
Registered: Nov 2003
Distribution: RedHat 9.0
Posts: 45
Original Poster
Rep:
|
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.
|
|
|
|
04-06-2004, 11:48 PM
|
#5
|
|
Member
Registered: Oct 2002
Location: wisconsin -- The Badger state
Distribution: gentoo
Posts: 654
Rep:
|
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
|
|
|
|
04-07-2004, 06:20 AM
|
#6
|
|
Senior Member
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032
Rep:
|
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
|
|
|
|
04-09-2004, 12:04 PM
|
#7
|
|
Member
Registered: Nov 2003
Distribution: RedHat 9.0
Posts: 45
Original Poster
Rep:
|
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.
|
|
|
|
04-09-2004, 08:36 PM
|
#8
|
|
Member
Registered: Oct 2002
Location: wisconsin -- The Badger state
Distribution: gentoo
Posts: 654
Rep:
|
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.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 02:12 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|