Reply to topic

Dual X Server not Displaying right in KDE4

User avatar the.root
Registered Member
Posts
4
Karma
0
Using:
KDE4.2.0-r3
Gentoo 2008.0 ~amd64
NVIDIA Geforce 285 & 8500

I am running a dual X server setup across two different video cards (one onboard one pci-e). Both NVIDIA's. Using Gentoo 2008.0 in the ~amd64 branch, everything is current up to date, and it is a fresh build. I used my xorg.conf from my previous build which worked flawlessly (with kde3.x a while ago). Now when I run KDE4 I get my main monitor which shows the background, however the bar and everything is below/out of screen of the monitor, and my mouse wont let me travel down that far. On the second screen, all I get is a black screen, with the X mouse cursor I can move around (like xkill), and can do absolutely nothing on that screen.. This issue does not present itself across Gnome or XFCE, so it's definitely a KDE4 issue.. If anyone has any ideas or insight that would be appreciated, thanks!


Code: Select all
alpha-centuri dude # emerge --info
--- Invalid atom in /etc/portage/package.use: x11-libs/qt-4
Portage 2.1.6.7 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.28-gentoo-r1 x86_64)
=================================================================
System uname: Linux-2.6.28-gentoo-r1-x86_64-AMD_Phenom-tm-_II_X4_940_Processor-with-glibc2.2.5
Timestamp of tree: Mon, 02 Mar 2009 02:30:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p48-r1
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python:     2.4.4-r13, 2.5.4-r2
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.3
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r1
sys-apps/sandbox:    1.3.8
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=amdfam10 -O2 -pipe -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=amdfam10 -O2 -pipe -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache collision-protect distcc distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.mirrors.tds.net/gentoo http://gentoo.osuosl.org/http://mirror.mcs.anl.gov/pub/gentoo/ "
LDFLAGS="-Wl,-O1"
LINGUAS="en en_US"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/tmp/portage"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl alsa amd64 arts berkdb bzip2 cli cracklib crypt cups dri fng fortran gdbm glitz gtk hal iconv isdnlog kde kdehiddenvisibility midi mmx mudflap multilib mysql ncurses nls nptl nptlonly opengl openmp pam pcre pdf perl pertty pppd python qt4 readline reflection samba session spl sse sse2 sse3 ssl svg sysfs tcpd truetype type1 unicode visualizations xorg xvmc zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="canon" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" LIRC_DEVICES="mceusb2" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY





Code: Select all
alpha-centuri dude # cat /etc/X11/xorg.conf
Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    Screen      1  "Screen1" LeftOf "Screen0"
#    Screen   2  "Screen2" LeftOf "Screen1"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

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

Section "Module"
    Load      "dbe"
#    Load      "v4l"
    Load      "extmod"
    Load           "freetype"
    Load           "type1"
    Load           "glx"
EndSection

Section "ServerFlags"
   Option   "Xinerama" "false"
   Option "AllowEmptyInput" "false
EndSection

Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "kbd"
    Option         "XkbRules" "xorg"
    Option         "XkbModel" "pc104"
    Option         "XkbLayout" "us"
    Option         "XkbVariant" "dvorak-r"
EndSection

Section "InputDevice"
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "CorePointer"
    Option         "Protocol" "ExplorerPS/2"
    Option         "Device" "/dev/input/mice"
    Option         "ZAxisMapping" "4 5"
    Option         "Buttons" "10"
    Option         "ButtonMapping" "1 2 3 6 7 8 9 10"
EndSection

Section "Monitor"
    Identifier     "E197FP"
    VendorName     "Unknown"
    ModelName      "DELL E197FP"
    HorizSync       31.0 - 80.0
    VertRefresh     56.0 - 75.0
    Option         "DPMS"
EndSection

Section "Monitor"
   Identifier   "W2408"
   VendorName   "HP"
   ModelName   "HP W2408H"
   HorizSync   24.0 - 82.0
   VertRefresh   48.0 - 76.0
   Option      "DPMS"
EndSection

#Section "Monitor"
#   Identifier   "TV0"
#   VendorName   "JDM POS"
#   HorizSync   25.0 - 40.0
#   VertRefresh   47.0 - 75.0
#   UseModes   "Modes[0]"
#EndSection

Section "Device"
   Identifier     "8500.0"
   Driver         "nvidia"
   Option       "UseEvents" "True"
#   Option      "RenderAccel"       "true"
#   Option          "AddARGBVisuals"        "True"
#       Option          "AddARGBGLXVisuals"     "True"
#        Option          "DamageEvents"          "True"
#        Option          "DisableGLXRootClipping"        "True"
#        Option         "AllowGLXWithComposite"         "True"
#        Option          "TripleBuffer"                  "True"
#   Option         "AllowGLXWithComposite" "true"   
   Option         "nologo" "true"
#   Option          "RandRRotation"      "on"
   BusID         "PCI:3:0:0"
#   Option          "Coolbits" "1"
#    Screen       0
EndSection

Section "Device"
   Identifier   "285.0"
   Driver      "nvidia"
   BusID      "PCI:6:0:0"
#   Option          "UseEvents" "True"
#   Option          "RenderAccel"       "true"
#   Option          "AddARGBVisuals"        "True"
#   Option          "AddARGBGLXVisuals"     "True"
#   Option          "DamageEvents"          "True"
#   Option          "DisableGLXRootClipping"        "True"
#   Option         "AllowGLXWithComposite"         "True"
#   Option          "TripleBuffer"                  "True"
#   Option         "AllowGLXWithComposite" "true"
#   Option         "nologo" "true"
#   Option          "RandRRotation"      "on"
#   Option          "Coolbits" "1"
#   Screen      1
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "8500.0"
    Monitor        "E197FP"
#    Option         "AddARGBGLXVisuals" "true"
#    Option         "DisableGLXRootClipping" "true"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
        Modes      "1280x1024"
    EndSubSection
EndSection

Section "Screen"
   Identifier   "Screen1"
   Device      "285.0"
   Monitor      "W2408"
#   Option      "AddARGBGLXVisuals" "true"
#   Option      "DisableGLXRootClipping" "true"
   DefaultDepth   24
   SubSection   "Display"
      Depth   24
      Modes   "1920x1200"
   EndSubSection
EndSection

#Section "Screen"
#   Identifier   "Screen2"
#   Device      "6800.0"
#   Monitor      "TV0"
#   DefaultDepth   24
#   SubSection   "Display"
#      Depth   24
#      Modes   "1024x768"
#   EndSubSection
#EndSection

Section "Extensions"
#   Option "Damage" "True"
#   Option "Composite" "Enable"
EndSection

Last edited by the.root on Mon Mar 02, 2009 5:51 am, edited 1 time in total.
User avatar bcooksley
Administrator
Posts
19765
Karma
87
OS
KDE 4 does not support Multihead X ( or Multiscreen X ).
Only TwinView, MergedFB, etc. are supported in KDE 4.


KDE Sysadmin
[img]http://forum.kde.org/content/bcooksley_sig.png[/img]
User avatar the.root
Registered Member
Posts
4
Karma
0
Ouch! Thanks for the fast reply! That hurts though.. Is there any development for it / any plans to support it in the future?

Thanks again.


Does Xinerama work on it? Isn't that essentially dual head? I'm reading mixed reports that it works on KDE4.. Any suggestions there?

Last edited by the.root on Mon Mar 02, 2009 4:15 pm, edited 1 time in total.
User avatar bcooksley
Administrator
Posts
19765
Karma
87
OS
Yes, Xinerama is supported. At this time Multi Head will be supported when a developer steps up and implements the required functionality.


KDE Sysadmin
[img]http://forum.kde.org/content/bcooksley_sig.png[/img]
User avatar Zarin
KDE Developer
Posts
345
Karma
8
OS
the.root wrote:Does Xinerama work on it? Isn't that essentially dual head? I'm reading mixed reports that it works on KDE4.. Any suggestions there?


TwinView, Big Desktop and MergedFB are all accelerated Xinerama implementations and work fine in KDE 4, use them over the built-in Xinerama if possible. "Dualhead" and "multihead" commonly refer to a single X server that has multiple X "screens" attached to it (Unlike Xinerama which has a single "screen" spanning multiple physical monitors).

Last edited by Zarin on Tue Mar 03, 2009 9:33 am, edited 1 time in total.
User avatar the.root
Registered Member
Posts
4
Karma
0
Zarin wrote:TwinView, Big Desktop and MergedFB are all accelerated Xinerama implementations and work fine in KDE 4, use them over the built-in Xinerama if possible. "Dualhead" and "multihead" commonly refer to a single X server that has multiple X "screens" attached to it (Unlike Xinerama which has a single "screen" spanning multiple physical monitors).


Thanks! Yeah I guess terminology was confusing for me. Last time I tried to use TwinView/Xinerama several years ago there were still issues maximizing apps on one screen, and weird things like that. Which is why I went to two screens/xservers. I got Xinerama working last night across both video cards and monitors on KDE4 and it seems to be working good for right now, haven't noticed any of the weird bugs as before. I appreciate the help!

Last edited by the.root on Tue Mar 03, 2009 3:56 pm, edited 1 time in total.

 
Reply to topic

Bookmarks



Who is online

Registered users: Baidu [Spider], Bing [Bot], Google [Bot], grahm, jmacleod, Majestic-12 [Bot], nrykhe, paleo, rblackwell, Sogou [Bot], YaCy [Bot]