From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from layka.disroot.org (layka.disroot.org [178.21.23.139]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F02BC233D91 for ; Fri, 13 Jun 2025 19:39:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=178.21.23.139 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1749843546; cv=none; b=tRmXw4Yx4w95OLSjOi56EBlg4HuLwZzJU79bkt/uTY1M2UyCoc1BLqFFsqv1nQ0htKdPyKv67bhXcIw9XF08r+zhUYOd2Dvzqjb54NfyZjmVnSgzbbEs5oHMDAB9gi+NyuLwo9I7xdlPsCQ7DlSoFMlL/S6kem64gx1xVcz+2r4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1749843546; c=relaxed/simple; bh=MUCqIXsb+S7YzPUyq8mPW9FKr4yImMHcuHQrdIsfJLs=; h=MIME-Version:Date:From:To:Cc:Subject:In-Reply-To:References: Message-ID:Content-Type; b=lYZWa/sCTa3yrnbmtm63oY3Pz91myxnfkkVDmZ8CRqZAyXvQNGiQzuxaqiB+9zWwKfZMzRwal+RQYuDIeIyhRJSLpnM1G/OiZKVSM67zABWSieNgFsVQbLRue524xonVidwe28vQIALJQmcDO06S/Vvkqor/otsB1fjtiuf7Y1I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=disroot.org; spf=pass smtp.mailfrom=disroot.org; dkim=pass (2048-bit key) header.d=disroot.org header.i=@disroot.org header.b=Gi+1hXDu; arc=none smtp.client-ip=178.21.23.139 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=disroot.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=disroot.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=disroot.org header.i=@disroot.org header.b="Gi+1hXDu" Received: from mail01.disroot.lan (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id BE53B25BCA; Fri, 13 Jun 2025 21:38:55 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id x2gpMstsPlUK; Fri, 13 Jun 2025 21:38:54 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1749843534; bh=MUCqIXsb+S7YzPUyq8mPW9FKr4yImMHcuHQrdIsfJLs=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=Gi+1hXDujWKWlqYD+hLGFxKAclpjLx4cgJC4JN4ikTAjp2wvSNAiQR0XZkLZZpGty etguyCQXQhSbz24Plh+FqdBGNx7uDi7t2gACol9GZuOd8smvXuvX6PDgn8pbk/0rO5 +kcKS0USLbkhYzzZuyXjwRRZPKCv25kUW0uDy8h7VVUFG5jmboaciWYudP2x0vLoZO gjx3TyLjhV2TcSJCZArdk91TNpbtf2EUXDgZ1kR6BMPyA+8piXKFKsIxOn00NXkbM+ kkCCU89+GlUVlWwY8rCdEqPUj0NCyLDdI/9LQFwVrIXZA9iuXQvk2zg8L0BHJJ/9rE aB3/UZGeLe4sg== Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Date: Fri, 13 Jun 2025 21:38:54 +0200 From: machion@disroot.org To: Alex Deucher Cc: stable@vger.kernel.org, regressions@lists.linux.dev, amd-gfx@lists.freedesktop.org, alexander.deucher@amd.com, christian.koenig@amd.com Subject: Re: Unplayable framerates in game but specific kernel versions work, maybe amdgpu problem In-Reply-To: References: Message-ID: <69b5ebaa719355994a383fa026dc3fba@disroot.org> X-Sender: machion@disroot.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Hi, sorry for the delay. Besides less time, I had to make myself familiar with bisecting and again kernel compiling. Last time I compiled the kernel myself was around 2010 I think. Anyway it seems I found the bad commit. The result after bisecting 10 commits is: a53d959fe660341788cb8dbc3ac3330d90a09ecf is the first bad commit commit a53d959fe660341788cb8dbc3ac3330d90a09ecf Author: Christian König Date: Thu Mar 20 14:46:18 2025 +0100 drm/amdgpu: immediately use GTT for new allocations commit a755906fb2b8370c43e91ba437ae1b3e228e8b02 upstream. Only use GTT as a fallback if we already have a backing store. This prevents evictions when an application constantly allocates and frees new memory. Partially fixes https://gitlab.freedesktop.org/drm/amd/-/issues/3844#note_2833985. Signed-off-by: Christian König Fixes: 216c1282dde3 ("drm/amdgpu: use GTT only as fallback for VRAM|GTT") Acked-by: Alex Deucher Signed-off-by: Alex Deucher Cc: stable@vger.kernel.org Signed-off-by: Greg Kroah-Hartman drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Marion Am 2025-05-08 15:18, schrieb Alex Deucher: > On Thu, May 8, 2025 at 9:13 AM wrote: >> >> Hello kernel/driver developers, >> >> I hope, with my information it's possible to find a bug/problem in the >> kernel. Otherwise I am sorry, that I disturbed you. >> I only use LTS kernels, but I can narrow it down to a hand full of >> them, >> where it works. >> >> The PC: Manjaro Stable/Cinnamon/X11/AMD Ryzen 5 2600/Radeon HD >> 7790/8GB >> RAM >> I already asked the Manjaro community, but with no luck. >> >> The game: Hellpoint (GOG Linux latest version, Unity3D-Engine v2021), >> uses vulkan >> >> --- >> >> I came a long road of kernels. I had many versions of 5.4, 5.10, 5.15, >> 6.1 and 6.6 and and the game was always unplayable, because the frames >> where around 1fps (performance of PC is not the problem). >> I asked the mesa and cinnamon team for help in the past, but also with >> no luck. >> It never worked, till on 2025-03-29 when I installed 6.12.19 for the >> first time and it worked! >> >> But it only worked with 6.12.19, 6.12.20 and 6.12.21 >> When I updated to 6.12.25, it was back to unplayable. > > Can you bisect to see what fixed it in 6.12.19 or what broke it in > 6.12.25? For example if it was working in 6.12.21 and not working in > 6.12.25, you can bisect between 6.12.21 and .25. > > Alex > >> >> For testing I installed 6.14.4 with the same result. It doesn't work. >> >> I also compared file /proc/config.gz of both kernels (6.12.21 <> >> 6.14.4), but can't seem to see drastic changes to the graphical part. >> >> I presume it has something to do with amdgpu. >> >> If you need more information, I would be happy to help. >> >> Kind regards, >> Marion