Bug 2221536

Summary: [abrt] nvkm_dp_acquire: WARNING: CPU: 0 PID: 49 at drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c:497 nvkm_dp_acquire+0x50d/0x750 [nouveau] [nouveau]
Product: [Fedora] Fedora Reporter: jonathan.f.griggs
Component: xorg-x11-drv-nouveauAssignee: Adam Jackson <ajax>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 38CC: airlied, ajax, bskeggs, jonathan.f.griggs, kernel-maint, lyude, orion
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/81e2c814dba725492f0619c51747224213716c0
Whiteboard: abrt_hash:914905fa01ffbfe65670e88b617e0172f07214bb;VARIANT_ID=workstation;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: dmesg none

Description jonathan.f.griggs 2023-07-10 00:40:14 UTC
Description of problem:
After installing kernel 6.3.11-200.fc38.x86_64 on my MacBook Air 2011 the display was disorted to where it was unusable.
Booting to the previous kernel 6.3.8-200.fc38.x86_64 the display worked as expected.

[root@fedora ~]$ lspci | grep VGA
02:00.0 VGA compatible controller: NVIDIA Corporation MCP89 [GeForce 320M] (rev a2)

[root@fedora ~]# lshw -C video
  *-display                 
       description: VGA compatible controller
       product: MCP89 [GeForce 320M]
       vendor: NVIDIA Corporation
       physical id: 0
       bus info: pci@0000:02:00.0
       logical name: /dev/fb0
       version: a2
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi vga_controller bus_master cap_list rom fb
       configuration: depth=32 driver=nouveau latency=0 resolution=1440,900
       resources: irq:26 memory:d2000000-d2ffffff memory:c0000000-cfffffff memory:d0000000-d1ffffff ioport:1000(size=128) memory:d3000000-d301ffff

Additional info:
reporter:       libreport-2.17.11
WARNING: CPU: 0 PID: 49 at drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c:497 nvkm_dp_acquire+0x50d/0x750 [nouveau]
Modules linked in: nouveau drm_ttm_helper ttm i2c_algo_bit mxm_wmi drm_display_helper cec uas video sha512_ssse3 wmi usb_storage hid_apple ip6_tables ip_tables fuse
CPU: 0 PID: 49 Comm: kworker/u4:3 Not tainted 6.3.11-200.fc38.x86_64 #1
Hardware name: Apple Inc. MacBookAir3,2/Mac-942C5DF58193131B, BIOS 110.0.0.0.0 06/13/2019
Workqueue: nvkm-disp nv50_disp_super [nouveau]
RIP: 0010:nvkm_dp_acquire+0x50d/0x750 [nouveau]
Code: 03 0f 85 0a 02 00 00 a8 04 0f 84 02 02 00 00 83 c2 01 39 fa 75 ca 41 8b 85 28 01 00 00 85 c0 0f 85 44 fc ff ff e9 df fb ff ff <0f> 0b c1 e8 03 45 88 66 62 44 89 fe 4c 89 ef 48 69 c0 cf 0d d6 26
RSP: 0018:ffffb614003cfd60 EFLAGS: 00010246
RAX: 0000000000041eb0 RBX: 000000000005161a RCX: 0000000000041eb0
RDX: ffffffffc04ce890 RSI: 0000000000000002 RDI: ffffb614003cfcf0
RBP: 00000000ffffffea R08: 0000000000000000 R09: 0000000000005a97
R10: 000000000000000b R11: ffffb614003cfde0 R12: 0000000000000001
R13: ffff959f47a4fa00 R14: ffff959f47a08b80 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff959f7be00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000557555289900 CR3: 0000000126022000 CR4: 00000000000406f0
Call Trace:
 <TASK>
 ? nvkm_dp_acquire+0x50d/0x750 [nouveau]
 ? __warn+0x81/0x130
 ? nvkm_dp_acquire+0x50d/0x750 [nouveau]
 ? report_bug+0x171/0x1a0
 ? handle_bug+0x3c/0x80
 ? exc_invalid_op+0x17/0x70
 ? asm_exc_invalid_op+0x1a/0x20
 ? __pfx_init_done+0x10/0x10 [nouveau]
 ? nvkm_dp_acquire+0x50d/0x750 [nouveau]
 nv50_disp_super_2_2+0x6d/0x430 [nouveau]
 nv50_disp_super+0x117/0x230 [nouveau]
 process_one_work+0x1c7/0x3d0
 worker_thread+0x51/0x390
 ? __pfx_worker_thread+0x10/0x10
 kthread+0xde/0x110
 ? __pfx_kthread+0x10/0x10
 ret_from_fork+0x2c/0x50
 </TASK>

Comment 1 jonathan.f.griggs 2023-07-10 00:40:20 UTC
Created attachment 1974911 [details]
File: dmesg

Comment 2 Orion Poplawski 2023-07-26 16:04:13 UTC
We are seeing the same traceback on F37 with the jump from dmesg-6.3.8-100.fc37.x86_64 to dmesg-6.4.4-100.fc37.x86_64

03:00.0 VGA compatible controller: NVIDIA Corporation G98 [Quadro NVS 295] (rev a1)

> ------------[ cut here ]------------
> WARNING: CPU: 9 PID: 137 at drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c:497 nvkm_dp_acquire+0x3c7/0x750 [nouveau]
> Modules linked in: hid_logitech_hidpp hid_logitech_dj nouveau(+) drm_ttm_helper ttm video i2c_algo_bit crct10dif_pclmul mptsas(+) crc32_pclmul crc32c_intel mxm_wmi polyval_generic scsi_transport_sas ghash_clmulni_intel sha512_ssse3 mptscsih firewire_ohci serio_raw drm_display_helper tg3 mptbase firewire_core crc_itu_t cec wmi fuse
> CPU: 9 PID: 137 Comm: kworker/u128:4 Not tainted 6.4.4-100.fc37.x86_64 #1
> Hardware name: Dell Inc. Precision WorkStation T7500  /06FW8P, BIOS A09 01/21/2011
> Workqueue: nvkm-disp nv50_disp_super [nouveau]
> RIP: 0010:nvkm_dp_acquire+0x3c7/0x750 [nouveau]
> Code: 3f 32 f9 ff 49 8b 45 08 85 ed 0f 88 c1 00 00 00 83 78 38 03 0f 87 c3 02 00 00 41 c7 85 28 01 00 00 01 00 00 00 e9 85 fd ff ff <0f> 0b c1 e8 03 45 88 66 62 44 89 fe 4c 89 ef 48 69 c0 cf 0d d6 26
> RSP: 0018:ffffb3738071bd60 EFLAGS: 00010246
> RAX: 0000000000041eb0 RBX: 0000000000087f4b RCX: 0000000000083d60
> RDX: ffffffffc07627b0 RSI: 0000000000000000 RDI: ffffb3738071bcf0
> RBP: 00000000ffffffea R08: 0000000000000009 R09: 000000000000caca
> R10: 00000000000000ff R11: 00000000000036b0 R12: 0000000000000002
> R13: ffff9c1e09ec3400 R14: ffff9c1e0f7f9000 R15: 0000000000000000
> FS:  0000000000000000(0000) GS:ffff9c2195040000(0000) knlGS:0000000000000000
> CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
> CR2: 000055bfdabbc000 CR3: 0000000385022003 CR4: 00000000000206e0
> Call Trace:
>  <TASK>
>  ? nvkm_dp_acquire+0x3c7/0x750 [nouveau]
>  ? __warn+0x81/0x130
>  ? nvkm_dp_acquire+0x3c7/0x750 [nouveau]
>  ? report_bug+0x171/0x1a0
>  ? handle_bug+0x41/0x70
>  ? exc_invalid_op+0x17/0x70
>  ? asm_exc_invalid_op+0x1a/0x20
>  ? __pfx_init_done+0x10/0x10 [nouveau]
>  ? nvkm_dp_acquire+0x3c7/0x750 [nouveau]
>  nv50_disp_super_2_2+0x6d/0x440 [nouveau]
>  nv50_disp_super+0x117/0x230 [nouveau]
>  process_one_work+0x1c8/0x3c0
>  worker_thread+0x51/0x390
>  ? __pfx_worker_thread+0x10/0x10
>  kthread+0xe8/0x120
>  ? __pfx_kthread+0x10/0x10
>  ret_from_fork+0x2c/0x50
>  </TASK>
> ---[ end trace 0000000000000000 ]---
> nouveau 0000:03:00.0: DRM: core notifier timeout
922a966,967
> nouveau 0000:03:00.0: DRM: core notifier timeout
> nouveau 0000:03:00.0: DRM: base-0: timeout

Comment 3 Orion Poplawski 2023-07-26 16:04:52 UTC
and an unusable display.