Bug#1121622: dizzy: Crashes on launch

Étienne Mollier emollier at debian.org
Fri Aug 21 20:29:46 BST 2026


Control: tags -1 + help

The interesting part of the issue looks to be the beginning:

> When I run dizzy from an xterm, it crashes with these lines:
> 
> --- begin of output ---
> 
> GPU features: [x] GLSL     [x] FBOs
> Shader compilation failed: 0(2) : warning C1503: undefined variable
> "UNKNOWN_padsv_store_OP"

For a moment, I thought that Damyan's ignore-unknown-ops.patch
would be somewhat related and tried something looking like:

	--- dizzy-0.3.orig/lib/Dizzy/Perl2GLSL.pm
	+++ dizzy-0.3/lib/Dizzy/Perl2GLSL.pm
	@@ -50,11 +50,7 @@
	                        return ["glob", $pad->NAME, $pad];
	                }
	        } elsif ($optype eq "OP") {
	-               if ($op->name eq "padsv") {
	-                       return "var" . $op->targ;
	-               } else {
	-                       return ();
	-               }
	+               return ();
	        } elsif ($optype eq "COP") {
	                return ();
	        }

however this leads nowhere and running the program now results
in:

	$ dizzy
	GPU features: [x] GLSL     [x] FBOs
	Use of uninitialized value $op[2] in hash element at /usr/share/perl5/Dizzy/Perl2GLSL.pm line 165.
	Use of uninitialized value $op[3] in hash element at /usr/share/perl5/Dizzy/Perl2GLSL.pm line 166.
	Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/Dizzy/Perl2GLSL.pm line 167.
	Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/Dizzy/Perl2GLSL.pm line 167.
	Use of uninitialized value $op in pattern match (m//) at /usr/share/perl5/Dizzy/Perl2GLSL.pm line 107.
	Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/Dizzy/Perl2GLSL.pm line 175.
	Shader compilation failed: 0:1(21): error: syntax error, unexpected '=', expecting ',' or ';'
	
	Shader source:
	void main() { float  = gl_TexCoord[0].x - 0.5; float  = gl_TexCoord[0].y - 0.5;
	UNKNOWN_padsv_store_OP;
	float retval = ((sin((3.14159265358979 / (0.0001 + (2. * )))) / 2.) + 0.5); gl_FragColor = vec4(vec3(retval), 1.0); }
	
	Died at /usr/share/perl5/Dizzy/TextureGenerator.pm line 135.

The further issues and resurgence of UNKNOWN_padsv_store_OP
suggest I may not have solved much.  Part of the issue might
require insights from people more at ease with OpenGL than I am.

In hope this helps moving forwards,
-- 
  .''`.  Étienne Mollier <emollier at debian.org>
 : :' :  pgp: 8f91 b227 c7d6 f2b1 948c  8236 793c f67e 8f0d 11da
 `. `'   sent from /dev/pts/2, please excuse my verbosity
   `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-perl-maintainers/attachments/20260821/bc670c8a/attachment.sig>


More information about the pkg-perl-maintainers mailing list