Score:0

Cannot hear program audio when running them as root

ml flag

Edit: alright I've been a naughty boy, no more root, I'm going to make another question that this time, actually reflects my issue.

I'm pretty new to Ubuntu (recently upgraded from 18.04 to 22.04) and Linux. Recently I've been using blender (3.3.1 LT). In order to get it to recognize my GPU, I run blender as root with either:

sudo blender (installed from snap)

or

sudo ./blender (within the directory downloaded from blender.org)

If it helps, I have the preferences within blender set to "PulseAudio".

Without doing this, it will inform me I cannot use AMD HIP:

Requires discrete AMD GPU and RDNA architecture and AMD driver version 22.10 or newer

When running as root, I have both the option to select my RX 5600 xt and my Ryzen 3600. Doing both of these works fine, however then I can no longer hear the audio.

David avatar
cn flag
It is never a good idea to run any app as root. For install OK but on day to day never.
jayphur avatar
ml flag
alright, do you have any idea on how i can get the software to recognize my GPU?
David avatar
cn flag
There is nothing in your question about a GPU. Maybe you need to review and edit the question.
jayphur avatar
ml flag
Alright, I'll make changes.
Score:0
cn flag

You are on the good way to break your system, or at the very least your personal account. Never run graphical programs with sudo.

jayphur avatar
ml flag
alright alright
jayphur avatar
ml flag
have a nice day :P
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.