…and fairies…the Easter Bunny…Santa Claus…whatever. ATI has finally managed to release a graphics driver capable of running compiz and flicker-free video at the same time, well… most of the time. Same procedure as always (see this post), tested with openSuSE 11.0_x64, compiz 0.78, AIGLX and a Radeon X1300 card.
Kaffeine and the mplayerplug-in still have displaying troubles sometimes (video shifted, distorted, interspersed with GUI elements), but given a large choice of media players one usually finds one that works - and I haven't seen a system freeze yet.
ATI is teaching real Epicurean values here: keep your standards low, and you might get lots of pleasant surprises.
Showing posts with label aiglx. Show all posts
Showing posts with label aiglx. Show all posts
12/02/2009
03/12/2008
Wacom Graphire 4 on SuSE 11
This is really nothing new, just a quick reminder that the Wacom setup for SuSE 10.3 doesn't change for 11.
Check your system for x11-input-wacom and x11-input-wacom-tools, get the tablet event-mouse identifier from /dev/input/by-id, and edit your xorg.conf as shown in my previous post.
Tested with Xanthippe's ATI Radeon X1300 and a fairly recent fglrx/AIGLX. Nvidia ought to work analogously - never had any trouble with their drivers.
Check your system for x11-input-wacom and x11-input-wacom-tools, get the tablet event-mouse identifier from /dev/input/by-id, and edit your xorg.conf as shown in my previous post.
Tested with Xanthippe's ATI Radeon X1300 and a fairly recent fglrx/AIGLX. Nvidia ought to work analogously - never had any trouble with their drivers.
16/08/2008
Samsung P35: openSuSE 11 and Compiz
After I had completely f**ked up my X-Server by trying different fglrx drivers in order to get a reasonable compiz 3d-Acceleration, I finally decided to throw away my openSuSE 10.3 and install openSuSE 11 on my Samsung P35 XVM 1600 II, graphics card ATI Mobility Radeon 9700 series. Installation went smooth, apart from the interesting suggestion of the setup program not to just mount my home partition, but format it (yes, you should be careful about that as well - I don't want to lose all my settings just because openSuSE thinks that might be a good idea).
After the reboot, I was more than impressed... Compiz was running out of the box, without even the need to use the ati fglrx driver. This is the proof, with the radeon driver included in the XServer version of openSuSE 11 the card definitely runs AIGLX - by the way also without the well known "freeze after ending an x-session" error. Video playback of embedded flash movies in firefox unfortunately flickers a little bit. But if you use fusion-icon, you can switch back to Kwin as window manager temporarily for viewing (add the openSuSE Build: Xgl/Xorg repo to Yast in order to find fusion-icon). On the other hand, playing movies with Kaffeine doesn't show flicker at all.
The hotkeys don't work out of the box, but it is sufficient to look for acerhk in Yast after adding the standard repos and choose the appropriate rpm for your kernel flavor (which you can also get by opening Konqueror and typing sysinfo:/ into the adress bar). After the necessary reboot all the (important) hotkeys work.
After the reboot, I was more than impressed... Compiz was running out of the box, without even the need to use the ati fglrx driver. This is the proof, with the radeon driver included in the XServer version of openSuSE 11 the card definitely runs AIGLX - by the way also without the well known "freeze after ending an x-session" error. Video playback of embedded flash movies in firefox unfortunately flickers a little bit. But if you use fusion-icon, you can switch back to Kwin as window manager temporarily for viewing (add the openSuSE Build: Xgl/Xorg repo to Yast in order to find fusion-icon). On the other hand, playing movies with Kaffeine doesn't show flicker at all.
The hotkeys don't work out of the box, but it is sufficient to look for acerhk in Yast after adding the standard repos and choose the appropriate rpm for your kernel flavor (which you can also get by opening Konqueror and typing sysinfo:/ into the adress bar). After the necessary reboot all the (important) hotkeys work.
01/05/2008
fglrx 8.476: Play movies at your own risk!
It is well known that the ATI fglrx driver produces flickering video in combination with compiz/AIGLX. One solution is to switch to kwin while playing DivX files, DVDs etc.; in this case fusion-icon is your friend ;-)
Nevertheless, with the latest driver (fglrx 8.476 aka AMD Catalyst 8.4) I was in for something special: trying to watch a movie with kaffeine on any window manager crashed my X session instantly. I ruefully reverted to fglrx 8.455.
Morale: Always keep a backup of the last remotely stable driver installer.
Nevertheless, with the latest driver (fglrx 8.476 aka AMD Catalyst 8.4) I was in for something special: trying to watch a movie with kaffeine on any window manager crashed my X session instantly. I ruefully reverted to fglrx 8.455.
Morale: Always keep a backup of the last remotely stable driver installer.
04/03/2008
How to run a Wacom tablet on Nvidia or ATI AIGLX
Never, never, never, never ... use the Sax2-Module (tantalisingly dangled in front of your nose in YaST) to add a tablet, if you value your hand-written xorg.conf. Or back it up first.
I finally got my Wacom Graphire4 tablet working with nVidia AIGLX. (note that graphics tablets are generally not supported on XGL!) The problems I experienced in setting this up were:
HOWTO: Connect your tablet before booting (precautionarily). Make sure the x11-input-wacom and x11-input-wacom-tools packages are installed, they should be part of the SuSE default package selection anyway. Get the tablet event-mouse identifier from /dev/input/by-id (ls output shown below).
avocadohead@tisiphone:~> ls /dev/input/by-id
usb-Logitech_USB-PS.2_Optical_Mouse-event-mouse usb-WACOM_CTE-640-U_V4.0-3-event-mouse
usb-Logitech_USB-PS.2_Optical_Mouse-mouse usb-WACOM_CTE-640-U_V4.0-3-mouse
Edit /etc/X11/xorg.conf:
Restart X or reboot. Test the tablet with wacdump:
tisiphone:/home/avocadohead # wacdump /dev/input/by-id/usb-WACOM_CTE-640-U_V4.0-3-event-mouse
Just move the stylus and watch the console output.
GIMP configuration: File->Preferences->Input devices->Configure Extended Input Devices. For "Mode", set everything to "Screen".
This is just how things worked on my machine with a Graphire USB non-LCD tablet. For different devices, adapt the Ubuntu HOWTO accordingly.
Button support worked well, even the scroll wheel (some people reported inverted scrolling). It' s not exactly plug and play, however; I had to restart X after plugging in to get it properly working.
For older SuSE distros, one had to compile the driver and kernel modules from scratch. Although the present SuSE packages seem to be sufficient FAPP, you can get additional tweaking tips and a lot of background information on the Linuxwacom HOWTO.
Applied the same procedure to Xanthippe (openSuSE 10.3 64bit, ATI Radeon X1300), worked OK.
I finally got my Wacom Graphire4 tablet working with nVidia AIGLX. (note that graphics tablets are generally not supported on XGL!) The problems I experienced in setting this up were:
- getting the right identifier in /dev/input (the by-id one worked fine)
- wacdump segfaulting with sudo - had to use a real root shell
- GIMP Window mode resulting in nasty stylus-cursor offset, chose the Screen setting instead
HOWTO: Connect your tablet before booting (precautionarily). Make sure the x11-input-wacom and x11-input-wacom-tools packages are installed, they should be part of the SuSE default package selection anyway. Get the tablet event-mouse identifier from /dev/input/by-id (ls output shown below).
avocadohead@tisiphone:~> ls /dev/input/by-id
usb-Logitech_USB-PS.2_Optical_Mouse-event-mouse usb-WACOM_CTE-640-U_V4.0-3-event-mouse
usb-Logitech_USB-PS.2_Optical_Mouse-mouse usb-WACOM_CTE-640-U_V4.0-3-mouse
Edit /etc/X11/xorg.conf:
Section "InputDevice"
Driver "wacom"
Identifier "stylus"
Option "Device" "/dev/input/by-id/usb-WACOM_CTE-640-U_V4.0-3-event-mouse"
Option "Type" "stylus"
Option "USB" "on"
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "eraser"
Option "Device" "/dev/input/by-id/usb-WACOM_CTE-640-U_V4.0-3-event-mouse"
Option "Type" "eraser"
Option "USB" "on"
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "cursor"
Option "Device" "/dev/input/by-id/usb-WACOM_CTE-640-U_V4.0-3-event-mouse"
Option "Type" "cursor"
Option "Mode" "relative"
Option "USB" "on"
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "pad"
Option "ButtonsOnly" "on"
Option "Button9" "2" #oder 1
Option "Button13" "3"
Option "Device" "/dev/input/by-id/usb-WACOM_CTE-640-U_V4.0-3-event-mouse"
Option "Type" "pad"
Option "USB" "on"
EndSection
Section "ServerLayout"
Identifier "Layout[all]"
InputDevice "Keyboard[0]" "CoreKeyboard"
InputDevice "Mouse[1]" "CorePointer"
InputDevice "Mouse[3]" "SendCoreEvents"
InputDevice "stylus" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "pad" "SendCoreEvents"
Option "Clone" "off"
Option "Xinerama" "off"
Screen "Screen[0]"
EndSection
Driver "wacom"
Identifier "stylus"
Option "Device" "/dev/input/by-id/usb-WACOM_CTE-640-U_V4.0-3-event-mouse"
Option "Type" "stylus"
Option "USB" "on"
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "eraser"
Option "Device" "/dev/input/by-id/usb-WACOM_CTE-640-U_V4.0-3-event-mouse"
Option "Type" "eraser"
Option "USB" "on"
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "cursor"
Option "Device" "/dev/input/by-id/usb-WACOM_CTE-640-U_V4.0-3-event-mouse"
Option "Type" "cursor"
Option "Mode" "relative"
Option "USB" "on"
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "pad"
Option "ButtonsOnly" "on"
Option "Button9" "2" #oder 1
Option "Button13" "3"
Option "Device" "/dev/input/by-id/usb-WACOM_CTE-640-U_V4.0-3-event-mouse"
Option "Type" "pad"
Option "USB" "on"
EndSection
Section "ServerLayout"
Identifier "Layout[all]"
InputDevice "Keyboard[0]" "CoreKeyboard"
InputDevice "Mouse[1]" "CorePointer"
InputDevice "Mouse[3]" "SendCoreEvents"
InputDevice "stylus" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "pad" "SendCoreEvents"
Option "Clone" "off"
Option "Xinerama" "off"
Screen "Screen[0]"
EndSection
Restart X or reboot. Test the tablet with wacdump:
tisiphone:/home/avocadohead # wacdump /dev/input/by-id/usb-WACOM_CTE-640-U_V4.0-3-event-mouse
Just move the stylus and watch the console output.
GIMP configuration: File->Preferences->Input devices->Configure Extended Input Devices. For "Mode", set everything to "Screen".
This is just how things worked on my machine with a Graphire USB non-LCD tablet. For different devices, adapt the Ubuntu HOWTO accordingly.
Button support worked well, even the scroll wheel (some people reported inverted scrolling). It' s not exactly plug and play, however; I had to restart X after plugging in to get it properly working.
For older SuSE distros, one had to compile the driver and kernel modules from scratch. Although the present SuSE packages seem to be sufficient FAPP, you can get additional tweaking tips and a lot of background information on the Linuxwacom HOWTO.
Applied the same procedure to Xanthippe (openSuSE 10.3 64bit, ATI Radeon X1300), worked OK.
24/11/2007
ATI Catalyst 7.11 (AKA fglrx 8.433), AIGLX and compiz
This time I adhered to The Gospel According To CyberOrg:
I prepared my kernel sources as I did with fglrx 8.40, forced an aticonfig and edited my xorg.conf by hand instead of having it written by sax2. Benefits: much smaller file.
# cd /usr/src/linux
# make mrproper
# make cloneconfig
# make modules_prepare
# make clean
# rpm -e $(rpm -qa |grep fglrx)
# cd <directory where you put the driver>
# sh ./ati-driver-installer-x.xx.x-yy.run --buildpkg SuSE/SUSE102-AMD64
# rpm -Uhv <some or other fglrx>.rpm
# aticonfig --initial --input=/etc/X11/xorg.conf --force
Don't run sax2 now!
Modify /etc/X11/xorg.conf
Modify
/usr/bin/compiz-manager:
and change "Xgl" for "Xorg" in /etc/sysconfig/displaymanager.
Works, at least if I don't run Compiz and video apps at the same time.
I prepared my kernel sources as I did with fglrx 8.40, forced an aticonfig and edited my xorg.conf by hand instead of having it written by sax2. Benefits: much smaller file.
# cd /usr/src/linux
# make mrproper
# make cloneconfig
# make modules_prepare
# make clean
# rpm -e $(rpm -qa |grep fglrx)
# cd <directory where you put the driver>
# sh ./ati-driver-installer-x.xx.x-yy.run --buildpkg SuSE/SUSE102-AMD64
# rpm -Uhv <some or other fglrx>.rpm
# aticonfig --initial --input=/etc/X11/xorg.conf --force
Don't run sax2 now!
Modify /etc/X11/xorg.conf
Section “Module”
Load “dbe”
Load “type1″
Load “freetype”
Load “extmod”
Load “glx”
Load “dri”
EndSection
Section “ServerFlags”
Option “AllowMouseOpenFail” “on”
Option “IgnoreABI” “on”
Option “AIGLX” “true”
EndSection
Section “Device”
Identifier “aticonfig-Device[0]”
Driver “fglrx”
Option “FSAAEnable” “off”
Option “Capabilities” “0×00000000″
Option “VideoOverlay” “on”
Option “OpenGLOverlay” “off”
Option “FSAAScale” “0″
Option “XAANoOffscreenPixmaps” “true”
EndSection
Section “Extensions”
Option “DAMAGE” “true”
Option “Composite” “true”
EndSection
Load “dbe”
Load “type1″
Load “freetype”
Load “extmod”
Load “glx”
Load “dri”
EndSection
Section “ServerFlags”
Option “AllowMouseOpenFail” “on”
Option “IgnoreABI” “on”
Option “AIGLX” “true”
EndSection
Section “Device”
Identifier “aticonfig-Device[0]”
Driver “fglrx”
Option “FSAAEnable” “off”
Option “Capabilities” “0×00000000″
Option “VideoOverlay” “on”
Option “OpenGLOverlay” “off”
Option “FSAAScale” “0″
Option “XAANoOffscreenPixmaps” “true”
EndSection
Section “Extensions”
Option “DAMAGE” “true”
Option “Composite” “true”
EndSection
Modify
/usr/bin/compiz-manager:
COMPIZ_OPTIONS="--no-libgl-fallback --ignore-desktop-hints --replace"
WHITELIST="nvidia intel ati radeon i810 fglrx“
WHITELIST="nvidia intel ati radeon i810 fglrx“
and change "Xgl" for "Xorg" in /etc/sysconfig/displaymanager.
Works, at least if I don't run Compiz and video apps at the same time.
Subscribe to:
Posts (Atom)