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.
Distribution: Win XP Pro / Slackware 10.1 dual-boot
Posts: 83
Rep:
resolution
Hey everyone,
I have just started again using Slackware 10.1, and in the near future will attempt to install the 2.6 kernel. However, until then, I would like for my video settings to work in the 2.4.29 kernel. My etc/X11/xorg.conf file shows 1024x768 as the default mode, yet everything is still in 800x600 resolution. Do I possibly need video drivers? I have an Nvidia GForce something or another, it's an onboard video chipset with my MSI motherboard. Any suggestions on how I could get my resolution to 1024x768?
# VertRefresh is in Hz unless units are specified.
# VertRefresh may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.
# "1024x768" is also a conservative usable default resolution. If you
# have a better monitor, feel free to try resolutions such as
# "1152x864", "1280x1024", "1600x1200", and "1800x1400" (or whatever your
# card/monitor can produce)
Try using "nv" as Driver which is Xorg's Nvidia module.
Also try removing the other modes and leave only the mode you want, like: Modes "1024x768" and check the horizontal sync and vertical refresh (you should be able to find these values on the web).
Editing xorg.conf and changing the horizontal sync and vertical refresh will make the change you seek. gbonvehi is right when it was suggested that you look up these values - either in the monitor's manual, or find it with a google search. You have to go up to get the resolution you want.
For example, I have a Dell M770 17" Monitor that is capable of 1280x1024. It is listed in the modes, but would not use it until I changed the values.
Horizontal sync from 31.5-50 to 31.5-70
Vertical refresh from 40-90 to 50-120. (Its maximum is 40-160)
Slackware uses the first compatible mode listed. Until you change the values, it will not use the incompatible mode.
Distribution: Win XP Pro / Slackware 10.1 dual-boot
Posts: 83
Original Poster
Rep:
So, I can't locate my monitor's manual, but on Google I found that the monitor has a .28 mm horizontal dot pitch and from Windows found that it runs the 1024x768 resolution with a 60 Hertz refresh rate and 96 dpi. Is this any of the info I'm looking for, and if it is, where should I place it in my xorg file? Also, if I should change the driver to nv, where should I do this?
Where you set the module to "nv" isn't in the section of xorg.conf you posted.
If that's the original xorg.conf from Slack, you'll find a line that says
Code:
Section "Device"
Identifier "VESA Framebuffer"
Driver "vesa"
#VideoRam 4096
# Insert Clocks lines here if appropriate
EndSection
in there somewhere. Just change the "vesa" to "nv" on the Driver line. The Identifier doesn't really matter at all.
As for finding the monitor's specs and capabilities, I'd need to know the monitor's model to find out specifically.
Additionally, rather than editing your xorg.conf file, you can make a backup of xorg.conf and then run xorgconfig as root. That will create a new xorg.conf from a menu-driven script, and will allow you to choose the nvidia driver. One of the default options for monitors is a monitor that can do 1024x768@60. It's entirely possible that your monitor will do a higher refresh rate at that resolution, and that Windows simply doesn't have the right monitor driver, btw.
Distribution: Win XP Pro / Slackware 10.1 dual-boot
Posts: 83
Original Poster
Rep:
The monitor is an HP Pavilion mx50. The above specs were all that I could find on it. I ran X -configure as previously suggested, but I will try xorgconfig, and changing the appropriate device to "nv."
Distribution: Win XP Pro / Slackware 10.1 dual-boot
Posts: 83
Original Poster
Rep:
So, I ran xorgconfig, and I did not see an improvement, which may be attributed to me not knowing the proper vertical refresh rates (I chose 50-90). I don't know why 1280x1024 is listed as a possible mode, either, I chose the horizontal sync that allowed for 1024x768 at 60Hz. I will post the new xorg.conf files, I'm open to suggestions....
Section "Monitor"
Identifier "HP Pavilion mx50"
# HorizSync is in kHz unless units are specified.
# HorizSync may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.
# VertRefresh is in Hz unless units are specified.
# VertRefresh may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.
Try setting your Default Depth lower, like 16 or even 8 until you can get the resolutions straitend out. I had the same problem on my Slack install for my laptop... after I lowered the color depth I was able to switch to the higher resolutions.
The horizontal frequency is 30-54Hz. The vertical frequency is 47-100Hz. It supports a maximum resolution of 1024x768@60, and a maximum flicker-free resolution of 800x600@85.
If you set the refresh values correctly, it will probably work fine. Failing that (and I'd suggest only after you've set them properly), you can try reducing the colour depth to 16-bit. xorgconfig, btw, is what gives you the options of setting the screen modes. When you run through it, you can choose to change the display modes and remove the 1280x1024 option.
Lastly, what kind of cable is connecting the monitor to the computer? I ask, because my monitor (Compaq P1100) uses an external cable that isn't permanently attached to the monitor. Depending on which cable I'm using, the monitor won't display what I tell it to. With my good cable, it'll go right up to the factory spec (1920x1440@75). With an older cable I have lying around, it only goes up to 1600x1200@75. (That's my normal resolution, but I prefer 85Hz). Before I threw it out, I had a signal cable that would only carry 800x600@60. It's possible, if the monitor uses an external signal cable, that your problem isn't the settings at all, but the cable.
Distribution: Win XP Pro / Slackware 10.1 dual-boot
Posts: 83
Original Poster
Rep:
The cable is permantly attached, I don't know the correct term for it. Plus, 1024x768 works perfectly fine in Windows. I'll make the changes you suggested.
1. mv /etc/X11/xorg.conf /etc/X11/xorg.conf.old (make copy of your exsting file)
2. xorgsetup (run the setup which determines the best resolution)
3. startx (run X windows )
also increase the HorizSync and VertRefresh values; here's my values:
Distribution: Win XP Pro / Slackware 10.1 dual-boot
Posts: 83
Original Poster
Rep:
Interesting little tidbit, after rebooting again my resolution for some reason is suddenly correct, using the .conf file created by xorgconf. Don't really know why. But whatever works. I'll definately print this thread in case I have further problems. Thanks, guys.
I'm using a Gforce AGP FX5600 video with a HP Pavillion MX50 on ubuntu Hoary,
Just Run on root console (or use a "sudo" at each line begin)
dpkg-reconfigure xserver-org
On the video optons choose "advanced"
Support:1024-768(60Hz) or 800x600(85Hz)
Horizontal:30-54
Vertical:47-100
Finish the config, then use:
/etc/init.d/gdm stop
/etc/init.d/gdm start
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.