Gentoo Archives: gentoo-user

From: tuxic@××××××.de
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] How to manage load on the GPU?
Date: Wed, 20 May 2020 07:56:18
Message-Id: 20200520075607.zutg2hx5tvfshpsc@solfire
In Reply to: Re: [gentoo-user] How to manage load on the GPU? by "J. Roeleveld"
1 On 05/20 09:44, J. Roeleveld wrote:
2 > On Monday, May 18, 2020 8:22:52 PM CEST tuxic@××××××.de wrote:
3 > > On 05/18 09:58, Matt Connell (Gmail) wrote:
4 > > > On 2020-05-18 09:40, tastytea wrote:
5 > > > > Another solution is to modify the priority yourself, with `renice
6 > > > > --priority 15 $(pidof blender)` for example. The priority can be from
7 > > > > -20 (very high priority) to 19 (very low priority).
8 > > >
9 > > > According to the man page for renice, there is a --gpu flag that can be
10 > > > used (today I learned) that the OP may want to try as well.
11 > >
12 > > If it is a load/performance problem, why is only
13 > > firefox/internet-video affected?
14 >
15 > firefox might be using GPU-offloading for the video playback (decoder in GPU)
16 > where MPV might not use the GPU for decoding and is only CPU-bound.
17 >
18 > --
19 > Joost
20 >
21 >
22 >
23
24 Hi Joost,
25
26 mpv is installed as follows:
27
28
29 [I] media-video/mpv
30 Available versions: 0.32.0-r1^t **9999*l^t {+X +alsa aqua archive bluray cdda +cli coreaudio cplugins cuda debug doc drm dvb dvd +egl gamepad gbm +iconv jack javascript jpeg lcms +libass libcaca libmpv +lua luajit openal +opengl oss pulseaudio raspberry-pi rubberband samba sdl selinux test tools +uchardet vaapi vdpau vulkan wayland +xv zimg zlib PYTHON_TARGETS="python3_6 python3_7 python3_8"}
31 Installed versions: 0.32.0-r1^t(08:15:17 AM 05/16/2020)(X alsa cdda cli cuda dvb dvd egl iconv jpeg lcms libass lua luajit opengl oss rubberband sdl uchardet xv zlib -aqua -archive -bluray -coreaudio -cplugins -debug -doc -drm -gamepad -gbm -jack -javascript -libcaca -libmpv -openal -pulseaudio -raspberry-pi -samba -selinux -test -tools -vaapi -vdpau -vulkan -wayland -zimg PYTHON_TARGETS="python3_7 -python3_6 -python3_8")
32 Homepage: https://mpv.io/ https://github.com/mpv-player/mpv
33 Description: Media player based on MPlayer and mplayer2
34
35
36 The USE flag "cuda" - therefore mpv should be able to utilize the
37 GPU...
38
39 Cheers!
40 Meino

Replies

Subject Author
Re: [gentoo-user] How to manage load on the GPU? "J. Roeleveld" <joost@××××××××.org>