Industry guru Dave Taylor answers free tech support questions about a wide variety of business and technical topics, including blogging, Google AdSense, MySpace, Sony PSP, Apple iPod, Mp3 players, management, Linux, SEO, Mac OS X, Facebook, Twitter, LinkedIn and Microsoft Windows.

Slackware Linux screen resolution problem?

I am using Slackware 10.1 GNU/Linux? OS and quite happy with that. Though I am an advance user, I am having a problem with that!

I want to set the screen resolution to 1152 X 864 with 75Hz Monitor VF that works well with dual boot Windows 2000 Pro. Currently Slackware shows, 800 x 600, 1024 x 768 and 1280 x 1024 (60 Hz). I tried with XorgConfig file but in vain.

So, what do you think?


Dave's Answer:

Two possibilities come to mind:

While I can't speak specifically to Slackware, I can suggest a tool to use: Sax2. This is an open source tool from Suse (now Novell) that is included in Suse/Novell Linux, plus a few others (Yoper comes to mind). Get the source from Suse, compile and try Sax2. Here's a link.

Just to be a bit more clear, Sax2 is an xfree86 configuration utility. It still has its quirks, but my colleagues have found that when it's unware of a supported resolution it's easy to add that to the configuration and test it out. One great advantage is that it tests the changes you wish to make before committing them. A very handy feature when tweaking refresh rates. It helps keep you from "breaking" the config!

Also, you can edit the /etc/X11/xorg.conf by hand at the Section "Screen". Take note of the DefaultDepth [8-32] and Subsection "Display" which will help you figure out your default startup color depth - and just change the Modes to "1152x864" and restart X and you're done. The assumption here is that your monitor will support that resolution else you may end up with a virtual screen (which can be nice sometimes).

You could also just try adding:

Modeline "1152x864" 107.48 1152 1208 1336 1584 864 864 867 904

last in your "Monitor" section.

Your BIOS might not list that resolution though.

Finally, as with any other configuration tweaking, please be sure to back up your xorg.conf before you mess around with it.

Thanks to research associates Phil, Kyle Isom and Ed Ellis for their help with this question.


Help others find this article at Del.icio.us, Digg, Netscape, Reddit, and Simpy.

Subscribe!

Never miss another useful Q&A article again! Subscribe to AskDaveTaylor with Google Reader.

Comments

You can try xautoconfig, which is pretty handy to configure X for Linux on powerbook. :-) The trick is actually to set option “UseFBDev” be true in xorg.conf.

Posted by: Terminator at June 17, 2005 5:16 AM

If you're trying to get X to run correctly, pay careful attention to device names because they all have to agree with what's in the "Screen" and "ServerLayout" sections. This includes your monitor, video card, mouse, etc. Check to see what resolutions are listed under the "Screen" section, and feel free to add whatever you need. The server should get the apropriate information directly from your monitor, providing both it and your video card support DDC. Note, however, if your monitor and/or video card don't support DDC, or it just won't find some resolution that you know both pieces of hardware can do, then you'll have to either find a set of proper modelines, or create them yourself. For example, I have an nVidia Riva TNT2 video card and a Sony CPD-G500 monitor. The monitor will not report it's highest resolution, so I had to create a modeline myself. A little bit of work with a calculator, and some tweaking with xvidtune, and I had one that works. Patience is key.

Modeline "2048x1536" 332 2048 2168 2408 2744 1536 1561 1564 1612

If you're trying to get graphics working under the console, for such programs as links and seejpeg, you have to edit "/etc/vga/libvga.config". The format is almost entirely different from xorg.conf, but you should be able to grok the proper structure from the file itself.

Posted by: Tim at October 18, 2005 7:22 AM

I renstalled windows XP to get more screen resolution.. I got less 4 bit & cant slide it over to more pixles.. Whats your suggestion?

Posted by: Jason at March 7, 2007 1:28 PM

I have a lot to say, but ...
Starbucks coffee cup I have a lot to say, and questions of my own for that matter, but most of all I'd like to say thank you for all your efforts on this Web site by buying you a chai!

I do have a comment, now that you mention it!









Remember personal info?


Please note that I will never send you any unsolicited commercial email. Ever.

While I'm at it, please note that by submitting a question or comment you're agreeing to my terms of service, which are: you relinquish any subsequent rights of ownership to your material by submitting it on this site.









Search
Find just the answers you seek from among our 1700+ free tech support articles by using our Lijit search engine.


Help!





Subscribe to
Ask Dave Taylor!

Add to Google Reader
Add to My Yahoo!
Subscribe in NewsGator Online

RDF   XML

Free Updates!
Sign up and get free weekly updates and special offers on books, seminars, workshops and more.


Recent Entries
Join the List!
Join my author info mailing list, where you'll learn about my upcoming books, speaking gigs, and more!


Book Links
© 2002 - 2008 by Dave Taylor. All Rights Reserved.

Note: This web site is for the purpose of disseminating information for educational purposes, free of charge, for the benefit of all visitors. We take great care to provide quality information. However, we do not guarantee, and accept no legal liability whatsoever arising from or connected to, the accuracy, reliability, currency or completeness of any material contained on this web site or on any linked site.

[whiteboard marker tray]