Comments (6)
Related: #190 - sounds like the same or similar case.
I am no expert on OpenGL so I would need to spend some more time educating myself about the details. Currently I am out of time, but perhaps someone more knowledgeable will chime in 😉.
from nuklear.
Probably a driver issue, doing the same on Linux (6.4.6) with an Nvidia card (RTX 2080), the program runs without any issue.
With Nvidia, there is nvidia-settings
which gives detailed information about the device :
Isn't there a similar tool with AMD?
from nuklear.
@riri glxinfo
shows the GLX settings for AMD. GLX_ARB...
and other functions are there. Although, I have the same problem as mentioned above.
from nuklear.
I'm getting these errors:
-> [ glfw_opengl4 ] :: make
rm -f bin/demo
cc main.c -std=c89 -Wall -Wextra -pedantic -O2 -o bin/demo -lglfw -lGL -lm -lGLU -lGLEW
In file included from main.c:66:
../../demo/common/overview.c: In function ‘overview’:
../../demo/common/overview.c:15:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
15 | static nk_bool disable_widgets = nk_false;
| ^~~~~~
-> [ glfw_opengl4 ] :: cd bin
-> [ bin ] :: ls
demo*
-> [ bin ] :: ./demo
[GL]: failed to compile shader: 0:2(12): error: extension `GL_ARB_bindless_texture' unsupported in vertex shader
[GL]: failed to compile shader: 0:2(12): error: extension `GL_ARB_bindless_texture' unsupported in fragment shader
demo: nuklear_glfw_gl4.h:179: nk_glfw3_device_create: Assertion `status == GL_TRUE' failed.
zsh: IOT instruction (core dumped) ./demo
-> [ bin ] ::
from nuklear.
Getting the same error, Manjaro Linux, GLFW 3.3, and glxinfo
shows:
...
Extended renderer info (GLX_MESA_query_renderer):
Vendor: Intel (0x8086)
Device: Mesa Intel(R) HD Graphics 4400 (HSW GT2) (0xa16)
Version: 23.3.3
Accelerated: yes
...
from nuklear.
I've added -g
to CFLAGS
, this is my output:
$ make
rm -f bin/demo
cc main.c -std=c89 -Wall -Wextra -pedantic -O2 -g -o bin/demo -lglfw -lGL -lm -lGLU -lGLEW
In file included from main.c:66:
../../demo/common/overview.c: In function ‘overview’:
../../demo/common/overview.c:15:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
15 | static nk_bool disable_widgets = nk_false;
| ^~~~~~
$ ./bin/demo
[GL]: failed to compile shader: 0:2(12): error: extension `GL_ARB_bindless_texture' unsupported in vertex shader
[GL]: failed to compile shader: 0:2(12): error: extension `GL_ARB_bindless_texture' unsupported in fragment shader
demo: nuklear_glfw_gl4.h:179: nk_glfw3_device_create: Assertion `status == GL_TRUE' failed.
Aborted (core dumped)
$ gdb ./bin/demo core.97291
GNU gdb (GDB) 13.2
Copyright (C) 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./bin/demo...
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file /memfd:xshmfence (deleted) during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
[New LWP 97291]
[New LWP 97293]
[New LWP 97292]
This GDB supports auto-downloading debuginfo from the following URLs:
<https://debuginfod.archlinux.org>
Enable debuginfod for this session? (y or [n]) n
Debuginfod has been disabled.
To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
Core was generated by `./bin/demo'.
Program terminated with signal SIGABRT, Aborted.
#0 0x00007f3e0c90483c in ?? () from /usr/lib/libc.so.6
[Current thread is 1 (Thread 0x7f3e0c32b740 (LWP 97291))]
(gdb) bt
#0 0x00007f3e0c90483c in ?? () from /usr/lib/libc.so.6
#1 0x00007f3e0c8b4668 in raise () from /usr/lib/libc.so.6
#2 0x00007f3e0c89c4b8 in abort () from /usr/lib/libc.so.6
#3 0x00007f3e0c89c3dc in ?? () from /usr/lib/libc.so.6
#4 0x00007f3e0c8acd26 in __assert_fail () from /usr/lib/libc.so.6
#5 0x000055d7ba37fbfe in nk_glfw3_device_create () at /home/peki/Code/Nuklear/demo/glfw_opengl4/nuklear_glfw_gl4.h:179
#6 0x000055d7ba38053a in nk_glfw3_init (win=<optimized out>, init_state=init_state@entry=NK_GLFW3_INSTALL_CALLBACKS,
max_vertex_buffer=max_vertex_buffer@entry=524288, max_element_buffer=max_element_buffer@entry=131072)
at /home/peki/Code/Nuklear/demo/glfw_opengl4/nuklear_glfw_gl4.h:537
#7 0x000055d7ba33851a in main () at main.c:113
(gdb) quit
from nuklear.
Related Issues (20)
- Is it possible to know whether input is captured?
- Creating a nk_image with the sdl_renderer backend HOT 2
- Errors in compiling https://immediate-mode-ui.github.io/Nuklear/doc/#nuklear/example
- Two Issues with Fonts
- Inconsistent grabbing behavior in demos (click and drag property) HOT 8
- Build help with Allegro5 MinGW-64(TDM-Posix-SEH) HOT 2
- Demo headers and nk_ and design choices, oh my! HOT 6
- Backspace does not actually clear a buffer when using nk_edit_string HOT 1
- File Menu HOT 6
- Request: create example for showcasing integration with RGFW HOT 2
- How to make own title bar, without using the operating systems HOT 3
- Group margins/alignment Ubuntu HOT 3
- Demo doesn't include code on how to display images without OpenGL. HOT 1
- After set an opened Combo Box to invisible, no response from the entire window.
- How to do multiple render with one update HOT 2
- Events not working with multiple Nuklear windows
- Add `delta_time_seconds` to each renderer
- GUI "cards" HOT 6
- Multiple window instances HOT 2
- Inputs propagating to windows in background
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nuklear.