Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
KDE 3.5 with twinview
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
FearTheCron
n00b
n00b


Joined: 10 Feb 2009
Posts: 5

PostPosted: Tue Feb 10, 2009 3:00 am    Post subject: KDE 3.5 with twinview Reply with quote

I am having the problem that kde treats both of my monitors like one giant display instead of two sepparate displays when using twinview. The task bar will extend all the way across both monitors, the windows will maximize to fill both displays, none of the monitor specific settings in the control panel such as wallpaper gives the option for more than one monitor. I have attempted to rebuid the system with xinerama support from posts that i have found on other forums( `USE="xinerama" emerge --newuse world` ), however this did not work, i have also messed with the nvidia-settings with no success. The xorg.conf is posted below.
Code:

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 1.0  (root@Shiva)  Mon Feb  9 15:57:11 MST 2009


Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

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

Section "Module"

#   Load  "dri"
    Load           "record"
    Load           "extmod"
    Load           "dbe"
    Load           "glx"
    Load           "GLcore"
    Load           "xtrap"
    Load           "freetype"
    Load           "type1"
EndSection

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

Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

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

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "DELL 2007WFP"
    HorizSync       30.0 - 83.0
    VertRefresh     56.0 - 76.0
EndSection

Section "Monitor"
    Identifier     "Monitor1"
    VendorName     "Unknown"
    ModelName      "DELL 2007WFP"
    HorizSync       30.0 - 83.0
    VertRefresh     56.0 - 76.0
EndSection
Section "Device"
    Identifier     "Card0"
    Driver         "nvidia"
    VendorName     "nVidia Corporation"
    BoardName      "Unknown Board"
    BusID          "PCI:1:0:0"
EndSection

Section "Device"
    Identifier     "Videocard0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 9800 GT"
    Option         "RenderAccel"
    Option         "HWcursor"
    Option         "TwinViewOrientation" "RightOf"
EndSection

Section "Device"
    Identifier     "Videocard1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 9800 GT"
    BusID          "PCI:1:0:0"
    Screen          1
EndSection

Section "Screen"

# Removed Option "TwinView" "1"
# Removed Option "metamodes" "DFP-0: 1680x1050 +0+0, DFP-1: 1680x1050 +1680+0"
# Removed Option "TwinView" "0"
# Removed Option "metamodes" "DFP-0: 1680x1050 +0+0"
    Identifier     "Screen0"
    Device         "Videocard0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "1"
    Option         "TwinViewXineramaInfoOrder" "DFP-0"
    Option         "metamodes" "DFP-0: 1680x1050 +0+0, DFP-1: nvidia-auto-select +1680+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "Videocard1"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "metamodes" "DFP-1: nvidia-auto-select +0+0"
EndSection

Thank you for your help.
Back to top
View user's profile Send private message
pianosaurus
l33t
l33t


Joined: 19 Apr 2004
Posts: 944
Location: Bash$

PostPosted: Tue Feb 10, 2009 4:29 am    Post subject: Reply with quote

You have
Code:
    Option         "Xinerama" "0"
in your xorg.conf. 0 is an alias for false and off, which will most certainly disable xinerama. I don't know if that is your problem, though, but it may be worth a try to set it to 1 (or on or true).
_________________
PKA Cuber
Please add [SOLVED] to the subject of your original post when you feel that your problem is resolved.
Adopt an unanswered post
Back to top
View user's profile Send private message
FearTheCron
n00b
n00b


Joined: 10 Feb 2009
Posts: 5

PostPosted: Tue Feb 10, 2009 4:46 am    Post subject: xinerama 1 Reply with quote

I changed the Xinerama option to 1 and it just seems to have broken some stuff monitor related and not done much else, the kde windows still behave the same.
Back to top
View user's profile Send private message
FearTheCron
n00b
n00b


Joined: 10 Feb 2009
Posts: 5

PostPosted: Wed Feb 11, 2009 2:07 am    Post subject: further investigation Reply with quote

I have been digging through the xorg.conf from the kbuntu 8.04 install that did not have this problem with an identical setup, i still have not found the problem but here is the xorg.conf from that install.
Code:

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 1.0  (buildd@yellow)  Thu Jun  5 09:27:12 UTC 2008

# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by failsafeDexconf, using
# values from the debconf database and some overrides to use vesa mode.
#
# You should use dexconf or another such tool for creating a "real" xorg.conf
# For example:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "ServerLayout"
    Identifier     "Default Layout"
    Screen      0  "Screen0" 0 0
EndSection

Section "Module"
    Load           "glx"
EndSection

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

Section "InputDevice"
    Identifier     "Generic Keyboard"
    Driver         "kbd"
    Option         "XkbRules" "xorg"
    Option         "XkbModel" "pc105"
    Option         "XkbLayout" "us"
EndSection

Section "InputDevice"
    Identifier     "Configured Mouse"
    Driver         "mouse"
EndSection

Section "Monitor"
    Identifier     "Configured Monitor"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "DELL 2007WFP"
    HorizSync       30.0 - 83.0
    VertRefresh     56.0 - 76.0
EndSection
Section "Device"
    Identifier     "Configured Video Device"
    Driver         "nvidia"
    Option         "NoLogo" "True"
EndSection

Section "Device"
    Identifier     "Videocard0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "G92-200"
EndSection

Section "Screen"
    Identifier     "Default Screen"
    Device         "Configured Video Device"
    Monitor        "Configured Monitor"
    DefaultDepth    24
    SubSection     "Display"
        Modes      "800x600"
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Videocard0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "1"
    Option         "metamodes" "DFP-0: 1680x1050 +0+0, DFP-1: nvidia-auto-select +1680+0"
EndSection

I have tried simply switching them out but then the x server will not start, There are a few more things i have an idea of trying, however any ideas would be greatly appreciated.
Back to top
View user's profile Send private message
pianosaurus
l33t
l33t


Joined: 19 Apr 2004
Posts: 944
Location: Bash$

PostPosted: Wed Feb 11, 2009 2:18 am    Post subject: Reply with quote

Does /var/log/Xorg.0.log mention xinerama at all?
_________________
PKA Cuber
Please add [SOLVED] to the subject of your original post when you feel that your problem is resolved.
Adopt an unanswered post
Back to top
View user's profile Send private message
FearTheCron
n00b
n00b


Joined: 10 Feb 2009
Posts: 5

PostPosted: Wed Feb 11, 2009 3:23 am    Post subject: /var/log/Xorg.0.log output Reply with quote

This log file does mention xinerama.
Code:

(**) Option "Xinerama" "0"
(**) NVIDIA(0): Option "TwinViewXineramaInfoOrder" "DFP-0"
(II) Loading extension XINERAMA
(II) Initializing built-in extension XINERAMA


also if it helps at all, here are the lines with twinview:
Code:

(**) NVIDIA(0): Option "TwinView" "1"
(**) NVIDIA(0): Option "TwinViewOrientation" "RightOf"
(**) NVIDIA(0): Option "TwinViewXineramaInfoOrder" "DFP-0"
(**) NVIDIA(0): TwinView enabled
Back to top
View user's profile Send private message
jongeek
Tux's lil' helper
Tux's lil' helper


Joined: 13 Jul 2007
Posts: 135
Location: The Humid, Festering Swamps of Florida

PostPosted: Wed Feb 11, 2009 2:23 pm    Post subject: twinview and xinerama Reply with quote

I've been using xinerama/twinview on a GeForce 6150 and GeForce 7300 for some time. I had the same problem you did initially, and it was related to packages not having been built with the xinerama USE flag enabled. I can post a working xorg.conf if you'd like, but your options look sane. I remember reading somewhere that if you disable the Xorg xinerama extension (as you have done in your xorg.conf) the NVidia Xinerama extension will still load (as indicated in your log file). Really, though it sounds like your problem is with xinerama support in kwin.

What does
Code:
emerge -pv kwin

show ? Is the xinerama use flag enabled for kwin ?

Avoid USE="blah" on the command line with emerge except for testing and occasional experimentation. Add xinerama to your make.conf USE flags so it is global, forever. Then try:
Code:

emerge -uDNpv world


The -D (deep) flag will search for dependencies of the packages in world, instead of just the packages directly listed in world. It sounds like something in KDE was not actually built with the xinerama USE flag.
Back to top
View user's profile Send private message
FearTheCron
n00b
n00b


Joined: 10 Feb 2009
Posts: 5

PostPosted: Wed Feb 11, 2009 4:59 pm    Post subject: Reply with quote

It looks like the problem is that kwin was compiled with -xinerama. I have had xinerama in the use flags so I assume something else went wrong. I appreciate all of your help, but due to time constraints I am going to switch back to Debian and try Gentoo again when I have more free time.

For anyone else who is having this problem, I would highly recommend checking to see if kwin was compiled with xinerama support even if you have it in your make.conf file, in my case it was in there but it didn't compile in.
Back to top
View user's profile Send private message
hvengel
Guru
Guru


Joined: 19 Sep 2004
Posts: 515

PostPosted: Wed Feb 11, 2009 9:53 pm    Post subject: Reply with quote

Did you build qt with the xinerama use flag? If you don't then you will get the behavior you are seeing. Also with TwinView you do not need teh xinerama option set in xorg.conf as TwinView should supply xinerama hints automatically.
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