bugGNU Octave - Bugs: bug #62670, Cannot see a plot on qt graphics...

 
 

bug #62670: Cannot see a plot on qt graphics on Ubuntu on WSL2

Submitter:  Tatsuro MATSUOKA <tmacchant>
Submitted:  Fri 24 Jun 2022 01:34:26 AM UTC
   
 
Category:  Plotting with OpenGL Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Invalid / Not an Octave Bug Assigned to:  None
Originator Name:  Tatsuro MATSUOKA Open/Closed:  * Closed
Release:  * 7.1.0 Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Fri 24 Jun 2022 08:20:15 AM UTC, comment #6: 

Glad you could resolve that issue.

I don't think there is anything that Octave could do to avoid that.

Closing as invalid.

Markus Mützel <mmuetzel>
Group administrator
Fri 24 Jun 2022 08:15:22 AM UTC, comment #5: 

Markus

Deleting

export LIBGL_ALWAYS_INDIRECT=1

from ~/.profile

solves the issue.

Thanks!

Tatsuro MATSUOKA <tmacchant>
Fri 24 Jun 2022 07:45:26 AM UTC, comment #4: 
Markus Mützel <mmuetzel>
Group administrator
Fri 24 Jun 2022 07:27:25 AM UTC, comment #3: 

My PC is not upgradable to Windows 11 so I cannot use WSLg.
I use GWSL (VcXsrv and Pulseaudio wrapper. ) instead.

Tatsuro MATSUOKA <tmacchant>
Fri 24 Jun 2022 06:44:54 AM UTC, comment #2: 

IIUC, there are some hints on how to get OpenGL with WSLg in this discussion:
https://github.com/microsoft/wslg/discussions/78

Markus Mützel <mmuetzel>
Group administrator
Fri 24 Jun 2022 05:32:06 AM UTC, comment #1: 

PC at Univ.
 CPU: Intel(R) Core(TM) i5-8400 CPU @ 2.80GHz
 GPU: Intel(R) UHD Graphics 630

I tried octave-7.1.0 on linux from flatpak.


$ flatpak run --share=network --command=bash org.octave.Octave -c "DISPLAY=$DISPLAY octave"



octave:1> graphics_toolkit qt
octave:2> plot(1:10);
fatal: caught signal Aborted -- stopping myself...



octave:1> graphics_toolkit qt
octave:2> __opengl_info__
fatal: caught signal Aborted -- stopping myself...


On the PC at home
 CPU: Intel(R) Core(TM) i5 CPU       M 430  @ 2.27GHz
 GPU: Intel(R) HD Graphics

qt graphics works on flatpak octave

Tatsuro MATSUOKA <tmacchant>
Fri 24 Jun 2022 01:34:26 AM UTC, original submission:  

On PC at home, qt graphics_toolkit works as expected but does not work on PC at Univ.

OS Ubuntu 20.04 on WSL2 on Windows 10 21H2
X-server GWSL(VcXsrv)

Octave version 5.2.0 (distro.) , 7.1.0 (self build..)

PC at home
 CPU: Intel(R) Core(TM) i5 CPU       M 430  @ 2.27GHz
 GPU: Intel(R) HD Graphics

PC at Univ.
 CPU: Intel(R) Core(TM) i5-8400 CPU @ 2.80GHz
 GPU: Intel(R) UHD Graphics 630

PC at Univ.


>> graphics_toolkit qt
>> __opengl_info__
warning: __opengl_info__: can not obtain OpenGL information
warning: called from
    __opengl_info__ at line 62 column 5


>> graphics_toolkit fltk
>> __opengl_info__
   version: 1.4 (4.6.0 - Build 26.20.100.7642)
    vendor: Intel
  renderer: Intel(R) UHD Graphics 630
extensions:
  GL_ARB_depth_texture
  GL_ARB_draw_buffers
  GL_ARB_fragment_program
  GL_ARB_fragment_program_shadow
  GL_ARB_multisample
  GL_ARB_multitexture
  GL_ARB_occlusion_query
  GL_ARB_point_parameters
  GL_ARB_point_sprite
  GL_ARB_shadow
  GL_ARB_texture_border_clamp
  GL_ARB_texture_compression
  GL_ARB_texture_cube_map
  GL_ARB_texture_env_add
  GL_ARB_texture_env_combine
  GL_ARB_texture_env_crossbar
  GL_ARB_texture_env_dot3
  GL_ARB_texture_filter_anisotropic
  GL_ARB_texture_mirrored_repeat
  GL_ARB_texture_non_power_of_two
  GL_ARB_texture_rectangle
  GL_ARB_transpose_matrix
  GL_ARB_vertex_program
  GL_ARB_window_pos
  GL_EXT_abgr
  GL_EXT_bgra
  GL_EXT_blend_color
  GL_EXT_blend_equation_separate
  GL_EXT_blend_func_separate
  GL_EXT_blend_minmax
  GL_EXT_blend_subtract
  GL_EXT_clip_volume_hint
  GL_EXT_draw_range_elements
  GL_EXT_fog_coord
  GL_EXT_framebuffer_object
  GL_EXT_multi_draw_arrays
  GL_EXT_packed_pixels
  GL_EXT_point_parameters
  GL_EXT_rescale_normal
  GL_EXT_secondary_color
  GL_EXT_separate_specular_color
  GL_EXT_shadow_funcs
  GL_EXT_stencil_two_side
  GL_EXT_stencil_wrap
  GL_EXT_texture3D
  GL_EXT_texture_compression_s3tc
  GL_EXT_texture_edge_clamp
  GL_EXT_texture_env_add
  GL_EXT_texture_env_combine
  GL_EXT_texture_filter_anisotropic
  GL_EXT_texture_lod_bias
  GL_EXT_texture_rectangle
  GL_3DFX_texture_compression_FXT1
  GL_ATI_draw_buffers
  GL_IBM_texture_mirrored_repeat
  GL_INGR_blend_func_separate
  GL_NV_blend_square
  GL_NV_texgen_reflection
  GL_NV_texture_rectangle
  GL_SGIS_generate_mipmap
  GL_SGIS_texture_border_clamp
  GL_SGIS_texture_edge_clamp
  GL_SGIS_texture_lod
  GL_SUN_multi_draw_arrays


Tatsuro MATSUOKA <tmacchant>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by mmuetzel (Posted a comment)
  • -email is unavailable- added by tmacchant (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-06-24 mmuetzel StatusNone Invalid / Not an Octave Bug
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code