Announcement

Collapse
No announcement yet.

Screen right shifted after update

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Screen right shifted after update

    This happened to me a couple of months ago, but I got seriously sick and was hospitalized or a while, so I'm just coming back to it, but don't recall all the details of how I go int this situation:
    I did a command line update of my out-of-date packages, and that one update included new kernel headers. I think the update automatically rebuild the nvidia drivers, but it's also possible I had to muck with enabling the proprietary drivers in the "additional drivers" applet in kubuntu. That's where I'm fuzzy. I think I was running the 173 series of the driver, and when the machine came back up the graphics were extremely slow (you're talking seconds to paint the screen or swap windows).

    I solved it by reinstalling the nvidia-current drivers using:
    Code:
    sudo apt-get update
    sudo apt-get purge nvidia-current
    sudo apt-get install linux-headers-generic
    sudo apt-get install linux-image
    sudo apt-get install nvidia-current
    jockey-text -e xorg:nvidia_current
    while I now have full acceleration, my picture on my screen is shifted about a 3rd to the right and 1/10 down from the top (I can't see the right side of the desktop of the taskbar).

    The boot screen is aligned on the screen. The startup screen with the "gear" and the little white dots under it is centered, but the two spinny dots and the login screen are off center, so is my kde desktop.

    Yesterday I spent 6 hours mucking with my system (mostly blindly I admit), trying to reinstall the nividia-173-updates driver (X wouldn't run saying they were blacklisted), installing the nvidia drivers using their instructions (didn't fix the shifted problem), uninstalled everything again (-uninstall for the nvidia installer, apt-get purge nvidia-* for the kubuntu packages, etc...) and went back to the instructions above, i.e. where I started.

    nvidia-settings reports it's using the 304.88 driver, recognizes the display model (Dell 2001FP) and its resolution (1600x1200)

    I'm not sure if the following info from xorg.conf is useful:
    Code:
    Section "Monitor"
        Identifier     "Monitor0"
        VendorName     "Unknown"                                                 
        ModelName      "DELL 2001FP"                                             
        HorizSync       31.0 - 80.0                                              
        VertRefresh     56.0 - 76.0                                              
        Option         "DPMS"                                                    
    EndSection                                                                   
                                                                                 
    Section "Device"                                                             
        Identifier     "Device0"                                                 
        Driver         "nvidia"                                                  
        VendorName     "NVIDIA Corporation"                                      
        BoardName      "GeForce 7800 GTX"                                        
    EndSection                                                                   
                                                                                 
    Section "Screen"                                                             
        Identifier     "Screen0"                                                 
        Device         "Device0"                                                 
        Monitor        "Monitor0"                                                
        DefaultDepth    24                                                       
        Option         "Stereo" "0"                                              
        Option         "nvidiaXineramaInfoOrder" "CRT-0"                         
        Option         "metamodes" "nvidia-auto-select +0+0"                     
        SubSection     "Display"                                                 
            Depth       24                                                       
        EndSubSection                                                            
    EndSection
    At this point I'm stuck. for now I'm using my machine through x11vnc, which provides me with a full view of the screen.

    My NVIDIA card is a GeForce 7800, running the 64 bit of kubuntu 12.04.
    The Monitor is a Dell flat panel 2001FP 1600x1200 running over a DVI to VGA adapter (I have a different computer running into the DVI interface of the monitor).
    Last edited by papaschtroumpf; Jun 06, 2013, 02:48 PM. Reason: typoes

    #2
    What's the output of

    xrandr -q

    Please Read Me

    Comment


      #3
      Not a command I was familiar with, I'll have to learn about it, but here is the output:

      Code:
      xrandr -q
      Screen 0: minimum 8 x 8, current 1600 x 1200, maximum 4096 x 4096
      DVI-I-0 connected 1600x1200+0+0 (normal left inverted right x axis y axis) 367mm x 275mm
         1600x1200      60.0*+
         1280x1024      75.0     60.0  
         1152x864       75.0  
         1024x768       75.0     60.0  
         800x600        75.0     60.3  
         640x480        75.0     59.9  
      DVI-I-1 disconnected (normal left inverted right x axis y axis)
      TV-0 disconnected (normal left inverted right x axis y axis)
      DVI-I-2 disconnected (normal left inverted right x axis y axis)
      DVI-I-3 disconnected (normal left inverted right x axis y axis)

      Comment


        #4
        Ok, that looks normal. Now try this one (you may have to install x11-server-utils)

        xvidtune -show

        Please Read Me

        Comment


          #5
          Code:
          "1600x1200"   162.00   1600 1664 1856 2160   1200 1201 1204 1250 +hsync +vsync
          we might be on to something although I'm not finding a good reference on how to read those results. Still 2160-1600 = 560 which seems about right for how much the screen is shifted right. I would also guess the screen is shifted down by about 50.

          I need to read up on xvidtune before I dare using it further, the warning that pops up is pretty scary.
          Last edited by papaschtroumpf; Jun 06, 2013, 05:10 PM.

          Comment


            #6
            Here's a couple others to try. You can enter the numbers into xvidtune (launch it from a terminal) or put the modelines (1 at a time) into xorg.conf. I would suggest testing them with xvidtune to see if either gets you closer or works. Then when you get it right, enter it into xorg.conf. You can also enter video modes into your system using xrandr.

            Modeline "1600x1200_60" 160.96 1600 1704 1880 2160 1200 1201 1204 1242 -HSync +Vsync
            Modeline "1600x1200_60" 174.21 1600 1712 1896 2256 1200 1201 1204 1287 -HSync +Vsync

            With xvidtune I think you can only enter "left right taller shorter" by clicking rather than just entering the numbers. The xrandr method works like this:

            xrandr --newmode "1600x1200_60" 160.96 1600 1704 1880 2160 1200 1201 1204 1242 -hsync +vsync
            xrandr --addmode DVI-I-0 1600x1200_60
            xrandr --output DVI-I-0 --mode 1600x1200_60

            Please Read Me

            Comment


              #7
              I get an error when adding the mode. I get the same errosr with both settings

              Code:
              chris@Tuxedo:~$ xrandr --newmode "1600x1200_60" 160.96 1600 1704 1880 2160 1200 1201 1204 1242 -hsync +vsync
              chris@Tuxedo:~$ xrandr --addmode DVI-I-0 1600x1200_60X Error of failed request:  BadMatch (invalid parameter attributes)
                Major opcode of failed request:  154 (RANDR)
                Minor opcode of failed request:  18 (RRAddOutputMode)
                Serial number of failed request:  31
                Current serial number in output stream:  32
              chris@Tuxedo:~$
              Let me try changing xorg.conf directly

              Comment


                #8
                I added a Modline to the [Monitor] section in xorg.conf:
                Code:
                Section "Monitor"
                    Identifier     "Monitor0"
                    VendorName     "Unknown"
                    ModelName      "DELL 2001FP"
                    HorizSync       31.0 - 80.0
                    VertRefresh     56.0 - 76.0
                    Option         "DPMS"
                    Modeline "1600x1200_60" 160.96 1600 1704 1880 2160 1200 1201 1204 1242 -HSync +Vsync
                EndSection
                after rebooting, no visual change.

                I did notice that the /var/log/Xorg.0.log says something about using EDIDs, does that mean that it is ignoring the modline and using something it's getting from the monitor itself?

                Code:
                [    27.750] (II) config/udev: Adding input device ImPS/2 Generic Wheel Mouse (/dev/input/mouse0)
                [    27.750] (II) No input driver specified, ignoring this device.
                [    27.750] (II) This device may have been added with another device file.
                [    37.347] (II) XKB: reuse xkmfile /var/lib/xkb/server-03AF3717FF3AB439A4BAABA686CCB40771CDF520.xkm
                [    51.562] (II) NVIDIA(GPU-0): Display (DELL 2001FP (CRT-0)) does not support NVIDIA 3D
                [    51.562] (II) NVIDIA(GPU-0):     Vision stereo.
                [    51.562] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
                [    51.562] (**) NVIDIA(0):     device DELL 2001FP (CRT-0) (Using EDID frequencies has
                [    51.562] (**) NVIDIA(0):     been enabled on all display devices.)
                [    57.001] (II) NVIDIA(GPU-0): Display (DELL 2001FP (CRT-0)) does not support NVIDIA 3D
                [    57.001] (II) NVIDIA(GPU-0):     Vision stereo.
                [    57.001] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
                [    57.001] (**) NVIDIA(0):     device DELL 2001FP (CRT-0) (Using EDID frequencies has
                [    57.001] (**) NVIDIA(0):     been enabled on all display devices.)
                chris@Tuxedo:~$

                Comment


                  #9
                  Did you edit both sections? Should look something like this:

                  Code:
                  Section "Monitor"
                      Identifier     "Monitor0"
                      VendorName     "Unknown"
                      ModelName      "DELL 2001FP"
                      HorizSync       31.0 - 80.0
                      VertRefresh     56.0 - 76.0
                      Option         "DPMS"
                      Modeline "1600x1200_60" 160.96 1600 1704 1880 2160 1200 1201 1204 1242 -HSync +Vsync
                  EndSection
                  
                  Section "Screen"                                                             
                      Identifier     "Screen0"                                                 
                      Device         "Device0"                                                 
                      Monitor        "Monitor0"                                                
                      DefaultDepth    24                                                       
                      Option         "Stereo" "0"                                              
                      Option         "nvidiaXineramaInfoOrder" "CRT-0"                         
                      Option         "metamodes" "1600x1200_60 +0+0"                     
                      SubSection     "Display"                                                 
                          Depth       24                                                       
                      EndSubSection                                                            
                  EndSection
                  You can turn off EDID, but the resolution isn't the issue - it's overscan I think.

                  Have you palyed with xvidtune at all?

                  Please Read Me

                  Comment


                    #10
                    Oh, and also you don't need to reboot if you don't want. Just CTRL-ALT-F1 and log in. Then

                    sudo restart lightdm

                    should do it.

                    Please Read Me

                    Comment


                      #11
                      Oh and the EDID off is:

                      Option "UseEDID" "false"

                      in the monitor section

                      Please Read Me

                      Comment

                      Working...
                      X