Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FreeCAD does not start anymore (main window is not shown?) #133

Open
JNKL opened this issue Feb 22, 2024 · 9 comments
Open

FreeCAD does not start anymore (main window is not shown?) #133

JNKL opened this issue Feb 22, 2024 · 9 comments

Comments

@JNKL
Copy link

JNKL commented Feb 22, 2024

The small startup screen and loading messages are shown but the window does not show up.

After "export -n SESSION_MANAGER" the last Qt-message vanished but window still doesn't show up.

System is default Gnome-install of Debian 12, up-to-date.

flatpak -v run org.freecadweb.FreeCAD
F: No installations directory in /etc/flatpak/installations.d. Skipping
F: Opening system flatpak installation at path /var/lib/flatpak
F: Opening user flatpak installation at path /home/XXX/.local/share/flatpak
F: Opening user flatpak installation at path /home/XXX/.local/share/flatpak
F: Opening system flatpak installation at path /var/lib/flatpak
F: Opening user flatpak installation at path /home/XXX/.local/share/flatpak
F: Opening system flatpak installation at path /var/lib/flatpak
F: /var/lib/flatpak/runtime/org.kde.Platform/x86_64/5.15-23.08/ba2a33ac552c8ea85a99563f41f3a4b09a542c6b972b1a0125e11e2a731a045b/files/lib32 does not exist
F: Cleaning up unused container id 881751840
F: Cleaning up per-app-ID state for org.freecadweb.FreeCAD
F: Allocated instance id 2801906894
F: Add defaults in dir /org/freecadweb/FreeCAD/
F: Add locks in dir /org/freecadweb/FreeCAD/
F: Allowing dri access
F: Allowing host-fs access
F: Not sharing "/run/media" with sandbox: Unable to open path "/run/media": Datei oder Verzeichnis nicht gefunden
F: Not sharing "/run/spnav.sock" with sandbox: Unable to open path "/run/spnav.sock": Datei oder Verzeichnis nicht gefunden
F: Allowing x11 access
F: Running 'bwrap --args 39 xdg-dbus-proxy --args=42'
F: Running 'bwrap --args 39 FreeCAD'
FreeCAD 0.21.2, Libs: 0.21.2R33771 (Git)
© Juergen Riegel, Werner Mayer, Yorik van Havre and others 2001-2023
FreeCAD is free and open-source software licensed under the terms of LGPL2+ license.
FreeCAD wouldn't be possible without FreeCAD community.
  #####                 ####  ###   ####  
  #                    #      # #   #   # 
  #     ##  #### ####  #     #   #  #   # 
  ####  # # #  # #  #  #     #####  #   # 
  #     #   #### ####  #    #     # #   # 
  #     #   #    #     #    #     # #   #  ##  ##  ##
  #     #   #### ####   ### #     # ####   ##  ##  ##

Gtk-Message: 22:52:30.105: Failed to load module "canberra-gtk-module"
Gtk-Message: 22:52:30.107: Failed to load module "canberra-gtk-module"
Qt: Session management error: Could not open network socket
@hfiguiere
Copy link
Contributor

what GPU / driver?

@JNKL
Copy link
Author

JNKL commented Feb 23, 2024

Thinkpad T480/Intel UHD 620

@hfiguiere
Copy link
Contributor

I have this 00:02.0 VGA compatible controller: Intel Corporation HD Graphics 620 (rev 02)

So it's possibly not the problem.

@JNKL
Copy link
Author

JNKL commented Feb 24, 2024

Do you also get
Gtk-Message: 19:28:04.402: Failed to load module "canberra-gtk-module"
when running
flatpak -v run org.freecadweb.FreeCAD?

@JNKL JNKL closed this as completed Feb 24, 2024
@JNKL JNKL reopened this Feb 24, 2024
@hfiguiere
Copy link
Contributor

these message are stupidity from the stack, they appear everywhere.

@JNKL
Copy link
Author

JNKL commented Feb 24, 2024

Any idea how debug this problem?

flatpak repair did not solve the problem.

flatpak -v run --command=sh --devel org.freecadweb.FreeCAD exits after some seconds as well. That's strange, right?

@hfiguiere
Copy link
Contributor

if that happen, then there is something else. Anything in journalctl -r ?

@JNKL
Copy link
Author

JNKL commented Feb 27, 2024

USER@HOSTNAME:~$ flatpak -v run --command=sh --devel org.freecadweb.FreeCAD
F: No installations directory in /etc/flatpak/installations.d. Skipping
F: Opening system flatpak installation at path /var/lib/flatpak
F: Opening user flatpak installation at path /home/USER/.local/share/flatpak
F: Opening user flatpak installation at path /home/USER/.local/share/flatpak
F: Opening system flatpak installation at path /var/lib/flatpak
F: Opening user flatpak installation at path /home/USER/.local/share/flatpak
F: Opening system flatpak installation at path /var/lib/flatpak
F: /var/lib/flatpak/runtime/org.kde.Sdk/x86_64/5.15-23.08/b585b0c3e608062b69604c51412483f0955db763db10c347e83e877175c94b3c/files/lib32 does not exist
F: Cleaning up unused container id 155908743
F: Cleaning up per-app-ID state for org.freecadweb.FreeCAD
F: Allocated instance id 3275823853
F: Add defaults in dir /org/freecadweb/FreeCAD/
F: Add locks in dir /org/freecadweb/FreeCAD/
F: Allowing dri access
F: Allowing host-fs access
F: Not sharing "/run/media" with sandbox: Unable to open path "/run/media": Datei oder Verzeichnis nicht gefunden
F: Not sharing "/run/spnav.sock" with sandbox: Unable to open path "/run/spnav.sock": Datei oder Verzeichnis nicht gefunden
F: Allowing x11 access
F: Running 'bwrap --args 39 xdg-dbus-proxy --args=42'
F: Running 'bwrap --args 39 sh'
[📦 org.freecadweb.FreeCAD ~]$ USER@HOSTNAME:~$

gives just

Feb 27 18:40:13 HOSTNAME systemd[2029]: Started app-flatpak-org.freecadweb.FreeCAD-4114.scope.
Feb 27 18:40:11 HOSTNAME systemd[2029]: Started vte-spawn-6eae9caa-8b02-4cd9-b2ed-2613685061a1.scope - VTE child process 4111 launched by gnome-terminal-server process 3075.

The command just exits without any user interaction. Any idea?

@JNKL
Copy link
Author

JNKL commented Mar 3, 2024

So I think I solved the problem.
FreeCAD and FreeCAD --devel exited with exit code 137, which means it received SIGKILL.

Giving it the permission to run in background solved the problem.

Don't know what the underlying problem is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants