LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 07-21-2006, 03:35 PM   #1
oolatin79
LQ Newbie
 
Registered: Dec 2005
Location: seattle, WA
Posts: 9

Rep: Reputation: 0
XGL w/dual screens - desktop issue


Hey guys/gals,

I am using Suse 10.1 and have a dual monitor setup which I had setup so that each monitor is it's own desktop. I don't remember what the option is called, but it's not the one where you get two cursors and your actions on one screen is duplicated on the other. So basically I could drag stuff from one monitor to the other.

So last night I installed Xgl on my machine and I'm having a problem where if I maximize a window in one monitor, it will stretch across to the second monitor. I went in the gnome settings for the video and It was on the same option as before. The only other option is the clone one which duplicates what you do on one monitor in the other which seems kind of pointless if you ask me.

So I was wondering if this is an XGL thing or is there something that's not setup correctly? I followed the instructions for setting up XGL from the novell website(http://www.novell.com/coolsolutions/feature/17174.html)

More info:
Nvidia 7800GT /AMD Athlon 3000+

I will post my config file as soon as I get home.

TIA

Last edited by oolatin79; 07-21-2006 at 03:36 PM.
 
Old 07-22-2006, 01:29 PM   #2
oolatin79
LQ Newbie
 
Registered: Dec 2005
Location: seattle, WA
Posts: 9

Original Poster
Rep: Reputation: 0
/etc/X11/xorg.conf

Code:
# /.../
# SaX generated X11 config file
# Created on: 2006-07-20T22:58:27-0700.
#
# Version: 7.1
# Contact: Marcus Schaefer <sax@suse.de>, 2005
# Contact: SaX-User list <https://lists.berlios.de/mailman/listinfo/sax-users>
#
# Automatically generated by [ISaX] (7.1)
# PLEASE DO NOT EDIT THIS FILE!
#

Section "Files"
  FontPath     "/usr/X11R6/lib/X11/fonts/misc:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/local"
  FontPath     "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/Type1"
  FontPath     "/usr/X11R6/lib/X11/fonts/URW"
  FontPath     "/usr/X11R6/lib/X11/fonts/Speedo"
  FontPath     "/usr/X11R6/lib/X11/fonts/PEX"
  FontPath     "/usr/X11R6/lib/X11/fonts/cyrillic"
  FontPath     "/usr/X11R6/lib/X11/fonts/latin2/misc:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/latin2/75dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/latin2/100dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/latin2/Type1"
  FontPath     "/usr/X11R6/lib/X11/fonts/latin7/75dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/baekmuk:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/japanese:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/kwintv"
  FontPath     "/usr/X11R6/lib/X11/fonts/truetype"
  FontPath     "/usr/X11R6/lib/X11/fonts/uni:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/CID"
  FontPath     "/usr/X11R6/lib/X11/fonts/ucs/misc:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/ucs/75dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/ucs/100dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/hellas/misc:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/hellas/75dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/hellas/100dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/hellas/Type1"
  FontPath     "/usr/X11R6/lib/X11/fonts/misc/sgi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/xtest"
  FontPath     "/opt/kde3/share/fonts"
  InputDevices "/dev/gpmdata"
  InputDevices "/dev/input/mice"
EndSection

Section "ServerFlags"
  Option       "AllowMouseOpenFail" "on"
EndSection

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

Section "InputDevice"
  Driver       "kbd"
  Identifier   "Keyboard[0]"
  Option       "Protocol" "Standard"
  Option       "XkbLayout" "us"
  Option       "XkbModel" "microsoftinet"
  Option       "XkbRules" "xfree86"
EndSection


Section "InputDevice"
  Driver       "mouse"
  Identifier   "Mouse[1]"
  Option       "Buttons" "5"
  Option       "Device" "/dev/input/mice"
  Option       "Name" "Kensington USB/PS2 Wheel Mouse"
  Option       "Protocol" "explorerps/2"
  Option       "Vendor" "Sysp"
  Option       "ZAxisMapping" "4 5"
EndSection


Section "Monitor"
  Option       "CalcAlgorithm" "XServerPool"
  DisplaySize  380 300
  HorizSync    30-67
  Identifier   "Monitor[0]"
  ModelName    "L90D+ DVI"
  Option       "DPMS"
  VendorName   "HIQ"
  VertRefresh  43-61
  UseModes     "Modes[0]"
EndSection


Section "Modes"
  Identifier   "Modes[0]"
EndSection


Section "Screen"
  DefaultDepth 24
  SubSection "Display"
    Depth      15
    Modes      "1280x1024" "1280x960" "1280x800" "1152x864" "1280x768" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480" 
  EndSubSection
  SubSection "Display"
    Depth      16
    Modes      "1280x1024" "1280x960" "1280x800" "1152x864" "1280x768" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480" 
  EndSubSection
  SubSection "Display"
    Depth      24
    Modes      "1280x1024" "1280x960" "1280x800" "1152x864" "1280x768" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480" 
  EndSubSection
  SubSection "Display"
    Depth      8
    Modes      "1280x1024" "1280x960" "1280x800" "1152x864" "1280x768" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480" 
  EndSubSection
  Device       "Device[0]"
  Identifier   "Screen[0]"
  Monitor      "Monitor[0]"
EndSection


Section "Device"
  BoardName    "GeForce 7800 GT"
  BusID        "5:0:0"
  Driver       "nvidia"
  Identifier   "Device[0]"
  Option       "SaXDualHead"
  Option       "TwinView"
  Option       "NoFlip" "True"
  Option       "SaXDualMonitorVendor" "HIQ"
  Option       "SaXDualMonitorModel" "L90D+ DVI"
  Option       "SaXDualVSync" "50-61"
  Option       "SecondMonitorHorizSync" "30-67"
  Option       "MetaModes" "1280x1024,1280x1024;1280x960,1280x960;1280x800,1280x800;1152x864,1152x864;1280x768,1280x768;1024x768,1024x768;1280x600,1280x600;1024x600,1024x600;800x600,800x600;768x576,768x576;640x480,640x480"
  Option       "SaXDualOrientation" "LeftOf"
  Option       "SaXDualResolution" "1280x1024"
  Option       "TwinViewOrientation" "LeftOf"
  Option       "SaXDualMode" "Xinerama"
  Option       "SecondMonitorVertRefresh" "50-61"
  Option       "SaXDualHSync" "30-67"
  Screen       0
  VendorName   "NVidia"
EndSection


Section "ServerLayout"
  Identifier   "Layout[all]"
  InputDevice  "Keyboard[0]" "CoreKeyboard"
  InputDevice  "Mouse[1]" "CorePointer"
  Option       "Clone" "off"
  Option       "Xinerama" "off"
  Screen       "Screen[0]"
EndSection


Section "DRI"
    Group      "video"
    Mode       0660
EndSection

Section "Extensions"
  Option       "Composite" "off"
EndSection
/etc/sysconfig/displaymanager

Code:
## Path:	Desktop/Display manager
## Description:	settings to generate a proper displaymanager config
## Config:      xdm,kdm3,gdm

## Type:	string(kdm,xdm,gdm,wdm,console)
## Default:	""
#
# Here you can set the default Display manager (kdm/xdm/gdm/wdm/console).
# all changes in this file require a restart of the displaymanager
#
DISPLAYMANAGER="gdm"

## Type:	yesno
## Default:	no
#
# Allow remote access (XDMCP) to your display manager (xdm/kdm/gdm). Please note
# that a modified kdm or xdm configuration, e.g. by KDE control center
# will not be changed. For gdm, values will be updated after change.
# XDMCP service should run only on trusted networks and you have to disable
# firewall for interfaces, where you want to provide this service.
#
DISPLAYMANAGER_REMOTE_ACCESS="no"

## Type:	yesno
## Default:	no
#
# Allow remote access of the user root to your display manager. Note
# that root can never login if DISPLAYMANAGER_SHUTDOWN is "auto" and
# System/Security/Permissions/PERMISSION_SECURITY is "paranoid"
#
DISPLAYMANAGER_ROOT_LOGIN_REMOTE="no"

## Type:	yesno
## Default:	yes
#
# Let the displaymanager start a local Xserver.
# Set to "no" for remote-access only.
# Set to "no" on architectures without any Xserver (e.g. s390/s390x).
#
DISPLAYMANAGER_STARTS_XSERVER="yes"

## Type:        yesno
## Default:     no
#
# TCP port 6000 of Xserver. When set to "no" (default) Xserver is
# started with "-nolisten tcp". Only set this to "yes" if you really
# need to. Remote X service should run only on trusted networks and
# you have to disable firewall for interfaces, where you want to
# provide this service. Use ssh X11 port forwarding whenever possible.
#
DISPLAYMANAGER_XSERVER_TCP_PORT_6000_OPEN="no"

## Type:    string
## Default:
#
# Define the user whom should get logged in without request. If string
# is empty, display standard login dialog.
#
DISPLAYMANAGER_AUTOLOGIN="miguel"

## Type:        yesno
## Default:     no
#
# Allow all users to login without password, but ask for the user, if
# DISPLAYMANAGER_AUTOLOGIN is empty.
#
DISPLAYMANAGER_PASSWORD_LESS_LOGIN="no"

## Type:        yesno
## Default:     no
#
# Display a combobox for Active Directory domains.
#
DISPLAYMANAGER_AD_INTEGRATION="no"

## Type:    list(root,all,none,auto)
## Default: auto
#
# Determine who will be able to shutdown or reboot the system in kdm
# and gdm. Valid values are: "root" (only root can shutdown), "all"
# (everybody can shutdown), "none" (nobody can shutdown from
# displaymanager), "auto" (follow
# System/Security/Permissions/PERMISSION_SECURITY to decide: "easy
# local" is equal to "all", everything else is equal to "root"). Note
# that remote user can never shutdown in GDM.
#
DISPLAYMANAGER_SHUTDOWN="auto"
## Path:	Desktop/Display manager
## Description: settings to generate a proper displaymanager config
## Config:      kdm3

## Type:    string
## Default: 
#
# space separated list of users for which icons should be shown in KDM
# if empty, then take system defaults
#
KDM_USERS=""

## Type:    string
## Default: 
#
# Special greeting words in kdm
#
KDM_GREETSTRING=""

## Type:        string
## Default:     SUSE
#
# Define the theme to be used by kdm. If empty, the traditional login
# window is used (which lacks some features)
# 
DISPLAYMANAGER_KDM_THEME="SUSE"

## Type:        string(Xorg,Xgl)
## Default:     "Xorg"
#
# Xgl is an experimental Xserver using OpenGL for rendering.
# Right now only the glx backend is supported, which runs on top of a
# standard Xorg server providing OpenGL.
# Set this to 'Xgl' and run SuSEconfig only if you want to run your
# displaymanager (kdm/gdm/xdm) on Xgl on top of Xorg.
# This setting is case sensitive.
# Warning! This is highly experimental.
#
DISPLAYMANAGER_XSERVER="Xgl"

## Type:        string
## Default:     "-accel glx:pbuffer -accel xv:pbuffer"
#
# Xglx is an experimental Xserver using OpenGL for rendering.
# Additional options for startup when using a display manager.
# You can try
#   "-accel glx"
# or
#   "-accel glx:pbuffer"
# in order to get accelerated indirect OpenGL rendering for 3D applications.
# You can also try
#   "-accel xv"
# to accelerate XVideo color space conversion and/or scaling.
#
# See also /usr/share/doc/packages/xgl/README.SUSE
#
DISPLAYMANAGER_XGL_OPTS="-accel glx:pbuffer -accel xv:fbo"

Last edited by oolatin79; 07-22-2006 at 01:36 PM.
 
Old 07-22-2006, 09:03 PM   #3
dasbooter
Member
 
Registered: Mar 2005
Posts: 122

Rep: Reputation: 15
Sorry if I am misunderstanding your question.
What I believe your describing with the window stretching across both screens is the default behaviour of xinerama(dual screens) and XGL. There is no way as of yet as far as I know to have a seperate cube on each desktop. I did notice that there have been several requests for that type of set up. I run kde for instance and most of the window manager options for kde are of no use like where and how you would like windows to appear. This is annoying because very often the window seems to appear right in the middle which is of course where the screens come together. Compiz is the new window manager I guess and I have not run across a way to control where windows appear of how they appear yet. So I think to sum things up you cannot have seperate desktops on each monitor yet because that is not how the setup was originally envisioned I guess,its a cubical desktop in 3d space and it would be impossible to visualize two sides so that both form an ideal square but I am not a metaphysics major
 
Old 07-29-2006, 04:27 PM   #4
gummybearx
Member
 
Registered: Jul 2006
Location: missouri, usa
Distribution: openSuSE 10.2, debian etch
Posts: 43

Rep: Reputation: 15
if you read about xgl, i believe it says that dual screen is not yet supported...
 
Old 07-29-2006, 05:36 PM   #5
dasbooter
Member
 
Registered: Mar 2005
Posts: 122

Rep: Reputation: 15
Quote:
Originally Posted by gummybearx
if you read about xgl, i believe it says that dual screen is not yet supported...
All these terminologies twinview dual screen etc etc. Makes life confusing

You can do a dual screen xinerama set up with nvidia drivers xgl and compiz. Make sure you get the compizquinn packages
 
Old 07-29-2006, 09:36 PM   #6
dasbooter
Member
 
Registered: Mar 2005
Posts: 122

Rep: Reputation: 15
I just downloaded the latest cvs of xgl and on reboot I got twin screens each its own screen."xinerama" "off" was listed in my xorg.conf. I dont know for sure if it was the latest update of xgl that fixed this but I think so. Anyways I am quickly learning there are advantages to both set ups.Windows no longer cover 2 screens unless you unmaximize and spread across the whole screen which is nice but my kiba dock is trapped in the wrong screen
 
Old 07-30-2006, 12:52 AM   #7
oolatin79
LQ Newbie
 
Registered: Dec 2005
Location: seattle, WA
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by dasbooter
I just downloaded the latest cvs of xgl and on reboot I got twin screens each its own screen."xinerama" "off" was listed in my xorg.conf. I dont know for sure if it was the latest update of xgl that fixed this but I think so. Anyways I am quickly learning there are advantages to both set ups.Windows no longer cover 2 screens unless you unmaximize and spread across the whole screen which is nice but my kiba dock is trapped in the wrong screen
Good to know. I have Xgl disabled because maximizing a window stretched it across both screen which was useless for me and really annoying for web browsing. But now, I might have to see about running an update and give Xgl another try. Thanks for the tip.

-edit-

A bit off topic but I have a quick question....I have my dual monitors setup as [2][1] so screen 2 on the left and screen 1 on the right. But I always wondered why Linux always picks up my screen on the left as screen [2] and my screen on the right as screen [1] but windows picks up my screen on the left as [1] and my screen on the right as [2] so I don't have to tell it to switch the screens around. I'm pretty sure my screen on the left is on card[0] of my nvidia 7800GT card...any suggestions?

Last edited by oolatin79; 07-30-2006 at 12:56 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
xgl 3D desktop suse 10.1 AMD64 olva SUSE / openSUSE 3 06-16-2006 09:33 PM
X won't start up - nVidia module issue, tried to install X11 6.9.0 to get Xgl Svip Slackware 3 05-24-2006 05:19 AM
Help with dual screens in Slackware. Synt4x_3rr0r Linux - Hardware 5 03-20-2006 08:57 AM
Dual screens on RH9? orange400 Linux - General 5 03-01-2005 09:01 PM
Dual screens with different resolutions jawaking00 Mandriva 1 03-07-2004 03:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 09:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration