PDA

View Full Version : Help with Compiz Version 1:0.3.6-0gandalfn11 and FGlrx


calati
February 17th, 2007, 04:18 PM
Hello. I am new to this world. But I have manage to successfully install Ubuntu Edgy in my laptop a Toshiba Satellite m45 with ATI Radeon Xpress 200M Graphic Card. I have been following the Howto's so far and successfully installed Fglrx Drivers with 3d Acceleration. I also manage to install successfully Compiz Version 1:0.3.6. I also manage to check that everything is configure using http://www.go-compiz.org/index.php?title=Ubuntu_Installation_Guide.

I also modified the X11/xorg.conf this way:


Section "ServerFlags"
Option "AIGLX" "off"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
Option "XkbOptions" "lv3:ralt_switch"
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"

# /dev/input/event
# for USB
Identifier "stylus"
Driver "wacom"
Option "Device" "/dev/wacom" # Change to
Option "Type" "stylus"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "InputDevice"

# /dev/input/event
# for USB
Identifier "eraser"
Driver "wacom"
Option "Device" "/dev/wacom" # Change to
Option "Type" "eraser"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "InputDevice"

# /dev/input/event
# for USB
Identifier "cursor"
Driver "wacom"
Option "Device" "/dev/wacom" # Change to
Option "Type" "cursor"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "Monitor"
Identifier "Generic Monitor"
HorizSync 28.0 - 64.0
VertRefresh 43.0 - 60.0
Option "DPMS"
EndSection

Section "Monitor"
Identifier "aticonfig-Monitor[0]"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
EndSection

Section "Device"
Identifier "ATI Technologies, Inc. Radeon Xpress 200M"
Driver "ati"
BusID "PCI:1:5:0"
EndSection

Section "Device"
Identifier "aticonfig-Device[0]"
Driver "fglrx"
Option "VideoOverlay" "on"
Option "OpenGLOverlay" "off"
Option "KernelModuleParm" "agplock=0"
Option "AllowGLXWithComposite" "false"
Option "DRI" "true"
Option "ColorTiling" "on"
Option "EnablePageFlip" "true"
Option "AccelMethod" "EXA"
Option "XAANoOffscreenPixmaps"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "ATI Technologies, Inc. Radeon Xpress 200M"
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 "Screen"
Identifier "aticonfig-Screen[0]"
Device "aticonfig-Device[0]"
Monitor "aticonfig-Monitor[0]"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection

Section "DRI"
Mode 0666
EndSection

Section "Extensions"

Option "Composite" "Disable"
EndSection


The problem is that I can get compiz to work, When I change the Flag of Composite to enable. It seem to load the compiz modules but Gnome acts strange no border windows always to the upper left and some functionaity loss. But when I change "Composite to Disbale again, Gnome works fine but with no Compiz.

Any help from the Gurus or somebody with similar configuration. ??.

I would appreciate it.
Calati.

RYX
February 17th, 2007, 05:31 PM
Hi, calati!

I am neither a guru nor have I a similar config, but I'll try to help anyway :) ... How do you start compiz after you have enabled composite in your xorg.conf? What does happen when you start compiz with these two commands?compiz --replace gconf &
gtk-window-decorator --replace &

:)

calati
February 17th, 2007, 07:00 PM
I load compiz, using this in the session manager : /usr/bin/startcompiz

and of course set this two files:
Startxgl.sh :
#!/bin/sh
Xgl -fullscreen :1 -ac -br -accel glx:pbuffer -accel xv:pbuffer &
sleep 4
export DISPLAY=:1
exec gnome-session


Xgl.desktop:
[Desktop Entry] Encoding=UTF-8 Name=XGl Exec=/usr/bin/startxgl.sh Icon= Type=Application[/b]

Where I have to put the command you provided??.
Calati

RYX
February 17th, 2007, 07:45 PM
You can enter the two commands in a terminal and see what happens. (Hmmm, or did you really never use a terminal before? ... In that case, press Alt+F2 and enter "gnome-terminal") ... :)

I assume the file /usr/bin/startcompiz is a script that contains your compiz-commandline (something like the two commands mentioned above). If the two commands properly start compiz, you can edit the file and put the two commands above in it ...

:)

calati
February 17th, 2007, 08:06 PM
When I mentioned that I was new I meant in Compiz an Ubunto not in Linux/Unix World. I know Unix for about more than 15 years and ( Did you heard about MINIX back of that days, woa!!!, that was the very beginning of Linux back then) of course I know how to enter commands in a console. Gee.!!!.

I was a Joke, yes I am very familiar with Linux, Also, What are your recomendations. Do you think is necessary to enable composite with ATI, I read that this only works with Nvidia.

Let me know, I would Appreciate it.!!!!
Calati.

RYX
February 17th, 2007, 08:24 PM
Ok then - I apologize :) ...

So what is the content of your /usr/bin/startcompiz?

I _think_ it is not required to enable composite, but I really don't know for sure. I don't use it with nvidia - but that's a different case ...

calati
February 17th, 2007, 08:30 PM
this is the content of the file:

#!/bin/sh killall gnome-window-decorator wait gnome-window-decorator & compiz --replace gconf &.

I will going to replace it with your recommendation. let me see.

RAOF
February 18th, 2007, 06:34 AM
Have you installed & set up XGL? Because the fglrx drivers are crap, and won't work with Compiz without it.

http://help.ubuntu.com/community/CompositeManager/Xgl

calati
February 18th, 2007, 05:07 PM
RAOF, you were right , Xgl/Compiz solution is working but erratic, I mean when it loads compiz seen to be working, special effects, etc. but since I tried to run another apllication, or tried to configure compiz; compiz fails to conitnue execute, instead normal window operation works but no compiz. When I tried to load again using GL tray, sometimes works but the erratic condition continues.

Do you think is someting with the ATI drivers ( I installed 8.33) instead of 8.22 again, my ATI card is aRadeon Xpress M200.

I need help!, also is posible to improve screen resolution??.