[bug #68072] Printing plots to pdflatex device fails with DRI3

Robert Jenssen <[email protected]>
Newsgroups gmane.comp.gnu.octave.bugs
Message-ID <[email protected]>
Please use the bug tracker to post updates to a bug report.  The mailing list is intended as a read-only notification stream.  Info posted to this mailing list address won't appear in the tracker database where it is most useful.

URL:
  <https://savannah.gnu.org/bugs/?68072>

                 Summary: Printing plots to pdflatex device fails with DRI3
                   Group: GNU Octave
               Submitter: morgawr
               Submitted: Fri 20 Feb 2026 07:12:53 AM UTC
                Category: Plotting with OpenGL
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Unexpected Error or Warning
                  Status: None
             Assigned to: None
         Originator Name:
        Originator Email:
             Open/Closed: Open
         Discussion Lock: Unlocked
                 Release: 10.3.0
        Operating System: GNU/Linux
           Fixed Release: None
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Fri 20 Feb 2026 07:12:53 AM UTC By: Robert Jenssen <morgawr>
An update to my Fedora 43 system has broken printing to the pdflatex device.
The following plot:

pkg load signal
[N0,D0]=butter(6,0.10);
nplot=512;
[H,wplot]=freqz(N0,D0,nplot);
subplot(211);
plot(wplot*0.5/pi,20*log10(abs(H)));
subplot(212);
plot(wplot*0.5/pi,(unwrap(arg(H)))/pi);
print("butter_response","-dpdflatex");
close

produces the error message:

warning: gl2ps_renderer::draw_axes: empty feedback buffer and/or nothing else
to print
warning: called from
    __opengl_print__ at line 209 column 7
    print at line 790 column 11


My fedora 43 kernel id is 6.18.10-200.fc43.x86_64. My mesa libraries are
version 25.3.5-1.fc43. A workaround is to disable DRI3 in
/etc/X11/xorg.conf.d/01-disable-dri3.conf:

Section "Device"
        Identifier  "Card0"
        Driver      "amdgpu"
        Option      "DRI"       "2"
        BusID       "PCI:1:0:0"
EndSection









    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?68072>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc (application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE-----

iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCaZgJfgAKCRCqLAuaBUf3
Tn0gAQCsf4m6LiXVFdRzTbvKG3VYJb82RQRqtxQe70Csq6apcQD/bT/Rd/8vEY90
ctJoTHDAmiO3hov/hcp+hHYQBEr94QI=
=FrLI
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.