[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Vulkan with Radeon RX 5700 XT



On 2021-07-12 at 05:36, tv.debian@googlemail.com wrote:

> Le 11/07/2021 à 20:25, The Wanderer a écrit :

>> Mere minutes after filing a bug report with the Mesa tracker, I thought
>> of something new (of course), and checked it.
>> 
>> Sure enough: if I run vulkaninfo as root, it detects the GPU just fine.
>> 
>> The issue turns out to have been that /dev/dri/renderD128 is owned by
>> group render, and my user was not a member of that group. I don't know
>> of anything which should have told me that it needed to be.
>> 
>> I've added myself to that group, shut down to the (console) login
>> prompt, and brought things back up, and now vulkaninfo detects the GPU
>> as my ordinary user as well.
>> 
>> There was no need for me to have pulled in packages from sid and
>> experimental, but it doesn't seem to have done any harm in this
>> instance, especially as testing is due to be released as stable (which
>> should free up packages to migrate from sid to testing, and let packages
>> in experimental which have non-release-safe changes safely enter sid) in
>> the fairly near future.
> 
> I don't remember adding my user to the render group, and my bash history 
> confirms that, but it is the same here. And /dev/dri/card0 belongs to 
> root:video, so both video and render groups are necessary.

As Andrei points out, this is probably because I'm running sysvinit, and
you're probably running systemd. Debian nowadays is designed and
optimized around the complexity of systemd, so things which systemd
handles automagically by some unknown path won't necessarily be handled
under other, less complex, init systems.

> Right now with the deep freeze unstable packages are probably safer than 
> usual, there is much less turnaround. experimental is another story and 
> some of the packages there will break a system if you pull them on their 
> own. Using experimental requires knowing quite a bit about packages 
> co-dependencies (ie: if I pull mesa, do I need to update llvm too? Is 
> this version of systemd working with my current initramfs-tools?...), 
> reading changelogs, keeping backups and a bootable flash disk around. 
> You seem to check all of those boxes but other reading this might not.

Yeah - that's one of the reasons why I was hesitant to go with even
packages from unstable, much less experimental, unless I had reason to
believe it'd make a difference.

> Regarding your original problem, it seems that you are down to your gpu 
> not being recognized by or accessible to vulkan related processes? Or do 
> you have problems with other graphical applications too?

No; in fact, now that vulkaninfo recognizes the GPU, so do other
programs. (I was using vulkaninfo's ability to do so as a proxy for
other things. I just hadn't run the more heavy-weight tests again at the
time when I sent the previous mail.)

I've been able to get FFXIV to launch, and the benchmark to run (at what
seems like really good performance, although with one weird bug
involving fullscreen switching), without issues. That one
group-membership change seems to have been enough to resolve the Vulkan
issue and get things working.

-- 
   The Wanderer

The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man.         -- George Bernard Shaw

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: