On Thu, 20 Dec 2018 at 19:19, StDenis, Tom <Tom.StDenis@xxxxxxx> wrote: > > Ya I was right. With a plain build I can access the files just fine. > > > > I did manage to get into a weird shell where I couldn't cat > amdgpu_gca_config from bash though after a reboot (had updates pending) > it works fine. > > If you can't cat those files then neither can umr. > > So NOTABUG :-) > I am very happy for you. But what about me? I don't have idea how make this files available on my system. And of course I tried reboot and try again cat amdgpu_gca_config several times but all times without success. Also I note that not all files not permitted for read from /sys/kernel/debug/dri/0/* I was able to dump contents of some files in debugfs.txt (see attachments) List of available for readind files: amdgpu_evict_gtt amdgpu_evict_vram amdgpu_fence_info amdgpu_firmware_info amdgpu_gds_mm amdgpu_gem_info amdgpu_gpu_recover amdgpu_gtt_mm amdgpu_gws_mm amdgpu_oa_mm amdgpu_pm_info amdgpu_sa_info amdgpu_test_ib amdgpu_vbios amdgpu_vram_mm clients framebuffer gem_names internal_clients name state ttm_page_pool May some kernel options restrict access for files in debugfs (for example to amdgpu_gca_config)? If yes on which options should I pay attention? I have no more ideas. I tried everything. -- Best Regards, Mike Gavrilov.
# head /sys/kernel/debug/dri/0/* head: cannot open '/sys/kernel/debug/dri/0/amdgpu_dm_dtn_log' for reading: Operation not permitted ==> /sys/kernel/debug/dri/0/amdgpu_evict_gtt <== (0) ==> /sys/kernel/debug/dri/0/amdgpu_evict_vram <== (0) ==> /sys/kernel/debug/dri/0/amdgpu_fence_info <== --- ring 0 (gfx) --- Last signaled fence 0x00000216 Last emitted 0x00000216 Last preempted 0x00000000 Last reset 0x00000000 Last both 0x00000000 --- ring 1 (comp_1.0.0) --- Last signaled fence 0x00000009 Last emitted 0x00000009 --- ring 2 (comp_1.1.0) --- ==> /sys/kernel/debug/dri/0/amdgpu_firmware_info <== VCE feature version: 0, firmware version: 0x37030400 UVD feature version: 0, firmware version: 0x01571100 MC feature version: 0, firmware version: 0x00000000 ME feature version: 40, firmware version: 0x00000099 PFP feature version: 40, firmware version: 0x000000ae CE feature version: 40, firmware version: 0x0000004d RLC feature version: 0, firmware version: 0x00000058 RLC SRLC feature version: 0, firmware version: 0x00000000 RLC SRLG feature version: 0, firmware version: 0x00000000 RLC SRLS feature version: 0, firmware version: 0x00000000 head: cannot open '/sys/kernel/debug/dri/0/amdgpu_gca_config' for reading: Operation not permitted ==> /sys/kernel/debug/dri/0/amdgpu_gds_mm <== 0x0000000000000000-0x0000000000001000: 4096: used 0x0000000000001000-0x0000000000010000: 61440: free total: 65536, used 4096 free 61440 ==> /sys/kernel/debug/dri/0/amdgpu_gem_info <== pid 2219 command Xwayland: 0x00000001: 131072 byte CPU CPU_ACCESS_REQUIRED CPU_GTT_USWC 0x00000002: 4096 byte CPU CPU_ACCESS_REQUIRED 0x00000003: 131072 byte CPU CPU_ACCESS_REQUIRED CPU_GTT_USWC 0x00000004: 131072 byte CPU CPU_GTT_USWC 0x00000005: 131072 byte CPU CPU_ACCESS_REQUIRED CPU_GTT_USWC pid 2219 command Xwayland: 0x00000001: 131072 byte CPU CPU_ACCESS_REQUIRED CPU_GTT_USWC 0x00000002: 4096 byte CPU CPU_ACCESS_REQUIRED 0x00000003: 131072 byte CPU CPU_ACCESS_REQUIRED CPU_GTT_USWC head: cannot open '/sys/kernel/debug/dri/0/amdgpu_gpr' for reading: Operation not permitted ==> /sys/kernel/debug/dri/0/amdgpu_gpu_recover <== gpu recover ==> /sys/kernel/debug/dri/0/amdgpu_gtt_mm <== 0x0000000000000400-0x0000000000000401: 1: used 0x0000000000000401-0x0000000000000405: 4: used 0x0000000000000405-0x0000000000000447: 66: used 0x0000000000000447-0x0000000000000449: 2: used 0x0000000000000449-0x000000000000044b: 2: used 0x000000000000044b-0x000000000000044d: 2: used 0x000000000000044d-0x000000000000044f: 2: used 0x000000000000044f-0x0000000000000451: 2: used 0x0000000000000451-0x0000000000000453: 2: used 0x0000000000000453-0x0000000000000455: 2: used ==> /sys/kernel/debug/dri/0/amdgpu_gws_mm <== 0x0000000000000000-0x0000000000000004: 4: used 0x0000000000000004-0x0000000000000040: 60: free total: 64, used 4 free 60 head: cannot open '/sys/kernel/debug/dri/0/amdgpu_iomem' for reading: Operation not permitted ==> /sys/kernel/debug/dri/0/amdgpu_oa_mm <== 0x0000000000000000-0x0000000000000004: 4: used 0x0000000000000004-0x0000000000000010: 12: free total: 16, used 4 free 12 ==> /sys/kernel/debug/dri/0/amdgpu_pm_info <== Clock Gating Flags Mask: 0x888200 Graphics Medium Grain Clock Gating: Off Graphics Medium Grain memory Light Sleep: Off Graphics Coarse Grain Clock Gating: Off Graphics Coarse Grain memory Light Sleep: Off Graphics Coarse Grain Tree Shader Clock Gating: Off Graphics Coarse Grain Tree Shader Light Sleep: Off Graphics Command Processor Light Sleep: Off Graphics Run List Controller Light Sleep: Off Graphics 3D Coarse Grain Clock Gating: Off head: cannot open '/sys/kernel/debug/dri/0/amdgpu_regs' for reading: Operation not permitted head: cannot open '/sys/kernel/debug/dri/0/amdgpu_regs_didt' for reading: Operation not permitted head: cannot open '/sys/kernel/debug/dri/0/amdgpu_regs_pcie' for reading: Operation not permitted head: cannot open '/sys/kernel/debug/dri/0/amdgpu_regs_smc' for reading: Operation not permitted head: cannot open '/sys/kernel/debug/dri/0/amdgpu_ring_comp_1.0.0' for reading: Operation not permitted head: cannot open '/sys/kernel/debug/dri/0/amdgpu_ring_comp_1.0.1' for reading: Operation not permitted head: cannot open '/sys/kernel/debug/dri/0/amdgpu_ring_comp_1.1.0' for reading: Operation not permitted head: cannot open '/sys/kernel/debug/dri/0/amdgpu_ring_comp_1.1.1' for reading: Operation not permitted head: cannot open '/sys/kernel/debug/dri/0/amdgpu_ring_comp_1.2.0' for reading: Operation not permitted head: cannot open '/sys/kernel/debug/dri/0/amdgpu_ring_comp_1.2.1' for reading: Operation not permitted head: cannot open '/sys/kernel/debug/dri/0/amdgpu_ring_comp_1.3.0' for reading: Operation not permitted head: cannot open '/sys/kernel/debug/dri/0/amdgpu_ring_comp_1.3.1' for reading: Operation not permitted head: cannot open '/sys/kernel/debug/dri/0/amdgpu_ring_gfx' for reading: Operation not permitted head: cannot open '/sys/kernel/debug/dri/0/amdgpu_ring_kiq_2.1.0' for reading: Operation not permitted head: cannot open '/sys/kernel/debug/dri/0/amdgpu_ring_sdma0' for reading: Operation not permitted head: cannot open '/sys/kernel/debug/dri/0/amdgpu_ring_sdma1' for reading: Operation not permitted head: cannot open '/sys/kernel/debug/dri/0/amdgpu_ring_uvd<0>' for reading: Operation not permitted head: cannot open '/sys/kernel/debug/dri/0/amdgpu_ring_uvd_enc0<0>' for reading: Operation not permitted head: cannot open '/sys/kernel/debug/dri/0/amdgpu_ring_uvd_enc1<0>' for reading: Operation not permitted head: cannot open '/sys/kernel/debug/dri/0/amdgpu_ring_vce0' for reading: Operation not permitted head: cannot open '/sys/kernel/debug/dri/0/amdgpu_ring_vce1' for reading: Operation not permitted head: cannot open '/sys/kernel/debug/dri/0/amdgpu_ring_vce2' for reading: Operation not permitted ==> /sys/kernel/debug/dri/0/amdgpu_sa_info <== [0x0000bca000 0x0000bcb020] size 4128 protected by 0x00000863 on context 47 [0x0000bcb100 0x0000bcb120] size 32 protected by 0x00000864 on context 47 [0x0000bcb200 0x0000bcc220] size 4128 protected by 0x00000865 on context 47 [0x0000bcc300 0x0000bcc320] size 32 protected by 0x00000866 on context 47 [0x0000bcc400 0x0000bcd420] size 4128 protected by 0x00000867 on context 47 [0x0000bcd500 0x0000bcd520] size 32 protected by 0x00000868 on context 47 [0x0000bcd600 0x0000bce620] size 4128 protected by 0x00000869 on context 47 [0x0000bce700 0x0000bce720] size 32 protected by 0x0000086a on context 47 [0x0000bce800 0x0000bcf820] size 4128 protected by 0x0000086b on context 47 [0x0000bcf900 0x0000bcf920] size 32 protected by 0x0000086c on context 47 head: cannot open '/sys/kernel/debug/dri/0/amdgpu_sensors' for reading: Operation not permitted ==> /sys/kernel/debug/dri/0/amdgpu_test_ib <== run ib test: ib ring tests passed. ==> /sys/kernel/debug/dri/0/amdgpu_vbios <== Uªwéë À