Skip to content

AppImage fails to use hardware accelerated rendering #558

@BennetKrz

Description

@BennetKrz

Is there an existing issue for this problem?

  • I have searched the existing issues

CrealityPrint Version

7.1.0.4414

Operating System (OS)

Linux

OS Version

Nixos unstable

Additional system information

CPU: AMD Ryzen 5 3600
GPU: Nvidia RTX 2070 Super on Wayland with driver 580.142

Printer

SparkX i7

How to reproduce

Build the appimage with my nix-build file. Start the app.

Actual results

The 3D-View is rendering on the CPU instead off the GPU. Therefore the 3D-View is really slow and sluggish.

Expected results

Hardware acceleration (GPU based rendering) should work.

Project file & Debug log uploads

For people on Nixos:
https://github.com/BennetKrz/creality-print-nixos/blob/b45921872a5aab481948fa54c3f2db5d26354f64/app-image/default.nix

do:
NIXPKGS_ALLOW_UNFREE=1 nix-build -E 'with import <nixpkgs> {}; callPackage ./default.nix {}'

and execute it via:
/nix/store/*-crealityprint-7.1.0/bin/crealityprint

Logs:

libEGL warning: pci id for fd 19: 10de:1e84, driver (null)

pci id for fd 24: 10de:1e84, driver (null)
pci id for fd 25: 10de:1e84, driver (null)
libEGL warning: egl: failed to create dri2 screen
pci id for fd 24: 10de:1e84, driver (null)
pci id for fd 25: 10de:1e84, driver (null)
libEGL warning: egl: failed to create dri2 screen
Could not determine the accessibility bus address

Checklist of files to include

  • Log file
  • Project file

Anything else?

First off: Im sorry, if this is not the right place to ask questions about some kind of nixos specific questions. Just tell me and i will close the issue.

I think the main issue is, that it fails to find the driver and therefore use GPU acceleration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions