Skip to content

Problème gpu AMD RX 9060 XT non reconnu et stockage nvmie non reconnu #554

@Jeepyto

Description

@Jeepyto

Has this issue been covered in the Wiki?

  • I have read the Wiki and my issue is not covered.

Is there an existing issue reported already?

  • I have searched the existing issues, it does not exist.

What is the unexpected behavior?

Bonjour,

J'ai une AMD RX 9060 XT, j'utilise Gnome sur d'autre distribution et je n'avais jamais eu encore ce souci. Voici ce que ça m'affichais :

Image

J'ai appliqué un patch que j'ai fait puis reboot, je vous joint mon patch pour analyse de votre part.

# Fix Vitals - AMD GPU + Stockage sur Debian/GNOME 49+

# Dépendances
sudo apt install -y gir1.2-gtop-2.0

# Schéma GSettings
sudo cp ~/.local/share/gnome-shell/extensions/Vitals@CoreCoding.com/schemas/org.gnome.shell.extensions.vitals.gschema.xml /usr/share/glib-2.0/schemas/
sudo glib-compile-schemas /usr/share/glib-2.0/schemas/

# Patch sensors.js
python3 - << 'EOF'
import os
path = os.path.expanduser("~/.local/share/gnome-shell/extensions/Vitals@CoreCoding.com/sensors.js")
with open(path, 'r') as f:
    content = f.read()

patches = [
    # GPU: découverte sync + index correct
    (
        "this._gpu_drm_indices.push(i);\n                    this._gpu_drm_vendors.push(value);",
        "this._gpu_drm_indices.push(i + 1);\n                    this._gpu_drm_vendors.push(value);"
    ),
    # GPU: chemins sysfs corrigés
    ("'/sys/class/drm/card'+i+'/device/gpu_busy_percent'",
     "'/sys/class/drm/card'+(i-1)+'/device/gpu_busy_percent'"),
    ("'/sys/class/drm/card'+i+'/device/mem_info_vram_used'",
     "'/sys/class/drm/card'+(i-1)+'/device/mem_info_vram_used'"),
    ("'/sys/class/drm/card'+i+'/device/mem_info_vram_total'",
     "'/sys/class/drm/card'+(i-1)+'/device/mem_info_vram_total'"),
]

for old, new in patches:
    if old in content:
        content = content.replace(old, new)
        print("✓ Patch appliqué")
    else:
        print("✗ Déjà appliqué ou non trouvé")

with open(path, 'w') as f:
    f.write(content)
print("Terminé ! Redémarre ta session GNOME.")
EOF

echo "Déconnecte-toi et reconnecte-toi pour appliquer."

Steps to reproduce the unexpected behavior.

Installez Debien gnome, installer l'extension Vitals,

Relevant log output

What distribution and version of Linux are you using?

Debin 14 Forky

What version of Gnome are you using?

50

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions