All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 110140] Green bottom half of video frame when using JPEG acceleration (vcn_v1_0_jpeg_ring_emit_fence() WARNING)
Date: Sat, 16 Mar 2019 17:42:46 +0000	[thread overview]
Message-ID: <bug-110140-502@http.bugs.freedesktop.org/> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 5222 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=110140

            Bug ID: 110140
           Summary: Green bottom half of video frame when using JPEG
                    acceleration (vcn_v1_0_jpeg_ring_emit_fence() WARNING)
           Product: Mesa
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/Gallium/radeonsi
          Assignee: dri-devel@lists.freedesktop.org
          Reporter: zajec5@gmail.com
        QA Contact: dri-devel@lists.freedesktop.org

I use HP EliteBook 745 G5 with Ryzen 5 PRO 2500U.

When using Chromium and HTML5 based video chat:
https://meet.jit.si/amdtest
I see image from my webcam corrupted (bottom half is all green).

It only happens with Chromium's setting "Use hardware acceleration when
available" enabled which appears to involve some JPEG hardware acceleration.

With above web chat page opened I see about 10 kernel WARNINGs per second:

[  290.169611] WARNING: CPU: 0 PID: 374 at
drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c:1669
vcn_v1_0_jpeg_ring_emit_fence+0xc2f/0xc40 [amdgpu]
[  290.169615] Modules linked in: ccm(E) fuse(E) rfcomm(E) af_packet(E) bnep(E)
hid_logitech_hidpp(E) btusb(E) btrtl(E) btbcm(E) btintel(E) hid_logitech_dj(E)
hid_generic(E) bluetooth(E) cp210x(E) usbserial(E) ecdh_generic(E) usbhid(E)
uvcvideo(E) videobuf2_vmalloc(E) videobuf2_memops(E) videobuf2_v4l2(E)
videodev(E) videobuf2_common(E) nf_nat_tftp(E) nf_conntrack_tftp(E) xt_CT(E)
xt_tcpudp(E) ip6t_rpfilter(E) ip6t_REJECT(E) nf_reject_ipv6(E) ipt_REJECT(E)
nf_reject_ipv4(E) xt_conntrack(E) ebtable_nat(E) ip6table_nat(E) nf_nat_ipv6(E)
ip6table_mangle(E) ip6table_raw(E) ip6table_security(E) iptable_nat(E)
nf_nat_ipv4(E) nf_nat(E) iptable_mangle(E) iptable_raw(E) iptable_security(E)
nf_conntrack(E) nf_defrag_ipv6(E) nf_defrag_ipv4(E) libcrc32c(E) ip_set(E)
nfnetlink(E) ebtable_filter(E) ebtables(E) ip6table_filter(E) ip6_tables(E)
iptable_filter(E) ip_tables(E) x_tables(E) bpfilter(E)
snd_hda_codec_conexant(E) snd_hda_codec_generic(E) ledtrig_audio(E)
snd_hda_codec_hdmi(E) snd_hda_intel(E)
[  290.169671]  snd_hda_codec(E) snd_hda_core(E) snd_hwdep(E) snd_pcm(E)
snd_timer(E) snd(E) soundcore(E) arc4(E) edac_mce_amd(E) nls_iso8859_1(E)
nls_cp437(E) vfat(E) fat(E) msr(E) iwlmvm(E) crct10dif_pclmul(E)
crc32_pclmul(E) crc32c_intel(E) ghash_clmulni_intel(E) mac80211(E) iwlwifi(E)
aesni_intel(E) aes_x86_64(E) crypto_simd(E) realtek(E) cryptd(E) glue_helper(E)
hp_wmi(E) joydev(E) pcspkr(E) sparse_keymap(E) wmi_bmof(E) sp5100_tco(E)
cfg80211(E) k10temp(E) i2c_piix4(E) ipmi_devintf(E) r8169(E) rfkill(E)
ipmi_msghandler(E) libphy(E) ucsi_acpi(E) typec_ucsi(E) thermal(E) typec(E)
battery(E) hp_wireless(E) pinctrl_amd(E) ac(E) button(E) pcc_cpufreq(E)
acpi_cpufreq(E) amdgpu(E) i2c_algo_bit(E) gpu_sched(E) drm_kms_helper(E)
syscopyarea(E) sysfillrect(E) sysimgblt(E) fb_sys_fops(E) ttm(E) serio_raw(E)
xhci_pci(E) ehci_pci(E) xhci_hcd(E) drm(E) ehci_hcd(E) usbcore(E) wmi(E)
video(E) i2c_hid(E) l2tp_ppp(E) l2tp_netlink(E) l2tp_core(E) ip6_udp_tunnel(E)
udp_tunnel(E) pppox(E) ppp_generic(E)
[  290.169730]  slhc(E) sg(E) dm_multipath(E) dm_mod(E) scsi_dh_rdac(E)
scsi_dh_emc(E) scsi_dh_alua(E) efivarfs(E)
[  290.169745] CPU: 0 PID: 374 Comm: vcn_jpeg Tainted: G        W   E    
5.0.0-rc1+ #6
[  290.169747] Hardware name: HP HP EliteBook 745 G5/83D5, BIOS Q81 Ver.
01.03.01 07/26/2018
[  290.169822] RIP: 0010:vcn_v1_0_jpeg_ring_emit_fence+0xc2f/0xc40 [amdgpu]
[  290.169825] Code: c0 e8 15 74 db ff 48 8b 83 38 02 00 00 e9 ea f4 ff ff 48
c7 c7 20 0f 67 c0 e8 fd 73 db ff 48 8b 83 38 02 00 00 e9 6e f4 ff ff <0f> 0b e9
ee f3 ff ff 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00
[  290.169827] RSP: 0018:ffffab50022fbdc8 EFLAGS: 00010202
[  290.169830] RAX: ffffffffc04f6500 RBX: ffff8fba5655c5a8 RCX:
0000000000000001
[  290.169831] RDX: 00000000000007f9 RSI: 000000000076e040 RDI:
ffff8fba5655c5a8
[  290.169833] RBP: ffff8fba56550000 R08: ffffab5001c1d000 R09:
ffffab5001c1d000
[  290.169834] R10: ffffab5001c1d000 R11: ffffab5001c1d000 R12:
0000000000000000
[  290.169836] R13: 000000000076e040 R14: 00000000000007f9 R15:
ffff8fba5b43ea10
[  290.169839] FS:  0000000000000000(0000) GS:ffff8fba5fc00000(0000)
knlGS:0000000000000000
[  290.169840] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  290.169842] CR2: 00007f8cc86e0008 CR3: 00000003f9e76000 CR4:
00000000003406f0
[  290.169844] Call Trace:
[  290.169920]  amdgpu_ib_schedule+0x29d/0x560 [amdgpu]
[  290.169996]  amdgpu_job_run+0xfd/0x170 [amdgpu]
[  290.170004]  drm_sched_main+0xdf/0x250 [gpu_sched]
[  290.170014]  ? wait_woken+0x80/0x80
[  290.170019]  ? drm_sched_stop+0x130/0x130 [gpu_sched]
[  290.170023]  kthread+0x116/0x130
[  290.170027]  ? kthread_create_worker_on_cpu+0x40/0x40
[  290.170034]  ret_from_fork+0x27/0x50
[  290.170040] ---[ end trace ffe1a144a94cb37d ]---

This problem occurs with kernels:
4.20.12
5.0.0
5.0.0-rc1 from agd5f's amd-staging-drm-next (2019-03-16)

I use Mesa 18.3.4.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 6687 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

             reply	other threads:[~2019-03-16 17:42 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-16 17:42 bugzilla-daemon [this message]
2019-03-16 17:48 ` [Bug 110140] Green bottom half of video frame when using JPEG acceleration (vcn_v1_0_jpeg_ring_emit_fence() WARNING) bugzilla-daemon
2019-03-16 17:48 ` bugzilla-daemon
2019-03-16 23:20 ` bugzilla-daemon
2019-03-16 23:51 ` bugzilla-daemon
2019-03-17  2:24 ` bugzilla-daemon
2019-03-17  2:42 ` bugzilla-daemon
2019-03-17 22:16 ` bugzilla-daemon
2019-03-17 22:19 ` bugzilla-daemon
2019-03-18 13:12 ` bugzilla-daemon
2019-09-25 18:49 ` 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-110140-502@http.bugs.freedesktop.org/ \
    --to=bugzilla-daemon@freedesktop.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.