From: Leo Li <sunpeng.li@amd.com>
To: Mikhail Gavrilov <mikhail.v.gavrilov@gmail.com>
Cc: Harry Wentland <harry.wentland@amd.com>,
zaeem.mohamed@amd.com, pekka.paalanen@collabora.com, "Wheeler,
Daniel" <daniel.wheeler@amd.com>,
"Deucher, Alexander" <alexander.deucher@amd.com>,
amd-gfx list <amd-gfx@lists.freedesktop.org>,
dri-devel <dri-devel@lists.freedesktop.org>,
Linux List Kernel Mailing <linux-kernel@vger.kernel.org>,
Linux regressions mailing list <regressions@lists.linux.dev>
Subject: Re: 6.11/regression/bisected - after commit 1b04dcca4fb1, launching some RenPy games causes computer hang
Date: Wed, 4 Sep 2024 19:06:26 -0400 [thread overview]
Message-ID: <f68020a3-c413-482d-beb2-5432d98a1d3e@amd.com> (raw)
In-Reply-To: <CABXGCsOoL5vD0+FRALFQFr3ZBpb2z5mpGKzAD5RHoW9_sb5yaQ@mail.gmail.com>
On 2024-09-04 18:21, Mikhail Gavrilov wrote:
> On Wed, Sep 4, 2024 at 4:15 AM Leo Li <sunpeng.li@amd.com> wrote:
>> Hi Mike,
>>
>> Super sorry for the ridiculous wait. Your first two emails slipped by my inbox,
>> which is really silly, given I'm first in the to field...
>>
>> Thanks for bisecting and finding a free game to reproduce it on. I did not have
>> luck reproducing this today, but I am on sway and not gnome. While I get gnome
>> set up, will you be able to test which one of these reverts fixes the hang for
>> you? Whether just 1/2 is enough, or both 1/2 and 2/2 is required?
>>
>> I applied them on top of Linus's v6.11-rc6 tag, so hopefully they'll git am
>> cleanly for you:
>>
>> 1/2:
>> https://gist.github.com/leeonadoh/69147b5fa8d815b39c5f4c3e005cca28#file-0001-revert-drm-amd-display-move-primary-plane-zpos-highe-patch
>> 2/2:
>> https://gist.github.com/leeonadoh/69147b5fa8d815b39c5f4c3e005cca28#file-0002-revert-drm-amd-display-introduce-overlay-cursor-mode-patch
>>
>
> The first patch is not enough.
> Yes, it fixes the system hang when I launch the game "Find the Orange Narwhal".
> But it does not fix the issue completely.
> Some RenPy games still can lead the system to hang.
> For example "Innocence Or Money Season 1"
> https://store.steampowered.com/app/1958390/Innocence_Or_Money_Season_1__Episodes_1_to_3/
> on the language selection screen.
>
> Unfortunately the kernel is not builded with both patches.
> I have got compilation error after applying second patch:
>
> CC [M] drivers/gpu/drm/nouveau/nvkm/engine/fifo/chid.o
> drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c: In
> function ‘amdgpu_dm_atomic_check’:
> drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:11003:69:
> error: unused variable ‘new_cursor_state’ [-Werror=unused-variable]
> 11003 | struct drm_plane_state *old_plane_state,
> *new_plane_state, *new_cursor_state;
Can you delete ", new_cursor_state" on that line and try again? Seems to be a
unused variable warning being elevated to an error.
Thanks,
Leo
> |
> ^~~~~~~~~~~~~~~~
> CC [M] drivers/gpu/drm/amd/amdgpu/../display/dc/basics/conversion.o
> ***
> CC [M] drivers/gpu/drm/nouveau/nvkm/engine/gr/tu102.o
> cc1: all warnings being treated as errors
> CC [M] drivers/gpu/drm/amd/amdgpu/../display/dc/dml/calcs/dcn_calc_auto.o
> CC [M] drivers/gpu/drm/nouveau/nvkm/engine/gr/ga102.o
> CC [M] drivers/gpu/drm/nouveau/nvkm/engine/gr/ad102.o
> CC [M] drivers/gpu/drm/nouveau/nvkm/engine/gr/r535.o
> CC [M] drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/clk_mgr.o
> CC [M] drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxnv40.o
> CC [M] drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dce60/dce60_clk_mgr.o
> make[6]: *** [scripts/Makefile.build:244:
> drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.o] Error 1
> make[6]: *** Waiting for unfinished jobs....
> CC [M] drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxnv50.o
> ***
> make[5]: *** [scripts/Makefile.build:485: drivers/gpu/drm/amd/amdgpu] Error 2
> make[4]: *** [scripts/Makefile.build:485: drivers/gpu/drm] Error 2
> make[3]: *** [scripts/Makefile.build:485: drivers/gpu] Error 2
> make[2]: *** [scripts/Makefile.build:485: drivers] Error 2
> make[1]: *** [/home/mikhail/packaging-work/git/linux-3/Makefile:1925: .] Error 2
> make: *** [Makefile:224: __sub-make] Error 2
>
next prev parent reply other threads:[~2024-09-04 23:06 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-05 18:05 6.11/regression/bisected - after commit 1b04dcca4fb1, launching some RenPy games causes computer hang Mikhail Gavrilov
2024-08-24 21:12 ` Mikhail Gavrilov
2024-09-03 6:35 ` Mikhail Gavrilov
2024-09-03 23:15 ` Leo Li
2024-09-04 22:21 ` Mikhail Gavrilov
2024-09-04 23:06 ` Leo Li [this message]
2024-09-05 6:06 ` Mikhail Gavrilov
2024-09-06 19:46 ` Leo Li
2024-09-08 23:30 ` Mikhail Gavrilov
2024-09-10 15:47 ` Leo Li
2024-09-10 21:11 ` Leo Li
2024-09-10 22:16 ` Mikhail Gavrilov
2024-09-09 8:49 ` Michel Dänzer
2025-01-26 16:46 ` [BUG,BISECTED] WARNING dcn20_find_secondary_pipe Chris Bainbridge
2025-01-27 9:44 ` Imre Deak
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=f68020a3-c413-482d-beb2-5432d98a1d3e@amd.com \
--to=sunpeng.li@amd.com \
--cc=alexander.deucher@amd.com \
--cc=amd-gfx@lists.freedesktop.org \
--cc=daniel.wheeler@amd.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=harry.wentland@amd.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mikhail.v.gavrilov@gmail.com \
--cc=pekka.paalanen@collabora.com \
--cc=regressions@lists.linux.dev \
--cc=zaeem.mohamed@amd.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox