NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
17.46k stars 13.65k forks source link

KiCAD OpenGL doesn't work anymore #338062

Open SapuSeven opened 3 weeks ago

SapuSeven commented 3 weeks ago

Describe the bug

Opening KiCAD schematic/board editor and selecting the "Accelerated graphics" rendering engine fails with an OpenGL error:

Could not use OpenGL, falling back to software rendering Could not create the main OpenGL context

Steps To Reproduce

Steps to reproduce the behavior:

  1. Install pkgs.kicad
  2. Open schematic editor
  3. Open Preferences -> Preferences -> Schematic Editor -> Display Options
  4. Set "Rendering Engine" to "Accelerated graphics" and apply

Expected behavior

KiCAD should be able to use OpenGL accelerated graphics to render the contents.

Additional context

I'm using an AMD RX 6800-XT. Other OpenGL-based application (like glxgears) works fine.

Accelerated graphics in KiCAD worked fine when I was using 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58 of nixpkgs, but broke when I updated to 693bc46d169f5af9c992095736e82c3488bf7dbb in my Nix Flake.

Notify maintainers

@evils

Metadata

[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.6.47, NixOS, 24.11 (Vicuna), 24.11.20240824.d0e1602`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.5`
 - nixpkgs: `/nix/store/ia1zpg1s63v6b3vin3n7bxxjgcs51s2r-source`

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

TheFinalGuardian commented 1 week ago

i have the same error