deWutz
Anmeldungsdatum: 25. Mai 2022
Beiträge: 21
|
Hallo allerseits, ich habe auf meinem Dell G3 das Problem, dass Steam nicht startet, wenn ich bei nvidia settings den performance mode aktiviere. Im "on demand" Modus funktionert es und ich kann auch einige Spiele starten, die grafisch nicht sooo anspruchsvoll sind (Civ 5, zum Beispiel). Probleme habe ich bei linuxkompatiblen Spielen, die die dedizierte Grafikkarte erfordern würden (z.B. XCOM 1 & 2). Bis zum Starterdialog komme ich, danach crasht das Ganze. Dasselbe geschieht auch, wenn ich ein Spiel über Proton starten möchte. Treiber habe ich aktualisiert, habe auch einmal ein wenig mit Lutris herumprobiert, leider vergeblich. Ansonsten läuft ubuntu stabil. Parallel ist noch Windoof installiert, das ich bisher ausschließlich zum Spielen nutze. Allerdings fände ich es schön, es endlich los zu sein. Aber irgendwie drehe ich mich bei der Problemlösung im Kreis und komme nicht weiter. Hat einer von euch einen Tipp? uj@uj-G3-3590:~$ lspci -nnk | grep -A3 "\[03..\]:"
00:02.0 VGA compatible controller [0300]: Intel Corporation CoffeeLake-H GT2 [UHD Graphics 630] [8086:3e9b]
DeviceName: Onboard - Video
Subsystem: Dell CoffeeLake-H GT2 [UHD Graphics 630] [1028:0949]
Kernel driver in use: i915
--
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP107M [GeForce GTX 1050 3 GB Max-Q] [10de:1c91] (rev a1)
Subsystem: Dell GP107M [GeForce GTX 1050 3 GB Max-Q] [1028:0949]
Kernel driver in use: nvidia
Kernel modules: nvidiafb, nouveau, nvidia_drm, nvidia
|
haveaproblem
Anmeldungsdatum: 2. Januar 2015
Beiträge: 1141
|
Moin, dann probieren wir das ganze mal mit "on demand" zum laufen zu bringen. On demand (oder die "Technologie" Optimus, bzw. in diesem Fall "prime offload") funktioniert unter Linux leider nicht automatisch bei bedarf, hier darfst du die Karte durch einen Befehl manuell vor dem Start aufrufen und dann wird sie für das Programm benutzt. Der Befehl ist der folgende: __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia __VK_LAYER_NV_optimus=NVIDIA_only VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/nvidia_icd.json %command% Das dann einmal kopieren und bei Steam rechtsklick auf das Spiel → Eigenschaften und dann den Befehl bei den Startoptionen einfügen. Wenn du den Befehl ohne Steam nutzt ersetzt du das %command% am Ende durch den Programmnamen der aufgerufen wird, bei Lutris nimmst du den auch in die Startoptionen und lässt das komplett weg. Wenn das ganze nicht klappt bräuchten wir mal ein paar Logs. Schließe dazu Steam komplett und rufe dieses dann im Terminal mit
steam
auf, die Ausgabe die dann kommt bitte einmal hier im Forum mit Codeblock teilen. Ansonsten sind Spielspezifische Logs noch hilfreich. Bei Proton kannst du dafür PROTON_LOG=1 %command% in die Startoptionen reinschreiben und dann wird ein Log-file namens Steam-GAMEID.log in deinem Home Verzeichnis erstellt. Wenn du noch mehr Sachen in den Startoptionen hast kommt das am Ende vor dem %command%.
|
deWutz
(Themenstarter)
Anmeldungsdatum: 25. Mai 2022
Beiträge: 21
|
Dankeschön für die Hinweise!
Das mit den Startoptionen hat leider nicht funktioniert. Habe es mit XCOM getestet, da das ja unter Linux ja auch ohne Proton laufen sollte (was es bei meinem alten Dell auch problemlos tat). Wenn es für Dich ok ist, nehmen wir doch das als Versuchsobjekt.
Terminalausgabe zu Steam: steam.sh[21075]: Running Steam on ubuntu 22.04 64-bit
steam.sh[21075]: STEAM_RUNTIME is enabled automatically
setup.sh[21145]: Steam runtime environment up-to-date!
steam.sh[21075]: Steam client's requirements are satisfied
[2022-05-26 22:07:45] Startup - updater built May 21 2022 02:21:29
Installing breakpad exception handler for appid(steam)/version(1653101165)
[2022-05-26 22:07:45] Loading cached metrics from disk (/home/uj/.steam/debian-installation/package/steam_client_metrics.bin)
[2022-05-26 22:07:45] Using the following download hosts for Public, Realm steamglobal
[2022-05-26 22:07:45] 1. https://cdn.cloudflare.steamstatic.com, /client/, Realm 'steamglobal', weight was 100, source = 'update_hosts_cached.vdf'
[2022-05-26 22:07:45] 2. https://cdn.akamai.steamstatic.com, /client/, Realm 'steamglobal', weight was 100, source = 'update_hosts_cached.vdf'
[2022-05-26 22:07:45] 3. http://media.steampowered.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in'
Installing breakpad exception handler for appid(steam)/version(1653101165)
[2022-05-26 22:07:45] Installation wird überprüft …
[2022-05-26 22:07:45] Verification complete
Loaded SDL version 2.0.22-7215337
Gtk-Message: 22:07:46.040: Failed to load module "gail"
Gtk-Message: 22:07:46.040: Failed to load module "atk-bridge"
(steam:21215): Gtk-WARNING **: 22:07:46.046: Unable to locate theme engine in module_path: "adwaita",
/usr/share/themes/Yaru-dark/gtk-2.0/main.rc:775: error: unexpected identifier 'direction', expected character '}'
(steam:21215): Gtk-WARNING **: 22:07:46.049: Unable to locate theme engine in module_path: "adwaita",
/usr/share/themes/Yaru-dark/gtk-2.0/hacks.rc:28: error: invalid string constant "normal_entry", expected valid string constant
ComputeStartupMode: found registry default startup mode: 0steamwebhelper.sh[21238]: Runtime for steamwebhelper: defaulting to /home/uj/.steam/debian-installation/ubuntu12_64/steam-runtime-heavy
steamwebhelper.sh[21238]: glibc >= 2.34, partially disabling sandbox until CEF supports clone3()
Installing breakpad exception handler for appid(steam)/version(1653101165)
Could not connect to X session manager: None of the authentication protocols specified are supported
Installing breakpad exception handler for appid(steam)/version(1653101165)
Installing breakpad exception handler for appid(steam)/version(1653101165)
Installing breakpad exception handler for appid(steam)/version(1653101165)
CAppInfoCacheReadFromDiskThread took 106 milliseconds to initialize
Installing breakpad exception handler for appid(steam)/version(1653101165)
Installing breakpad exception handler for appid(steam)/version(1653101165)
Installing breakpad exception handler for appid(steam)/version(1653101165)
Installing breakpad exception handler for appid(steam)/version(1653101165)
Installing breakpad exception handler for appid(steam)/version(1653101165)
Installing breakpad exception handler for appid(steam)/version(1653101165)
Installing breakpad exception handler for appid(steam)/version(1653101165)
Installing breakpad exception handler for appid(steam)/version(1653101165)
Installing breakpad exception handler for appid(steam)/version(1653101165)
Installing breakpad exception handler for appid(steam)/version(1653101165)
Installing breakpad exception handler for appid(steam)/version(1653101165)
Installing breakpad exception handler for appid(steam)/version(1653101165)
Installing breakpad exception handler for appid(steam)/version(1653101165)
Installing breakpad exception handler for appid(steam)/version(1653101165)
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Installing breakpad exception handler for appid(steam)/version(1653101165)
(steam:21215): Gtk-WARNING **: 22:07:47.410: gtk_disable_setlocale() must be called before gtk_init()
local (potentially out of sync) copy of roaming config loaded - 393 bytes.
Installing breakpad exception handler for appid(steam)/version(1653101165)
Installing breakpad exception handler for appid(steam)/version(1653101165)
MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0
MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0
roaming config store loaded successfully - 393 bytes.
migrating temporary roaming config store
BRefreshApplicationsInLibrary 1: 22ms
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Installing breakpad exception handler for appid(steam)/version(1653101165)
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Failed to init SteamVR because it isn't installed
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
ExecCommandLine: "'/home/uj/.steam/debian-installation/ubuntu12_32/steam' '-nominidumps' '-nobreakpad'"
System startup time: 4.48 seconds
Could not connect to X session manager: None of the authentication protocols specified are supported
(steam:21215): LIBDBUSMENU-GLIB-WARNING **: 22:07:50.482: Trying to remove a child that doesn't believe we're it's parent.
(steam:21215): LIBDBUSMENU-GLIB-WARNING **: 22:07:50.483: Trying to remove a child that doesn't believe we're it's parent.
(steam:21215): LIBDBUSMENU-GLIB-WARNING **: 22:07:50.483: Trying to remove a child that doesn't believe we're it's parent.
(steam:21215): LIBDBUSMENU-GLIB-WARNING **: 22:07:50.483: Trying to remove a child that doesn't believe we're it's parent.
(steam:21215): LIBDBUSMENU-GLIB-WARNING **: 22:07:50.483: Trying to remove a child that doesn't believe we're it's parent.
(steam:21215): LIBDBUSMENU-GLIB-WARNING **: 22:07:50.483: Trying to remove a child that doesn't believe we're it's parent.
(steam:21215): LIBDBUSMENU-GLIB-WARNING **: 22:07:50.483: Trying to remove a child that doesn't believe we're it's parent.
(steam:21215): LIBDBUSMENU-GLIB-WARNING **: 22:07:50.483: Trying to remove a child that doesn't believe we're it's parent.
(steam:21215): LIBDBUSMENU-GLIB-WARNING **: 22:07:50.484: Trying to remove a child that doesn't believe we're it's parent.
(steam:21215): LIBDBUSMENU-GLIB-WARNING **: 22:07:50.484: Trying to remove a child that doesn't believe we're it's parent.
(steam:21215): LIBDBUSMENU-GLIB-WARNING **: 22:07:50.484: Trying to remove a child that doesn't believe we're it's parent.
(steam:21215): LIBDBUSMENU-GLIB-WARNING **: 22:07:50.484: Trying to remove a child that doesn't believe we're it's parent.
(steam:21215): LIBDBUSMENU-GLIB-WARNING **: 22:07:50.484: Trying to remove a child that doesn't believe we're it's parent.
(steam:21215): LIBDBUSMENU-GLIB-WARNING **: 22:07:50.484: Trying to remove a child that doesn't believe we're it's parent.
(steam:21215): LIBDBUSMENU-GLIB-WARNING **: 22:07:50.485: Trying to remove a child that doesn't believe we're it's parent.
BuildCompleteAppOverviewChange: 272
RegisterForAppOverview 1: 56ms
RegisterForAppOverview 2: 56ms
Installing breakpad exception handler for appid(steam)/version(1653101165)
Installing breakpad exception handler for appid(steam)/version(1653101165)
Installing breakpad exception handler for appid(steam)/version(1653101165)
|
haveaproblem
Anmeldungsdatum: 2. Januar 2015
Beiträge: 1141
|
Welche Version des nvidia Treibers ist denn bei dir installiert? Edit: Ansonsten noch ein möglicher Workaround, von Wayland auf Xserver wechseln. Dazu bei der Anmeldung unten rechts auf das Zahnrad klicken und Ubuntu in Xorg auswählen.
|
deWutz
(Themenstarter)
Anmeldungsdatum: 25. Mai 2022
Beiträge: 21
|
Zum Treiber: lspci -nnk | grep -A3 "\[03..\]:"
00:02.0 VGA compatible controller [0300]: Intel Corporation CoffeeLake-H GT2 [UHD Graphics 630] [8086:3e9b]
DeviceName: Onboard - Video
Subsystem: Dell CoffeeLake-H GT2 [UHD Graphics 630] [1028:0949]
Kernel driver in use: i915
--
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP107M [GeForce GTX 1050 3 GB Max-Q] [10de:1c91] (rev a1)
Subsystem: Dell GP107M [GeForce GTX 1050 3 GB Max-Q] [1028:0949]
Kernel driver in use: nvidia
Kernel modules: nvidiafb, nouveau, nvidia_drm, nvidia
Xorg versuche ich heute Abend einmal.
|
haveaproblem
Anmeldungsdatum: 2. Januar 2015
Beiträge: 1141
|
Jo, habe die Ausgabe auch schon gesehen, da steht welche GPU du benutzt und das der nvidia Treiber installiert ist, da fehlt noch die Version des Treibers. Dafür die Ausgabe von nvidia --version
glaube ich. Oder halt Mal in den nvidia Einstellungen gucken was da steht.
|
deWutz
(Themenstarter)
Anmeldungsdatum: 25. Mai 2022
Beiträge: 21
|
- Bilder
|
trollsportverein
Anmeldungsdatum: 21. Oktober 2010
Beiträge: 3342
|
Fehlt Dir die libxnvctrl0?
dpkg -l | grep -i libxnvctrl0
Die sollte es eigentlich auch in der GUI der nvidia-settings anzeigen.
|
deWutz
(Themenstarter)
Anmeldungsdatum: 25. Mai 2022
Beiträge: 21
|
Hi! Habs mal ins Terminal eingegeben: dpkg -l | grep -i libxnvctrl0
ii libxnvctrl0:amd64 510.47.03-0ubuntu1 amd64 NV-CONTROL X extension (runtime library)
|
deWutz
(Themenstarter)
Anmeldungsdatum: 25. Mai 2022
Beiträge: 21
|
haveaproblem schrieb: Welche Version des nvidia Treibers ist denn bei dir installiert? Edit: Ansonsten noch ein möglicher Workaround, von Wayland auf Xserver wechseln. Dazu bei der Anmeldung unten rechts auf das Zahnrad klicken und Ubuntu in Xorg auswählen.
Hat leider auch nicht geklappt. Spiel wird bis zum Startdialog ausgeführt, dann CTD, wie gehabt. Habe es mit den von Dir genannten Startoptionen versucht und auch ohne. Leider kein Erfolg...
|
haveaproblem
Anmeldungsdatum: 2. Januar 2015
Beiträge: 1141
|
Hmmmm, gab es dann bei Steam unter Xorg einen anderen Log oder war der gleich? Generell beim Ausprobieren nach möglichkeit alles mitloggen, vielleicht kommt da ja mal ein anderer Fehler. Naja wir testen dann erstmal Grundlegende Vulkan und OpenGL funktionalität ohne Steam, funktionieren die beiden Befehle:
__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia __VK_LAYER_NV_optimus=NVIDIA_only VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/nvidia_icd.json vkcube
und
__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia __VK_LAYER_NV_optimus=NVIDIA_only vblank_mode=0 glxgears ? Den zweiten (glxgears) Befehl gerne noch ein bisschen laufen lassen und die FPS Zahl merken die rauskommt und dann mit
vblank_mode=0 glxgears vergleichen. Damit kannst du dann die nvidia Karte mit der Intel Vergleichen. Das ganze ist natürlich KEIN zu 100% akkurater Benchmark sollte aber aufschluss geben ob OpenGL vernünftig funktioniert und wenn bei nvidia und intel eine ähnliche Zahl steht, dann läuft zumindest eine der beiden "GPUs" nicht so wie sie soll. Terminal Befehle beendest du mit Strg+c. Bei vkcube sollte ein drehender Würfel kommen und bei glxgears drehende Zahnräder. Bitte terminal Output hier posten, wenn einer der beiden nicht funktionieren sollte. Die FPS Zahl von glxgears kannst du hier auch Posten dann können wir das sonst einordnen.
|
trollsportverein
Anmeldungsdatum: 21. Oktober 2010
Beiträge: 3342
|
Mich wundert an dem Screenshot, dass nicht nur die NV-CONTROL Version als "Unknown" in den nvidia-settings angezeigt wird, obwohl libxnvctrl0 installiert ist. Auch dass es zum verwendeten Kernel nur "Linux-Unknown" auspuckt wundert mich, bei mir gibt es "Linux-x86_64", also die Architektur an. Im Wiki ist zu sehen, wie es aussehen müsste, auch wenn der Screenshot schon älter ist:
Folgendes entfernt zunächst alles an Paketen mit nvidia im Namen und reinstalliert dann mittels nvidia-driver-510 Metapaket und DKMS neu, baut dann auch in alle vorhandenen initrd.img's das Nvidia Kernelmodul noch ein und updatet GRUB, anschließend macht es eine kleine Pause von einer Minute, um dem System Zeit zu geben auf den Massenspeicher zurück zuschreiben und löst dann einen reboot aus:
sudo apt-get purge \*nvidia\* && sudo apt-get install nvidia-driver-510 && sleep 10 && ls /usr/src/linux-headers-* -d | sed -e '\''s/.*linux-headers-//'\'' | sort -V | tac | xargs -n1 sudo /usr/lib/dkms/dkms_autoinstaller start && sleep 10 && sudo update-initramfs -c -k all && sleep 10 && sudo update-grub && sleep 60 && systemctl reboot Eine andere Möglichkeit wäre bei Hybrid-Grafik, dass dem NVIDIA Persistence Daemon der User vorgestellt werden möchte.
|
deWutz
(Themenstarter)
Anmeldungsdatum: 25. Mai 2022
Beiträge: 21
|
Sorry für die späte Antwort, aber ich hatte die Tage so viel um die Ohren, dass ich nicht dazu kam, eure Tipps auszuprobieren. Wird hiermit nachgeholt 😉 @haveaproblem
Beim ersten Befehl, den Du genannt hast, kam erst einmal die Aufforderung, vulkan-tools zu installieren. Hab ich gemacht und dann Folgendes erhalten:
$ __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia __VK_LAYER_NV_optimus=NVIDIA_only VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/nvidia_icd.json vkcube
vkEnumerateInstanceExtensionProperties failed to find the VK_KHR_surface extension.
Do you have a compatible Vulkan installable client driver (ICD) installed?
Please look at the Getting Started guide for additional information.
glxgears spuckt Folgendes aus:
für NVIDIA: ca. 60.000 FPS
vblank: zwischen 5300.000 und 7050.000 FPS Ist es für Dich in Ordnung, wenn ich trollsportvereins purge-Befehl ausprobiere? Oder würde das Deinem Lösungsansatz zuwiderlaufen?
|
haveaproblem
Anmeldungsdatum: 2. Januar 2015
Beiträge: 1141
|
Jo kannst den glaube ich ruhig ausführen. Installiert nur die Treiber einmal sauber neu. Zeige mal bitte die Ausgabe von
ls /usr/share/vulkan/icd.d/ . Entweder ich habe den falschen nvidia icd loader Namen im Kopf oder der fehlt hier 😉 Aber super das zumindest OpenGL läuft.
|
trollsportverein
Anmeldungsdatum: 21. Oktober 2010
Beiträge: 3342
|
haveaproblem schrieb: Jo kannst den glaube ich ruhig ausführen. Installiert nur die Treiber einmal sauber neu. Zeige mal bitte die Ausgabe von
ls /usr/share/vulkan/icd.d/ . Entweder ich habe den falschen nvidia icd loader Namen im Kopf oder der fehlt hier 😉
Das ist der richtige icd loader für den nvidia-driver, bei mir läuft vkcube genau damit ohne jede Fehlermeldung oder Warnung. Zum späteren Vergleich:
__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia __VK_LAYER_NV_optimus=NVIDIA_only VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/nvidia_icd.json vkcube
Selected GPU 0: NVIDIA GeForce GTX 970, type: DiscreteGpu So sieht es auf dem System hier mit funktionierendem nvidia-driver aus:
ls -1 /usr/share/vulkan/icd.d/
intel_icd.i686.json
intel_icd.x86_64.json
lvp_icd.i686.json
lvp_icd.x86_64.json
nvidia_icd.json
nvidia_layers.json
radeon_icd.i686.json
radeon_icd.x86_64.json Die Datei nvidia_icd.json wird hier vom Paket libnvidia-gl-515 mitgebracht, bzw. beim 510er wäre es dann mit der entsprechenden Versionsnummer 510.
|