Welcome to the KDE Community Forums, the official forum board for KDE.
You are currently viewing the forums as an unregistered user. Registration allows you to post and discuss topics, receive private messages, vote on ideas, subscribe to topics and many such great features. Registration is a simple process and completely free. So register now and be a part of the community!
You are currently viewing the forums as an unregistered user. Registration allows you to post and discuss topics, receive private messages, vote on ideas, subscribe to topics and many such great features. Registration is a simple process and completely free. So register now and be a part of the community!
Separate X sessions on dual screens for KDE4
55 posts
• Page 1 of 4
• 1, 2, 3, 4
RE: Separate X sessions on dual screens for KDE4
I have a somewhat related problem. If anyone can shed some light on this, I'd appreciate it. In what follows, I'll try to keep things as distro-agnostic as possible. Should it be important, I run an up-to-date Arch system with vanilla kde packages.
My xorg.conf is as follows (I've excluded the Files section):
As you can see, the setup is a dual monitor with auto-detected resolution on both monitors and things work great. However, DFP-1 is my projector. I'd love to set up two metamodes - one with only DFP-0 active and the second with the projector active. This is because although the projector is connected and on standby at all times, I only turn it on when I watch movies. I want to use krandrtray to switch between the two modes. For reference, the only change I need to make is to change the metamodes line from this:
to this:
However two things break if I make this simple change and I'd like to know if it's a KDE 4.2 thing.
1) At login, on the KDE login screen, I get a panning display on DFP-0 which is as wide as the two screen put together. DFP-1 stays disabled. The panning screen disappears when I login (I get a properly sized screen only on DFP-0).
2) When I switch to the second metamode, the second screen becomes active (as it should), but stays black. I can drag a window to it, but when I maximize it, it maximizes on the first screen. This completely defeats the purpose of activating the second mode (to fullscreen a movie on the projector screen). ( As an aside, I can't right click on the second screen to set a wallpaper there as well. Should I add an activity for this?)
Does anyone else have similar issues with dual-head setups? Will this be fixed in KDE 4.3 (if it's a 4.2 issue) or is it nvidia's fault and I should basically wait for the latest drivers from them?
If you need more info, I'll gladly help.
Thanks
My xorg.conf is as follows (I've excluded the Files section):
- Code: Select all
Section "ServerLayout"
Identifier "My Server Layout"
Screen 0 "My Screen" 0 0
EndSection
Section "Module"
Load "ddc"
Load "dbe"
Load "extmod"
Load "glx"
Load "bitmap"
Load "freetype"
EndSection
Section "ServerFlags"
Option "AllowMouseOpenFail" "true"
Option "Xinerama" "false"
EndSection
Section "Monitor"
Identifier "My Monitor"
VendorName "Acer"
ModelName "Acer P223WA"
HorizSync 31.0 - 84.0
VertRefresh 56.0 - 77.0
Option "DPMS" "true"
EndSection
Section "Device"
Identifier "My Video Card"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 9800 GT"
Option "Logo" "false"
Option "DPI" "72 x 72"
EndSection
Section "Screen"
Identifier "My Screen"
Device "My Video Card"
Monitor "My Monitor"
DefaultDepth 24
Option "TwinView" "true"
Option "metamodes" "DFP-0: nvidia-auto-select +0+0, DFP-1: nvidia-auto-select +1680+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection
Section "Extensions"
Option "Composite" "Enable"
EndSection
As you can see, the setup is a dual monitor with auto-detected resolution on both monitors and things work great. However, DFP-1 is my projector. I'd love to set up two metamodes - one with only DFP-0 active and the second with the projector active. This is because although the projector is connected and on standby at all times, I only turn it on when I watch movies. I want to use krandrtray to switch between the two modes. For reference, the only change I need to make is to change the metamodes line from this:
- Code: Select all
Option "metamodes" "DFP-0: nvidia-auto-select +0+0, DFP-1: nvidia-auto-select +1680+0"
to this:
- Code: Select all
Option "metamodes" "DFP-0: nvidia-auto-select +0+0, DFP-1: NULL; DFP-0: nvidia-auto-select +0+0, DFP-1: nvidia-auto-select +1680+0"
However two things break if I make this simple change and I'd like to know if it's a KDE 4.2 thing.
1) At login, on the KDE login screen, I get a panning display on DFP-0 which is as wide as the two screen put together. DFP-1 stays disabled. The panning screen disappears when I login (I get a properly sized screen only on DFP-0).
2) When I switch to the second metamode, the second screen becomes active (as it should), but stays black. I can drag a window to it, but when I maximize it, it maximizes on the first screen. This completely defeats the purpose of activating the second mode (to fullscreen a movie on the projector screen). ( As an aside, I can't right click on the second screen to set a wallpaper there as well. Should I add an activity for this?)
Does anyone else have similar issues with dual-head setups? Will this be fixed in KDE 4.3 (if it's a 4.2 issue) or is it nvidia's fault and I should basically wait for the latest drivers from them?
If you need more info, I'll gladly help.
Thanks
karthikp, proud to be a member of KDE forums since 2008.

RE: Separate X sessions on dual screens for KDE4
The meta modes could be confusing the problem. If the NVidia drivers have XRandR 1.2 support, then it is a KDE bug ( please report ) otherwise you will need to wait for NVidia to implement XRandR version 1.2.
System Settings and Device Actions KCM maintainer


RE: Separate X sessions on dual screens for KDE4
Are there any news on fixing the support for multiple X sessions on kde4?
RE: Separate X sessions on dual screens for KDE4
No developer; no fix.
Last edited by Zarin on Mon Apr 27, 2009 2:52 am, edited 1 time in total.
RE: Separate X sessions on dual screens for KDE4
I understand the fact that KDE4 not implement le dual desktop at this time, but is it possible to start in the second screen an other window manager (like xfce) on the second X session ?
If yes, how ?
If yes, how ?
RE: Separate X sessions on dual screens for KDE4
It's exactly what I need ! and it's work !
thanks thanks thanks !!!!!
thanks thanks thanks !!!!!
RE: Separate X sessions on dual screens for KDE4
I know it's really the good place to talk about this problem but I try.... when I start the icewm manager in my second screen (KDE 4.2 on the first screen) the font of application launch in icewm are really little, unreadable...
If icewm is launch as primary wm all is Ok... it's only when I use kde4 + icewm ....
Have you any idea about this ?
If icewm is launch as primary wm all is Ok... it's only when I use kde4 + icewm ....
Have you any idea about this ?
RE: Separate X sessions on dual screens for KDE4
You're talking about "separate x screens"?
RE: Separate X sessions on dual screens for KDE4
topus wrote:You're talking about "separate x screens"?
Yes, this is multi-monitor by using multiple X "screens".
Last edited by Zarin on Wed May 13, 2009 11:50 am, edited 1 time in total.
RE: Separate X sessions on dual screens for KDE4
sorry and thank you, I replied the wrong thread.....
RE: Separate X sessions on dual screens for KDE4
This is exactly what I am looking for!
Now the only problem is that I have 1680x1050 LCD as my main display and 1920x1080 TV as the secondary display. Now the plasma on my main display somehow thinks that the display is 1920x1080 (see pic: http://kuvaton.com/k/hwt.png ) and puts the main panel "under" the display. Any ideas?
RE: Separate X sessions on dual screens for KDE4
That is probably a bug. Can you reproduce on Trunk?
System Settings and Device Actions KCM maintainer


RE: Separate X sessions on dual screens for KDE4
I updated my test environment to kde 4.3 beta2 (http://www.kubuntu.org/news/kde-4.2.90) and the behaviour is the same.
I have nvidia as the the display driver (and using nvidia-settings to set up the displays).
I have nvidia as the the display driver (and using nvidia-settings to set up the displays).
RE: Separate X sessions on dual screens for KDE4
There have been no changes as far as I am aware with regards to Multi Head at this time. Only Xinerama, MergedFB, et. al are supported currently since other modes are unmaintained.
System Settings and Device Actions KCM maintainer


55 posts
• Page 1 of 4 • 1, 2, 3, 4
del.icio.us
|
Digg
|
Google
|
Identi.ca
|
Reddit
|
Slashdot
|
StumbleUpon
|
Technorati
|
Who is online
Registered users: Asraniel, Bing [Bot], ddan, einar, eudoxos, Exabot [Bot], Google [Bot], google01103, JanMalte, Majestic-12 [Bot], Mamarok, MSN [Bot], Mte90, raystar, sayakb, SecretCode, toycoming2u, trebor, virgolus, Yahoo [Bot]

Feed
Search
FAQ
Policy
KDE.org
KDE.news
Planet KDE
More 
Arch
openSUSE
del.icio.us
Digg
Google
Identi.ca
Reddit
Slashdot
StumbleUpon
Technorati