Click to See Complete Forum and Search --> : screen shifted to the right


Rui Alves
10-31-2005, 09:22 AM
Hi there!

I just installed ubuntu on my laptop where I happily ran mandrake 10.

Everyting is ok with ubuntu except for my display: I get a very annoying screen shift of about 4 pixels to the right. This cuts my screen on the left about 4 pixels also making the X on top of each window appear cut.

I have looked everywhere for a solution to this problem and almost all sources suggest that I try xvidtune. When I try it (as root), I press the "left" button but the screen just flickers but nothing changes.

Anyone has any idea of what I can try to solve this problem?

TIA
Rui

acid45
10-31-2005, 09:50 AM
Does your monitor have little buttons on it for sizing and positioning your screen?

When I was changing between 1600 x 1200 and 1280 x 1024 I had to reposition and resize the screen on the monitor or else my mouse would dissapear entirely on the edges. This happens every time I change my resolution, in any OS I've used anyway, except solaris with a SUN monitor.

leonpmu
10-31-2005, 10:06 AM
Does your monitor have little buttons on it for sizing and positioning your screen?

It's a laptop dude, so no buttons....

I don't know ubuntu at all, but does it have an xconfig of somesort like SuSE? With SaX2 you can shift screen location in the software config. Don't ask me where it is found in xorg.conf. I have no idea....

soulestream
10-31-2005, 11:10 AM
check your hsync and vsync settings and most likely your hertz setting

you will probably see something like 1280x1024@70 and it may need to be 1280x1024@60


soule

Rui Alves
10-31-2005, 11:24 AM
It's a laptop dude, so no buttons....

yep, right. though I suspect that even if I had adjusting buttons the image will still be cut. This clearly seems a problem of X.

I don't know ubuntu at all, but does it have an xconfig of somesort like SuSE? With SaX2 you can shift screen location in the software config. Don't ask me where it is found in xorg.conf. I have no idea....

I guess that what sax2 does in suse is to use vidtune to adjust the screen position.

Since vidtune doesn't work on my system, maybe someone can tell how to edit my X configuration file (xorg.conf in ubuntu - this is just a XF86Config with another name) in order to shift the horizontal position a few pixels to the left so that I center the image in my screen.

Thanks for the help.

Rui Alves
10-31-2005, 11:33 AM
Sorry soulestream, we were writing replies to this thread at the same time so I did not read your suggestion. The section on my xorg.conf file related to the display reads the following:

Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
HorizSync 28-51
VertRefresh 43-60
EndSection

Should I alter the line that reads HorizSync 28-51? To what?

Rui Alves
11-01-2005, 12:58 PM
ok, I'm officially desperate. After hours and hours trying to solve my screen problem, I still have not succeeded. It's the triumph of machine over man.

I will go to bed (where I will surely have my fair share of nightmares) but I will just post the relevant sections on my xorg.conf file in case some imaginative person can suggest something else I can try (note: you can see that I took some information from knoppix live CD X config file [still the old Xfree86.conf] even though i'm using ubuntu but with no results):

Option "sw_cursor"

Identifier "Card0"
# The following line is auto-generated by KNOPPIX mkxf86config
Driver "trident"
VendorName "All"
BoardName "All"
# BusID "PCI:1:0:0"
EndSection

Section "Monitor"
Identifier "Generic Monitor"
#Option "DPMS"
#HorizSync 28-96
#VertRefresh 50-76
HorizSync 28.0 - 96.0 # Warning: This may fry old Monitors
VertRefresh 50.0 - 76.0 # Very conservative. May flicker.
Modeline "1024x768" 78.80 1024 1060 1156 1312 768 769 772 800 +hsync +vsync
EndSection

Section "Screen"
Identifier "Default Screen"
Device "Card0"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768"
EndSubSection
EndSection

Thanks.

soulestream
11-01-2005, 01:08 PM
in order to find out what your hsync/vsync settings should be you need to either list your laptops model or just look your self

google your laptop model # with the work "sync" or "spec" (or check the manufactorers site).

soule