SlackwareThis Forum is for the discussion of Slackware Linux.
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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Your default color depth is 24 so technically you only need to change that mode, but do it to all of them anyway. For Modes X goes from right to left till it finds a resolution it can use with the monitor connected. My understanding is that if it can not find a valid mode for a particular Depth it goes down the scale of depths running through all listed modes. If it fails to find any valid modes you get the "X could not find a valid screen" stuff when you type startx.
I had the same problem where I only got 1024x768 when I added 1280x1024 to the Mode line.
I had to define the Mode in the monitor section, I believe. I forget the sytax. I found the X.org documentation that some modes are predefinded for VESA, maybe 1280x1024 is not?
I can find out exactly what I did in a few hours when I get home.
1. Enabled my mouse wheel (not relevent).
2. Upped my HorizSync to 28.0 - 96.0.
3. Added a ModeLine in the Monitor section. According to some web page this was the VESA standard for 1280x1024. YMMV.
4. Changed the driver to radeon, and specified my amount of RAM in the Device section.
5. Added the 1280x1024 mode to my Screen section in the Depth 24 subsection.
I never found these steps documented in LQ, so maybe this is a hack rather than the correct procedure.
If I remember correctly, after my install of Slack 10, startx would return to the command line with an error. Switching the driver to radeon fixed that.
The rest of the (relevent) changes were steps I took to get 1280x1024.
I am pretty new at manipulating .config files. If you could give me a little more guidance as to where exactly in the text of the file that information goes I would be very grateful. Thank you very much for helping me out on this.
My guess is that you are missing the Modeline in the Monitor section. Try mine. I added the Modeline immediately after the vertsync line.
I believe the Screen section will reference the Monitor section, so make sure you are editing the correct Monitor section.
For getting the changes to take affect, I think you have to restart X. Do you know how to do that? Certainly a reboot will do it, but for me I exit out to the command line and run startx again.
If you're still not getting the resolution, look in /var/log/<some X log> for messages about 1280x1024.
Sorry I can't be more exact, but I'm away from my Linux box until after work again.
I am happy to report that I have with the help of mephisto and most recently Skazi solved my resolution problem. I had my sync ranges out of whack. Thank you Skazi for directing me to /var/log where I found the discrepency and thank you mephisto for nailing refresh rates as the core of the problem. You guys rock!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.