Nvidia 560.35.03 + optimus-manager-git hybrid mode: game freeze

Hello.
For information, I’m playing idle champions of the forgotten realms via Steam, and Dark age of Camelot via Lutris.

My games freeze since the update of lib32-nvidia-utils 560.35.03-1, nvidia-utils 560.35.03-2 and nvidia-dkms 560.35.03-2

I’m was using optimus-manager but find out i have to use optimus-manager-git now. So i did the update but nothing change.

While trying things, it seems that it’s the hybrid mode of optimus-manager that “is” the probleme. Is using nvidia mode, all works.

If I use the old version of ib32-nvidia-utils, nvidia-utils and nvidia-dkms everything works fine in hybrid mode.

I tried looking in journalctl, i tried launching games in terminal but neither show any error of any kind.

i think you will need my system info, so here is the link : https://0x0.st/XvZ1.txt

Thanks for your help.

PS : i hope i made myself clear since english is not my first language.

The recommend and official way one should switch between their dedicated Nvidia GPU and iGPU is through PRIME. Here’s the Arch wiki entry for it.

The basics are basically this:

  1. install nvidia-prime
  2. use prime-run to launch apps using the dedicated GPU from the terminal. For games, on Steam, use prime-run %command% in the launch options.

Hello,

Thanks for your reply. I will give it a try a come back to update my issue :slight_smile:
Thanks again :slight_smile:

Hello again,
So… didn’t work unfortunatly.
I just try steam game, but it still crash.

I look at the wiki entry you shared, and i have a question.
in 1.1 the wiki says that i should remove any closed-source and replace them with open source and it give 4 driver.
I have only 1 of them (xf86-video-intel), should i install the 4 (nouveau-ati-amdgpu) ?

for now xrandr --listproviders returns :

roviders: number : 2
Provider 0: id: 0x42 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 3 outputs: 1 associated providers: 1 name:modesetting
Provider 1: id: 0x23b cap: 0x2, Sink Output crtcs: 4 outputs: 1 associated providers: 1 name:NVIDIA-G0

is that good that instead of intel i have modesetting ?

EDIT : add info

Ok so i found out a wiki entry on xorg about driver installation.

If I understand well, i have open source driver (intel) : xf86-video-intel, mesa and lib32-mesa.
And proprietary Nvidia source : lib32-nvidia, nvidia-utils

pacman -Q xf86-video-intel mesa-utils mesa lib32-nvidia-utils nvidia-utils
xf86-video-intel 1:2.99.917+923+gb74b67f0-2
mesa-utils 9.0.0-4
mesa 1:24.2.1-1
lib32-nvidia-utils 560.35.03-1
nvidia-utils 560.35.03-2


So from what i understand, i should not have any proprietary package, so i should remove lib32-nvidia-utils and nvidia-utils.

Am I right ?

If yes, should I remove nvidia-utils and lib32-nvidia-utils ?

And last question : should i use intel or nouveau open source driver ?

I’ve used and use PRIME with the closed source Nvidia drivers. Firstly, what GPU and iGPU does your computer have? Secondly, how did you install the Nvidia drivers on your Endeavour system?

Hello,

here are GPU and iGPU

Device-1: Intel CometLake-H GT2 [UHD Graphics] vendor: Lenovo driver: i915
    v: kernel arch: Gen-9.5 ports: active: eDP-1 empty: none bus-ID: 00:02.0
    chip-ID: 8086:9bc4
  Device-2: NVIDIA TU117M [GeForce GTX 1650 Mobile / Max-Q] vendor: Lenovo
    driver: nvidia v: 560.35.03 arch: Turing pcie: speed: 2.5 GT/s lanes: 16
    ports: active: none empty: HDMI-A-1 bus-ID: 01:00.0 chip-ID: 10de:1f99

And to how i have install the driver, i really don’t remember, it’s been about a year since i install everything, and all was doing fine.

I’m installing nvidia-open and nvidia-open-dkms since that’s what the nvidia wiki entry advice to do for my gpu.

but i can uninstall any open source driver since they are needed by other package.

I believe nvidia-open and nvidia-open-dkms conflict with each other. Depending on your kernel, you should choose one or the other, or go with nvidia-open-dkms if you want to be safe.

EndeavourOS has a script called nvidia-inst that can help you install the drivers correctly if it doesn’t work. It is also very possible the games crash simply because the games are weird. Searching for Idle Champions on ProtonDB, there’s a report saying that the game tends to crash after a few hours.

I tried nvidia-open-dkms and nvidia-open, same result : game crash.
I saw that idle champions tend to crash, but for me it’s after about 1 minutes after launch. A bit to fast. And as i said, before updating nvidia-utils there was no problem.

I really don’t understand where it come from…

Last question, if i want to run idle champion with prime-run from terminal i use that line :
prime-run steam steam://rungameid/627690

is it ok or did I miss something ?

EDIT :
right now, if I want to keep playing my game, I have to downgrade lib32-nvidia-utils, nvidia-utils and nvidia-dkms
and everything works fine.

I don’t know if there is a conflict somewhere, but since nothing is log i am not able to find anything that help.

You should uninstall xf86-video-intel since the kernel has a driver for the Intel GPU.
Not sure it helps but one worry less.

Could you show your GPU driver packages:

pacman -Qs nvidia
pacman -Qs xf86-video

Edit: one thing to try is reinstall the kernel(s). Or try the LTS kernel.

Hello,
Thanks for your help.

pacman -Qs nvidia
local/egl-wayland 4:1.1.16-1
    EGLStream-based Wayland external platform
local/lib32-nvidia-utils 560.35.03-1
    NVIDIA drivers utilities (32-bit)
local/libvdpau 1.5-3
    Nvidia VDPAU library
local/libxnvctrl 560.35.03-1
    NVIDIA NV-CONTROL X extension
local/nvidia-inst 24-1
    Script to setup nvidia drivers (dkms version) in EndeavourOS
local/nvidia-open 560.35.03-1
    NVIDIA open kernel modules
local/nvidia-prime 1.0-5
    NVIDIA Prime Render Offload configuration and utilities
local/nvidia-settings 560.35.03-1
    Tool for configuring the NVIDIA graphics driver
local/nvidia-utils 560.35.03-2
    NVIDIA drivers utilities

and for pacman -Qs xf86-video, i have no result since i just uninstall xf86-video-intel.

I will try to reinstall kernel.

EDIt : just saw the package EGL_wayland, is it usefull since i am on xfce and X11 ?

egl-wayland is a dependency of nvidia-utils, so it is needed.

BTW, I’d recommend trying nvidia-dkms instead of nvidia-open. Not sure though if it helps.

And just to make sure, I assume you rebooted after managing the driver packages?

ok so i don’t touch egl-wayland.

I have install lts kernel (grub show 4 line now and i choose to use LTS). But since, steam is not working anymore.

and i am installing nvidia-dkms as you recommend.

And yes, i reboot everytime I install/update/remove a package :slight_smile:

EDIT : ok steam work again, don’t know if it’s this last reboot, or nvidia-dkms, but it’s back. Now trying game.

RE-EDIT :
So just launch idle champion from terminal with
prime-run steam steam://rungameid/627690

have some log for the first time. But not sure if it said why the crash.

team.sh[2512]: Running Steam on endeavouros rolling 64-bit
steam.sh[2512]: STEAM_RUNTIME is enabled automatically
setup.sh[2587]: Steam runtime environment up-to-date!
steam.sh[2512]: Steam client's requirements are satisfied
[2024-08-30 12:59:28] Startup - updater built Jul 16 2024 23:21:18
[2024-08-30 12:59:28] Startup - Steam Client launched with: '/home/shupitsu/.local/share/Steam/ubuntu12_32/steam' '-srt-logger-opened' 'steam://rungameid/627690'
08/30 12:59:28 minidumps folder is set to /tmp/dumps
08/30 12:59:28 Init: Installing breakpad exception handler for appid(steam)/version(1721173382)/tid(2643)
[2024-08-30 12:59:28] Loading cached metrics from disk (/home/shupitsu/.local/share/Steam/package/steam_client_metrics.bin)
[2024-08-30 12:59:28] Using the following download hosts for Public, Realm steamglobal
[2024-08-30 12:59:28] 1. https://client-update.akamai.steamstatic.com, /, Realm 'steamglobal', weight was 1000, source = 'update_hosts_cached.vdf'
[2024-08-30 12:59:28] 2. https://cdn.cloudflare.steamstatic.com, /client/, Realm 'steamglobal', weight was 1, source = 'update_hosts_cached.vdf'
[2024-08-30 12:59:28] 3. https://cdn.steamstatic.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in'
[2024-08-30 12:59:28] Vérification de l'installation…
[2024-08-30 12:59:28] Verification complete
UpdateUI: skip show logo
Steam logging initialized: directory: /home/shupitsu/.local/share/Steam/logs

XRRGetOutputInfo Workaround: initialized with override: 0 real: 0xef160dc0
XRRGetCrtcInfo Workaround: initialized with override: 0 real: 0xef15f500
/usr/share/themes/Arc-Darker/gtk-2.0/main.rc:1090: error: unexpected identifier 'direction', expected character '}'
/usr/share/themes/Arc-Darker/gtk-2.0/apps.rc:91: error: unexpected identifier 'direction', expected character '}'
CAppInfoCacheReadFromDiskThread took 109 milliseconds to initialize
Steam Runtime Launch Service: starting steam-runtime-launcher-service
Steam Runtime Launch Service: steam-runtime-launcher-service is running pid 2726
bus_name=com.steampowered.PressureVessel.LaunchAlongsideSteam
BRefreshApplicationsInLibrary 1: 1ms
BuildCompleteAppOverviewChange: 263 apps
RegisterForAppOverview 1: 11ms
RegisterForAppOverview 2: 12ms
chdir "/home/shupitsu/.local/share/Steam/steamapps/common/IdleChampions"
ERROR: ld.so: object '/home/shupitsu/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
Adding process 3132 for gameID 627690
ERROR: ld.so: object '/home/shupitsu/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/home/shupitsu/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/shupitsu/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/shupitsu/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
Adding process 3133 for gameID 627690
Adding process 3134 for gameID 627690
Adding process 3225 for gameID 627690
Adding process 3226 for gameID 627690
Adding process 3227 for gameID 627690
fsync: up and running.
wine: RLIMIT_NICE is <= 20, unable to use setpriority safely
Adding process 3228 for gameID 627690
Adding process 3232 for gameID 627690
Adding process 3234 for gameID 627690
Adding process 3237 for gameID 627690
Adding process 3246 for gameID 627690
Adding process 3259 for gameID 627690
Adding process 3265 for gameID 627690
Adding process 3278 for gameID 627690
Setting breakpad minidump AppID = 627690
Steam_SetMinidumpSteamID:  Caching Steam ID:  76561197988128718 [API loaded no]
Adding process 3294 for gameID 627690
Adding process 3299 for gameID 627690
[UnityMemory] Configuration Parameters - Can be set up in boot.config
    "memorysetup-bucket-allocator-granularity=16"
    "memorysetup-bucket-allocator-bucket-count=8"
    "memorysetup-bucket-allocator-block-size=4194304"
    "memorysetup-bucket-allocator-block-count=1"
    "memorysetup-main-allocator-block-size=16777216"
    "memorysetup-thread-allocator-block-size=16777216"
    "memorysetup-gfx-main-allocator-block-size=16777216"
    "memorysetup-gfx-thread-allocator-block-size=16777216"
    "memorysetup-cache-allocator-block-size=4194304"
    "memorysetup-typetree-allocator-block-size=2097152"
    "memorysetup-profiler-bucket-allocator-granularity=16"
    "memorysetup-profiler-bucket-allocator-bucket-count=8"
    "memorysetup-profiler-bucket-allocator-block-size=4194304"
    "memorysetup-profiler-bucket-allocator-block-count=1"
    "memorysetup-profiler-allocator-block-size=16777216"
    "memorysetup-profiler-editor-allocator-block-size=1048576"
    "memorysetup-temp-allocator-size-main=4194304"
    "memorysetup-job-temp-allocator-block-size=2097152"
    "memorysetup-job-temp-allocator-block-size-background=1048576"
    "memorysetup-job-temp-allocator-reduction-small-platforms=262144"
    "memorysetup-allocator-temp-initial-block-size-main=262144"
    "memorysetup-allocator-temp-initial-block-size-worker=262144"
    "memorysetup-temp-allocator-size-background-worker=32768"
    "memorysetup-temp-allocator-size-job-worker=262144"
    "memorysetup-temp-allocator-size-preload-manager=262144"
    "memorysetup-temp-allocator-size-nav-mesh-worker=65536"
    "memorysetup-temp-allocator-size-audio-worker=65536"
    "memorysetup-temp-allocator-size-cloud-worker=32768"
    "memorysetup-temp-allocator-size-gfx=262144"
GameOverlay: started '/home/shupitsu/.local/share/Steam/ubuntu12_32/gameoverlayui' (pid 3423) for game process 3294
08/30 12:59:56 minidumps folder is set to /tmp/dumps
08/30 12:59:56 Init: Installing breakpad exception handler for appid(gameoverlayui)/version(20240716232148)/tid(3423)
08/30 12:59:56 Init: Installing breakpad exception handler for appid(gameoverlayui)/version(1.0)/tid(3423)

As I’m not using steam I’m not sure if the following errors cause the crash:

How did you install steam?

And hopefully someone more familiar with steam can chime in.

i install steam with pacman :
sudo pacman -S steam

Here pacman (or yay) cannot find package steam
Can you show the output of

LC_ALL=C grep steam /var/log/pacman.log

Edit: OK, I didn’t have [multilib] enabled, sorry about that. Steam is there.

here is the result of the command :

LC_ALL=C grep steam /var/log/pacman.log 
[2022-10-15T12:01:17+0200] [PACMAN] Running 'pacman -S steam'
[2022-10-15T12:02:10+0200] [PACMAN] Running 'pacman -S steam'
[2022-10-15T12:02:14+0200] [ALPM] installed steam (1.0.0.75-1)
[2023-03-24T10:14:06+0100] [PACMAN] Running 'pacman -Sy archlinux-keyring accountsservice akonadi akonadi-calendar akonadi-contacts akonadi-import-wizard akonadi-mime akonadi-notes akonadi-search alsa-card-profiles alsa-firmware alsa-plugins alsa-topology-conf appstream appstream-qt ark at-spi2-core attica audiocd-kio audit autoconf automake babl baloo baloo-widgets bind bison bluedevil bluez-qt breeze breeze-gtk breeze-icons brotli btrfs-progs bubblewrap ca-certificates-mozilla cabextract calendarsupport chromaprint cifs-utils clang cmake coreutils cryptsetup cups cups-filters curl dav1d dbus dbus-python device-mapper dialog dmidecode dolphin dotnet-host dotnet-runtime-6.0 dotnet-sdk-6.0 dotnet-targeting-pack-6.0 dragon efibootmgr efivar elisa enchant endeavouros-mirrorlist eos-bash-shared eos-hooks eos-log-tool eos-rankmirrors eos-translations eos-update-notifier ethtool extra-cmake-modules faac faudio ffmpeg ffmpeg4.4 ffmpegthumbnailer file findutils firefox firefox-i18n-fr firewalld flex fluidsynth frameworkintegration fsarchiver fuse-common fuse3 fwupd fzf galculator gawk gdb gdb-common gdbm gegl ghostscript gimp git glib-networking glib2 glibmm glslang gnupg gnutls go gobject-introspection-runtime gpgme grantleetheme grep groff gsettings-desktop-schemas gsfonts gst-libav gst-plugin-pipewire gst-plugins-bad gst-plugins-bad-libs gst-plugins-base gst-plugins-base-libs gst-plugins-good gst-plugins-ugly gstreamer gtk-update-icon-cache gtk3 gvfs gvfs-afc gvfs-gphoto2 gvfs-mtp gvfs-nfs gvfs-smb gwenview harfbuzz harfbuzz-icu hicolor-icon-theme hidapi hwdata hwdetect iana-etc imagemagick imath imlib2 inetutils iproute2 iso-codes kaccounts-integration kactivities kactivities-stats kactivitymanagerd karchive kate kauth kbookmarks kcalc kcalendarcore kcalutils kcmutils kcodecs kcompletion kconfig kconfigwidgets kcontacts kcoreaddons kcrash kdav kdbusaddons kde-cli-tools kde-gtk-config kdeclarative kdeconnect kdecoration kded kdelibs4support kdepim-runtime kdesu kdnssd kemoticons kfilemetadata kglobalaccel kguiaddons kholidays khotkeys ki18n kiconthemes kidentitymanagement kidletime kimageannotator kimap kinfocenter kinit kio kio-extras kirigami2 kitemmodels kitemviews kjobwidgets kjs kldap kmail-account-wizard kmailtransport kmbox kmenuedit kmime knewstuff knotifications knotifyconfig konsole kontactinterface kpackage kparts kpeople kpimtextedit kpipewire kpty kquickcharts kross krunner kscreen kscreenlocker kservice ksmtp ksystemstats ktexteditor ktextwidgets ktnef kunitconversion kwallet kwallet-pam kwayland kwidgetsaddons kwin kwindowsystem kxmlgui l-smash layer-shell-qt lcms2 ldb lib32-alsa-plugins lib32-curl lib32-dbus lib32-faudio lib32-glib2 lib32-harfbuzz lib32-lcms2 lib32-libdrm lib32-libjpeg-turbo lib32-libldap lib32-libpsl lib32-libpulse lib32-libtiff lib32-libx11 lib32-libxss lib32-mesa lib32-nss lib32-nvidia-utils lib32-openssl lib32-sqlite lib32-systemd lib32-xz lib32-zstd libakonadi libass libavc1394 libavtp libbpf libcbor libcups libde265 libdv libedit libgme libgravatar libhandy libheif libibus libice libinstpatch libjcat libjpeg-turbo libkate libkcddb libkcompactdisc libkdcraw libkdepim libkexiv2 libkgapi libkleo libkscreen libksieve libksysguard liblc3 libldap liblzf libmad libmanette libmbim libmfx libmm-glib libnftnl libnm libnotify libopenmpt libpaper libplacebo libpulse libqalculate libqmi librsvg libsamplerate libsoup3 libsynctex libsysprof-capture libtiff liburcu libvirt libvpx libwacom libwbclient libwireplumber libwpe libx86emu libxau libxaw libxdmcp libxfont2 libxi libxklavier libxmlb libxnvctrl libxvmc licenses linux linux-firmware linux-firmware-whence linux-headers llvm llvm-libs lmdb luajit lvm2 m4 mailcommon mailimporter make mariadb mariadb-clients mariadb-libs mbox-importer mesa meson messagelib milou mkinitcpio modemmanager modemmanager-qt mpg123 nbd netstandard-targeting-pack networkmanager networkmanager-qt nftables nodejs noto-fonts nss nvidia-dkms nvidia-settings nvidia-utils okular openal openexr openscenegraph openssh openvpn oxygen-sounds p7zip pacman pacman-mirrorlist pango parallel parole pcsclite perl-alien-build perl-http-daemon pim-data-exporter pim-sieve-editor pimcommon pipewire pipewire-alsa pipewire-audio pipewire-jack pipewire-pulse plasma-desktop plasma-disks plasma-framework plasma-integration plasma-nm plasma-pa plasma-workspace polkit-gnome polkit-kde-agent poppler poppler-glib poppler-qt5 portaudio powerdevil print-manager prison purpose python python-cryptography python-fastjsonschema python-gobject python-jaraco.functools python-more-itertools python-numpy python-pip python-platformdirs python-pydantic python-requests python-setuptools python-trove-classifiers python-urllib3 qgpgme qpdf qqc2-desktop-style qt5-base qt5-location qt5-script qt5-wayland qt5-webengine qt6-base qt6-declarative qt6-translations raptor re2 rebuild-detector reflector reflector-simple rsync samba sane scribus sddm-kcm sdl2 sed shaderc signon-kwallet-extension smbclient solid sonnet spectacle sqlite steam sudo syndication syntax-highlighting systemd systemd-libs systemd-sysvcompat systemsettings tar texlive-bin thin-provisioning-tools threadweaver thunar thunderbird tinycompress tldr tracker3 unrar util-linux util-linux-libs v4l-utils virtualbox virtualbox-host-modules-arch vlc vpnc vte-common vte3 webkit2gtk webkit2gtk-4.1 welcome whois wine wireless-regdb wireplumber wpebackend-fdo xapian-core xapp xbitmaps xfce4-notifyd xfce4-screensaver xfce4-session xorg-fonts-encodings xorg-setxkbmap xterm xxhash xz zenity zstd zvbi zxing-cpp'
[2023-03-24T10:17:42+0100] [ALPM] upgraded steam (1.0.0.75-1 -> 1.0.0.76-1)
[2023-05-31T09:09:44+0200] [ALPM] upgraded steam (1.0.0.76-1 -> 1.0.0.78-1)
[2023-09-26T09:45:55+0200] [ALPM] upgraded steam (1.0.0.78-1 -> 1.0.0.78-2)
[2024-04-08T12:49:58+0200] [ALPM] upgraded steam (1.0.0.78-2 -> 1.0.0.79-1)
[2024-06-14T19:30:52+0200] [ALPM] upgraded steam (1.0.0.79-1 -> 1.0.0.79-2)
[2024-08-17T09:42:48+0200] [ALPM] upgraded steam (1.0.0.79-2 -> 1.0.0.81-1)
[2024-08-23T09:02:04+0200] [ALPM] upgraded steam (1.0.0.81-1 -> 1.0.0.81-2)

So far, nothing work with the last update or lib32-nvidia-utils, nvidia-utils and nvidia-dkms

I have downgrade those package to the last working one :

lib32-nvidia-utils 555.58.02
nvidia-utils 555.58.02
nvidia-dkms 555.58.02

Now, everything work fine with prime-run.
I will wait the next update of those package and try them.

Once again, thank you @manuel @winnyace for your help.

1 Like

Nvidia has had issues with updates a few times also before, which is unfortunate.

If you still feel interested enough, I’d suggest changing nvidia-dkms to nvidia, and also make sure nvidia-hook is installed. This requires the default kernel.

sudo pacman -R nvidia-dkms
sudo pacman -Syu nvidia-hook
sudo pacman -S nvidia

If that doesn’t help, you know how to get back to a working state.

I have the same laptop as you. I had a lot of problems with optimus-manager since the developer left the project. I recommend you to switch to envycontrol instead. It works very well.

Thanks again @manuel i’ll try that.

@Mindar thanks for the advice. I didn’t know that the dev as left project, and since optimus-manager-git was update last month i thought it was still ok to use it.
So i’ll give a try at envycontrol as you advice :slight_smile:

1 Like