You are not logged in.

#1 2021-09-24 14:39:33

PlankCipher
Member
Registered: 2020-11-09
Posts: 8

[SOLVED] Not able to redirect heavy load to AMD dGPU

I have a Dell G5 SE 5505 on which I installed Arch following the installation guide and also the Dell G5 SE 5505 setup guide. The Arch wiki says that to start a program with the dGPU card (i.e. AMD Radeon RX 5600M), you should prefix the command with `DRI_PRIME=1`. I did so when starting shotcut, and started rendering a lengthy video, but the dGPU's temperature stayed low (i.e. 49°C) and that of the CPU was the one that climbed up to 77°C. Also htop reported increased usage for the CPU. Here are some reports that might be helpful.

`$ lspci`
https://pastebin.com/raw/KKdnrGQ7

`radeontop` for the iGPU (If I understand the output correctly, I think it shows that the iGPU is the one rendering the video)
`$ radeontop -b 7`
https://pastebin.com/raw/NbTtsv8k

`radeontop` for the dGPU
`$ radeontop -b 3`
https://pastebin.com/raw/QSK58e0H

`$ cat /etc/X11/xorg.conf.d/10-amdgpu.conf`
```
Section "OutputClass"
        Identifier "AMDgpu"
        MatchDriver "amdgpu"
        Driver "amdgpu"
        Option "TearFree" "true"
EndSection
```

P.S.: I have the `amdgpu.runpm=0` kernel parameter set because of some earlier GPU crashes.

Any thoughts on why the dGPU is not taking over? And how to fix it?

Last edited by PlankCipher (2021-09-25 10:04:55)

Offline

#2 2021-09-24 16:04:24

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,463

Re: [SOLVED] Not able to redirect heavy load to AMD dGPU

I think you should explain better what exactly means:

started rendering a lengthy video


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

#3 2021-09-24 16:26:44

PlankCipher
Member
Registered: 2020-11-09
Posts: 8

Re: [SOLVED] Not able to redirect heavy load to AMD dGPU

I mean I hit the "Export" button after adding a lot of effects to an hour long video.

Offline

#4 2021-09-24 16:41:49

cucullus
Member
From: Moscow, Russia
Registered: 2007-07-07
Posts: 71

Re: [SOLVED] Not able to redirect heavy load to AMD dGPU

First of all check if correct renderer is in use.
That's my Dell Latitude:

$ glxinfo | grep renderer\ str
OpenGL renderer string: Mesa Intel(R) UHD Graphics 620 (WHL GT2)

$ DRI_PRIME=1 glxinfo | grep renderer\ str
OpenGL renderer string: Radeon 540X Series (POLARIS12, DRM 3.42.0, 5.14.6-arch1-1, LLVM 12.0.1)

Offline

#5 2021-09-24 16:47:45

PlankCipher
Member
Registered: 2020-11-09
Posts: 8

Re: [SOLVED] Not able to redirect heavy load to AMD dGPU

Yes. The second command outputs the name of the dGPU as expected.

Offline

#6 2021-09-24 17:52:13

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,463

Re: [SOLVED] Not able to redirect heavy load to AMD dGPU

PlankCipher wrote:

I mean I hit the "Export" button after adding a lot of effects to an hour long video.

So we know there is an export button somewhere on the screen.
Still, my crystal ball won't give me a clue on the app you're using, damn!


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

#7 2021-09-24 18:23:28

PlankCipher
Member
Registered: 2020-11-09
Posts: 8

Re: [SOLVED] Not able to redirect heavy load to AMD dGPU

Here is a link to shotcut's website and the source code on GitHub. If you still need information, clarify what you need specifically.

Offline

#8 2021-09-24 20:38:02

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,463

Re: [SOLVED] Not able to redirect heavy load to AMD dGPU

PlankCipher wrote:

Here is a link to shotcut's website and the source code on GitHub. If you still need information, clarify what you need specifically.

Sorry, i totally missed you specified the program you were using from the very first post, even reading it multiple times.
Doesn't it provide a way to select what gpu to use?

edit:
found this:
https://forum.shotcut.org/t/is-integrat … tcut/19056

Maybe there is no much to expect from the use of a dgpu, and if your radeontop is right, your igpu is not even that stressed.

Last edited by kokoko3k (2021-09-24 20:54:33)


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

#9 2021-09-25 10:04:30

PlankCipher
Member
Registered: 2020-11-09
Posts: 8

Re: [SOLVED] Not able to redirect heavy load to AMD dGPU

I did another load test for the dGPU, outside of Shotcut, and it acted as expected. The temperature raised as expected and radeontop for the dGPU indicated increase in usage. So, I think that page of the Shotcut forum you shared explains the whole thing. Thanks a lot.

Last edited by PlankCipher (2021-09-25 10:09:39)

Offline

Board footer

Powered by FluxBB