SlackwareThis Forum is for the discussion of Slackware Linux.
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.
I just install Slack 9 on my new comp (athlon 2200, A7N8X motherboard, NVIDIA GeForce4 Ti 4200) and noticed strange problem with X configuration. I used xf86config (xf86setup produced wrong config file, I wonder why, without screen resolution section), entered all parameters, and after startx noticed, that my screen looks fine with one exception : it is shifted to the right for about 0,5 cm (black stripe occurred at the left side of the screen and the right side came out of the screen area). In Windows and in console mode all is OK, screen is properly centered, so it is neither problem with monitor nor with graphic card, but with X configuration. I haven't noticed in xf86config a place, where screen position adjustment can be done, and I don't want to touch regulation buttons on my monitor as I don't want to destroy my Windows display.
Is it any way to change screen position from within X?
Another question, where to set refresh rate of my monitor (85 Hz)? I also cannot find right place for it in xf86config.
Any help would be appreciated.
P.S. Previously I had Slack on my old CA6300 laptop, where everything worked fine.
You cannot change the screen "position" with XF86Config however once the refresh rate is set correctly it MIGHT snap into place.
The refresh rate is specified in the #Monitor Section in XF86Config you need to change the HorizSync to match the horizontal sync of your monitor and the VertRefresh to match the vertical refresh rate. These two together will automatically determine the 85 Hz.
Thanks labr@, but concerning on refresh rate, are you sure? In Windows when I click on "properties" on my desktop, a window appears, in which I can set refresh rate for given resolution, and normally there are values from 60 to 85Hz (or higher, depending on monitor type) to choose and it can be freely set. Doesn't XFree provide the same functionality?
From data sheet of my monitor (Samsung SyncMaster 753DFX) I inserted horizontal 30-70 and vertical 50-160, and I don't think, that from these values refresh rate is computed (if so, why 85 and not for example 60, which is also possible).
Is it any way to set explicitly?
Both of the replies you received for this post are essentially correct. From the horizontal and vertical refresh rates that you enter in XF86Config and the video card driver, XFree86 will be able to determine the refresh rates possible for your monitor and video card at different resolutions. It will automatically use the highest one possible. I've always found this behavior acceptable and have never felt the need to try to get it to do anything differently.
The steps I would take to solve your problem would be:
1. Double check your horizontal and vertical refresh rates in your XF86Config file, and if there is any mistake edit it by hand to make them correct.
2. If the refresh rates are correct, consider the possibility that you are running at a higher refresh rate or a different resolution in X than in Windows. If this is the case, most new monitors have a different set of screen position parameters stored for each refresh rate / screen resolution combination. You may be able to adjust the screen position for X and not affect the screen position in Windows at all.
3. If the refresh rates and resolutions for X and Windows are the same, or if your monitor can not remember more than one set of screen position parameters, then I would consider trying to fix it with xvidtune as shreev suggested. It is possible that you could damage your monitor with this program as the warning says, but this is usually not very likely as long as you don't try to do something extreme with your adjustments. The danger is the same as setting the horizontal and vertical refresh rates too far wrong in the XF86Config file.
Thanks a lot once again. According to your advice first I checked xf86config parameters (they were OK) then I decided to use xvidtune. And it was wise decision. I centered my screen, then generated parameters for ModeLine in "monitor" section of xf86config using "show" button. After restarting X my screen appeared centred and nice-looking.
Now I'll try to install nvidia drivers to wake up 3d acceleration. I heard that there might be problems with compiling and inserting agpgart module. Let's see.
I didn't realize you had an Nvidia card. You probably should have installed the driver first. The screen will appear in a slightly different location with their driver than with the nv driver. In my experience it appears a little more to the left with Nvidia's driver, so you probably didn't have to change it as much as you thought. Sorry about that; I didn't think to ask. Oh, well, nothing you can't fix with the information you now have.
Thanks Rodrin, you are absolutely right. I just installed Nvidia drivers and my screen got back to its proper place, so I had to remove ModeLine I inserted using kernel's generic nv driver. It is always better idea to use driver from manufacturer, pity, that so little of them cares about Linux users.
Distribution: RedHat (RHEL, FC, CentOS), openSuSE, Mac OS X
That's why so many users are sticking with NVidia. ATI might have better performance to the benchmarks, but their driver support for linux is useless ...
Incidentally, i get the same problem with the screen being off center ... installing the NVidia drivers fixes it. sax on SuSE does a good job of moving it afterwards too, but i guess xvidtune does the same job and isn't SuSE specific.