MathGroup Archive 2009

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: ColorFunction on a linux system (xorg) loses graphics

Peter Pein schrieb:
> Hi Curtis,
> on an Ubuntu system I use a script, which calls Mathematica with parameters 
> which let me use the mouse-wheel and the NumLock-key. Additionally it sets the 
> environment variable XLIB_SKIP_ARGB_VISUALS to 1, which removed problems 
> similar to the one you describe. Maybe it is worth a try (the little utility 
> "imwheel" has to be installed):
> petsie@leierkasten:~$ cat run-math
> #!/bin/sh
> # version 4
> # `-r' flag means don't use the "Configurator"
> # and pass wheel events to the root window
> #
> # Ensure a single instance of Mathematica with
> # the option `-singleLaunch'.
> # Allow the use of the NumLock key with the
> # '-primaryModifierMask' and '-secondaryModifierMask'
> # switches.
> MARGS="-singleLaunch -primaryModifierMask Mod1Mask -secondaryModifierMask 
> Mod3Mask"
> if `ps -C imwheel > /dev/null`; then
>    XLIB_SKIP_ARGB_VISUALS=1 Mathematica $1 $MARGS
> else
>    imwheel -r
>    XLIB_SKIP_ARGB_VISUALS=1 Mathematica $1 $MARGS
>    imwheel -kq
> fi

Oops... this works with the proprietary drivers for an ATI Mobility 3470 
graphics card on a laptop, but not with the opensource radeon driver on a 
desktop workstation with a HIS x1050 graphic card??
Must be a bug in the OSS-Radeon-driver.
B.t.w.: compiz is installed on both computers.

  • Prev by Date: Re: Re: Making a user interface
  • Next by Date: Re: Reading csv with ;
  • Previous by thread: Re: ColorFunction on a linux system (xorg) loses graphics
  • Next by thread: Re: Re: ColorFunction on a linux system (xorg) loses graphics