All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@kernel.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 205089] amdgpu : drm:amdgpu_cs_ioctl : Failed to initialize parser -125
Date: Tue, 27 Dec 2022 09:52:27 +0000	[thread overview]
Message-ID: <bug-205089-2300-Xk82bMyVkp@https.bugzilla.kernel.org/> (raw)
In-Reply-To: <bug-205089-2300@https.bugzilla.kernel.org/>

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

milasudril@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |milasudril@gmail.com

--- Comment #51 from milasudril@gmail.com ---
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.

  parent reply	other threads:[~2022-12-27  9:53 UTC|newest]

Thread overview: 62+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-05 11:48 [Bug 205089] New: amdgpu : drm:amdgpu_cs_ioctl : Failed to initialize parser -125 bugzilla-daemon
2019-10-07  3:16 ` [Bug 205089] " bugzilla-daemon
2019-10-08 17:50 ` bugzilla-daemon
2019-10-08 18:23 ` bugzilla-daemon
2019-10-08 20:15 ` bugzilla-daemon
2019-10-08 20:19 ` bugzilla-daemon
2019-10-12 19:05 ` bugzilla-daemon
2019-10-12 19:06 ` bugzilla-daemon
2019-10-14 17:20 ` bugzilla-daemon
2019-10-14 19:07 ` bugzilla-daemon
2020-04-27 16:58 ` bugzilla-daemon
2020-04-28  7:25 ` bugzilla-daemon
2020-04-28  8:01 ` bugzilla-daemon
2020-07-25  7:35 ` bugzilla-daemon
2021-07-26 20:35 ` bugzilla-daemon
2021-07-28 19:03 ` bugzilla-daemon
2021-08-01 19:43 ` bugzilla-daemon
2021-08-02 14:13 ` bugzilla-daemon
2021-08-02 14:24 ` bugzilla-daemon
2021-08-15 19:03 ` bugzilla-daemon
2021-08-25 16:03 ` bugzilla-daemon
2021-11-11 16:14 ` bugzilla-daemon
2021-11-11 16:15 ` bugzilla-daemon
2021-11-12  5:06 ` bugzilla-daemon
2021-11-12 19:29 ` bugzilla-daemon
2021-11-21 17:30 ` bugzilla-daemon
2021-11-22 14:50 ` bugzilla-daemon
2021-11-26 11:43 ` bugzilla-daemon
2021-11-27  2:51 ` bugzilla-daemon
2021-11-27 14:12 ` bugzilla-daemon
2021-11-28 14:32 ` bugzilla-daemon
2022-01-02  9:37 ` bugzilla-daemon
2022-03-06 12:34 ` bugzilla-daemon
2022-03-09 14:54 ` bugzilla-daemon
2022-03-13 17:46 ` bugzilla-daemon
2022-03-13 18:54 ` bugzilla-daemon
2022-03-21 17:07 ` bugzilla-daemon
2022-05-07  5:54 ` bugzilla-daemon
2022-05-07  6:28 ` bugzilla-daemon
2022-05-07  6:48 ` bugzilla-daemon
2022-05-08 19:23 ` bugzilla-daemon
2022-05-11  9:51 ` bugzilla-daemon
2022-05-27 11:22 ` bugzilla-daemon
2022-05-27 11:23 ` bugzilla-daemon
2022-05-30 12:39 ` bugzilla-daemon
2022-05-31 16:03 ` bugzilla-daemon
2022-05-31 18:34 ` bugzilla-daemon
2022-06-02 10:12 ` bugzilla-daemon
2022-09-09  4:08 ` bugzilla-daemon
2022-09-10  9:57 ` bugzilla-daemon
2022-10-07 21:41 ` bugzilla-daemon
2022-12-27  9:52 ` bugzilla-daemon [this message]
2022-12-27  9:53 ` bugzilla-daemon
2023-06-13 14:34 ` bugzilla-daemon
2023-07-01  5:10 ` bugzilla-daemon
2023-07-01  5:16 ` bugzilla-daemon
2023-07-11 13:14 ` bugzilla-daemon
2023-07-11 13:19 ` bugzilla-daemon
2023-09-07 17:31 ` bugzilla-daemon
2023-10-14 18:37 ` bugzilla-daemon
2023-10-15 12:09 ` bugzilla-daemon
2024-01-05 10:51 ` bugzilla-daemon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-205089-2300-Xk82bMyVkp@https.bugzilla.kernel.org/ \
    --to=bugzilla-daemon@kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.