LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-02-2008, 10:46 PM   #1
hsimah
Member
 
Registered: Jan 2006
Location: Australia
Distribution: Slackware 12.1
Posts: 173

Rep: Reputation: 30
X and console resolution problem


Hi

I recently reinstalled Slackware 12.1 on my laptop, removing XP. I have been setting stuff up, and most things are going well.

My laptop has a WXGA resolution of 1366x768. To get my console to near to this I use vga=870 in lilo.conf and I get a nearly fullscreen framebuffer. Sweet.

When I start fluxbox, however, without editing xorg.conf at all, I get a screen resolution of 1360x768 matching my console one perfectly. I tried everything to change this, but nothing worked. So I changed lilo.conf to boot at 1024x768 (as per Slackware default). And lo and behold my X server starts at 1024x768.

So something is stopping X from reading xorg.conf, and I don't have the knowledge to figure out what.

I then started plugging random values into my lilo.conf in the vga=??? line, and upon passing an invalid resolution (vga=873) my console is running at 640x480, but when I run fbset it returns
/dev/fb0 no such file or directory

Where it should return the current resolution. Starting X from this console I get a perfect X resolution of 1366x768!

This confuses me greatly, as my xorg.conf states only 800x600, so it isn't that.

So what I want to know is how I can get a fullscreen console (or 1360x768 is close enough) AND a fullscreen X server (1366x768)

EDIT:

I set my lilo.conf back to vga=872. Then suddenly X would start at 800x600, or whatever other resolution I would tell it to use, so that clears up that.

Now the problem is to get 1366x768 to work in X. I used 915resolution to patch the bios, but that is patching it to 1368x768 unfortunately.

Last edited by hsimah; 08-02-2008 at 11:15 PM.
 
Old 08-04-2008, 08:16 AM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105
I assume after reading your story that you are still using the VESA driver for X.Org (which is what Slackware puts in xorg.conf by default).
What happens when you run
Code:
xorgsetup
and let the X server determine the optimal driver for your graphics card?

Quote:
upon passing an invalid resolution (vga=873) my console is running at 640x480, but when I run fbset it returns
/dev/fb0 no such file or directory
Because of supplying an invalid 'vga' mode, your console will not be running in framebuffer mode but in VGA mode instead. When the console does not use the framebuffer, then X.Org is free do do as it pleases when it uses the VESA driver - and then it is able to run the perfect resolution for your screen. You already noticed that in all cases where you start X from a framebuffer console, your X resolution (using the VESA driver) will always match that of the framebuffer console, regarless of what you configure.

This should change when you switch to X.Org's Intel driver.

Eric
 
Old 08-04-2008, 12:02 PM   #3
rob.rice
Senior Member
 
Registered: Apr 2004
Distribution: slack what ever
Posts: 1,076

Rep: Reputation: 205Reputation: 205Reputation: 205
another option for setting up X is to run
"X -configure " this will write an xorg.config.new file
and tell you how to test it if it works you can move it to
/etc/X11/xorg.config
I have yet to see it use less than the highest resolution
the screen and adepter can do or not work

Last edited by rob.rice; 08-04-2008 at 12:13 PM.
 
Old 03-27-2013, 09:28 PM   #4
frushiyama
Member
 
Registered: Oct 2010
Location: Brazil, SP - Cosmópolis
Distribution: Slackware
Posts: 171

Rep: Reputation: 40
Old thread but i found this:
vga = 895 #1366x768 resolution
There is a list of hexa values when the vga is a invalid value then i found 37F for 1366x768.
37F = 895 in decimal, which works for my lilo.conf on Slackware64 current.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Resolution Problem Solved But Now My Computer Starts Only In Kde Console Mode codename47 Linux - Newbie 1 04-03-2008 10:01 PM
KDE to console - resolution problem ejbram Slackware 12 07-26-2007 08:17 AM
console resolution problem. whansard Slackware 3 07-30-2004 09:39 AM
Console Resolution Problem After Kernel Update ShoCkwave Slackware 5 07-09-2004 10:53 AM
Console resolution problem after compiling 2.6.2 ... Cdzin Slackware 6 02-11-2004 10:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:14 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration