Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] dual screen on KDE 4.2 (but works on other WM)
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
FRLinux
n00b
n00b


Joined: 09 May 2002
Posts: 39
Location: Dublin

PostPosted: Mon Mar 09, 2009 7:38 pm    Post subject: [SOLVED] dual screen on KDE 4.2 (but works on other WM) Reply with quote

I have recently (yesterday) upgraded to Xorg 1.5.3 (as posted here, this was a call to test it (http://blogs.gentoo.org/remi/2009/02/). It all works nicely and decided to jump also from KDE 3.5.10 to KDE 4.2.1. It is working properly on one screen but not the second one. X sees both screens fine, any other WM works (Gnome, XFCE...) but not KDE 4.2.1. Same X configuration perfectly worked on KDE 3.5.x

I have seen a few posts on this forum from people stating that dual screen on KDE just doesn't work. Can anyone confirm this? This should be treated as a bug in my view.

Thanks for any reply,
Steph
_________________
-
"Step by step, the penguins are taking my sanity apart ..."


Last edited by FRLinux on Wed Mar 11, 2009 8:20 pm; edited 1 time in total
Back to top
View user's profile Send private message
Kulfaangaren!
Apprentice
Apprentice


Joined: 11 Jan 2003
Posts: 176
Location: Borås, Sweden

PostPosted: Mon Mar 09, 2009 11:41 pm    Post subject: Reply with quote

I'm afraid I can't be of much help...but...
I have KDE 4.2.1 working on two screens using nVidia TwinView, laptop 1440x900 as primary, 1650x1080 LCD as secondary.

My problem is when undocking the laptop and restarting X, splash-screen comes up and then nothing, splash fades to black screen without any errors and no kwin. I have no clue this far but are going to try to track down errors tomorrow.

This far, 4.2.1 + qt 4.5 + xorg-server 1.5 seems to be much more fragile then 4.2.0 + qt 4.4 + 1.3 xorg-server. Lots of little stuff not working correctly or crashing my whole setup. Xorg option BackingStore "true" crashes X and kde on every right-click, this worked great in my old setup even using 180.35 driver (running 180.29 now though since the consensus on 180.35 seems to be that it causes a lot of problems)

// Fredrik
_________________
Please add [SOLVED] to the subject of your original post when you feel that your problem is resolved.
Join the 'adopt an unanswered post' initiative today
Back to top
View user's profile Send private message
Kulfaangaren!
Apprentice
Apprentice


Joined: 11 Jan 2003
Posts: 176
Location: Borås, Sweden

PostPosted: Tue Mar 10, 2009 8:48 am    Post subject: Reply with quote

I think I have gotten everything to work as it should now using the xorg.conf below.
The machine works both docked and undocked now, now all I have to do is solve all the other little irritating things in 4.2.1.

// Fredrik

Code:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder26)  Fri Jan 11 14:26:48 PST 2008

Section "ServerLayout"
    Identifier     "Simple Layout"
    Screen         "Screen 1" 0 0
    Screen         "Screen 2" 0 0
    InputDevice    "Mouse1" "CorePointer"
    InputDevice    "Keyboard1" "CoreKeyboard"

    Option         "AIGLX" "true"
EndSection

Section "ServerFlags"
    Option         "Xinerama" "0"
EndSection

Section "Files"
    FontPath    "/usr/share/fonts/misc"
    FontPath    "/usr/share/fonts/Type1"
    FontPath    "/usr/share/fonts/100dpi"
    FontPath    "/usr/share/fonts/75dpi"
    FontPath    "/usr/local/share/fonts"
EndSection

Section "Module"
    Load           "dbe"
    SubSection     "extmod"
        Option         "omit xfree86-dga"
    EndSubSection
    Load           "type1"
    Load           "freetype"
    Load           "xtt"
    Load           "glx"
    Load           "dri"
EndSection

Section "InputDevice"
    Identifier     "Keyboard1"
    Driver         "kbd"
    Option         "AutoRepeat" "500 30"
    Option         "XkbRules" "xorg"
    Option         "XkbModel" "dellusbmm"
    Option         "XkbLayout" "se"
EndSection

Section "InputDevice"
    Identifier     "Mouse1"
    Driver         "mouse"
    Option         "Protocol" "Auto"
    Option         "Device" "/dev/input/mice"
    Option         "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
    Identifier     "Dell Latitude E6400 TFT"
    Option         "DPMS" "true"
EndSection

Section "Monitor"
    Identifier     "Dell Widescreen"
    Option         "DPMS" "true"
EndSection

Section "Device"
    Identifier     "nVidia Quadro NVS 160M"
    Driver         "nvidia"
    Option         "DRI" "true"
    Option         "XAANoOffscreenPixmaps" "true"
EndSection

Section "Screen"
    Identifier     "Screen 1"
    Device         "nVidia Quadro NVS 160M"
    Monitor        "Dell Widescreen"
    DefaultDepth    24
    Option         "NoLogo" "True"
    Option         "RenderAccel" "True"
    Option         "NoBandWidthTest" "False"
    Option         "AllowDFPStereo" "True"
    Option         "AllowGLXWithComposite" "True"
    Option         "RandRRotation" "True"
    Option         "TwinView" "True"
    Option         "NoFlip" "False"
    Option         "UseEdidFreqs" "True"
    Option         "UseEdid" "True"
    Option         "MultisampleCompatibility" "True"
    Option         "XvmcUsesTextures" "True"
    Option         "AllowDDCCI" "True"
    Option         "LoadKernelModule" "True"
    Option         "AddARGBGLXVisuals" "True"
    Option         "UseEdidDpi" "True"
    Option         "DamageEvents" "True"
    Option         "ConstantDPI" "True"
    Option         "DynamicTwinView" "True"
    Option         "IncludeImplicitMetaModes" "True"
    Option         "TwinViewXineramaInfoOrder" "DFP-0"
    Option         "MetaModes" "DFP-0: nvidia-auto-select, DFP-2: nvidia-auto-select"
    Option         "TwinViewOrientation" "LeftOf"
    Option         "PixmapCacheSize" "1000000"
    Option         "AllowSHMPixmaps" "0"
    Option         "TripleBuffer" "True"
    Option         "UseCompositeWrapper" "True"
    Option         "AllowIndirectPixmaps" "True"
    Option         "OnDemandVBlankInterrupts" "True"
    Option         "UseEvents" "True"
    SubSection     "Display"
        Viewport    0 0
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen 2"
    Device         "nVidia Quadro NVS 160M"
    Monitor        "Dell Latitude E6400 TFT"
    DefaultDepth    24
    Option         "NoLogo" "True"
    Option         "RenderAccel" "True"
    Option         "NoBandWidthTest" "False"
    Option         "AllowDFPStereo" "True"
    Option         "AllowGLXWithComposite" "True"
    Option         "RandRRotation" "True"
    Option         "TwinView" "True"
    Option         "NoFlip" "False"
    Option         "UseEdidFreqs" "True"
    Option         "UseEdid" "True"
    Option         "MultisampleCompatibility" "True"
    Option         "XvmcUsesTextures" "True"
    Option         "AllowDDCCI" "True"
    Option         "LoadKernelModule" "True"
    Option         "AddARGBGLXVisuals" "True"
    Option         "UseEdidDpi" "True"
    Option         "DamageEvents" "True"
    Option         "ConstantDPI" "True"
    Option         "DynamicTwinView" "True"
    Option         "IncludeImplicitMetaModes" "True"
    Option         "TwinViewXineramaInfoOrder" "DFP-0"
    Option         "MetaModes" "DFP-0: nvidia-auto-select, DFP-2: nvidia-auto-select"
    Option         "TwinViewOrientation" "RightOf"
    Option         "PixmapCacheSize" "1000000"
    Option         "AllowSHMPixmaps" "0"
    Option         "TripleBuffer" "True"
    Option         "UseCompositeWrapper" "True"
    Option         "AllowIndirectPixmaps" "True"
    Option         "OnDemandVBlankInterrupts" "True"
    Option         "UseEvents" "True"
    SubSection     "Display"
        Viewport    0 0
        Depth       24
    EndSubSection
EndSection

Section "Extensions"
    Option         "DAMAGE" "Enable"
    Option         "RENDER" "Enable"
    Option         "Composite" "Enable"
EndSection

Section "DRI"
    Group 0
    Mode 0666
EndSection

_________________
Please add [SOLVED] to the subject of your original post when you feel that your problem is resolved.
Join the 'adopt an unanswered post' initiative today
Back to top
View user's profile Send private message
FRLinux
n00b
n00b


Joined: 09 May 2002
Posts: 39
Location: Dublin

PostPosted: Wed Mar 11, 2009 8:19 pm    Post subject: [SOLVED] twinview Reply with quote

Hello,

Indeed, the use of twinview fixed it for me. Although it overall seems slightly slower.

Cheers,
Steph
_________________
-
"Step by step, the penguins are taking my sanity apart ..."
Back to top
View user's profile Send private message
Kulfaangaren!
Apprentice
Apprentice


Joined: 11 Jan 2003
Posts: 176
Location: Borås, Sweden

PostPosted: Thu Mar 12, 2009 11:24 am    Post subject: Reply with quote

Hi

Since I posted my xorg.conf I have been having problems with stability of X.
This stability problem was solved by removing...
Code:
...
    Option         "TripleBuffer" "True"
...
...from both screens.
It seems xorg-server 1.5.x has some stability issues in combination with nvidia-drivers when it comes to backingstore and buffering.
With BackingStore and TrippleBuffer turned on all I had to do to crash my X was to click the right mouse button i KDE 4.2.1.
KDE 4.2.0 with xorg-server 1.3.x had no issues with my old xorg.conf, wierd!

Have fun and enjoy your KDE desktop :)

// Fredrik
_________________
Please add [SOLVED] to the subject of your original post when you feel that your problem is resolved.
Join the 'adopt an unanswered post' initiative today
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum