From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx3.molgen.mpg.de (mx3.molgen.mpg.de [141.14.17.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3F9782F2A; Sat, 5 Apr 2025 06:32:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=141.14.17.11 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743834760; cv=none; b=PU9bxjgtgd5qpRFz5xioqpJZyJ4FkFWU+30jaQ3LZ4cs/d88k1rPLUlRqAJ0plewig7ALEpkLDxVk+7ygpmddIfpmlAeKGe1Kp9MwFJIQcMDqtaAUFMI9ECH0/H/tWdn1mRJ7sbMLjyYNeA2+IPn5++qqd0mPdKAVn1BDjHNfms= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743834760; c=relaxed/simple; bh=/UX/+gU5gcBfofYLfDSyYlk6u8EMDywu98SbUhaKyUg=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=dbjO5Jd9LFI6WV4T0UHwiMsr/ucm8Km4kyA5zPS7ytKIMXUo4nz1jMTjzRa9yUHOfYpTAEiXDbIE6lNiVyl5WO0v4y82zvEeXSHq7hKnp7iogwgirIhBLjdpXJTvLvkIoFQGwQwzB1Ds2PWUuWPBAIWiDjNyqwkkgHz5tfy3h0Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=molgen.mpg.de; spf=pass smtp.mailfrom=molgen.mpg.de; arc=none smtp.client-ip=141.14.17.11 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=molgen.mpg.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=molgen.mpg.de Received: from [192.168.0.2] (ip5f5af06b.dynamic.kabel-deutschland.de [95.90.240.107]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: pmenzel) by mx.molgen.mpg.de (Postfix) with ESMTPSA id CB5C061E6479B; Sat, 05 Apr 2025 08:32:13 +0200 (CEST) Message-ID: <16e0466d-1f16-4e9a-9799-4c01bd2bb005@molgen.mpg.de> Date: Sat, 5 Apr 2025 08:32:13 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [REGRESSION] Chrome and VSCode breakage with the commit b9b588f22a0c To: Chuck Lever , Takashi Iwai Cc: linux-fsdevel@vger.kernel.org, stable@vger.kernel.org, regressions@lists.linux.dev, linux-kernel@vger.kernel.org, Christian Brauner References: <874j0lvy89.wl-tiwai@suse.de> <87wmc83uaf.wl-tiwai@suse.de> <445aeb83-5d84-4b4b-8d87-e7f17c97e6bf@oracle.com> Content-Language: en-US From: Paul Menzel In-Reply-To: <445aeb83-5d84-4b4b-8d87-e7f17c97e6bf@oracle.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Dear Chuck, dear Takashi, dear Christian, I just came across this issue. Am 29.03.25 um 15:57 schrieb Chuck Lever: > On 3/29/25 8:17 AM, Takashi Iwai wrote: >> On Sun, 23 Feb 2025 09:53:10 +0100, Takashi Iwai wrote: >>> we received a bug report showing the regression on 6.13.1 kernel >>> against 6.13.0. The symptom is that Chrome and VSCode stopped working >>> with Gnome Scaling, as reported on openSUSE Tumbleweed bug tracker >>> https://bugzilla.suse.com/show_bug.cgi?id=1236943 >>> >>> Quoting from there: >>> """ >>> I use the latest TW on Gnome with a 4K display and 150% >>> scaling. Everything has been working fine, but recently both Chrome >>> and VSCode (installed from official non-openSUSE channels) stopped >>> working with Scaling. >>> .... >>> I am using VSCode with: >>> `--enable-features=UseOzonePlatform --enable-features=WaylandWindowDecorations --ozone-platform-hint=auto` and for Chrome, I select `Preferred Ozone platform` == `Wayland`. >>> """ >>> >>> Surprisingly, the bisection pointed to the backport of the commit >>> b9b588f22a0c049a14885399e27625635ae6ef91 ("libfs: Use d_children list >>> to iterate simple_offset directories"). >>> >>> Indeed, the revert of this patch on the latest 6.13.4 was confirmed to >>> fix the issue. Also, the reporter verified that the latest 6.14-rc >>> release is still affected, too. >>> >>> For now I have no concrete idea how the patch could break the behavior >>> of a graphical application like the above. Let us know if you need >>> something for debugging. (Or at easiest, join to the bugzilla entry >>> and ask there; or open another bug report at whatever you like.) >>> >>> BTW, I'll be traveling tomorrow, so my reply will be delayed. >>> #regzbot introduced: b9b588f22a0c049a14885399e27625635ae6ef91 >>> #regzbot monitor: https://bugzilla.suse.com/show_bug.cgi?id=1236943 >> >> After all, this seems to be a bug in Chrome and its variant, which was >> surfaced by the kernel commit above: as the commit changes the >> directory enumeration, it also changed the list order returned from >> libdrm drmGetDevices2(), and it screwed up the application that worked >> casually beforehand. That said, the bug itself has been already >> present. The Chrome upstream tracker: >> https://issuetracker.google.com/issues/396434686 >> >> #regzbot invalid: problem has always existed on Chrome and related code > Thank you very much for your report and for chasing this to conclusion. Doesn’t marking this an invalid contradict Linux’ no regression policy to never break user space, so users can always update the Linux kernel? Shouldn’t this commit still be reverted, and another way be found keeping the old ordering? Greg, Sasha, in stable/linux-6.13.y the two commits below would need to be reverted: 180c7e44a18bbd7db89dfd7e7b58d920c44db0ca d9da7a68a24518e93686d7ae48937187a80944ea For stable/linux-6.12.y: 176d0333aae43bd0b6d116b1ff4b91e9a15f88ef 639b40424d17d9eb1d826d047ab871fe37897e76 Kind regards, Paul