Hello List,
I was wondering if there is a way to shift the screens in linux. I got a kvn yesterday, and have a problem when switching from computers, where the screen is slightly shifted on one of them. I have to go into the monitor configuration screen and move the screen to the right to center it on one of the computers. Then when moving back to the other computer, that screen isn't centered and have to back to the left so its centered. Is there a way to adjust this in xorg.conf so that when I switch between the computers, I don't have to switch the computers? I am running CentOS 4.1.
Thanks,
Dan
Daniel Wright dw@wonderwave.net wrote:
I got a kvn yesterday, and have a problem when switching from computers, where the screen is slightly shifted on one of them. I have to go into the monitor configuration
screen
and move the screen to the right to center it on one of the computers ... Is there a way to adjust this in xorg.conf so that when I switch between the computers, I don't have to switch the computers? I am running CentOS 4.1.
If you're using the same scan range and modeline settings in the Xorg.conf of all systems, you should never see this.
But if you are switching to Windows and its arbitrary scan ranges used by different video cards, then that won't work.
Use "xvidtune" on the Xorg system to find the modeline for your resolution(s) and put those in the monitor section.
Bryan J. Smith wrote:
Daniel Wright dw@wonderwave.net wrote:
I got a kvn yesterday, and have a problem when switching from computers, where the screen is slightly shifted on one of them. I have to go into the monitor configuration
screen
and move the screen to the right to center it on one of the computers ... Is there a way to adjust this in xorg.conf so that when I switch between the computers, I don't have to switch the computers? I am running CentOS 4.1.
If you're using the same scan range and modeline settings in the Xorg.conf of all systems, you should never see this.
But if you are switching to Windows and its arbitrary scan ranges used by different video cards, then that won't work.
Use "xvidtune" on the Xorg system to find the modeline for your resolution(s) and put those in the monitor section.
Ya, the other computer is Windows XP.
When running xvidtune this is what I get: Vendor: Monitor Vendor Model: Dell1704FPV (Analog) num hsync:1, num vsync:1 hsync range 0: 30.00 - 81.00 vsync range 0: 56.00 - 76.00 Video are not settable on this chip
What does the last line mean? And with these settings what would my monitor lines look like in xorg.conf with these settings? This is what it looks like now:
Section "Monitor" Identifier "Monitor0" VendorName "Monitor Vendor" ModelName "Dell 1704FPV (Analog)" DisplaySize 340 270 HorizSync 30.0 - 81.0 VertRefresh 56.0 - 76.0 Option "dpms" EndSection
Section "Device" Identifier "Videocard0" Driver "vesa" VendorName "Videocard vendor" BoardName "VESA driver (generic)" EndSection
Section "Screen" Identifier "Screen0" Device "Videocard0" Monitor "Monitor0" DefaultDepth 16 SubSection "Display" Viewport 0 0 Depth 16 Modes "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480" EndSubSection EndSection
Sorry for my ignorance, I usually don't install X. On the windows machine, my settings are 1280x1024 at 75Hz refresh rate if that helps.
Dan
Daniel Wright dw@wonderwave.net wrote:
Ya, the other computer is Windows XP.
Hence the problem.
By default, Microsoft is good about following the VESA standard modes. Of course, this means you're typically getting 56-60Hz refresh rates, with the rare 70 or 72Hz. As such, most video card vendors have drivers that use other rates, but they are very, very arbitrary.
XFree/Xorg pretty much uses the best scan rates of the monitor, dynamically matching them up against many, many of its own modelines. In the "good ole days" we had to manually define those modelines. But not in recent years.
But if you want the XFree/Xorg modelines to match up against the arbitrary ranges that your Windows driver is passing, then you have to write those modelines manually. The easiest way is to use the monitor with the Windows sytem, then switch to Linux at the same resolution, fire off xvidtune and it will give you the required values.
See the XF86Config/xorg.conf man page for more information on writing modelines. You put them in your "Monitor" section. An example for a 1400x1050 line might be as follows: ModeLine "1400x1050" 122.61 1400 1488 1640 1880 1050 1051 1054 1087 Syntax being: ModeLine "identifier" dotclock horz0 vert0 horz1 vert1 ...
When running xvidtune this is what I get: Vendor: Monitor Vendor Model: Dell1704FPV (Analog) num hsync:1, num vsync:1 hsync range 0: 30.00 - 81.00 vsync range 0: 56.00 - 76.00 Video are not settable on this chip
Not good. What video card / driver?
What does the last line mean? And with these settings what would my monitor lines look like in xorg.conf with these settings? This is what it looks like now: Section "Monitor" Identifier "Monitor0" VendorName "Monitor Vendor" ModelName "Dell 1704FPV (Analog)" DisplaySize 340 270 HorizSync 30.0 - 81.0 VertRefresh 56.0 - 76.0 Option "dpms" EndSection
You would put modelines in this section.
Sorry for my ignorance, I usually don't install X.
On the windows machine, my settings are 1280x1024 at 75Hz refresh rate if that helps.
Nope, it doesn't at all. Vertical refresh is just one small part of the equation.
The full equation is:
Bandwidth aka "DotClock" = Horizontal Frequency x Vertical Refresh Horizontal Size (obvious) Vertical Size (obvious) And various timings and options for exact placement, which will vary by card/monitor.
xvidtune makes it easy.
It let's you reposition and gives you all those values in a point'n click GUI.
Bryan J. Smith wrote:
When running xvidtune this is what I get: Vendor: Monitor Vendor Model: Dell1704FPV (Analog) num hsync:1, num vsync:1 hsync range 0: 30.00 - 81.00 vsync range 0: 56.00 - 76.00 Video are not settable on this chip
Not good. What video card / driver?
Its an integrated onboard 8MB Intel(r) CopperRiver Graphics Controller/I believe just a generic vesa driver.
Dan
Daniel Wright dw@wonderwave.net wrote:
Its an integrated onboard 8MB Intel(r) CopperRiver Graphics Controller/I believe just a generic vesa driver.
Yes, as has been discussed on this list and elsewhere, despite Intel's sharing of some 3D information (which is rather pathetic and "so 5 years ago", but don't get me started), they are _hording_ some of the timing/scanning information in their i8x0/9x0 GPUs.
Bryan J. Smith wrote:
Daniel Wright dw@wonderwave.net wrote:
Its an integrated onboard 8MB Intel(r) CopperRiver Graphics Controller/I believe just a generic vesa driver.
Yes, as has been discussed on this list and elsewhere, despite Intel's sharing of some 3D information (which is rather pathetic and "so 5 years ago", but don't get me started), they are _hording_ some of the timing/scanning information in their i8x0/9x0 GPUs.
Looks like I will have to setup my other computer with the better graphics card, instead of this one. At least I will know what to do.
Thanks for the help Byan!!
Dan
On Fri, 2005-08-26 at 11:11 -0500, Daniel Wright wrote:
Hello List,
I was wondering if there is a way to shift the screens in linux. I got a kvn yesterday, and have a problem when switching from computers, where the screen is slightly shifted on one of them. I have to go into the monitor configuration screen and move the screen to the right to center it on one of the computers. Then when moving back to the other computer, that screen isn't centered and have to back to the left so its centered. Is there a way to adjust this in xorg.conf so that when I switch between the computers, I don't have to switch the computers? I am running CentOS 4.1.
Thanks,
Dan
...look along the lines of Xorg.conf, dan...it should do what you want
John Rose
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos