From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id EE40D15808B for ; Sat, 17 Feb 2024 19:34:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 18FC8E2AD3; Sat, 17 Feb 2024 19:34:39 +0000 (UTC) Received: from vimdzpsp-hrel03.bluewin.ch (vimdzpsp-hrel03.bluewin.ch [195.186.122.114]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8F644E2AC7 for ; Sat, 17 Feb 2024 19:34:38 +0000 (UTC) Received: from [10.5.0.2] ([94.101.114.6]) by vimdzpsp-hrel03.bluewin.ch Swisscom AG with ESMTPSA id bQSLr64l2RssnbQSLr8Xjx; Sat, 17 Feb 2024 20:34:37 +0100 X-Bluewin-AuthAs: psopka@sopka.ch X-Bluewin-Spam-Analysis: v=2.4 cv=MYDPuI/f c=1 sm=1 tr=0 ts=65d10a4d a=aV15jpsuVayC3CzthQK5eg==:117 a=aV15jpsuVayC3CzthQK5eg==:17 a=IkcTkHD0fZMA:10 a=4vPmexHPIVM3vllw6EEA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 X-Bluewin-Spam-Score: 0.00 Message-ID: <07dc217e-1c43-4ff9-8eaa-41e80efbfb72@sopka.ch> Date: Sat, 17 Feb 2024 20:34:37 +0100 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: gentoo-user@lists.gentoo.org Content-Language: de-DE, en-US From: Paul Sopka Subject: [gentoo-user] Issues with amdgpu driver: Compositor hangs, sysfs not working Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4xfEv71xIIaWM4o9AaOtE8TPBw15OWO6g94emu4w1PPuVdNVOLQrL0zbWqLNapbX/1rioiYlbzwGf1Y/K0MBpGZmPcZBMxJZRWjKeBA/uwmG+DLCipkc0b wvRYQZ1ScsYgedCBx3gHT9DasR2N97xZM4cnezQcu5AbfIU+wg+CK3Pv0y9L2w41WXLnGScdrEvNlw== X-Archives-Salt: 4af018cf-caad-4cf3-92a2-69d9fefbe3b2 X-Archives-Hash: 694e77303605c4ea83d46249e5ec0aa2 Hello everybody, I installed an AMD Radeon RX 7900 XTX today, switching from Nvidia. But once I enable FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y to have a tty once the driver is up, the following happens: 1) My Wayland compositor (Hyprland) takes very long to start. 2) reading from sysfs (e.g. running "cat /sys/class/drm/card0/device/gpu_busy_percent") does not work and causes a hang. Once I disable FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=n, I have no issues with the starting speed of the compositors at all and the mentioned command works. But this leads to a black tty. The only two error messages from amdgpu I find in dmesg are: [   66.757500] amdgpu 0000:03:00.0: amdgpu: SMU: I'm not done with your previous command: SMN_C2PMSG_66:0x00000029 SMN_C2PMSG_82:0x00000000 [   66.757502] amdgpu 0000:03:00.0: amdgpu: Failed to disable gfxoff! and [  870.087856] amdgpu 0000:03:00.0: amdgpu: SMU: I'm not done with your previous command: SMN_C2PMSG_66:0x00000029 SMN_C2PMSG_82:0x00000000 [  870.087858] amdgpu 0000:03:00.0: amdgpu: Failed to export SMU metrics table! Did I forget anything or is this a bug?