Skip to content

AQ_DRM_DEVICES option feature request #167

@LOSEARDES77

Description

@LOSEARDES77

I was messing arround with this option and i wanted to use a card by secifying in the by-path like
env = AQ_DRM_DEVICES, /dev/dri/by-path/pci-0000:06:00.0-card:/dev/dri/by-path/pci-0000:01:00.0-card
But since it contains : on its name it doses not work and detects it as 3 gpus:
/dev/dri/by-path/pci-0000
06
00.0-card

Logs of Hyprland crash:

[LOG] [AQ] drm: Explicit device list /dev/dri/by-path/pci-0000:06:00.0-card:/dev/dri/by-path/pci-0000:01:00.0-card
[ERR] [AQ] drm: Failed to canonicalize path /dev/dri/by-path/pci-0000
[ERR] [AQ] drm: Failed to canonicalize path 06
[ERR] [AQ] drm: Failed to canonicalize path 00.0-card
[ERR] [AQ] drm: Failed to canonicalize path /dev/dri/by-path/pci-0000
[ERR] [AQ] drm: Failed to canonicalize path 01
[ERR] [AQ] drm: Failed to canonicalize path 00.0-card
[ERR] [AQ] drm: Explicit device /dev/dri/by-path/pci-0000 not found
[ERR] [AQ] drm: Explicit device 06 not found
[ERR] [AQ] drm: Explicit device 00.0-card not found
[ERR] [AQ] drm: Explicit device /dev/dri/by-path/pci-0000 not found
[ERR] [AQ] drm: Explicit device 01 not found
[ERR] [AQ] drm: Explicit device 00.0-card not found
[ERR] [AQ] drm: Found no gpus to use, cannot continue
[ERR] [AQ] DRM Backend failed

Maybe a solution can be using , to separate card list.
I can make a PR to the wiki page to change this if needed on https://wiki.hyprland.org/Configuring/Multi-GPU/#telling-hyprland-which-gpu-to-use

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions