Public bug reported:

Binary package hint: enblend

enblend is capable of offloading some computation onto certain GPUs.
However, this feature is broken in the version shipped with Hardy. This
might be a quirk of freeglut, or enblend might be doing it wrong. As
it's fixed in newer versions, I believe it's a mistake on enblend's end
which other GLUT implementations don't catch.

I used files from here:
http://wiki.panotools.org/Enblend_Testcase_2008-05-02 , but any set of
TIFFs should work.

$ enblend --gpu -v -o scottishparliament.tif scottishparliament{0,2}.tif
freeglut  ERROR:  Function <glutCreateWindow> called without first calling 
'glutInit'.

The addition of a call to glutInit() when the --gpu flag is passed fixes
this problem:

$ ./enblend --gpu -v -o scottishparliament.tif scottishparliament{0,2}.tif
enblend: using graphics card: Tungsten Graphics, Inc. Mesa DRI R200 20060602 
AGP 4x x86/MMX/SSE2 TCL
enblend: extension GL_ARB_fragment_shader = false
enblend: extension GL_ARB_vertex_shader = false
enblend: extension GL_ARB_shader_objects = false
enblend: extension GL_ARB_shading_language_100 = false
enblend: this graphics card lacks the necessary extensions for --gpu.
enblend: sorry, the --gpu flag is not going to work on this machine.

(I assume that if I had spiffier hardware and/or drivers, this would
work some nifty magic.)

The attached dpatch adds the missing call. Any comments would be much
appreciated, as well as a debdiff; I've yet to get the hang of
generating them properly. If the patch is acceptable, I'll fill out an
SRU application for Hardy and Intrepid.

This bug is fixed in 3.2, which is in Jaunty, but is present in
3.0.dfsg.1-0ubuntu6, which is the version used for Hardy and Intrepid.

** Affects: enblend (Ubuntu)
     Importance: Undecided
         Status: New

-- 
--gpu flag never works
https://bugs.launchpad.net/bugs/296601
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to