Skip to content

freecad-wayland: FreeCAD starts, but no 3D rendering (e.g. the part view remains blank white) #468456

@wucke13

Description

@wucke13

Nixpkgs version

  • Stable (25.11)

Describe the bug

When I start FreeCAD, the UI shows up normally, but everything that is 3D rendered (e.g. the Part in the PartDesign) is not rendered at all. With 25.05 it still worked. This also happens when launching FreeCAD in --safe-mode

Steps to reproduce

In 25.11, start FreeCAD (I can reproduce both in Niri and in Sway, I have not tried non-wayland DEs)

Expected behaviour

Everything is rendered, including the 3D stuff

Screenshots

Image

Relevant log output

$ freecad --verbose
FreeCAD 1.0.2, Libs: 1.0.2RUnknown
(C) 2001-2025 FreeCAD contributors
FreeCAD is free and open-source software licensed under the terms of LGPL2+ license.

Coin warning in cc_glglue_instance(): Error when setting up the GL context. This can happen if there is no current context, or if the context has been set up incorrectly.
libEGL warning: pci id for fd 72: 10de:1e84, driver (null)

pci id for fd 73: 10de:1e84, driver (null)
pci id for fd 74: 10de:1e84, driver (null)
libEGL warning: egl: failed to create dri2 screen
pci id for fd 73: 10de:1e84, driver (null)
pci id for fd 74: 10de:1e84, driver (null)
libEGL warning: egl: failed to create dri2 screen
Coin warning in SoGLPolygonOffsetElement::updategl(): OpenGL driver doesn't support z-buffer offsetting

Additional context

There seems to be an issue with the GPU? My system has two GPUs, a dedicated NVIDIA GeForce RTX 2070 Super and an iGPU (Radeon Granite Ridge, from a 9xxx series AM5 desktop CPU). The screen is connected to the Nvidia GPU.

System metadata

  • system: "x86_64-linux"
  • host os: Linux 6.17.10, NixOS, 25.11 (Xantusia), 25.11.20251204.c97c47f
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Lix, like Nix) 2.93.3 System type: x86_64-linux Additional system types: aarch64-linux, armv7l-linux, i686-linux Features: gc, signed-caches System configuration file: /etc/nix/nix.conf User configuration files: /home/wucke13/.config/nix/nix.conf:/etc/xdg/nix/nix.conf:/home/wucke13/.nix-profile/etc/xdg/nix/nix.conf:/nix/profile/etc/xdg/nix/nix.conf:/home/wucke13/.local/state/nix/profile/etc/xdg/nix/nix.conf:/etc/profiles/per-user/wucke13/etc/xdg/nix/nix.conf:/nix/var/nix/profiles/default/etc/xdg/nix/nix.conf:/run/current-system/sw/etc/xdg/nix/nix.conf Store directory: /nix/store State directory: /nix/var/nix Data directory: /nix/store/kg6pv5f01vj5w6k7scy2zfvnkcgbifcw-lix-2.93.3/share
  • nixpkgs: /etc/nix/inputs/nixpkgs

Notify maintainers

@srounce @LordGrimmauld


Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)

I assert that this issue is relevant for Nixpkgs

Is this issue important to you?

Add a 👍 reaction to issues you find important.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions