[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#357439: amaya_wx-9.51-1_i386.deb from Amaya website works on Debian



Yes, no need for more reports, please. I know it works with the
W3C-provided package and not with the Debian-provided one.

The problem is :

The amaya package provided by the W3C uses a statically (built and) linked
libGL, unsing the full software rendering, equivalent to the
libgl1-mesa-swx11 package in Debian.

The package in Debian uses shared libraries for wxWidgets and libGL.
In most cases, the installed packages for libGL are libgl1-mesa-dri and
libgl1-mesa-glx by default. The DRI version is buggy and gives rendering
bugs on ATI radeon cards. When people disable DRI (or don't have it
available), it reverts to GLX rendering, where this bug appears. If you
install libgl1-mesa-swx11, miracle, no more crash, rendering is fine, only
painfully slow.
Use another OpenGL library (say, the Nvidia proprietary one), everything
is fine.

All this would point to a bug in libgl1-mesa-glx, hence CC'ing debian-x
and Michel more specifically in case he has some more ideas since a couple
of month ago.

Also, for the record, having read about some rendering bugs fixed with DRI
on radeon when using the mesa packages from experimental, I tried them.
The crash is still present with GLX, using DRI gives yet another creative
way to not work : The screen freezes except the mouse cursor can move,
keys don't seem to work at all, and the only way to get to a usable state
was to ssh to the machine and kill amaya.

The problem seems to be definitely with OpenGL. I thought about
reassigning this bug the libgl1-mesa-glx, but I have so many different
ways to see the thing crash or do strange things, I suspect there might
actually be a problem in Amaya (or wxWidgets) doing nasty things with
OpenGL. Michel, it would be nice to have your opinion about it.

Any help/input/idea/miracle to fix this bug is welcome, before I try to
sacrifice chickens.

Regis

Egor Kobylkin said:
> Hi, I have radeon M6-L and no DRI and I had the same problem with the
> amaya I have installed with apt-get install with deiban
> testing/unstable. After I have installed amaya_wx-9.51-1_i386.deb from
> Amaya web site it started to work.
>
> egork@barmaglot:~$ amaya --sync
> 03:30:37 PM: Deleted stale lock file '/home/egork/.amaya-egork'.
>
> (amaya:5498): Gtk-CRITICAL **: gtk_widget_set_colormap: assertion
> `!GTK_WIDGET_REALIZED (widget)' failed
> The program 'amaya' received an X Window System error.
> This probably reflects a bug in the program.
> The error was 'BadMatch (invalid parameter attributes)'.
>   (Details: serial 12411 error_code 8 request_code 144 minor_code 5)
>   (Note to programmers: normally, X errors are reported asynchronously;
>    that is, you will receive the error a while after causing it.
>    To debug your program, run it with the --sync command line
>    option to change this behavior. You can then get a meaningful
>    backtrace from your debugger if you break on the gdk_x_error()
> function.)
> egork@barmaglot:~$ su
> Password:
> barmaglot:/home/egork# dpkg -i amaya_wx-9.51-1_i386.deb
> (Reading database ... 118461 files and directories currently installed.)
> Preparing to replace amaya 9.51-2 (using amaya_wx-9.51-1_i386.deb) ...
> Unpacking replacement amaya ...
> Setting up amaya (wx-9.51-1) ...
> exit
> egork@barmaglot:~$ amaya
>
> OpenGL Status:
>   Software Mode = Soft
>   VENDOR : Brian Paul
>   VERSION : 1.5 Mesa 6.2.1
>   RENDERER : Mesa X11
>   GLU Version : 1.3
>   Aux buffers count 0
>   Acumm rgba : 0 0 0 0
>
>
>
>


-- 
"While a monkey can be a manager, it takes a human to be an engineer" Erik
Zapletal



Reply to: