GithubHelp home page GithubHelp logo

Switching cards about radeon-profile HOT 17 CLOSED

marazmista avatar marazmista commented on July 23, 2024
Switching cards

from radeon-profile.

Comments (17)

marazmista avatar marazmista commented on July 23, 2024 2

Thanks for the tests. The driver confusion is explained pretty well here: https://www.reddit.com/r/linuxmasterrace/comments/4j2qtu/can_someone_quickly_explain_the_amd_open_drivers/d336nqx/
Basically, radeon and amdgpu are kernel drivers (you can see the name of module used in uevent files, first line DRIVER=?) and radeonsi is opengl implementation for radeons in mesa. I will show kernel module name somewhere on the UI in later builds

You see the clocks in current stable build because daemon read amdgpu_pm_file from debugfs and provide this info to the UI, but for kernel 4.12, it is reported, that this behaviour cause a shuttering (#54). I have a 'checkbox to force read of the info in old way' on my todo list, just haven't managed to implement it before my travels.

from radeon-profile.

edison12347 avatar edison12347 commented on July 23, 2024

I have exactly the same issue on RX 570, RX580, RX470

from radeon-profile.

marazmista avatar marazmista commented on July 23, 2024

Could you post output of ls /sys/class/drm/* and contents of uevent files inside /sys/class/drm/cardX/device directory?

from radeon-profile.

joekiller avatar joekiller commented on July 23, 2024

I too have the problem where only the intel card shows up

 ls /sys/class/drm/* 
/sys/class/drm/version

/sys/class/drm/card0:
dev
device
power
subsystem
uevent

/sys/class/drm/card1:
card1-DP-1
card1-DP-2
card1-DP-3
card1-eDP-1
card1-HDMI-A-1
card1-HDMI-A-2
card1-HDMI-A-3
dev
device
error
gt_act_freq_mhz
gt_boost_freq_mhz
gt_cur_freq_mhz
gt_max_freq_mhz
gt_min_freq_mhz
gt_RP0_freq_mhz
gt_RP1_freq_mhz
gt_RPn_freq_mhz
power
subsystem
uevent

/sys/class/drm/card1-DP-1:
device
dpms
drm_dp_aux1
edid
enabled
i2c-13
modes
power
status
subsystem
uevent

/sys/class/drm/card1-DP-2:
device
dpms
drm_dp_aux2
edid
enabled
i2c-14
modes
power
status
subsystem
uevent

/sys/class/drm/card1-DP-3:
device
dpms
drm_dp_aux3
edid
enabled
i2c-15
modes
power
status
subsystem
uevent

/sys/class/drm/card1-eDP-1:
device
dpms
drm_dp_aux0
edid
enabled
i2c-12
intel_backlight
modes
power
status
subsystem
uevent

/sys/class/drm/card1-HDMI-A-1:
device
dpms
edid
enabled
modes
power
status
subsystem
uevent

/sys/class/drm/card1-HDMI-A-2:
device
dpms
edid
enabled
modes
power
status
subsystem
uevent

/sys/class/drm/card1-HDMI-A-3:
device
dpms
edid
enabled
modes
power
status
subsystem
uevent

/sys/class/drm/renderD128:
dev
device
power
subsystem
uevent

/sys/class/drm/renderD129:
dev
device
power
subsystem
uevent

/sys/class/drm/ttm:
buffer_objects
memory_accounting
power
subsystem
uevent
for file in /sys/class/drm/card*/device/uevent; do echo $file; cat $file;done
/sys/class/drm/card0/device/uevent
DRIVER=amdgpu
PCI_CLASS=38000
PCI_ID=1002:682B
PCI_SUBSYS_ID=1028:06E0
PCI_SLOT_NAME=0000:01:00.0
MODALIAS=pci:v00001002d0000682Bsv00001028sd000006E0bc03sc80i00
/sys/class/drm/card1/device/uevent
DRIVER=i915
PCI_CLASS=30000
PCI_ID=8086:191B
PCI_SUBSYS_ID=1028:06E0
PCI_SLOT_NAME=0000:00:02.0
MODALIAS=pci:v00008086d0000191Bsv00001028sd000006E0bc03sc00i00
/sys/class/drm/card1-DP-1/device/uevent
MAJOR=226
MINOR=1
DEVNAME=dri/card1
DEVTYPE=drm_minor
/sys/class/drm/card1-DP-2/device/uevent
MAJOR=226
MINOR=1
DEVNAME=dri/card1
DEVTYPE=drm_minor
/sys/class/drm/card1-DP-3/device/uevent
MAJOR=226
MINOR=1
DEVNAME=dri/card1
DEVTYPE=drm_minor
/sys/class/drm/card1-eDP-1/device/uevent
MAJOR=226
MINOR=1
DEVNAME=dri/card1
DEVTYPE=drm_minor
/sys/class/drm/card1-HDMI-A-1/device/uevent
MAJOR=226
MINOR=1
DEVNAME=dri/card1
DEVTYPE=drm_minor
/sys/class/drm/card1-HDMI-A-2/device/uevent
MAJOR=226
MINOR=1
DEVNAME=dri/card1
DEVTYPE=drm_minor
/sys/class/drm/card1-HDMI-A-3/device/uevent
MAJOR=226
MINOR=1
DEVNAME=dri/card1
DEVTYPE=drm_minor

Hardware

00:00.0 Host bridge: Intel Corporation Skylake Host Bridge/DRAM Registers (rev 07)
	Subsystem: Dell Device 06e0
	Flags: bus master, fast devsel, latency 0
	Capabilities: [e0] Vendor Specific Information: Len=10 <?>
	Kernel driver in use: skl_uncore

00:01.0 PCI bridge: Intel Corporation Skylake PCIe Controller (x16) (rev 07) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 122
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
	I/O behind bridge: 0000e000-0000efff [size=4K]
	Memory behind bridge: ec300000-ec3fffff [size=1M]
	Prefetchable memory behind bridge: 00000000c0000000-00000000cfffffff [size=256M]
	Capabilities: [88] Subsystem: Dell Device 06e0
	Capabilities: [80] Power Management version 3
	Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
	Capabilities: [a0] Express Root Port (Slot+), MSI 00
	Capabilities: [100] Virtual Channel
	Capabilities: [140] Root Complex Link
	Capabilities: [d94] #19
	Kernel driver in use: pcieport
	Kernel modules: shpchp

00:02.0 VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06) (prog-if 00 [VGA controller])
	Subsystem: Dell Device 06e0
	Flags: bus master, fast devsel, latency 0, IRQ 137
	Memory at eb000000 (64-bit, non-prefetchable) [size=16M]
	Memory at 80000000 (64-bit, prefetchable) [size=256M]
	I/O ports at f000 [size=64]
	[virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
	Capabilities: [40] Vendor Specific Information: Len=0c <?>
	Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
	Capabilities: [ac] MSI: Enable+ Count=1/1 Maskable- 64bit-
	Capabilities: [d0] Power Management version 2
	Capabilities: [100] Process Address Space ID (PASID)
	Capabilities: [200] Address Translation Service (ATS)
	Capabilities: [300] Page Request Interface (PRI)
	Kernel driver in use: i915
	Kernel modules: i915

00:04.0 Signal processing controller: Intel Corporation Skylake Processor Thermal Subsystem (rev 07)
	Subsystem: Dell Device 06e0
	Flags: fast devsel, IRQ 16
	Memory at ec440000 (64-bit, non-prefetchable) [size=32K]
	Capabilities: [90] MSI: Enable- Count=1/1 Maskable- 64bit-
	Capabilities: [d0] Power Management version 3
	Capabilities: [e0] Vendor Specific Information: Len=0c <?>
	Kernel driver in use: proc_thermal
	Kernel modules: processor_thermal_device

00:14.0 USB controller: Intel Corporation Sunrise Point-H USB 3.0 xHCI Controller (rev 31) (prog-if 30 [XHCI])
	Subsystem: Dell Device 06e0
	Flags: bus master, medium devsel, latency 0, IRQ 132
	Memory at ec430000 (64-bit, non-prefetchable) [size=64K]
	Capabilities: [70] Power Management version 2
	Capabilities: [80] MSI: Enable+ Count=1/8 Maskable- 64bit+
	Kernel driver in use: xhci_hcd
	Kernel modules: xhci_pci

00:14.2 Signal processing controller: Intel Corporation Sunrise Point-H Thermal subsystem (rev 31)
	Subsystem: Dell Device 06e0
	Flags: fast devsel, IRQ 18
	Memory at ec456000 (64-bit, non-prefetchable) [size=4K]
	Capabilities: [50] Power Management version 3
	Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
	Kernel driver in use: intel_pch_thermal
	Kernel modules: intel_pch_thermal

00:16.0 Communication controller: Intel Corporation Sunrise Point-H CSME HECI #1 (rev 31)
	Subsystem: Dell Device 06e0
	Flags: bus master, fast devsel, latency 0, IRQ 135
	Memory at ec455000 (64-bit, non-prefetchable) [size=4K]
	Capabilities: [50] Power Management version 3
	Capabilities: [8c] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Kernel driver in use: mei_me
	Kernel modules: mei_me

00:17.0 SATA controller: Intel Corporation Sunrise Point-H SATA controller [AHCI mode] (rev 31) (prog-if 01 [AHCI 1.0])
	Subsystem: Dell Device 06e0
	Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 133
	Memory at ec450000 (32-bit, non-prefetchable) [size=8K]
	Memory at ec454000 (32-bit, non-prefetchable) [size=256]
	I/O ports at f090 [size=8]
	I/O ports at f080 [size=4]
	I/O ports at f060 [size=32]
	Memory at ec453000 (32-bit, non-prefetchable) [size=2K]
	Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
	Capabilities: [70] Power Management version 3
	Capabilities: [a8] SATA HBA v1.0
	Kernel driver in use: ahci
	Kernel modules: ahci

00:1c.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #2 (rev f1) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 17
	Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
	I/O behind bridge: None
	Memory behind bridge: ec200000-ec2fffff [size=1M]
	Prefetchable memory behind bridge: None
	Capabilities: [40] Express Root Port (Slot+), MSI 00
	Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
	Capabilities: [90] Subsystem: Dell Device 06e0
	Capabilities: [a0] Power Management version 3
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [140] Access Control Services
	Capabilities: [220] #19
	Kernel driver in use: pcieport
	Kernel modules: shpchp

00:1c.2 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #3 (rev f1) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 18
	Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
	I/O behind bridge: None
	Memory behind bridge: ec100000-ec1fffff [size=1M]
	Prefetchable memory behind bridge: None
	Capabilities: [40] Express Root Port (Slot+), MSI 00
	Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
	Capabilities: [90] Subsystem: Dell Device 06e0
	Capabilities: [a0] Power Management version 3
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [140] Access Control Services
	Capabilities: [220] #19
	Kernel driver in use: pcieport
	Kernel modules: shpchp

00:1c.4 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #5 (rev f1) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 16
	Bus: primary=00, secondary=04, subordinate=3c, sec-latency=0
	I/O behind bridge: 00002000-00002fff [size=4K]
	Memory behind bridge: d4000000-ea0fffff [size=353M]
	Prefetchable memory behind bridge: 0000000090000000-00000000b1ffffff [size=544M]
	Capabilities: [40] Express Root Port (Slot+), MSI 00
	Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
	Capabilities: [90] Subsystem: Dell Device 06e0
	Capabilities: [a0] Power Management version 3
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [140] Access Control Services
	Capabilities: [220] #19
	Kernel driver in use: pcieport
	Kernel modules: shpchp

00:1d.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #9 (rev f1) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 16
	Bus: primary=00, secondary=3d, subordinate=3d, sec-latency=0
	I/O behind bridge: None
	Memory behind bridge: ec000000-ec0fffff [size=1M]
	Prefetchable memory behind bridge: None
	Capabilities: [40] Express Root Port (Slot+), MSI 00
	Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
	Capabilities: [90] Subsystem: Dell Device 06e0
	Capabilities: [a0] Power Management version 3
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [140] Access Control Services
	Capabilities: [220] #19
	Kernel driver in use: pcieport
	Kernel modules: shpchp

00:1f.0 ISA bridge: Intel Corporation Sunrise Point-H LPC Controller (rev 31)
	Subsystem: Dell Device 06e0
	Flags: bus master, medium devsel, latency 0

00:1f.2 Memory controller: Intel Corporation Sunrise Point-H PMC (rev 31)
	Subsystem: Dell Device 06e0
	Flags: fast devsel
	Memory at ec44c000 (32-bit, non-prefetchable) [disabled] [size=16K]

00:1f.3 Audio device: Intel Corporation Sunrise Point-H HD Audio (rev 31)
	Subsystem: Dell Device 06e0
	Flags: bus master, fast devsel, latency 32, IRQ 138
	Memory at ec448000 (64-bit, non-prefetchable) [size=16K]
	Memory at ec420000 (64-bit, non-prefetchable) [size=64K]
	Capabilities: [50] Power Management version 3
	Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel

00:1f.4 SMBus: Intel Corporation Sunrise Point-H SMBus (rev 31)
	Subsystem: Dell Device 06e0
	Flags: medium devsel, IRQ 16
	Memory at ec452000 (64-bit, non-prefetchable) [size=256]
	I/O ports at f040 [size=32]
	Kernel driver in use: i801_smbus
	Kernel modules: i2c_i801

00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (2) I219-LM (rev 31)
	Subsystem: Dell Device 06e0
	Flags: bus master, fast devsel, latency 0, IRQ 136
	Memory at ec400000 (32-bit, non-prefetchable) [size=128K]
	Capabilities: [c8] Power Management version 3
	Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [e0] PCI Advanced Features
	Kernel driver in use: e1000e
	Kernel modules: e1000e

01:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Venus LE [Radeon HD 8830M] (rev 87)
	Subsystem: Dell Device 06e0
	Flags: bus master, fast devsel, latency 0, IRQ 124
	Memory at c0000000 (64-bit, prefetchable) [size=256M]
	Memory at ec300000 (64-bit, non-prefetchable) [size=256K]
	I/O ports at e000 [size=256]
	Expansion ROM at ec340000 [disabled] [size=128K]
	Capabilities: [48] Vendor Specific Information: Len=08 <?>
	Capabilities: [50] Power Management version 3
	Capabilities: [58] Express Legacy Endpoint, MSI 00
	Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
	Capabilities: [150] Advanced Error Reporting
	Capabilities: [270] #19
	Kernel driver in use: amdgpu
	Kernel modules: radeon, amdgpu

02:00.0 Network controller: Intel Corporation Wireless 8260 (rev 3a)
	Subsystem: Intel Corporation Device 0050
	Flags: bus master, fast devsel, latency 0, IRQ 134
	Memory at ec200000 (64-bit, non-prefetchable) [size=8K]
	Capabilities: [c8] Power Management version 3
	Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [40] Express Endpoint, MSI 00
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [140] Device Serial Number b8-8a-60-ff-ff-7c-a1-5f
	Capabilities: [14c] Latency Tolerance Reporting
	Capabilities: [154] L1 PM Substates
	Kernel driver in use: iwlwifi
	Kernel modules: iwlwifi

03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS525A PCI Express Card Reader (rev 01)
	Subsystem: Dell Device 06e0
	Flags: bus master, fast devsel, latency 0, IRQ 131
	Memory at ec100000 (32-bit, non-prefetchable) [size=4K]
	Capabilities: [80] Power Management version 3
	Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [b0] Express Endpoint, MSI 00
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [148] Device Serial Number 00-00-00-01-00-4c-e0-00
	Capabilities: [158] Latency Tolerance Reporting
	Capabilities: [160] L1 PM Substates
	Kernel driver in use: rtsx_pci
	Kernel modules: rtsx_pci

3d:00.0 Non-Volatile memory controller: Toshiba America Info Systems Device 010f (rev 01) (prog-if 02 [NVM Express])
	Subsystem: Toshiba America Info Systems Device 0001
	Flags: bus master, fast devsel, latency 0, IRQ 16, NUMA node 0
	Memory at ec000000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: [40] Power Management version 3
	Capabilities: [50] MSI: Enable- Count=1/8 Maskable- 64bit+
	Capabilities: [70] Express Endpoint, MSI 00
	Capabilities: [b0] MSI-X: Enable+ Count=8 Masked-
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [168] Alternative Routing-ID Interpretation (ARI)
	Capabilities: [178] #19
	Capabilities: [198] Latency Tolerance Reporting
	Capabilities: [1a0] L1 PM Substates
	Kernel driver in use: nvme
	Kernel modules: nvme

from radeon-profile.

edison12347 avatar edison12347 commented on July 23, 2024

Here is stats that you asked:
ls /sys/class/drm/*
/sys/class/drm/version

/sys/class/drm/amdttm:
buffer_objects memory_accounting power subsystem uevent

/sys/class/drm/card0:
card0-DP-1 card0-DP-2 card0-DVI-D-1 card0-HDMI-A-1 card0-HDMI-A-2 dev device power subsystem uevent

/sys/class/drm/card0-DP-1:
device dpms edid enabled modes power status subsystem uevent

/sys/class/drm/card0-DP-2:
device dpms edid enabled modes power status subsystem uevent

/sys/class/drm/card0-DVI-D-1:
device dpms edid enabled modes power status subsystem uevent

/sys/class/drm/card0-HDMI-A-1:
device dpms edid enabled modes power status subsystem uevent

/sys/class/drm/card0-HDMI-A-2:
device dpms edid enabled modes power status subsystem uevent

/sys/class/drm/card1:
card1-DP-3 card1-DP-4 card1-DVI-D-2 card1-HDMI-A-3 card1-HDMI-A-4 dev device power subsystem uevent

/sys/class/drm/card1-DP-3:
device dpms edid enabled modes power status subsystem uevent

/sys/class/drm/card1-DP-4:
device dpms edid enabled modes power status subsystem uevent

/sys/class/drm/card1-DVI-D-2:
device dpms edid enabled modes power status subsystem uevent

/sys/class/drm/card1-HDMI-A-3:
device dpms edid enabled modes power status subsystem uevent

/sys/class/drm/card1-HDMI-A-4:
device dpms edid enabled modes power status subsystem uevent

/sys/class/drm/card2:
card2-DP-5 card2-DP-6 card2-DVI-D-3 card2-HDMI-A-5 card2-HDMI-A-6 dev device power subsystem uevent

/sys/class/drm/card2-DP-5:
device dpms edid enabled modes power status subsystem uevent

/sys/class/drm/card2-DP-6:
device dpms edid enabled modes power status subsystem uevent

/sys/class/drm/card2-DVI-D-3:
device dpms edid enabled modes power status subsystem uevent

/sys/class/drm/card2-HDMI-A-5:
device dpms edid enabled modes power status subsystem uevent

/sys/class/drm/card2-HDMI-A-6:
device dpms edid enabled modes power status subsystem uevent

/sys/class/drm/card3:
card3-DP-7 card3-DP-8 card3-DVI-D-4 card3-HDMI-A-7 card3-HDMI-A-8 dev device power subsystem uevent

/sys/class/drm/card3-DP-7:
device dpms edid enabled modes power status subsystem uevent

/sys/class/drm/card3-DP-8:
device dpms edid enabled modes power status subsystem uevent

/sys/class/drm/card3-DVI-D-4:
device dpms edid enabled modes power status subsystem uevent

/sys/class/drm/card3-HDMI-A-7:
device dpms edid enabled modes power status subsystem uevent

/sys/class/drm/card3-HDMI-A-8:
device dpms edid enabled modes power status subsystem uevent

/sys/class/drm/controlD64:
dev device power subsystem uevent

/sys/class/drm/controlD65:
dev device power subsystem uevent

/sys/class/drm/controlD66:
dev device power subsystem uevent

/sys/class/drm/controlD67:
dev device power subsystem uevent

/sys/class/drm/renderD128:
dev device power subsystem uevent

/sys/class/drm/renderD129:
dev device power subsystem uevent

/sys/class/drm/renderD130:
dev device power subsystem uevent

/sys/class/drm/renderD131:
dev device power subsystem uevent

for file in /sys/class/drm/card*/device/uevent; do echo $file; cat $file;done
/sys/class/drm/card0/device/uevent
DRIVER=amdgpu
PCI_CLASS=30000
PCI_ID=1002:67DF
PCI_SUBSYS_ID=1DA2:E366
PCI_SLOT_NAME=0000:02:00.0
MODALIAS=pci:v00001002d000067DFsv00001DA2sd0000E366bc03sc00i00
/sys/class/drm/card0-DP-1/device/uevent
MAJOR=226
MINOR=0
DEVNAME=dri/card0
DEVTYPE=drm_minor
/sys/class/drm/card0-DP-2/device/uevent
MAJOR=226
MINOR=0
DEVNAME=dri/card0
DEVTYPE=drm_minor
/sys/class/drm/card0-DVI-D-1/device/uevent
MAJOR=226
MINOR=0
DEVNAME=dri/card0
DEVTYPE=drm_minor
/sys/class/drm/card0-HDMI-A-1/device/uevent
MAJOR=226
MINOR=0
DEVNAME=dri/card0
DEVTYPE=drm_minor
/sys/class/drm/card0-HDMI-A-2/device/uevent
MAJOR=226
MINOR=0
DEVNAME=dri/card0
DEVTYPE=drm_minor
/sys/class/drm/card1/device/uevent
DRIVER=amdgpu
PCI_CLASS=30000
PCI_ID=1002:67DF
PCI_SUBSYS_ID=174B:E347
PCI_SLOT_NAME=0000:03:00.0
MODALIAS=pci:v00001002d000067DFsv0000174Bsd0000E347bc03sc00i00
/sys/class/drm/card1-DP-3/device/uevent
MAJOR=226
MINOR=1
DEVNAME=dri/card1
DEVTYPE=drm_minor
/sys/class/drm/card1-DP-4/device/uevent
MAJOR=226
MINOR=1
DEVNAME=dri/card1
DEVTYPE=drm_minor
/sys/class/drm/card1-DVI-D-2/device/uevent
MAJOR=226
MINOR=1
DEVNAME=dri/card1
DEVTYPE=drm_minor
/sys/class/drm/card1-HDMI-A-3/device/uevent
MAJOR=226
MINOR=1
DEVNAME=dri/card1
DEVTYPE=drm_minor
/sys/class/drm/card1-HDMI-A-4/device/uevent
MAJOR=226
MINOR=1
DEVNAME=dri/card1
DEVTYPE=drm_minor
/sys/class/drm/card2/device/uevent
DRIVER=amdgpu
PCI_CLASS=30000
PCI_ID=1002:67DF
PCI_SUBSYS_ID=1DA2:E353
PCI_SLOT_NAME=0000:04:00.0
MODALIAS=pci:v00001002d000067DFsv00001DA2sd0000E353bc03sc00i00
/sys/class/drm/card2-DP-5/device/uevent
MAJOR=226
MINOR=2
DEVNAME=dri/card2
DEVTYPE=drm_minor
/sys/class/drm/card2-DP-6/device/uevent
MAJOR=226
MINOR=2
DEVNAME=dri/card2
DEVTYPE=drm_minor
/sys/class/drm/card2-DVI-D-3/device/uevent
MAJOR=226
MINOR=2
DEVNAME=dri/card2
DEVTYPE=drm_minor
/sys/class/drm/card2-HDMI-A-5/device/uevent
MAJOR=226
MINOR=2
DEVNAME=dri/card2
DEVTYPE=drm_minor
/sys/class/drm/card2-HDMI-A-6/device/uevent
MAJOR=226
MINOR=2
DEVNAME=dri/card2
DEVTYPE=drm_minor
/sys/class/drm/card3/device/uevent
DRIVER=amdgpu
PCI_CLASS=30000
PCI_ID=1002:67DF
PCI_SUBSYS_ID=1DA2:E353
PCI_SLOT_NAME=0000:05:00.0
MODALIAS=pci:v00001002d000067DFsv00001DA2sd0000E353bc03sc00i00
/sys/class/drm/card3-DP-7/device/uevent
MAJOR=226
MINOR=3
DEVNAME=dri/card3
DEVTYPE=drm_minor
/sys/class/drm/card3-DP-8/device/uevent
MAJOR=226
MINOR=3
DEVNAME=dri/card3
DEVTYPE=drm_minor
/sys/class/drm/card3-DVI-D-4/device/uevent
MAJOR=226
MINOR=3
DEVNAME=dri/card3
DEVTYPE=drm_minor
/sys/class/drm/card3-HDMI-A-7/device/uevent
MAJOR=226
MINOR=3
DEVNAME=dri/card3
DEVTYPE=drm_minor
/sys/class/drm/card3-HDMI-A-8/device/uevent
MAJOR=226
MINOR=3
DEVNAME=dri/card3
DEVTYPE=drm_minor

from radeon-profile.

marazmista avatar marazmista commented on July 23, 2024

Thanks for outputs. I pushed update to rp-dev branch. Build instructions are here: https://github.com/marazmista/radeon-profile/tree/rp-dev#build, just replace first line to: git clone -b rp-dev https://github.com/marazmista/radeon-profile.git

from radeon-profile.

predacon avatar predacon commented on July 23, 2024

same problem here after trying your update with two rx 470 and iGPU HD530 as main.

ls /sys/class/drm/*

/sys/class/drm/version

/sys/class/drm/card0:
card0-DP-1 card0-DP-2 card0-DP-3 card0-HDMI-A-1 card0-HDMI-A-2 card0-HDMI-A-3 dev device error gt_act_freq_mhz gt_boost_freq_mhz gt_cur_freq_mhz gt_max_freq_mhz gt_min_freq_mhz gt_RP0_freq_mhz gt_RP1_freq_mhz gt_RPn_freq_mhz power subsystem uevent

/sys/class/drm/card0-DP-1:
device dpms drm_dp_aux0 edid enabled i2c-3 modes power status subsystem uevent

/sys/class/drm/card0-DP-2:
device dpms drm_dp_aux1 edid enabled i2c-4 modes power status subsystem uevent

/sys/class/drm/card0-DP-3:
device dpms drm_dp_aux2 edid enabled i2c-5 modes power status subsystem uevent

/sys/class/drm/card0-HDMI-A-1:
device dpms edid enabled modes power status subsystem uevent

/sys/class/drm/card0-HDMI-A-2:
device dpms edid enabled modes power status subsystem uevent

/sys/class/drm/card0-HDMI-A-3:
device dpms edid enabled modes power status subsystem uevent

/sys/class/drm/card1:
card1-DP-4 card1-DVI-D-1 card1-DVI-D-2 card1-HDMI-A-4 dev device power subsystem uevent

/sys/class/drm/card1-DP-4:
device dpms drm_dp_aux3 edid enabled i2c-15 modes power status subsystem uevent

/sys/class/drm/card1-DVI-D-1:
device dpms edid enabled modes power status subsystem uevent

/sys/class/drm/card1-DVI-D-2:
device dpms edid enabled modes power status subsystem uevent

/sys/class/drm/card1-HDMI-A-4:
device dpms edid enabled modes power status subsystem uevent

/sys/class/drm/card2:
card2-DP-5 card2-DVI-D-3 card2-DVI-D-4 card2-HDMI-A-5 dev device power subsystem uevent

/sys/class/drm/card2-DP-5:
device dpms drm_dp_aux4 edid enabled i2c-24 modes power status subsystem uevent

/sys/class/drm/card2-DVI-D-3:
device dpms edid enabled modes power status subsystem uevent

/sys/class/drm/card2-DVI-D-4:
device dpms edid enabled modes power status subsystem uevent

/sys/class/drm/card2-HDMI-A-5:
device dpms edid enabled modes power status subsystem uevent

/sys/class/drm/renderD128:
dev device power subsystem uevent

/sys/class/drm/renderD129:
dev device power subsystem uevent

/sys/class/drm/renderD130:
dev device power subsystem uevent

/sys/class/drm/ttm:
buffer_objects memory_accounting power subsystem uevent

uevent files

DRIVER=i915
PCI_CLASS=30000
PCI_ID=8086:1912
PCI_SUBSYS_ID=1849:1912
PCI_SLOT_NAME=0000:00:02.0
MODALIAS=pci:v00008086d00001912sv00001849sd00001912bc03sc00i00
/sys/class/drm/card0-DP-1/device/uevent
MAJOR=226
MINOR=0
DEVNAME=dri/card0
DEVTYPE=drm_minor
/sys/class/drm/card0-DP-2/device/uevent
MAJOR=226
MINOR=0
DEVNAME=dri/card0
DEVTYPE=drm_minor
/sys/class/drm/card0-DP-3/device/uevent
MAJOR=226
MINOR=0
DEVNAME=dri/card0
DEVTYPE=drm_minor
/sys/class/drm/card0-HDMI-A-1/device/uevent
MAJOR=226
MINOR=0
DEVNAME=dri/card0
DEVTYPE=drm_minor
/sys/class/drm/card0-HDMI-A-2/device/uevent
MAJOR=226
MINOR=0
DEVNAME=dri/card0
DEVTYPE=drm_minor
/sys/class/drm/card0-HDMI-A-3/device/uevent
MAJOR=226
MINOR=0
DEVNAME=dri/card0
DEVTYPE=drm_minor
/sys/class/drm/card1/device/uevent
DRIVER=amdgpu
PCI_CLASS=30000
PCI_ID=1002:67DF
PCI_SUBSYS_ID=1043:04B0
PCI_SLOT_NAME=0000:01:00.0
MODALIAS=pci:v00001002d000067DFsv00001043sd000004B0bc03sc00i00
/sys/class/drm/card1-DP-4/device/uevent
MAJOR=226
MINOR=1
DEVNAME=dri/card1
DEVTYPE=drm_minor
/sys/class/drm/card1-DVI-D-1/device/uevent
MAJOR=226
MINOR=1
DEVNAME=dri/card1
DEVTYPE=drm_minor
/sys/class/drm/card1-DVI-D-2/device/uevent
MAJOR=226
MINOR=1
DEVNAME=dri/card1
DEVTYPE=drm_minor
/sys/class/drm/card1-HDMI-A-4/device/uevent
MAJOR=226
MINOR=1
DEVNAME=dri/card1
DEVTYPE=drm_minor
/sys/class/drm/card2/device/uevent
DRIVER=amdgpu
PCI_CLASS=30000
PCI_ID=1002:67DF
PCI_SUBSYS_ID=1043:04B0
PCI_SLOT_NAME=0000:07:00.0
MODALIAS=pci:v00001002d000067DFsv00001043sd000004B0bc03sc00i00
/sys/class/drm/card2-DP-5/device/uevent
MAJOR=226
MINOR=2
DEVNAME=dri/card2
DEVTYPE=drm_minor
/sys/class/drm/card2-DVI-D-3/device/uevent
MAJOR=226
MINOR=2
DEVNAME=dri/card2
DEVTYPE=drm_minor
/sys/class/drm/card2-DVI-D-4/device/uevent
MAJOR=226
MINOR=2
DEVNAME=dri/card2
DEVTYPE=drm_minor
/sys/class/drm/card2-HDMI-A-5/device/uevent
MAJOR=226
MINOR=2
DEVNAME=dri/card2
DEVTYPE=drm_minor

from radeon-profile.

predacon avatar predacon commented on July 23, 2024

my bad. your new build works well without segfault when switching card. But dont shows any info about clocks. In console shows this error continuosly: DRM_IOCTL_AMDGPU_INFO: Invalid argument

from radeon-profile.

bugz8unny69 avatar bugz8unny69 commented on July 23, 2024

Clocks are not available until Kernel 4.12 with AMDGPU.

See #54 (comment)

from radeon-profile.

predacon avatar predacon commented on July 23, 2024

Then, why I can see memory clock and core clock with actual radeon-profile build from AUR?
screenshot_20170615_061537

from radeon-profile.

predacon avatar predacon commented on July 23, 2024

oh, it seems im using radeonsi driver instead AMDGPU. strange...

from radeon-profile.

bugz8unny69 avatar bugz8unny69 commented on July 23, 2024

Are you sure you are using radeonsi on a RX470? AFAIK, only AMDGPU support Polaris and newer GPUs. Also, the stable, current build, polls information form /sys. The Dev branch uses IOCTLS and AMDGPU in <4.11 don't provide clock information.

from radeon-profile.

predacon avatar predacon commented on July 23, 2024

I have no xf86-video-ati installed. no radeon module loaded but AMDGPU.
Makes me doubt this >>
screenshot_20170615_061537-modified

from radeon-profile.

bugz8unny69 avatar bugz8unny69 commented on July 23, 2024

Probably a bug but is the current build working for you?

EDIT
Actually it worked for me here in the past on a RX480, I will test again later.

from radeon-profile.

predacon avatar predacon commented on July 23, 2024

yes, its working good. tested fan control and overclocking. this last dont work so well but works :)
only one problem with actual build: segfault when changing between cards. Love your software sr. you're doing so well!

from radeon-profile.

predacon avatar predacon commented on July 23, 2024

thankyou for the explanation. if you need test something on radeon-profiler, i will be happy to help.

from radeon-profile.

marazmista avatar marazmista commented on July 23, 2024

Fixed by merge of rp-dev: ac59420

from radeon-profile.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.