bugGNU Octave - Bugs: bug #60001, Unexpected OpenGL error message

 
 

bug #60001: Unexpected OpenGL error message

Submitter:  IvaniaLebron <ivanialebron>
Submitted:  Thu 04 Feb 2021 04:32:00 AM UTC
   
 
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Unexpected Error or Warning
Status:  Need Info Assigned to:  None
Originator Name:  Ivania Open/Closed:  * Closed
Release:  * 6.1.0 Operating System:  * Microsoft Windows
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Thu 23 Feb 2023 09:05:51 PM UTC, comment #8: 

As stated below, this is an error coming from your graphics driver.

can you try with the soon-to-be-released Octave v.8.0.9.0? You can download the installer from https://alpha.gnu.org/gnu/octave/ , scroll down to the latest installers. Recommend choosing the same type you used for 7.3.0.

Recent versions of octave come with the option to switch opengl between a hardware (on your system) and software (bundled) driver.  In v8, we've added a small tool to switch between them. Assuming you use the executable installer, there should be an OpenGL Switcher shortcut menu item.  Please try that, let us know what it says for which version is currently being used, and try switching it. Then let us know if the problem persists for either or both cases.

(The above steps can be performed with 7.3.0 manually. While Octave is not running, renaming the opengl32.dll file to opengl32.bak will force use of your system hardware driver, restoring the dll will return to using the bundled software driver. Assuming you used a 64bit installer, the file is located in octave-home\bin\mingw64\opengl32.dll (see https://docs.octave.org/v7.3.0/Hardware-vs_002e-Software-Rendering.html )

Nicholas Jankowski <nrjank>
Group Member
Thu 23 Feb 2023 08:39:37 PM UTC, comment #7: 

Windows 11 Pro, v. 22H2, OS build 22621.1265
Brand new computer, 13th Gen Intel(R) Core(TM) i7-13700K   3.40 GHz

After fresh install of Octave 7.3.0

>> figure

Mesa: User error: GL_INVALID_ENUM in glDisable(GL_COLOR_TABLE)

I don't even know what Mesa is... No posts here say how to solve this issue.

steve scott <el_kabong>
Sun 13 Feb 2022 05:32:50 PM UTC, comment #6: 

Fresh install 6.4. Default options. Windows 11 relatively new computer (half a year). Typing figure gives this error.

Maxim Bolshtyansky <mxm111>
Sat 05 Feb 2022 06:29:00 PM UTC, comment #5: 

As mentioned in comment #1, Octave does not use "GL_COLOR_TABLE" anywhere.  This error message is being generated by the Mesa library you have on your computer.  I would look there first to see if it can be upgraded.  If you are on Windows, can you test with the 7.0.90 release candidate available at alpha.gnu.org?

Rik <rik5>
Group administrator
Sat 05 Feb 2022 09:09:55 AM UTC, comment #4: 

I got the error "Mesa: User error: GL_INVALID_ENUM in glDisable(GL_COLOR_TABLE)" when I use the 'hf = figure ();' and/or just 'figure' command. The figure appears with the error, but sometimes Octave crashes. I want to know how can I avoid this error.

Hiroshi Yamasaki <hexadeciman>
Wed 10 Mar 2021 10:10:04 AM UTC, comment #3: 

I can confirm this error with Octave 6.2 and Windows 10 x64. I assume this is Mesa shipped with Octave as I do not have any other relevant software installed. I do have an Nvidia graphics card but I do not have any overrides set except for a couple games.

Anonymous
Mon 08 Mar 2021 08:03:51 PM UTC, comment #2: 

No response.  Closing report.

Rik <rik5>
Group administrator
Thu 04 Feb 2021 05:25:42 PM UTC, comment #1: 

The code "glDisable(GL_COLOR_TABLE)" isn't used anywhere in the Octave source code.  Since this error is thrown from the Mesa library I would start debugging there.  For example, is Mesa being supplied by your operating system or is it the version shipped with Octave?  And is the library being overridden by hardware acceleration say with an Nvidia graphics card?  Also, could you try commands one-by-one to see which one is generating the error?


hf = figure ();
hax = gca ();
x = 1:5;
y = x.^2;
plot (x,y, 'o-');
hl = legend ("x^2", "location", "north")


Rik <rik5>
Group administrator
Thu 04 Feb 2021 04:32:00 AM UTC, original submission:  

When I want to graphic a funtion with fplot, appears this Mesa: User error: GL_INVALID_ENUM in glDisable(GL_COLOR_TABLE)

The graphic appears, but I want to know what is that error and how can I remove it.

IvaniaLebron <ivanialebron>

 

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

Attach Files:
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by nrjank (Posted a comment)
  • -email is unavailable- added by el_kabong (Posted a comment)
  • -email is unavailable- added by mxm111 (Posted a comment)
  • -email is unavailable- added by hexadeciman (Posted a comment)
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by jwe (Updated the item)
  • -email is unavailable- added by ivanialebron (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 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-03-08 rik5 Open/ClosedOpen Closed
    2021-02-04 rik5 StatusNone Need Info
    2021-02-04 jwe SummaryBug Unexpected OpenGL error message
    2021-02-04 ivanialebron Attached File- Added WhatsApp@Image@2021-02-03@at@10.19.50@PM.jpeg, #50836

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code