Skip to content

glx: failed to create drisw screen; failed to load driver: zink #10

@eserte

Description

@eserte

The test suite fails on my fedora smoker (with vnc setup as X11 DISPLAY, if this matters):

PERL_DL_NONLAZY=1 "/opt/perl-5.38.2t/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t

#   Failed test 'simple lines plot succeeded'
#   at t/simple.t line 99.
#          got: 'PDL::Graphics::Gnuplot: ERROR: the gnuplot backend issued an error:
# 
# glx: failed to create drisw screen
# failed to load driver: zink
#  at /opt/perl-5.38.2t/lib/site_perl/5.38.2/PDL/Graphics/Gnuplot.pm line 7647.
# 	PDL::Graphics::Gnuplot::_checkpoint(PDL::Graphics::Gnuplot=HASH(0x289ce70), "main", HASH(0x3110040)) called at /opt/perl-5.38.2t/lib/site_perl/5.38.2/PDL/Graphics/Gnuplot.pm line 3289
# 	PDL::Graphics::Gnuplot::plot(undef, HASH(0x30f8a00), HASH(0x30ff660), PDL=SCALAR(0x30fefb8), PDL=SCALAR(0x28d7528)) called at /home/cpansand/.cpan/build/2024102423/PDL-Graphics-Simple-1.014-5/blib/lib/PDL/Graphics/Simple/Gnuplot.pm line 376
# 	PDL::Graphics::Simple::Gnuplot::plot(PDL::Graphics::Simple::Gnuplot=HASH(0x30ff618), HASH(0x30f85b0), ARRAY(0x30f8658)) called at /home/cpansand/.cpan/build/2024102423/PDL-Graphics-Simple-1.014-5/blib/lib/PDL/Graphics/Simple.pm line 1161
# 	PDL::Graphics::Simple::_convenience_plot("line", PDL=SCALAR(0x30fefb8), PDL=SCALAR(0x28d7528), HASH(0x310fff8)) called at /home/cpansand/.cpan/build/2024102423/PDL-Graphics-Simple-1.014-5/blib/lib/PDL/Graphics/Simple.pm line 1164
# 	PDL::Graphics::Simple::line(PDL=SCALAR(0x30fefb8), PDL=SCALAR(0x28d7528), HASH(0x310fff8)) called at t/simple.t line 98
# 	eval {...} called at t/simple.t line 98
# '
#     expected: ''
# module 'plplot' registration hash: {
#   'engine' => 'PDL::Graphics::PLplot',
#   'module' => 'PDL::Graphics::Simple::PLplot',
#   'msg' => 'Can\'t locate PDL/Graphics/PLplot.pm in @INC (you may need to install the PDL::Graphics::PLplot module) (@INC entries checked: /home/cpansand/.cpan/build/2024102423/PDL-Graphics-Simple-1.014-5/blib/lib /home/cpansand/.cpan/build/2024102423/PDL-Graphics-Simple-1.014-5/blib/arch /opt/perl-5.38.2t/lib/site_perl/5.38.2/x86_64-linux-thread-multi /opt/perl-5.38.2t/lib/site_perl/5.38.2 /opt/perl-5.38.2t/lib/5.38.2/x86_64-linux-thread-multi /opt/perl-5.38.2t/lib/5.38.2 .) at /home/cpansand/.cpan/build/2024102423/PDL-Graphics-Simple-1.014-5/blib/lib/PDL/Graphics/Simple/PLplot.pm line 53.
# ',
#   'ok' => 0,
#   'pgs_api_version' => '1.012',
#   'shortname' => 'plplot',
#   'synopsis' => 'PLplot (nice plotting, sloooow images)'
# }
# Skipping PDL::Graphics::Simple::PLplot: Can't locate PDL/Graphics/PLplot.pm in @INC (you may need to install the PDL::Graphics::PLplot module) (@INC entries checked: /home/cpansand/.cpan/build/2024102423/PDL-Graphics-Simple-1.014-5/blib/lib /home/cpansand/.cpan/build/2024102423/PDL-Graphics-Simple-1.014-5/blib/arch /opt/perl-5.38.2t/lib/site_perl/5.38.2/x86_64-linux-thread-multi /opt/perl-5.38.2t/lib/site_perl/5.38.2 /opt/perl-5.38.2t/lib/5.38.2/x86_64-linux-thread-multi /opt/perl-5.38.2t/lib/5.38.2 .) at /home/cpansand/.cpan/build/2024102423/PDL-Graphics-Simple-1.014-5/blib/lib/PDL/Graphics/Simple/PLplot.pm line 53.
# module 'gnuplot' registration hash: {
#   'engine' => 'PDL::Graphics::Gnuplot',
#   'itype' => 'qt',
#   'module' => 'PDL::Graphics::Simple::Gnuplot',
#   'ok' => 1,
#   'pgs_api_version' => '1.012',
#   'shortname' => 'gnuplot',
#   'synopsis' => 'Gnuplot 2D/3D (versatile; beautiful output)',
#   'valid_terms' => {
#     'cairolatex' => 1,
#     'canvas' => 1,
#     'cgm' => 1,
#     'dumb' => 1,
#     'dxf' => 1,
#     'emf' => 1,
#     'epscairo' => 1,
#     'epslatex' => 1,
#     'fig' => 1,
#     'gif' => 1,
#     'jpeg' => 1,
#     'pdfcairo' => 1,
#     'png' => 1,
#     'pngcairo' => 1,
#     'postscript' => 1,
#     'pslatex' => 1,
#     'pstex' => 1,
#     'qt' => 1,
#     'svg' => 1,
#     'texdraw' => 1,
#     'x11' => 1
#   }
# }
PDL::Graphics::Gnuplot: ERROR: the gnuplot backend issued an error:

glx: failed to create drisw screen
failed to load driver: zink
 at /opt/perl-5.38.2t/lib/site_perl/5.38.2/PDL/Graphics/Gnuplot.pm line 7647.
	PDL::Graphics::Gnuplot::_checkpoint(PDL::Graphics::Gnuplot=HASH(0x30f1bb0), "main", HASH(0x30f1ce8)) called at /opt/perl-5.38.2t/lib/site_perl/5.38.2/PDL/Graphics/Gnuplot.pm line 3289
	PDL::Graphics::Gnuplot::plot(undef, HASH(0x30f2a20), HASH(0x2fcb8b0), PDL=SCALAR(0x2f9d5a8), PDL=SCALAR(0x30132b0)) called at /home/cpansand/.cpan/build/2024102423/PDL-Graphics-Simple-1.014-5/blib/lib/PDL/Graphics/Simple/Gnuplot.pm line 376
	PDL::Graphics::Simple::Gnuplot::plot(PDL::Graphics::Simple::Gnuplot=HASH(0x30ff1e0), HASH(0x2fbd770), ARRAY(0x30ff810)) called at /home/cpansand/.cpan/build/2024102423/PDL-Graphics-Simple-1.014-5/blib/lib/PDL/Graphics/Simple.pm line 1084
	PDL::Graphics::Simple::plot(PDL::Graphics::Simple=HASH(0x2f05c58), "with", "polylines", PDL=SCALAR(0x2f9d0c8), PDL=SCALAR(0x3001800), HASH(0x2f9cde0)) called at t/simple.t line 174
# Tests were run but no plan was declared and done_testing() was not seen.
t/simple.t .. 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/49 subtests 
	(less 15 skipped subtests: 33 okay)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions