Bug 1954570

Summary: OpenGL application doesn't run properly on X11/Wayland v2.0
Product: [Fedora] Fedora Reporter: malkovjohnny
Component: glfwAssignee: Till Hofmann <thofmann>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 34CC: airlied, bioinfornatics, negativo17, thofmann
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: glfw-3.3.4-1.fc33 glfw-3.3.4-1.fc34 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-05-08 01:23:24 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
testing program/s
none
testing program glew none

Description malkovjohnny 2021-04-28 11:49:01 UTC
Description of problem:
In new F34 release OpenGL application stop work properly: doesn't run at all. Worked fine in F33.

How reproducible:
Run test application
g++ -std=c++17 -Wall -lGL -lGLEW -lglfw xxx.cxx -o xxx

Actual results:
Application doesn't run

Expected results:
Fix bug

Additional info:
kernel:
5.11.15-300.fc34

glfw:
glfw-3.3.2-8.fc34

This bug is same as closed one in issue: 1895018 (https://bugzilla.redhat.com/show_bug.cgi?id=1895018)

Comment 1 Fedora Update System 2021-04-29 21:35:38 UTC
FEDORA-2021-b6a7d97f2f has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2021-b6a7d97f2f

Comment 2 Fedora Update System 2021-04-29 21:35:42 UTC
FEDORA-2021-29e3e3bc60 has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-29e3e3bc60

Comment 3 Fedora Update System 2021-04-30 01:43:45 UTC
FEDORA-2021-29e3e3bc60 has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-29e3e3bc60`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-29e3e3bc60

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2021-04-30 02:05:57 UTC
FEDORA-2021-b6a7d97f2f has been pushed to the Fedora 33 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-b6a7d97f2f`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-b6a7d97f2f

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 malkovjohnny 2021-05-03 13:57:50 UTC
                                   F33 qemu X11 session
(window rendered normaly)
GLFW initialized!
GLAD initialized!
GLVS: 3.1 Mesa 20.3.5
GLSL: 1.40

(window rendered normaly)
GLFW initialized!
GLEW initialized!
GLVS: 3.1 Mesa 20.3.5
GLSL: 1.40

                                   F34 qemu Wayland session
(window rendered without head and controls)
GLFW initialized!
Wayland: Focusing a window requires user interaction
GLAD initialized!
GLVS: 3.1 Mesa 21.0.3
GLSL: 1.40

(no window)
GLFW initialized!
Wayland: Focusing a window requires user interaction
Error: unable init glew!
Unknown error

                                  F33 qemu glxinfo
name of display: :0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: Mesa/X.org (0xffffffff)
    Device: llvmpipe (LLVM 11.0.0, 128 bits) (0xffffffff)
    Version: 20.3.5
    Accelerated: no
    Video memory: 3924MB
    Unified memory: no
    Preferred profile: core (0x1)
    Max core profile version: 4.5
    Max compat profile version: 3.1
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2
OpenGL vendor string: Mesa/X.org
OpenGL renderer string: llvmpipe (LLVM 11.0.0, 128 bits)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 20.3.5
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 3.1 Mesa 20.3.5
OpenGL shading language version string: 1.40
OpenGL context flags: (none)

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 20.3.5
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

Comment 6 malkovjohnny 2021-05-04 15:53:00 UTC
Created attachment 1779429 [details]
testing program/s

Comment 7 malkovjohnny 2021-05-04 15:53:40 UTC
Created attachment 1779430 [details]
testing program glew

Comment 8 Fedora Update System 2021-05-08 01:23:24 UTC
FEDORA-2021-b6a7d97f2f has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 9 Fedora Update System 2021-05-08 01:33:58 UTC
FEDORA-2021-29e3e3bc60 has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.