Olex2 latest version wont run on fedora 34 on Wayland

Olex2 related issues, ideas, troubleshooting and of course general Olex2 related tomfoolery its all good and welcome. Linux, Mac even Windows all goes in here

Link: Olex2 Homepage

Moderators: oleg, HorstPuschmann

oknic
Sealed Tube
Posts: 15
Joined: 13 Oct 2019, 19:33

Olex2 latest version wont run on fedora 34 on Wayland

Post by oknic » 12 Dec 2021, 11:31

I have donwloaded the latest version of olex2 1.5
but i cant run the software error messages keep appearing

here is the first error message on the GUI

Code: Select all

ASSERT INFO:
./src/unix/glx11.cpp(158): assert "fbc" failed in wxGLContext(): invalid GLXFBConfig for OpenGL

BACKTRACE:
[1] wxGLContext::wxGLContext(wxGLCanvas*, wxGLContext const*)
[2] TGlCanvas::TGlCanvas(TMainForm*, int*, int, wxPoint const&, wxSize const&, long, wxString const&)
[3] TGlXApp::OnInit()
[4] wxEntry(int&, wchar_t**)
[5] main
[6] __libc_start_main
[7] _start
and the other message on the terminal

Code: Select all

Gtk-Message: 12:17:02.614: Failed to load module "pk-gtk-module"
./src/unix/glx11.cpp(158): assert "fbc" failed in wxGLContext(): invalid GLXFBConfig for OpenGL
 

the error after i click on continue

Code: Select all

ASSERT INFO:
./src/gtk/window.cpp(3578): assert "m_widget != __null" failed in SetFocus(): invalid window

BACKTRACE:
[1] wxWindow::SetFocus()
[2] TMainForm::Show(bool)
[3] TGlXApp::OnInit()
[4] wxEntry(int&, wchar_t**)
[5] main
[6] __libc_start_main
[7] _start

the error message on the terminal after clicking continue

Code: Select all

Gtk-Message: 12:27:03.210: Failed to load module "pk-gtk-module"
./src/unix/glx11.cpp(158): assert "fbc" failed in wxGLContext(): invalid GLXFBConfig for OpenGL
./src/gtk/window.cpp(3578): assert "m_widget != __null" failed in SetFocus(): invalid window
After that i get a blanc window of olex2

Any help please !!!!


Update 1: I have upgraded to fedora 35 ... the problem persists

User avatar
oleg
Olex2 Boffin
Posts: 843
Joined: 24 Nov 2008, 21:34

Re: Olex2 latest version wont run on fedora 34 on Wayland

Post by oleg » 12 Dec 2021, 20:38

Yes, I can confirm it - it used to work on 32 (the last one I tested it on) but on upgrade to 34 it has stopped with the same error messages. I will take a look into it as it is not anything obvious...

User avatar
oleg
Olex2 Boffin
Posts: 843
Joined: 24 Nov 2008, 21:34

Re: Olex2 latest version wont run on fedora 34 on Wayland

Post by oleg » 13 Dec 2021, 16:24

Could you try to uncomment this line in the start script?

OLEX2_GL_DEFAULT=TRUE

It did not help on 34 but seems to do something on 35...

oknic
Sealed Tube
Posts: 15
Joined: 13 Oct 2019, 19:33

Re: Olex2 latest version wont run on fedora 34 on Wayland

Post by oknic » 15 Dec 2021, 18:44

oleg wrote:
13 Dec 2021, 16:24
Could you try to uncomment this line in the start script?

OLEX2_GL_DEFAULT=TRUE

It did not help on 34 but seems to do something on 35...

Code: Select all

$ Gtk-Message: 19:41:00.112: Failed to load module "pk-gtk-module"
now there is no error messages but an olex2 window with bunch of black with white error text and no right menu
Screenshot from 2021-12-15 19-41-23.png
You do not have the required permissions to view the files attached to this post.

User avatar
oleg
Olex2 Boffin
Posts: 843
Joined: 24 Nov 2008, 21:34

Re: Olex2 latest version wont run on fedora 34 on Wayland

Post by oleg » 15 Dec 2021, 23:51

OK, similar to my VM - try running it with 'sudo' - I could not get graphics acceleration working though with that...

oknic
Sealed Tube
Posts: 15
Joined: 13 Oct 2019, 19:33

Re: Olex2 latest version wont run on fedora 34 on Wayland

Post by oknic » 16 Dec 2021, 22:05

oleg wrote:
15 Dec 2021, 23:51
OK, similar to my VM - try running it with 'sudo' - I could not get graphics acceleration working though with that...
The same result i ran it with the sudo command, then i even logged in as root and tried to run it .... still the same result

User avatar
oleg
Olex2 Boffin
Posts: 843
Joined: 24 Nov 2008, 21:34

Re: Olex2 latest version wont run on fedora 34 on Wayland

Post by oleg » 22 Dec 2021, 07:12

I tried to compile latest wxWidgets 3.1.5 on F35 and none of the OpenGl samples runs as expected there...

oknic
Sealed Tube
Posts: 15
Joined: 13 Oct 2019, 19:33

Re: Olex2 latest version wont run on fedora 34 on Wayland

Post by oknic » 24 Dec 2021, 14:29

I have installed " wx-GTK 3.1.5 "
but nothing has changed

oknic
Sealed Tube
Posts: 15
Joined: 13 Oct 2019, 19:33

Re: Olex2 latest version wont run on fedora 34 on Wayland

Post by oknic » 24 Dec 2021, 14:37

Update
after installing wx-GTK and uncommenting

Code: Select all

export OLEX2_GL_DEFAULT=True


in the start file of olex2 V1.2, Olex2 V 1.2 works

Olex2 1.3 doesnt work even after repeating the same thing i did with the latter version
of course V 1.5 is still no different from V 1.3

Return to “Olex2”