[erlang-questions] compiling R14B02 with WX support on Ubuntu 11.04
Mon May 16 21:16:42 CEST 2011
You're right Dan, I just did some tests with the following drivers:
- (default) nouveau
[- experimental 3D for nvidia cards (couldn't be installed on my system)]
Using "nouveau" gave the "best results" for the
"wx:demo()/gl-Example": it worked.
[I had a crash with the gauge-Example, but I couldn't reproduce it
(yet) to get a core dump.]
But the "nouveau" driver isn't the best for more complex OpenGL
2011/5/16 Dan Gudmundsson <>:
> It seems to be a Ubuntu 11.04 problem with (proprietary) drivers.
> In my case /usr/lib/libGL.so is linked to mesa/libGL.so and not to
> which erlang-wx uses for dynamically loading all functions and extensions.
> But wxWidgets (and SDL) loads and creates the context with
> nvidia-current/libGL so
> two different GL implementations are used.
> Link /usr/lib/libGL.so to point to the correct nvidia-current/libGL.so
> and it works.
> IMHO this is a bug in (atleast) the nvidia package in ubuntu 11.04.
> I googled a bit and it seems other GL wrappers have the same problem
> in 11.04, so maybe someone
> should tell the ubuntu guys.
> 2011/5/13 Cyryl Płotnicki-Chudyk <>:
>> 2011/5/13 Boris Mühmer <>:
>>> Besides, could you check "wx:demo()", please?
>>> Especially the "gl" part... It crashes on my system.
>>> If it crashes on Your system as well, I would submit a bug report...
>> works, except the gl part
>> wchich crashes the whole emulator
>> 1> wx:demo().
>> (Erlang:24191): Gtk-WARNING **: gtk_widget_size_allocate(): attempt
>> to allocate widget with width -5 and height 17
>> Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget
>> with width -5 and height 17
>> (Erlang:24191): Gtk-WARNING **:
>> gtk_widget_size_allocate(): attempt to allocate widget with width -5
>> and height 17
>> Segmentation fault
>> erlang-questions mailing list
More information about the erlang-questions