[Gambas-user] OpenGL problem
martin cristia
tercoide at hotmail.com
Fri Jun 18 02:49:56 CEST 2021
This is happening after upgrading to Ubuntu 21.04...
A simple application with a Form and a GLArea with this code
Public Sub form_Open()
gl.Viewport(0, 0, GLArea1.w, GLArea1.h)
Print gl.GetString(gl.VERSION)
End
Gives "Unknown name" error.
# Gambas Project File 3.0
Title=Otro test de OpenGL con QT5
Startup=FMain
Version=0.0.3
Component=gb.image
Component=gb.qt5
Component=gb.form
Component=gb.qt5.opengl
Component=gb.opengl
Component=gb.opengl.glsl
Component=gb.opengl.glu
TabSize=2
Language=en_US
Warnings=0
Packager=1
[System]
Gambas=3.16.90
OperatingSystem=Linux
Kernel=5.11.0-18-generic
Architecture=x86_64
Distribution=Ubuntu 21.04
Desktop=UBUNTU:GNOME
Font=Ubuntu,11
Scale=8
Theme=yaru
Language=es_AR.UTF-8
Memory=11847M
[Libraries]
Cairo=libcairo.so.2.11600.0
Curl=libcurl.so.4.7.0
DBus=libdbus-1.so.3.19.13
GDK2=libgdk-x11-2.0.so.0.2400.33
GDK3=libgdk-3.so.0.2404.21
GStreamer=libgstreamer-1.0.so.0.1804.0
GTK+2=libgtk-x11-2.0.so.0.2400.33
GTK+3=libgtk-3.so.0.2404.21
OpenGL=libGL.so.1.7.0
Poppler=libpoppler.so.102.0.0
Poppler=libpoppler.so.107.0.0
QT5=libQt5Core.so.5.15.2
SDL=libSDL-1.2.so.0.11.4
SQLite=libsqlite3.so.0.8.6
[Environment]
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
DESKTOP_SESSION=ubuntu
DISPLAY=:0
EDITOR=gedit
GB_GUI=gb.gtk3
GDMSESSION=ubuntu
GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/gambas3.desktop
GIO_LAUNCHED_DESKTOP_FILE_PID=4146
GJS_DEBUG_OUTPUT=stderr
GJS_DEBUG_TOPICS=JS ERROR;JS LOG
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
GNOME_SETUP_DISPLAY=:1
GNOME_SHELL_SESSION_MODE=ubuntu
GTK_MODULES=gail:atk-bridge
HOME=<home>
IM_CONFIG_PHASE=1
INVOCATION_ID=5fbdaba4ba304125923a8fdee9632aed
JOURNAL_STREAM=8:28122
LANG=es_AR.UTF-8
LANGUAGE=es_AR.UTF-8
LC_ALL=es_AR.UTF-8
LOGNAME=<user>
MANAGERPID=938
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin
PWD=<home>
QT_ACCESSIBILITY=1
QT_IM_MODULE=ibus
QT_LOGGING_RULES=*.debug=false
SESSION_MANAGER=local/<hostname>:@/tmp/.ICE-unix/1095,unix/<hostname>:/tmp/.ICE-unix/1095
SHELL=/bin/bash
SHLVL=0
SSH_AGENT_LAUNCHER=gnome-keyring
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
TZ=:/etc/localtime
USER=<user>
USERNAME=<user>
WAYLAND_DISPLAY=wayland-0
XAUTHORITY=/run/user/1000/.mutter-Xwaylandauth.EWX440
XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/etc/xdg
XDG_CURRENT_DESKTOP=ubuntu:GNOME
XDG_DATA_DIRS=/usr/share/ubuntu:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop
XDG_MENU_PREFIX=gnome-
XDG_RUNTIME_DIR=/run/user/1000
XDG_SESSION_CLASS=user
XDG_SESSION_DESKTOP=ubuntu
XDG_SESSION_TYPE=wayland
XMODIFIERS=@im=ibus
_=/usr/bin/gnome-session
More information about the User
mailing list