You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Monday, February 5th 2007, 4:14am

KDE with XGL

Hello,

First off.. sorry if this is the wrong forum/section.. I cannot find any other fourms on the net.. (if its wrong please point me in the right direction).

I am running SLED 10 with KDE for the desktop.

I'm trying to get XGL running under KDE, but i've run into a few problems.

Mainly I cannot get XGL to start correctly with xdm.. To get xgl running i
have to do the following..

1. Start Laptop
2. When it gets to the login prompt hit alt+f2, login as root.
3. rcxdm stop
4. Xgl :0 -fullscreen -ac -accel xv -accel glx:pbuffer & DISPLAY=:0 startkde

This will start the xgl server and load up startkde (KDE). This works fine.

when i try run the gnome-xgl-switch --enable-xgl it seems to edit the
nesscary config files in /etc/sysconfig/displaymanagers but when the laptop
tries to loadup the login prompt it runs VERY VERY SLOW.. (I cannot even
login its running that slow, its basically frozen).

I cannot figure out why.. As i can start it manually it appears there is
something with the say xdm/kdm is starting xgl..

Anyone got any ideas??

=====================

Running ATI X1600 with latest ATI Drivers

sadams@lnxsalap01:~> fglrxinfo
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI Mobility Radeon X1600 Generic
OpenGL version string: 2.0.6286 (8.33.6)

=================
Xorg.conf ( i think its xorg 6.9)

# /.../
# SaX generated X11 config file
# Created on: 2007-02-04T08:15:14+1100.
#
# Version: 7.1
# Contact: Marcus Schaefer , 2005
# Contact: SaX-User list
#
# 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 "GLcore"
Load "i2c"
Load "bitmap"
Load "ddc"
# Load "dri" <-- the # should only be applied by
nvidia owners
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "type1"
Load "vbe"
EndSection

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


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

Section "InputDevice"
Driver "synaptics"
Identifier "Mouse[3]"
Option "Buttons" "5"
Option "Device" "/dev/input/mice"
Option "Emulate3Buttons" "on"
Option "InputFashion" "Mouse"
Option "Name" "Synaptics;Touchpad"
Option "Protocol" "explorerps/2"
Option "SHMConfig" "on"
Option "Vendor" "Sysp"
Option "ZAxisMapping" "4 5"
EndSection


Section "Monitor"
Option "CalcAlgorithm" "XServerPool"
DisplaySize 370 230
HorizSync 30-82
Identifier "Monitor[0]"
ModelName "SAMSUNG LCD MONITOR"
Option "DPMS"
VendorName "SEC"
VertRefresh 43-60
UseModes "Modes[0]"
EndSection


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


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


Section "Device"
BoardName "MOBILITY RADEON X1600 (M56 71C5)"
BusID "1:0:0"
Driver "fglrx"
Identifier "Device[0]"
Option "FSAADisableGamma" "no"
Option "CapabilitiesEx" "0x00000000"
Option "ScreenOverlap" "0"
Option "FSAAMSPosY0" "0.000000"
Option "FSAAMSPosY1" "0.000000"
Option "mtrr" "off"
Option "FSAAMSPosX4" "0.000000"
Option "ForceGenericCPU" "no"
Option "FSAAMSPosX5" "0.000000"
Option "FSAAMSPosY2" "0.000000"
Option "FSAAScale" "1"
Option "FSAAMSPosY3" "0.000000"
Option "Capabilities" "0x00000000"
Option "GammaCorrectionI" "0x00000000"
Option "no_accel" "no"
Option "FSAAMSPosY4" "0.000000"
Option "UseFastTLS" "0"
Option "FSAAMSPosY5" "0.000000"
Option "FSAACustomizeMSPos" "no"
Option "FSAAEnable" "no"
Option "BlockSignalsOnLock" "on"
Option "GammaCorrectionII" "0x00000000"
Option "KernelModuleParm" "locked-userpages=0"
Option "FSAAMSPosX0" "0.000000"
Option "no_dri" "no"
Option "VideoOverlay" "on"
Option "UseInternalAGPGART" "no"
Option "PseudoColorVisuals" "off"
Option "StereoSyncEnable" "1"
Option "FSAAMSPosX1" "0.000000"
Option "OpenGLOverlay" "off"
Option "FSAAMSPosX2" "0.000000"
Option "Stereo" "off"
Option "FSAAMSPosX3" "0.000000"
Option "CenterMode" "off"
VendorName "ATI"
Option "UseInternalAGPGART" "no"
Option "KernelModuleParm" "agplock=0"
EndSection


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


Section "DRI"
Group "video"
Mode 0660
EndSection

Section "Extensions"
Option "Composite" "false"
EndSection

==================
/etc/sysconfig/displaymanager

## Path: Desktop/Display manager
## Description: settings to generate a proper displaymanager config
## Config: xdm,kdm,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="kdm"

## 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=""

## 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="Xorg"

## 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=":1 -fullscreen -ac -accel xv -accel glx:pbuffer"

Thanks
Steven Adams

Posts: 6

Location: I'm a french living in Geneva, Swizerland.

Occupation: I'd like to have one

  • Send private message

2

Wednesday, February 14th 2007, 3:10pm

Quoted

Mainly I cannot get XGL to start correctly with xdm.. To get xgl running i
have to do the following..

1. Start Laptop
2. When it gets to the login prompt hit alt+f2, login as root.
3. rcxdm stop
4. Xgl :0 -fullscreen -ac -accel xv -accel glx:pbuffer & DISPLAY=:0 startkde

This will start the xgl server and load up startkde (KDE). This works fine.


So why don't you replace the dm init script with one that would do the last command ? I mean, if you get what you want by not starting xdm but Xgl instead, just apply this to your rc.d links pointing to the /etc/init.d startup scripts...

I guess you wanted another answer, but I just give a try because I see you still have 0 reply.
Big is the Universe, small minded is thehuman beeing...
Infinite is the outer space, unlimited is our stupidity...

3

Wednesday, February 14th 2007, 4:53pm

Help mee om KDE 3.5.5 in het Nederlands te vertalen