[Bug 205089] amdgpu : drm:amdgpu_cs_ioctl : Failed to initialize parser -125

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.kernel.org/show_bug.cgi?id=205089

milasudril@xxxxxxxxx changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |milasudril@xxxxxxxxx

--- Comment #51 from milasudril@xxxxxxxxx ---
Too me, it appears that the problem is related to driver initialization. It may
start in a "good" state: Everything works normally. In "bad" state, the desktop
hangs almost immediately. Trying to restart the display server by issuing

sudo service lightdm stop
sudo service lightdm start

from a separate TTY, makes it possible to log in again, but interaction with
the desktop is locked (tried to restart lightdm twice on the same boot).
However rebooting the machine

sudo shutdown -r now

solves the issue.

Output from glmark2 (working session)

$ glmark2 --fullscreen
=======================================================
    glmark2 2021.02
=======================================================
    OpenGL Information
    GL_VENDOR:     AMD
    GL_RENDERER:   AMD RENOIR (LLVM 13.0.1, DRM 3.42, 5.15.0-56-generic)
    GL_VERSION:    4.6 (Compatibility Profile) Mesa 22.0.5
=======================================================
[build] use-vbo=false: FPS: 5844 FrameTime: 0.171 ms
[build] use-vbo=true: FPS: 6231 FrameTime: 0.160 ms
[texture] texture-filter=nearest: FPS: 3976 FrameTime: 0.252 ms
[texture] texture-filter=linear: FPS: 4048 FrameTime: 0.247 ms
[texture] texture-filter=mipmap: FPS: 3958 FrameTime: 0.253 ms
[shading] shading=gouraud: FPS: 4050 FrameTime: 0.247 ms
[shading] shading=blinn-phong-inf: FPS: 3709 FrameTime: 0.270 ms
[shading] shading=phong: FPS: 3674 FrameTime: 0.272 ms
...


Output from neofetch:

OS: Linux Mint 21 x86_64 
Kernel: 5.15.0-56-generic 
Uptime: 31 mins 
Packages: 2846 (dpkg) 
Shell: bash 5.1.16 
Resolution: 1920x1200 
DE: Xfce 4.16 
WM: Xfwm4 
WM Theme: Kokodi 
Theme: Adwaita [GTK2], Mint-Y [GTK3] 
Icons: elementary-xfce [GTK2/3] 
Terminal: xfce4-terminal 
Terminal Font: Monospace 12 
CPU: AMD Ryzen 5 5600G with Radeon Graphics (12) @ 4.464GHz 
GPU: AMD ATI 06:00.0 Cezanne 
Memory: 2713MiB / 31392MiB


Kernel log (successful session):

[    0.000000] Linux version 5.15.0-56-generic (buildd@lcy02-amd64-004) (gcc
(Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#62-Ubuntu SMP Tue Nov 22 19:54:14 UTC 2022 (Ubuntu 5.15.0-56.62-generic
5.15.64)
[    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-5.15.0-56-generic
root=UUID=b0fcb5e6-59cb-4170-b692-4a944660fea9 ro quiet splash


AMD related messages in kernel log (successful session):

[    0.004719] ACPI: IVRS 0x00000000C453D000 0000D0 (v02 AMD    AmdTable
00000001 AMD  00000001)
[    0.004721] ACPI: SSDT 0x00000000C4535000 00723C (v02 AMD    Artic   
00000002 MSFT 04000000)
[    0.004723] ACPI: SSDT 0x00000000C4531000 003B1B (v01 AMD    AMD AOD 
00000001 INTL 20120913)
[    0.004733] ACPI: VFCT 0x00000000C4510000 00D884 (v01 ALASKA A M I   
00000001 AMD  31504F47)
[    0.004740] ACPI: SSDT 0x00000000C4430000 003E88 (v02 AMD    AmdTable
00000001 AMD  00000001)
[    0.004742] ACPI: CRAT 0x00000000C442F000 000B68 (v01 AMD    AmdTable
00000001 AMD  00000001)
[    0.004744] ACPI: CDIT 0x00000000C442E000 000029 (v01 AMD    AmdTable
00000001 AMD  00000001)
[    0.004745] ACPI: SSDT 0x00000000C442D000 000D53 (v01 AMD    ArticIG2
00000001 INTL 20120913)
[    0.004747] ACPI: SSDT 0x00000000C442B000 0010AC (v01 AMD    ArticTPX
00000001 INTL 20120913)
[    0.004749] ACPI: SSDT 0x00000000C4427000 003EAC (v01 AMD    ArticN  
00000001 INTL 20120913)
[    0.004754] ACPI: SSDT 0x00000000C4424000 00007D (v01 AMD    ArticDIS
00000001 INTL 20120913)
[    0.004756] ACPI: SSDT 0x00000000C4423000 0000BF (v01 AMD    AmdTable
00001000 INTL 20120913)
[    0.281466] smpboot: CPU0: AMD Ryzen 5 5600G with Radeon Graphics (family:
0x19, model: 0x50, stepping: 0x0)
[    0.281562] Performance Events: Fam17h+ core perfctr, AMD PMU driver.
[    0.354135] pci 0000:00:00.2: AMD-Vi: IOMMU performance counters supported
[    0.355644] pci 0000:00:00.2: AMD-Vi: Found IOMMU cap 0x40
[    0.355646] AMD-Vi: Extended features (0x206d73ef22254ade): PPR X2APIC NX GT
IA GA PC GA_vAPIC
[    0.355650] AMD-Vi: Interrupt remapping enabled
[    0.355650] AMD-Vi: Virtual APIC enabled
[    0.355651] AMD-Vi: X2APIC enabled
[    0.668679] perf: AMD IBS detected (0x000003ff)
[    0.668689] perf/amd_iommu: Detected AMD IOMMU #0 (2 banks, 4
counters/bank).
[    0.911894] powernow_k8: WTF driver: amd-pstate
[    3.455327] AMD-Vi: AMD IOMMUv2 loaded and initialized
[    3.541930] [drm] amdgpu kernel modesetting enabled.
[    3.547290] amdgpu: Virtual CRAT table created for CPU
[    3.547297] amdgpu: Topology: Add CPU node
[    3.547424] amdgpu 0000:06:00.0: vgaarb: deactivate vga console
[    3.547457] amdgpu 0000:06:00.0: enabling device (0006 -> 0007)
[    3.547487] amdgpu 0000:06:00.0: amdgpu: Trusted Memory Zone (TMZ) feature
enabled
[    3.548618] amdgpu 0000:06:00.0: amdgpu: Fetched VBIOS from VFCT
[    3.548619] amdgpu: ATOM BIOS: 113-CEZANNE-018
[    3.548662] amdgpu 0000:06:00.0: amdgpu: VRAM: 512M 0x000000F400000000 -
0x000000F41FFFFFFF (512M used)
[    3.548663] amdgpu 0000:06:00.0: amdgpu: GART: 1024M 0x0000000000000000 -
0x000000003FFFFFFF
[    3.548664] amdgpu 0000:06:00.0: amdgpu: AGP: 267419648M 0x000000F800000000
- 0x0000FFFFFFFFFFFF
[    3.548692] [drm] amdgpu: 512M of VRAM memory ready
[    3.548693] [drm] amdgpu: 3072M of GTT memory ready.
[    3.548950] amdgpu 0000:06:00.0: amdgpu: PSP runtime database doesn't exist
[    3.549881] amdgpu 0000:06:00.0: amdgpu: Will use PSP to load VCN firmware
[    4.356150] amdgpu 0000:06:00.0: amdgpu: RAS: optional ras ta ucode is not
available
[    4.364793] amdgpu 0000:06:00.0: amdgpu: RAP: optional rap ta ucode is not
available
[    4.364794] amdgpu 0000:06:00.0: amdgpu: SECUREDISPLAY: securedisplay ta
ucode is not available
[    4.365686] amdgpu 0000:06:00.0: amdgpu: SMU is initialized successfully!
[    4.407573] kfd kfd: amdgpu: Allocated 3969056 bytes on gart
[    4.432951] amdgpu: HMM registered 512MB device memory
[    4.432973] amdgpu: SRAT table not found
[    4.432974] amdgpu: Virtual CRAT table created for GPU
[    4.433026] amdgpu: Topology: Add dGPU node [0x1638:0x1002]
[    4.433029] kfd kfd: amdgpu: added device 1002:1638
[    4.433141] amdgpu 0000:06:00.0: amdgpu: SE 1, SH per SE 1, CU per SH 8,
active_cu_number 7
[    4.434102] fbcon: amdgpudrmfb (fb0) is primary device
[    4.434104] amdgpu 0000:06:00.0: [drm] fb0: amdgpudrmfb frame buffer device
[    4.455810] amdgpu 0000:06:00.0: amdgpu: ring gfx uses VM inv eng 0 on hub 0
[    4.455813] amdgpu 0000:06:00.0: amdgpu: ring comp_1.0.0 uses VM inv eng 1
on hub 0
[    4.455814] amdgpu 0000:06:00.0: amdgpu: ring comp_1.1.0 uses VM inv eng 4
on hub 0
[    4.455814] amdgpu 0000:06:00.0: amdgpu: ring comp_1.2.0 uses VM inv eng 5
on hub 0
[    4.455815] amdgpu 0000:06:00.0: amdgpu: ring comp_1.3.0 uses VM inv eng 6
on hub 0
[    4.455815] amdgpu 0000:06:00.0: amdgpu: ring comp_1.0.1 uses VM inv eng 7
on hub 0
[    4.455816] amdgpu 0000:06:00.0: amdgpu: ring comp_1.1.1 uses VM inv eng 8
on hub 0
[    4.455817] amdgpu 0000:06:00.0: amdgpu: ring comp_1.2.1 uses VM inv eng 9
on hub 0
[    4.455817] amdgpu 0000:06:00.0: amdgpu: ring comp_1.3.1 uses VM inv eng 10
on hub 0
[    4.455818] amdgpu 0000:06:00.0: amdgpu: ring kiq_2.1.0 uses VM inv eng 11
on hub 0
[    4.455824] amdgpu 0000:06:00.0: amdgpu: ring sdma0 uses VM inv eng 0 on hub
1
[    4.455824] amdgpu 0000:06:00.0: amdgpu: ring vcn_dec uses VM inv eng 1 on
hub 1
[    4.455825] amdgpu 0000:06:00.0: amdgpu: ring vcn_enc0 uses VM inv eng 4 on
hub 1
[    4.455826] amdgpu 0000:06:00.0: amdgpu: ring vcn_enc1 uses VM inv eng 5 on
hub 1
[    4.455827] amdgpu 0000:06:00.0: amdgpu: ring jpeg_dec uses VM inv eng 6 on
hub 1
[    4.456973] [drm] Initialized amdgpu 3.42.0 20150101 for 0000:06:00.0 on
minor 0
[   12.556190] snd_hda_intel 0000:06:00.1: bound 0000:06:00.0 (ops
amdgpu_dm_audio_component_bind_ops [amdgpu])

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.



[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux