Announcement

Collapse
No announcement yet.

Second Monitor Doesn't Repaint

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

    Second Monitor Doesn't Repaint

    Hey all! I have a Dell d620 using the Nvidia driver and compiz working well. I have a second, external monitor connected through a docking station. When docked, I use both screens through xinerama. I'm using 8.04 and KDE 3. This problem didn't exist under Gutsy.

    Even when docked, the built in display repaints just fine, but windows on the external monitor don't always repaint completely unless I click on the window. The problem gets worse if I have something drawing a lot to the window such as Amarok (with some sort of visualization). This happens constantly with kpdf, firefox, thunderbird, eclipse, kicker, dolphin and others.

    I can't send a screenshot in because as soon as I press printscreen, the window repaints and looks fine.

    Anybody got any ideas?

    Here's my xorg.conf:
    Code:
    Section "ServerLayout"
    
    	# Uncomment if you have a wacom tablet
    	#	InputDevice   "stylus"	"SendCoreEvents"
    	#	InputDevice   "cursor"	"SendCoreEvents"
    	#	InputDevice   "eraser"	"SendCoreEvents"
      Identifier   "Default Layout"
      Screen   0 "Default Screen" 0 0
      Screen   1 "screen1" RightOf "Default Screen"
      InputDevice  "Generic Keyboard"
      InputDevice  "Configured Mouse"
      InputDevice  "Synaptics Touchpad"
    EndSection
    
    Section "Files"
    EndSection
    
    Section "Module"
      Load      "glx"
      Load      "v4l"
      Load      "bitmap"
      Load      "ddc"
      Load      "extmod"
      Load      "freetype"
      Load      "int10"
      Load      "type1"
      Load      "vbe"
    EndSection
    
    Section "ServerFlags"
      Option     "Xinerama" "true"
    EndSection
    
    Section "InputDevice"
      Identifier   "Generic Keyboard"
      Driver     "kbd"
      Option     "CoreKeyboard"
      Option     "XkbRules" "xorg"
      Option     "XkbModel" "pc105"
      Option     "XkbLayout" "us"
    EndSection
    
    Section "InputDevice"
      Identifier   "Configured Mouse"
      Driver     "mouse"
      Option     "CorePointer"
      Option     "Device" "/dev/input/mice"
      Option     "Protocol" "ImPS/2"
      Option     "ZAxisMapping" "4 5"
      Option     "Emulate3Buttons" "true"
    EndSection
    
    Section "InputDevice"
      Identifier   "Synaptics Touchpad"
      Driver     "synaptics"
      Option     "SendCoreEvents" "true"
      Option     "Device" "/dev/psaux"
      Option     "Protocol" "auto-dev"
      Option     "HorizEdgeScroll" "0"
    EndSection
    
    Section "InputDevice"
      Identifier   "stylus"
      Driver     "wacom"
      Option     "Device" "/dev/input/wacom"
      Option     "Type" "stylus"
      Option     "ForceDevice" "ISDV4"# Tablet PC ONLY
    EndSection
    
    Section "InputDevice"
      Identifier   "eraser"
      Driver     "wacom"
      Option     "Device" "/dev/input/wacom"
      Option     "Type" "eraser"
      Option     "ForceDevice" "ISDV4"# Tablet PC ONLY
    EndSection
    
    Section "InputDevice"
      Identifier   "cursor"
      Driver     "wacom"
      Option     "Device" "/dev/input/wacom"
      Option     "Type" "cursor"
      Option     "ForceDevice" "ISDV4"# Tablet PC ONLY
    EndSection
    
    Section "Monitor"
      Identifier   "Generic Monitor"
      VendorName   "Generic LCD Display"
      ModelName   "LCD Panel 1280x800"
      HorizSync    31.5 - 50.0
      VertRefresh   56.0 - 65.0
      Gamma      1
      ModeLine    "800x600@56" 36.0 800 824 896 1024 600 601 603 625 +hsync +vsync
      ModeLine    "800x600@60" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync
      ModeLine    "1280x768@60" 80.1 1280 1344 1480 1680 768 769 772 795 -hsync +vsync
      ModeLine    "1280x720@60" 74.5 1280 1336 1472 1664 720 721 724 746 -hsync +vsync
      ModeLine    "1280x800@60" 83.5 1280 1344 1480 1680 800 801 804 828 -hsync +vsync
    EndSection
    
    Section "Monitor"
    
     #  
      Identifier   "monitor1"
      VendorName   "Generic LCD Display"
      ModelName   "LCD Panel 1280x1024"
      HorizSync    31.5 - 64.0
      VertRefresh   56.0 - 65.0
      Gamma      1
      ModeLine    "640x480@60" 25.2 640 656 752 800 480 490 492 525 -hsync -vsync
      ModeLine    "800x600@56" 36.0 800 824 896 1024 600 601 603 625 +hsync +vsync
      ModeLine    "800x600@60" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync
      ModeLine    "1024x768@60" 65.0 1024 1048 1184 1344 768 771 777 806 -hsync -vsync
      ModeLine    "1280x960@60" 102.1 1280 1360 1496 1712 960 961 964 994 -hsync +vsync
      ModeLine    "1280x1024@60" 108.0 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
    EndSection
    
    Section "Device"
      Identifier   "nVidia Corporation G72M [Quadro NVS 110M/GeForce Go 7300]"
      Driver     "nvidia"
      BoardName   "nv"
      BusID     "PCI:1:0:0"
      Screen     0
    EndSection
    
    Section "Device"
    
     #  
      Identifier   "device1"
      Driver     "nvidia"
      BoardName   "nv"
      BusID     "PCI:1:0:0"
      Screen     1
    EndSection
    
    Section "Screen"
      Identifier   "Default Screen"
      Device     "nVidia Corporation G72M [Quadro NVS 110M/GeForce Go 7300]"
      Monitor    "Generic Monitor"
      DefaultDepth  24
      Option     "DRI" "true"
      Option     "ColorTiling" "on"
      Option     "EnablePageFlip" "true"
      Option     "AccelMethod" "EXA"
      Option     "XAANoOffscreenPixmaps"
      SubSection   "Display"
        Virtual   1280 800
        Depth    24
        Modes   "1280x800@60" "1280x720@60" "1280x768@60" "800x600@60" "800x600@56"
      EndSubSection
    EndSection
    
    Section "Screen"
    
     #  
      Identifier   "screen1"
      Device     "device1"
      Monitor    "monitor1"
      DefaultDepth  24
      Option     "DRI" "true"
      Option     "ColorTiling" "on"
      Option     "EnablePageFlip" "true"
      Option     "AccelMethod" "EXA"
      Option     "XAANoOffscreenPixmaps"
      SubSection   "Display"
        Depth    24
        Modes   "1280x1024@60" "1280x960@60" "1024x768@60" "800x600@60" "800x600@56" "640x480@60"
      EndSubSection
    EndSection


    #2
    Re: Second Monitor Doesn't Repaint

    *bump*

    Comment


      #3
      Re: Second Monitor Doesn't Repaint

      have you tried using twinview instead of xinerama? I use it, and have had no problems, even with 2 very high res displays...
      Dell Inspiron 1720 Laptop<br />Intel T9300 Core2Duo Processor @ 2.5Ghz<br />4 GB Ram | 1920 X 1200 Resolution<br />2 X 160 GB SATA HD Internal<br />Nvidia GeForce 8600M Graphics Adapter<br />Using Kubuntu 9.10

      Comment


        #4
        Re: Second Monitor Doesn't Repaint

        Twinview Works just as you said. With nvidia-xconfig installed from the repositories, I just had to run the following command:

        Code:
        sudo nvidia-xconfig allow-glx-with-composite composite connect-to-acpid -a dynamic-twinview separate-x-screens twinview twinview-orientation=LeftOf
        The screen refreshes properly and the monitors are both far crisper looking as well.

        Comment


          #5
          Re: Second Monitor Doesn't Repaint

          Hi,

          I guess I have a similar problem. I just got a Dell Precision M2400 with docking station. Graphic card is Nvidia with drivers downloaded from the repository. The laptop screen and the external screen has the same resolution.

          When I turn on the laptop (already in the docking station) only the laptop screen is activated, I need to open the laptop, change the nvidia settings and then I can have my output on the external screen.

          I wonder if the same command applies also for me and, in general what is the best settings for the external monitor.

          The o.s. is kubuntu 8.10 on a 64bit processor (Intel Dual core)

          Thanks in advance,
          g.
          ---------------<br />Linux kernel 2.6.28-15-generic<br />Kubuntu 9.04 64bit KDE 4.2.2<br />Dell Precision M2400 Intel Dual Core 2<br />Nvidia Quadro FX 370M (Driver Nvidia 180.44)<br />HDA Intel (STAC92xx Analog)<br />---------------

          Comment

          Working...
          X