You are not logged in.

#1 2024-07-09 15:05:55

alex.leeken
Member
Registered: 2022-06-05
Posts: 9

Inconsistent value (1) for DRI_PRIME.

When I use some applications I am getting: Inconsistent value (1) for DRI_PRIME. Should be < 1 (GPU devices count). Using: 0
It does not seem it creates some problems, but I am trying to find out where it is coming from.
And this is my video card:
0a:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 24 [Radeon RX 6400/6500 XT/6500M] [1002:743f] (rev c1)

Could you please point me in which direction I should be looking at?

Offline

#2 2024-07-09 19:24:55

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,939

Re: Inconsistent value (1) for DRI_PRIME.

For a single GPU system, why are you setting the variable at all?

Edit: in case it's not clear, this is https://wiki.archlinux.org/title/Environment_variables

Last edited by seth (2024-07-09 19:25:33)

Offline

#3 2024-07-09 19:49:28

alex.leeken
Member
Registered: 2022-06-05
Posts: 9

Re: Inconsistent value (1) for DRI_PRIME.

I have another desktop with 2 GPUs and have the same error message.
Searching all files now to see if it was defined somewhere.
I just unset it in .bashrc and message gone.
Thanks for your help.

Last edited by alex.leeken (2024-07-09 19:55:33)

Offline

#4 2024-07-09 19:55:42

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,939

Re: Inconsistent value (1) for DRI_PRIME.

"unset DRI_PRIME" but that only affects the shell where you're calling it and also you don't want to set it itfp.

I never set it up or at least I am not aware of this.

This isn't somehow some default tha accidentally landed on your system - you can check various contexts (console login, root login, root login on the console) to narrow down where this is maybe set, but will have to run across the locations mentioned in the wiki to find it.
Did you install anything like optimus-manager?

Not sure what to make about your desktop system, is it an optimus/prime configuration or just two GPUs in a box?

Offline

#5 2024-07-09 20:04:39

alex.leeken
Member
Registered: 2022-06-05
Posts: 9

Re: Inconsistent value (1) for DRI_PRIME.

I found where I set it, but it was probably long time ago and I just forgot it.
I have desktop with two AMD GPUs, one is in CPU and another one AMD 6600.
I have arch on it for 3 years, but running linux on desktop over 20 years.
I had to figure it out myself. And I did not install optimus-manager.

Last edited by alex.leeken (2024-07-09 20:07:29)

Offline

#6 2024-07-09 21:07:42

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,939

Re: Inconsistent value (1) for DRI_PRIME.

I have desktop with two AMD GPUs, one is in CPU and another one AMD 6600.

The question is whether it supports prime-offloading, see your xorg log and "xrandr --listproviders"

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

Board footer

Powered by FluxBB