help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug when running Octave 4.02 under emulation on OS X 10.11.5.


From: edmund ronald
Subject: Re: Bug when running Octave 4.02 under emulation on OS X 10.11.5.
Date: Thu, 28 Jul 2016 15:35:03 +0200

I ran this on my machine -  Plot() works well for me. This is the script. As you can see it ends up in a failure; swrast has been an open issue from the beginning, but never caused a functional problem. 

-----------

Edmunds-MBP:Oct edmundronald$ vagrant up; vagrant ssh

Bringing machine 'default' up with 'virtualbox' provider...

==> default: VirtualBox VM is already running.

Welcome to Ubuntu 14.04.2 LTS (GNU/Linux 3.13.0-46-generic x86_64)


 * Documentation:  https://help.ubuntu.com/


  System information as of Thu Jul 28 13:24:10 UTC 2016


  System load:  0.03              Processes:           74

  Usage of /:   4.6% of 39.34GB   Users logged in:     0

  Memory usage: 9%                IP address for eth0: 10.0.2.15

  Swap usage:   0%


  Graph this data and manage this system at:

    https://landscape.canonical.com/


  Get cloud support with Ubuntu Advantage Cloud Guest:

    http://www.ubuntu.com/business/services/cloud



Last login: Thu Jul 28 13:24:11 2016 from 10.0.2.2

address@hidden:~$ sudo apt install -y mesa-utils

Reading package lists... Done

Building dependency tree       

Reading state information... Done

The following package was automatically installed and is no longer required:

  fonts-liberation

Use 'apt-get autoremove' to remove it.

The following NEW packages will be installed:

  mesa-utils

0 upgraded, 1 newly installed, 0 to remove and 194 not upgraded.

Need to get 34.4 kB of archives.

After this operation, 133 kB of additional disk space will be used.

Get:1 http://archive.ubuntu.com/ubuntu/ trusty/universe mesa-utils amd64 8.1.0-2 [34.4 kB]

Fetched 34.4 kB in 5s (6,623 B/s)    

Progress: [100%] [################################################################################################################] Pr

address@hidden:~$ glxinfo -B

Unknown option `-B'

Usage: glxinfo [-v] [-t] [-h] [-i] [-b] [-s] [-display <dname>]

-v: Print visuals info in verbose form.

-t: Print verbose table.

-display <dname>: Print GLX visuals on specified server.

-h: This information.

-i: Force an indirect rendering context.

-b: Find the 'best' visual and print its number.

-l: Print interesting OpenGL limits.

-s: Print a single extension per line.

address@hidden:~$ glxinfo -b

libGL error: failed to load driver: swrast

342

address@hidden:~$ logout

Connection to 127.0.0.1 closed.

Edmunds-MBP:Oct edmundronald$ vagrant suspend

==> default: Saving VM state and suspending execution...

Edmunds-MBP:Oct edmundronald$ 


-------

And some more:

address@hidden:~$ glxinfo -l

name of display: localhost:10.0

libGL error: failed to load driver: swrast

display: localhost:10  screen: 0

direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)

server glx vendor string: SGI

server glx version string: 1.4

server glx extensions:

    GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_visual_info, 

    GLX_EXT_visual_rating, GLX_OML_swap_method, GLX_SGIS_multisample, 

    GLX_SGIX_fbconfig

client glx vendor string: Mesa Project and SGI

client glx version string: 1.4

client glx extensions:

    GLX_ARB_create_context, GLX_ARB_create_context_profile, 

    GLX_ARB_create_context_robustness, GLX_ARB_fbconfig_float, 

    GLX_ARB_framebuffer_sRGB, GLX_ARB_get_proc_address, GLX_ARB_multisample, 

    GLX_EXT_create_context_es2_profile, GLX_EXT_fbconfig_packed_float, 

    GLX_EXT_framebuffer_sRGB, GLX_EXT_import_context, 

    GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info, GLX_EXT_visual_rating, 

    GLX_INTEL_swap_event, GLX_MESA_copy_sub_buffer, 

    GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer, 

    GLX_MESA_swap_control, GLX_OML_swap_method, GLX_OML_sync_control, 

    GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, 

    GLX_SGIX_visual_select_group, GLX_SGI_make_current_read, 

    GLX_SGI_swap_control, GLX_SGI_video_sync

GLX version: 1.4

GLX extensions:

    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context, 

    GLX_EXT_visual_info, GLX_EXT_visual_rating, 

    GLX_MESA_multithread_makecurrent, GLX_OML_swap_method, 

    GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, 

    GLX_SGI_make_current_read

OpenGL vendor string: NVIDIA Corporation

OpenGL renderer string: NVIDIA GeForce GT 750M OpenGL Engine

OpenGL version string: 1.4 (2.1 NVIDIA-10.4.2 310.41.35f01)

OpenGL extensions:

    GL_APPLE_packed_pixels, GL_ARB_depth_texture, GL_ARB_draw_buffers, 

    GL_ARB_fragment_program, GL_ARB_fragment_program_shadow, GL_ARB_imaging, 

    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_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_ATIX_texture_env_combine3, GL_ATI_draw_buffers, 

    GL_ATI_texture_env_combine3, GL_ATI_texture_mirror_once, 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_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_texture_compression_dxt1, GL_EXT_texture_compression_s3tc, 

    GL_EXT_texture_edge_clamp, GL_EXT_texture_env_add, 

    GL_EXT_texture_filter_anisotropic, GL_EXT_texture_lod_bias, 

    GL_EXT_texture_mirror_clamp, GL_EXT_texture_rectangle, 

    GL_IBM_texture_mirrored_repeat, GL_INGR_blend_func_separate, 

    GL_NV_blend_square, GL_NV_depth_clamp, GL_NV_fog_distance, 

    GL_NV_fragment_program2, GL_NV_fragment_program_option, 

    GL_NV_light_max_exponent, GL_NV_multisample_filter_hint, 

    GL_NV_point_sprite, GL_NV_texgen_reflection, GL_NV_texture_rectangle, 

    GL_NV_vertex_program2_option, GL_NV_vertex_program3, 

    GL_SGIS_generate_mipmap, GL_SGIS_texture_border_clamp, 

    GL_SGIS_texture_edge_clamp, GL_SGIS_texture_lod, GL_SUN_multi_draw_arrays

OpenGL limits:

    GL_MAX_ATTRIB_STACK_DEPTH = 16

    GL_MAX_CLIENT_ATTRIB_STACK_DEPTH = 16

    GL_MAX_CLIP_PLANES = 6

    GL_MAX_COLOR_MATRIX_STACK_DEPTH = 10

    GL_MAX_ELEMENTS_VERTICES = -1

    GL_MAX_ELEMENTS_INDICES = -1

    GL_MAX_EVAL_ORDER = 10

    GL_MAX_LIGHTS = 8

    GL_MAX_LIST_NESTING = 64

    GL_MAX_MODELVIEW_STACK_DEPTH = 32

    GL_MAX_NAME_STACK_DEPTH = 128

    GL_MAX_PIXEL_MAP_TABLE = 256

    GL_MAX_PROJECTION_STACK_DEPTH = 10

    GL_MAX_TEXTURE_STACK_DEPTH = 10

    GL_MAX_TEXTURE_SIZE = 16384

    GL_MAX_3D_TEXTURE_SIZE = 2048

    GL_MAX_VIEWPORT_DIMS = 16384, 16384

    GL_ALIASED_LINE_WIDTH_RANGE = 1, 10

    GL_SMOOTH_LINE_WIDTH_RANGE = 1, 10

    GL_ALIASED_POINT_SIZE_RANGE = 1, 2047

    GL_SMOOTH_POINT_SIZE_RANGE = 1, 190

    GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB = 16384

    GL_MAX_RECTANGLE_TEXTURE_SIZE_NV = 16384

    GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB = 3

    GL_MAX_TEXTURE_UNITS_ARB = 8

    GL_MAX_TEXTURE_LOD_BIAS_EXT = 15

    GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT = 16

    GL_MAX_DRAW_BUFFERS_ARB = 8

    GL_MAX_CONVOLUTION_WIDTH/HEIGHT = 11, 11

    GL_VERTEX_PROGRAM_ARB:

        GL_MAX_PROGRAM_INSTRUCTIONS_ARB = 262144

        GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB = 16384

        GL_MAX_PROGRAM_TEMPORARIES_ARB = 65535

        GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB = 4096

        GL_MAX_PROGRAM_PARAMETERS_ARB = 1024

        GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB = 1024

        GL_MAX_PROGRAM_ATTRIBS_ARB = 32

        GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB = 16

        GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB = 2

        GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB = 2

        GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB = 1024

        GL_MAX_PROGRAM_ENV_PARAMETERS_ARB = 256

    GL_FRAGMENT_PROGRAM_ARB:

        GL_MAX_PROGRAM_INSTRUCTIONS_ARB = 16384

        GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB = 16384

        GL_MAX_PROGRAM_TEMPORARIES_ARB = 4096

        GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB = 4096

        GL_MAX_PROGRAM_PARAMETERS_ARB = 1024

        GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB = 1024

        GL_MAX_PROGRAM_ATTRIBS_ARB = 16

        GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB = 16

        GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB = 0

        GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB = 0

        GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB = 1024

        GL_MAX_PROGRAM_ENV_PARAMETERS_ARB = 128

        GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB = 16384

        GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB = 16384

        GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB = 16384

        GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB = 16384

        GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB = 16384

        GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB = 16384


128 GLX Visuals

    visual  x   bf lv rg d st  colorbuffer  sr ax dp st accumbuffer  ms  cav

  id dep cl sp  sz l  ci b ro  r  g  b  a F gb bf th cl  r  g  b  a ns b eat

----------------------------------------------------------------------------

0x022 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 16  8  0  0  0  0  0 0 None

0x121 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 Slow

0x122 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0  0  0  0  0  0  0 16 1 Slow

0x123 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0 32  0  0  0  0  0  0 0 Slow

0x124 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0 32  0  0  0  0  0 16 1 Slow

0x125 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0  0  8  0  0  0  0  0 0 Slow

0x126 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0  0  8  0  0  0  0 16 1 Slow

0x127 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0 32  8  0  0  0  0  0 0 Slow

0x128 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0 32  8  0  0  0  0 16 1 Slow

0x129 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 Slow

0x12a 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0  0  0  0  0 16 1 Slow

0x12b 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 32  0  0  0  0  0  0 0 Slow

0x12c 24 tc  0  32  0 r  y . 


On Thu, Jul 28, 2016 at 3:17 PM, Dmitri A. Sergatskov <address@hidden> wrote:

On Thu, Jul 28, 2016 at 7:49 AM, edmund ronald <address@hidden> wrote:

If you can give James some diagnostic instructions, he cancd to the Oct folder, type "vagrant ssh", and ssh into the running VM, and run anything you want from the command line - I don't have access to his computer. 


​Try to run
glxinfo -B
(send the output to the list, here is what i get in my computer:

$ glxinfo -B
name of display: :0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: Intel Open Source Technology Center (0x8086)
    Device: Mesa DRI Intel(R) Sandybridge Desktop  (0x122)
    Version: 12.0.1
    Accelerated: yes
    Video memory: 1536MB
    Unified memory: yes
    Preferred profile: core (0x1)
    Max core profile version: 3.3
    Max compat profile version: 3.0
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.0
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) Sandybridge Desktop
OpenGL core profile version string: 3.3 (Core Profile) Mesa 12.0.1
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 3.0 Mesa 12.0.1
OpenGL shading language version string: 1.30
OpenGL context flags: (none)

OpenGL ES profile version string: OpenGL ES 3.0 Mesa 12.0.1
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00

)
Also
glxgears​
​may be interesting.

(Those are linux programs, not octave commands.)

Dmitri.
--




reply via email to

[Prev in Thread] Current Thread [Next in Thread]