Gentoo Archives: gentoo-user

From: wabe <wabenbau@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] screen tearing with mpv but not mplayer
Date: Thu, 20 Oct 2016 02:02:48
Message-Id: 20161020040216.7105f7ec@hal9000.localdomain
In Reply to: Re: [gentoo-user] screen tearing with mpv but not mplayer by wabe
1 wabe <wabenbau@×××××.com> wrote:
2
3 > In the logfile you can see that I'm using a kernel parameter
4 > "radeon.dpm=1". Without this parameter I had performance problems
5 > with my GPU in the past.
6
7 I should give some explanation about this parameter.
8 It enables an older power management mechanism in the kernel that
9 gives better performance with my GPU than the newer one.
10
11 With radeon.dpm=1 I can use a script in /etc/local.d/ that contains
12 this line:
13
14 echo "performance" > /sys/class/drm/card0/device/power_dpm_state
15
16 Positive effect is, that desktop/window operations and also video
17 playback are much smoother.
18 Negative side effect is, that the power consumption of my GPU and
19 also its temperature is a bit higher than with the default settings.
20
21 If I don't use radeon.dpm=1 it is also possible to manually set
22 a GPU scheduler:
23
24 echo "profile" > /sys/class/drm/card0/device/power_method
25 echo "high" > /sys/class/drm/card0/device/power_profile
26
27 But as I already mentioned, performance isn't as good as with the
28 older power management.
29
30 However I checked this out many months ago. Maybe it isn't relevant
31 anymore.
32
33 --
34 Regards
35 wabe