Ongelma on seuraava:
Käytän koneella fglrx ajureita ja XGL:llää. Gnome istunnossa 3D kiihdytys toimii ok.
koti@koti-laptop:~$ glxinfo | grep -i direct.
direct rendering: Yes
koti@koti-laptop:~$
...mutta XGL istunnossa sama komento herjaa:
koti@koti-laptop:~$ glxinfo | grep -i direct.
Xlib: extension "XFree86-DRI" missing on display ":1.0".
direct rendering: No
koti@koti-laptop:~$
Tämän takia Compizkaan ei siis toimi.
XGL istunoa varten olen luonut
/etc/X11/sessions/xgl.desktop -tiedoston:
[Desktop Entry]
Encoding=UTF-8
Name=3D XGL Compiz
Exec=/usr/local/bin/startxgl.sh
Icon=
Type=Application
sekä luonnollisesti
/usr/local/bin/startxgl.sh -tiedoston:
#!/bin/sh
Xgl -fullscreen :1 -ac -br -accel glx:pbuffer -accel xv:pbuffer &
sleep 4
export DISPLAY=:1
cookie="$(xauth -i nextract - :0 | cut -d ' ' -f 9)"
xauth -i add :1 . "$cookie"
exec gnome-session
Mitäs tuolle pitäisi tehdä, että 3D toimisi myös XGL istunnossa?
Tässä vielä
xorg.conf:
Section "Files"
FontPath "/usr/share/X11/fonts/misc"
FontPath "/usr/share/X11/fonts/cyrillic"
FontPath "/usr/share/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/X11/fonts/Type1"
FontPath "/usr/share/X11/fonts/100dpi"
FontPath "/usr/share/X11/fonts/75dpi"
# path to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection
Section "Module"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "type1"
Load "vbe"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "fi"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection
Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizScrollDelta" "0"
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "stylus"
Option "Device" "/dev/wacom" # Change to
# /dev/input/event
# for USB
Option "Type" "stylus"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "eraser"
Option "Device" "/dev/wacom" # Change to
# /dev/input/event
# for USB
Option "Type" "eraser"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "cursor"
Option "Device" "/dev/wacom" # Change to
# /dev/input/event
# for USB
Option "Type" "cursor"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "Device"
Identifier "ATI Technologies, Inc. Radeon Xpress 200M (RS482)"
Driver "fglrx"
BusID "PCI:1:5:0"
Option "VideoOverlay" "on"
EndSection
Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "ATI Technologies, Inc. Radeon Xpress 200M (RS482)"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1280x800"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x800"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x800"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x800"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x800"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x800"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
InputDevice "Synaptics Touchpad"
EndSection
Section "DRI"
Mode 0666
EndSection
...käytössä Ubuntu Dapper ja ATI Mobility Radeon X1100...
Kiitos kaikille vastanneille jo etukäteen...
Edit:
RatkaisuAsensin Dapperin tilalle Edgyn ja siihen fglrx ajurit tämän skriptin avulla:
http://forum.ubuntu-fi.org/index.php?PHPSESSID=335a1f810365698e621289c66939ba4c&topic=7482.0ja Compizin tällä ohjeella:
http://gandalfn.wordpress.com/howto/howto-compiz-aiglx-on-edgy/Eli homma oli kiinni siitä että olin käyttänyt aiemmin fglrx ajurien vanhampaa versiota... täytyy koittaa tuota joskus myös Dapperilla.. Joka tapauksessa tuon fglrx-ajurien asennus-skriptin tekijälle kymmenen pistettäja...