* [Bug 100666] amdgpu coolers never stoping linux
2017-04-12 18:21 [Bug 100666] amdgpu coolers never stoping linux bugzilla-daemon
@ 2017-08-06 16:37 ` bugzilla-daemon
2017-08-06 16:57 ` bugzilla-daemon
` (15 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: bugzilla-daemon @ 2017-08-06 16:37 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 526 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=100666
--- Comment #1 from Sergey Kochneff <s.kochneff@gmail.com> ---
You should try kernel 4.12. There is some progress with pwm1_enable: now we
have not only "1" which is manual control but "0" (full speed) and "2" (this
should be FW control, although it doesn’t look so for me: fans are still
spinning and pwm1 reads 0 or 122-124 randomly). Still have to use userspace
control (mode "1").
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1323 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 18+ messages in thread* [Bug 100666] amdgpu coolers never stoping linux
2017-04-12 18:21 [Bug 100666] amdgpu coolers never stoping linux bugzilla-daemon
2017-08-06 16:37 ` bugzilla-daemon
@ 2017-08-06 16:57 ` bugzilla-daemon
2017-09-03 8:24 ` bugzilla-daemon
` (14 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: bugzilla-daemon @ 2017-08-06 16:57 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 1007 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=100666
--- Comment #2 from Denis Denisov <denji0k@gmail.com> ---
(In reply to Sergey Kochneff from comment #1)
> You should try kernel 4.12. There is some progress with pwm1_enable: now we
> have not only "1" which is manual control but "0" (full speed) and "2" (this
> should be FW control, although it doesn’t look so for me: fans are still
> spinning and pwm1 reads 0 or 122-124 randomly). Still have to use userspace
> control (mode "1").
I use 4.13.0-041300rc3-generic, but still do not see the differences
"pwm1_enable=1" or "pwm1_enable=2".
4.13.0-041300rc3-generic uses the default "pwm1_enable=2". I still need to run
the daemon for monitoring the temperature and load of voltage relative fan
speed.
$ lsb_release -drc
Description: Ubuntu 17.04
Release: 17.04
Codename: zesty
$ uname -rso
Linux 4.13.0-041300rc3-generic GNU/Linux
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1912 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 18+ messages in thread* [Bug 100666] amdgpu coolers never stoping linux
2017-04-12 18:21 [Bug 100666] amdgpu coolers never stoping linux bugzilla-daemon
2017-08-06 16:37 ` bugzilla-daemon
2017-08-06 16:57 ` bugzilla-daemon
@ 2017-09-03 8:24 ` bugzilla-daemon
2017-09-08 4:31 ` bugzilla-daemon
` (13 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: bugzilla-daemon @ 2017-09-03 8:24 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 424 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=100666
Denis Denisov <denji0k@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|medium |high
Severity|normal |major
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1215 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 18+ messages in thread* [Bug 100666] amdgpu coolers never stoping linux
2017-04-12 18:21 [Bug 100666] amdgpu coolers never stoping linux bugzilla-daemon
` (2 preceding siblings ...)
2017-09-03 8:24 ` bugzilla-daemon
@ 2017-09-08 4:31 ` bugzilla-daemon
2017-09-08 4:52 ` bugzilla-daemon
` (12 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: bugzilla-daemon @ 2017-09-08 4:31 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 877 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=100666
--- Comment #3 from Lucas Riutzel <lriutzel@gmail.com> ---
I believe this is related. Might be a separate issue though.
I have an Asus RX550. With the amdgpu drive my fan is at what I believe is 100%
all the time. Though reporting doesn't work.
I can change the pwm1_enable setting between 1/2 but no difference in the fan.
$ cat /sys/class/drm/card0/device/hwmon/hwmon0/pwm1
cat: pwm1: No such device
Attempting to set pwm1 results in no change.
$ sensors
amdgpu-pci-2400
Adapter: PCI adapter
fan1: N/A
temp1: +45.0°C (crit = +0.0°C, hyst = +0.0°C)
$ lsb_release -drc
Description: Arch Linux
Release: rolling
Codename: n/a
$ uname -rso
Linux 4.12.10-1-ARCH GNU/Linux
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1630 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 18+ messages in thread* [Bug 100666] amdgpu coolers never stoping linux
2017-04-12 18:21 [Bug 100666] amdgpu coolers never stoping linux bugzilla-daemon
` (3 preceding siblings ...)
2017-09-08 4:31 ` bugzilla-daemon
@ 2017-09-08 4:52 ` bugzilla-daemon
2017-09-08 4:59 ` bugzilla-daemon
` (11 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: bugzilla-daemon @ 2017-09-08 4:52 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 244 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=100666
--- Comment #4 from Denis Denisov <denji0k@gmail.com> ---
$ ls /sys/class/drm/card*/device/hwmon/hwmon*/pwm*
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 996 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 18+ messages in thread* [Bug 100666] amdgpu coolers never stoping linux
2017-04-12 18:21 [Bug 100666] amdgpu coolers never stoping linux bugzilla-daemon
` (4 preceding siblings ...)
2017-09-08 4:52 ` bugzilla-daemon
@ 2017-09-08 4:59 ` bugzilla-daemon
2017-10-22 10:04 ` bugzilla-daemon
` (10 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: bugzilla-daemon @ 2017-09-08 4:59 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 450 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=100666
--- Comment #5 from Lucas Riutzel <lriutzel@gmail.com> ---
$ ls /sys/class/drm/card*/device/hwmon/hwmon*/pwm*
/sys/class/drm/card0/device/hwmon/hwmon0/pwm1
/sys/class/drm/card0/device/hwmon/hwmon0/pwm1_enable
/sys/class/drm/card0/device/hwmon/hwmon0/pwm1_max
/sys/class/drm/card0/device/hwmon/hwmon0/pwm1_min
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1203 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 18+ messages in thread* [Bug 100666] amdgpu coolers never stoping linux
2017-04-12 18:21 [Bug 100666] amdgpu coolers never stoping linux bugzilla-daemon
` (5 preceding siblings ...)
2017-09-08 4:59 ` bugzilla-daemon
@ 2017-10-22 10:04 ` bugzilla-daemon
2017-10-23 18:01 ` bugzilla-daemon
` (9 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: bugzilla-daemon @ 2017-10-22 10:04 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 400 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=100666
--- Comment #6 from Dimitrios Liappis <dimitrios.liappis@gmail.com> ---
Lucas, the Asus RX-550 (and apparently cards from all manufacturers for this
chipset) doesn't have any fan control. See my comment here:
https://bugs.freedesktop.org/show_bug.cgi?id=97556#c7
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1316 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 18+ messages in thread* [Bug 100666] amdgpu coolers never stoping linux
2017-04-12 18:21 [Bug 100666] amdgpu coolers never stoping linux bugzilla-daemon
` (6 preceding siblings ...)
2017-10-22 10:04 ` bugzilla-daemon
@ 2017-10-23 18:01 ` bugzilla-daemon
2018-02-28 1:29 ` bugzilla-daemon
` (8 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: bugzilla-daemon @ 2017-10-23 18:01 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 465 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=100666
--- Comment #7 from Lucas Riutzel <lriutzel@gmail.com> ---
Dimitrios,
Good to know. Looks like my short term solution became a long term one.
I unplugged the builtin fan and ziptied on another fan and connected it to a
motherboard fan header. I might come back and extend the original fan header to
reach the motherboard.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1218 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 18+ messages in thread* [Bug 100666] amdgpu coolers never stoping linux
2017-04-12 18:21 [Bug 100666] amdgpu coolers never stoping linux bugzilla-daemon
` (7 preceding siblings ...)
2017-10-23 18:01 ` bugzilla-daemon
@ 2018-02-28 1:29 ` bugzilla-daemon
2018-02-28 2:08 ` bugzilla-daemon
` (7 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: bugzilla-daemon @ 2018-02-28 1:29 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 534 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=100666
--- Comment #8 from Luke McKee <hojuruku@gmail.com> ---
Yeah I documented the workaround too:
https://forum-en.msi.com/index.php?topic=298468.0
Root cause may be able to how amdgpu handles not being able to read it's
powerplay settings because motherboard bioses (old AMI) don't set up MMIO BARs
properly and intel submitted a patch to enforce restrictions on memory address
regions in UEFI.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1348 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 18+ messages in thread* [Bug 100666] amdgpu coolers never stoping linux
2017-04-12 18:21 [Bug 100666] amdgpu coolers never stoping linux bugzilla-daemon
` (8 preceding siblings ...)
2018-02-28 1:29 ` bugzilla-daemon
@ 2018-02-28 2:08 ` bugzilla-daemon
2018-02-28 2:10 ` bugzilla-daemon
` (6 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: bugzilla-daemon @ 2018-02-28 2:08 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 383 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=100666
--- Comment #9 from Alex Deucher <alexdeucher@gmail.com> ---
(In reply to Luke McKee from comment #8)
> Yeah I documented the workaround too:
> https://forum-en.msi.com/index.php?topic=298468.0
>
Please stop posting this on every bug report.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1279 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 18+ messages in thread* [Bug 100666] amdgpu coolers never stoping linux
2017-04-12 18:21 [Bug 100666] amdgpu coolers never stoping linux bugzilla-daemon
` (9 preceding siblings ...)
2018-02-28 2:08 ` bugzilla-daemon
@ 2018-02-28 2:10 ` bugzilla-daemon
2018-02-28 2:36 ` bugzilla-daemon
` (5 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: bugzilla-daemon @ 2018-02-28 2:10 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 504 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=100666
--- Comment #10 from Alex Deucher <alexdeucher@gmail.com> ---
(In reply to Alex Deucher from comment #9)
> (In reply to Luke McKee from comment #8)
> > Yeah I documented the workaround too:
> > https://forum-en.msi.com/index.php?topic=298468.0
> >
>
> Please stop posting this on every bug report. That page is confusing and not likely related to any of these.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1459 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 18+ messages in thread* [Bug 100666] amdgpu coolers never stoping linux
2017-04-12 18:21 [Bug 100666] amdgpu coolers never stoping linux bugzilla-daemon
` (10 preceding siblings ...)
2018-02-28 2:10 ` bugzilla-daemon
@ 2018-02-28 2:36 ` bugzilla-daemon
2018-02-28 3:00 ` bugzilla-daemon
` (4 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: bugzilla-daemon @ 2018-02-28 2:36 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 1722 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=100666
--- Comment #11 from Luke McKee <hojuruku@gmail.com> ---
In this case it was on topic. The link explains how to use fancontrol script
from lm_sensors to work around fan control issues. I saw on another ticket when
I first posted here that dc=1 fixed the fancontrol issues. Finally I got dc=1
working and still it doesn't resolve the dpm fancontrol issues on my platform.
https://github.com/kobalicek/amdtweak
as root
# ./amdtweak --card 0 --verbose --extract-bios /tmp/amdbios.bin
fails. The sysfs shows that the powerplay tables are not proper too.
[ 4969.713277] resource sanity check: requesting [mem 0x000c0000-0x000dffff],
which spans more than PCI Bus 0000:00 [mem 0x000c0000-0x000c3fff window]
[ 4969.713283] caller pci_map_rom+0x66/0xf0 mapping multiple BARs
[ 4969.713289] amdgpu 0000:01:00.0: Invalid PCI ROM header signature: expecting
0xaa55, got 0xffff
If it can't read it's powerplay table because it can't read the bios maybe
that's why there is all these problems.
(In reply to Alex Deucher from comment #9)
>
> Please stop posting this on every bug report.
https://bugs.freedesktop.org/show_bug.cgi?id=100666#c0
Also the users above on this ticket above here when they grepped their dmesg
wouldn't have output any powerplay mes.sages because they grepped radeon
instead of amdgpu
[ 10.124232] amdgpu: [powerplay]
failed to send message 309 ret is 254
[ 10.124248] amdgpu: [powerplay]
failed to send pre message 14e ret is 254
Maybe Denis could confirm or deny if this is in his dmesg?
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2743 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 18+ messages in thread* [Bug 100666] amdgpu coolers never stoping linux
2017-04-12 18:21 [Bug 100666] amdgpu coolers never stoping linux bugzilla-daemon
` (11 preceding siblings ...)
2018-02-28 2:36 ` bugzilla-daemon
@ 2018-02-28 3:00 ` bugzilla-daemon
2018-02-28 3:07 ` bugzilla-daemon
` (3 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: bugzilla-daemon @ 2018-02-28 3:00 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 618 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=100666
--- Comment #12 from Luke McKee <hojuruku@gmail.com> ---
(In reply to Alex Deucher from comment #10)
> > Please stop posting this on every bug report. That page is confusing and not likely related to any of these.
You obviously know about this sir.
https://bugs.freedesktop.org/attachment.cgi?id=135739
https://bugs.freedesktop.org/show_bug.cgi?id=98798
A new intel patch has caused a reversion to the behaviour in this old ticket.
it's using pci_info not dev_info now.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1710 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 18+ messages in thread* [Bug 100666] amdgpu coolers never stoping linux
2017-04-12 18:21 [Bug 100666] amdgpu coolers never stoping linux bugzilla-daemon
` (12 preceding siblings ...)
2018-02-28 3:00 ` bugzilla-daemon
@ 2018-02-28 3:07 ` bugzilla-daemon
2018-02-28 4:06 ` bugzilla-daemon
` (2 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: bugzilla-daemon @ 2018-02-28 3:07 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 2739 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=100666
--- Comment #13 from Alex Deucher <alexdeucher@gmail.com> ---
(In reply to Luke McKee from comment #11)
> In this case it was on topic. The link explains how to use fancontrol script
> from lm_sensors to work around fan control issues. I saw on another ticket
> when I first posted here that dc=1 fixed the fancontrol issues. Finally I
> got dc=1 working and still it doesn't resolve the dpm fancontrol issues on
> my platform.
dc and powerplay are largely independent. It's generally not likely that one
will affect the other.
>
> https://github.com/kobalicek/amdtweak
> as root
> # ./amdtweak --card 0 --verbose --extract-bios /tmp/amdbios.bin
> fails. The sysfs shows that the powerplay tables are not proper too.
>
I'm not familiar with that tool or how it goes about attempting to fetch the
vbios. The driver uses several mechanism to fetch it depending on the
platform. It's possible that tool does something weird to fetch the vbios and
it's possible that tool incorrectly interprets some of the vbios tables.
> [ 4969.713277] resource sanity check: requesting [mem
> 0x000c0000-0x000dffff], which spans more than PCI Bus 0000:00 [mem
> 0x000c0000-0x000c3fff window]
> [ 4969.713283] caller pci_map_rom+0x66/0xf0 mapping multiple BARs
> [ 4969.713289] amdgpu 0000:01:00.0: Invalid PCI ROM header signature:
> expecting 0xaa55, got 0xffff
This last message is from the pci subsystem and is harmless. If the driver
were not able to load the vbios, it would fail to load.
>
> If it can't read it's powerplay table because it can't read the bios maybe
> that's why there is all these problems.
The driver is able to load the vbios image just fine. If it wasn't able to, or
if there was a major problem with one of the tables, the driver would fail to
load.
>
>
> (In reply to Alex Deucher from comment #9)
> >
> > Please stop posting this on every bug report.
>
> https://bugs.freedesktop.org/show_bug.cgi?id=100666#c0
> Also the users above on this ticket above here when they grepped their dmesg
> wouldn't have output any powerplay mes.sages because they grepped radeon
> instead of amdgpu
>
> [ 10.124232] amdgpu: [powerplay]
> failed to send message 309 ret is 254
> [ 10.124248] amdgpu: [powerplay]
> failed to send pre message 14e ret is 254
>
There are lots of reasons an smu message might fail. Just because you see an
smu message failure does not mean you are seeing the same issue as someone
else. It's like a GPU hang. There are lots of potential root causes.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 4026 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 18+ messages in thread* [Bug 100666] amdgpu coolers never stoping linux
2017-04-12 18:21 [Bug 100666] amdgpu coolers never stoping linux bugzilla-daemon
` (13 preceding siblings ...)
2018-02-28 3:07 ` bugzilla-daemon
@ 2018-02-28 4:06 ` bugzilla-daemon
2018-02-28 4:21 ` bugzilla-daemon
2019-11-19 8:15 ` bugzilla-daemon
16 siblings, 0 replies; 18+ messages in thread
From: bugzilla-daemon @ 2018-02-28 4:06 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 1384 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=100666
--- Comment #14 from Luke McKee <hojuruku@gmail.com> ---
Alex thanks for your help.
How it gets the rom is probably the same as this shell script using the pci
method listed on that github link in the last comment.
# To read ROM you first need to write `1` to it, then read it, and then write
# `0` to it as described in the documentation. The reason is that the content
# is not provided by default, by writing `1` to it you are telling the driver
# to make it accessible.
CARD_ID=0
CARD_ROM="/sys/class/drm/card${CARD_ID}/device/rom"
FILE_ROM="amdgpu-rom.bin"
echo 1 > $CARD_ROM
cat $CARD_ROM > $FILE_ROM
echo 0 > $CARD_ROM
echo "Saved as ${FILE_ROM}"
--
output:
cat: /sys/class/drm/card0/device/rom: Input/output error
[Not] Saved as amdgpu-rom.bin
Is there any other user-space accessible methods to extract / write the rom in
Linux? Now only focusing on comparing the pp table to other roms not modifying
it.
Maybe the powerplay is an atom-bios issue perhaps. If it's still broken in this
4.16-rc1 version I'm trying out now I'll open a ticket.
For your reference this is the ticket that claims powerplay dpm is fixed in
newer kernels / dc=1 in 4.15.
https://bugs.freedesktop.org/show_bug.cgi?id=100443#c37
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2387 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 18+ messages in thread* [Bug 100666] amdgpu coolers never stoping linux
2017-04-12 18:21 [Bug 100666] amdgpu coolers never stoping linux bugzilla-daemon
` (14 preceding siblings ...)
2018-02-28 4:06 ` bugzilla-daemon
@ 2018-02-28 4:21 ` bugzilla-daemon
2019-11-19 8:15 ` bugzilla-daemon
16 siblings, 0 replies; 18+ messages in thread
From: bugzilla-daemon @ 2018-02-28 4:21 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 1920 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=100666
--- Comment #15 from Alex Deucher <alexdeucher@gmail.com> ---
(In reply to Luke McKee from comment #14)
> Alex thanks for your help.
>
> How it gets the rom is probably the same as this shell script using the pci
> method listed on that github link in the last comment.
>
> # To read ROM you first need to write `1` to it, then read it, and then write
> # `0` to it as described in the documentation. The reason is that the content
> # is not provided by default, by writing `1` to it you are telling the driver
> # to make it accessible.
> CARD_ID=0
> CARD_ROM="/sys/class/drm/card${CARD_ID}/device/rom"
> FILE_ROM="amdgpu-rom.bin"
>
> echo 1 > $CARD_ROM
> cat $CARD_ROM > $FILE_ROM
> echo 0 > $CARD_ROM
> echo "Saved as ${FILE_ROM}"
>
> --
> output:
> cat: /sys/class/drm/card0/device/rom: Input/output error
> [Not] Saved as amdgpu-rom.bin
That should generally work for desktop discrete cards. You need to be root
however.
>
> Is there any other user-space accessible methods to extract / write the rom
> in Linux? Now only focusing on comparing the pp table to other roms not
> modifying it.
You can read the amdgpu_vbios file in debugfs. That will dump the copy of the
vbios that the driver is using.
> Maybe the powerplay is an atom-bios issue perhaps. If it's still broken in
> this 4.16-rc1 version I'm trying out now I'll open a ticket.
>
> For your reference this is the ticket that claims powerplay dpm is fixed in
> newer kernels / dc=1 in 4.15.
> https://bugs.freedesktop.org/show_bug.cgi?id=100443#c37
There's no confirmation that specifically enabling dc fixed it.
Anyway, we are cluttering up this bug with potentially unrelated information.
Please file a new bug for your issue and we can discuss it there.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 3149 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 18+ messages in thread* [Bug 100666] amdgpu coolers never stoping linux
2017-04-12 18:21 [Bug 100666] amdgpu coolers never stoping linux bugzilla-daemon
` (15 preceding siblings ...)
2018-02-28 4:21 ` bugzilla-daemon
@ 2019-11-19 8:15 ` bugzilla-daemon
16 siblings, 0 replies; 18+ messages in thread
From: bugzilla-daemon @ 2019-11-19 8:15 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 806 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=100666
Martin Peres <martin.peres@free.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |MOVED
--- Comment #16 from Martin Peres <martin.peres@free.fr> ---
-- GitLab Migration Automatic Message --
This bug has been migrated to freedesktop.org's GitLab instance and has been
closed from further activity.
You can subscribe and participate further through the new bug through this link
to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/152.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2328 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 18+ messages in thread