NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
17.56k stars 13.72k forks source link

sweethome3d.*: opengl issue #303646

Open ashuramaruzxc opened 5 months ago

ashuramaruzxc commented 5 months ago

Describe the bug

Currently sweethome3d seems to be broken on both x86_64-linux and aarch64-linux. Issue is related to the opengl on both platforms In case of x86_64 it can start at least and show a pop up notifying that there's problems with opengl

Screenshot ![image](https://github.com/NixOS/nixpkgs/assets/72100551/7f25cad9-6500-4d84-a946-e7cdb64bb397)

on aarch64-linux(raspberry-pi5) it's stuck in trying to at least open

Steps To Reproduce

Steps to reproduce the behavior:

  1. nix build nixpkgs#sweethome3d.application
  2. ./results/bin/sweethome3d

Expected behavior

A working app with decent performance

Notify maintainers

@edwtjo

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

 - system: `"x86_64-linux"`
 - host os: `Linux 6.6.25-xanmod1, NixOS, 24.05 (Uakari), 24.05.20240412.c85a09d`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.2`
 - nixpkgs: `/nix/store/c28qmrnhs78rmpy5gdfyxspb14bk47m2-source`
ashuramaru@unsigned-int16:~/Documents/development/nixpkgs $ nix-shell -p nix-info --run "nix-info -m"
this path will be fetched (0.00 MiB download, 0.00 MiB unpacked):
  /nix/store/5dmcfzmk7n0488cjvl16zaynj9x2kacy-nix-info
copying path '/nix/store/5dmcfzmk7n0488cjvl16zaynj9x2kacy-nix-info' from 'https://cache.nixos.org'...
 - system: `"aarch64-linux"`
 - host os: `Linux 6.6.20+rpt-rpi-2712, Debian GNU/Linux, 12 (bookworm), nobuild`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.21.1`
 - channels(root): `"nixpkgs"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixpkgs`

Logs

x86_64-linux.txt aarch64-linux.txt


Add a :+1: reaction to issues you find important.

eclairevoyant commented 5 months ago

Does running it with nixGL work?

ashuramaruzxc commented 5 months ago

@eclairevoyant it does. However i already mentioned this in #303120 that we can set an env in the makeWrapper to make it work and i guess it would be a better solution than to use nixGL