I have the following Problem:
For several hours now I am trying to get TES 4 Oblivion to run on Ubuntu with no luck at all. The Launcher starts just fine but it just refuses to recognize the Nvidia GPU. I am sure however that all other programs work fine with the Nvidia CPU because the Game crashes on startup, which it didn't do before I changed the Prime Profile to Nvidia (Performance Mode) (which should make it so that all Application run with the Nvidia GPU, correct?).
Now Oblivion is notorious for this Problem in particular on Notebooks as it produces the same error on Windows, but there its an easy Problem to fix because you can just manually tell it to use the Nvidia GPU from the Nvidia Control Panel which isn't an option for Ubuntu.
Troubleshooting Information:
sudo lshw -C video
*-display
description: VGA compatible controller
product: Haswell-ULT Integrated Graphics Controller
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
logical name: /dev/fb0
version: 0b
width: 64 bits
clock: 33MHz
capabilities: msi pm vga_controller bus_master cap_list rom fb
configuration: depth=32 driver=i915 latency=0 resolution=1600,900
resources: irq:51 memory:b5000000-b53fffff memory:c0000000-cfffffff ioport:6000(size=64) memory:c0000-dffff
*-display
description: 3D controller
product: GM108M [GeForce 830M]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:0a:00.0
version: a2
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list rom
configuration: driver=nvidia latency=0
resources: irq:54 memory:b3000000-b3ffffff memory:a0000000-afffffff memory:b0000000-b1ffffff ioport:3000(size=128)
sudo lsmod | grep nvidia
vidia_uvm 1216512 0
nvidia_drm 69632 10
nvidia_modeset 1159168 6 nvidia_drm
nvidia 39112704 450 nvidia_uvm,nvidia_modeset
drm_kms_helper 307200 2 nvidia_drm,i915
drm 606208 15 drm_kms_helper,nvidia,nvidia_drm,i915,ttm
sudo nvidia-smi
Thu Jun 16 23:27:59 2022
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 510.60.02 Driver Version: 510.60.02 CUDA Version: 11.6 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 NVIDIA GeForce ... Off | 00000000:0A:00.0 Off | N/A |
| N/A 49C P0 N/A / N/A | 223MiB / 2048MiB | 9% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 1653 G /usr/lib/xorg/Xorg 60MiB |
| 0 N/A N/A 1914 G /usr/bin/gnome-shell 26MiB |
| 0 N/A N/A 2424 G ...2/usr/lib/firefox/firefox 131MiB |
| 0 N/A N/A 5988 G /usr/bin/nvidia-settings 0MiB |
+-----------------------------------------------------------------------------+
sudo inxi -Gx
Graphics:
Device-1: Intel Haswell-ULT Integrated Graphics vendor: Hewlett-Packard
driver: i915 v: kernel bus-ID: 00:02.0
Device-2: NVIDIA GM108M [GeForce 830M] vendor: Hewlett-Packard
driver: nvidia v: 510.60.02 bus-ID: 0a:00.0
Device-3: Chicony HP Truevision HD camera type: USB driver: uvcvideo
bus-ID: 1-1.3:3
Display: server: X.Org v: 1.21.1.3 driver: X: loaded: modesetting,nvidia
unloaded: fbdev,nouveau,vesa gpu: i915 resolution: 1600x900~60Hz
OpenGL: renderer: NVIDIA GeForce 830M/PCIe/SSE2 v: 4.6.0 NVIDIA 510.60.02
direct render: Yes
Error Message in Terminal when the game crashes:
Game process updated : AppID 22330 "/home/sadomessiah/.steam/debian-installation/ubuntu12_32/reaper SteamLaunch AppId=22330 -- '/home/sadomessiah/.steam/debian-installation/steamapps/common/SteamLinuxRuntime_soldier'/_v2-entry-point --verb=waitforexitandrun -- '/home/sadomessiah/.steam/debian-installation/steamapps/common/Proton 7.0'/proton waitforexitandrun '/home/sadomessiah/.steam/debian-installation/steamapps/common/Oblivion/OblivionLauncher.exe'", ProcID 24257, IP 0.0.0.0:0
MESA-INTEL: warning: Haswell Vulkan support is incomplete
MESA-INTEL: warning: Haswell Vulkan support is incomplete
Fossilize INFO: Overriding serialization path: "/home/sadomessiah/.steam/debian-installation/steamapps/shadercache/22330/fozpipelinesv6/steamapprun_pipeline_cache".
wine: Unhandled page fault on read access to 00000880 at address 00497E10 (thread 0170), starting debugger...
ThreadGetProcessExitCode: no such process 24293
pid 24156 != 24155, skipping destruction (fork without exec?)
ThreadGetProcessExitCode: no such process 24223
ThreadGetProcessExitCode: no such process 24191
ThreadGetProcessExitCode: no such process 24185
ThreadGetProcessExitCode: no such process 24174
ThreadGetProcessExitCode: no such process 24165
ThreadGetProcessExitCode: no such process 24162
ThreadGetProcessExitCode: no such process 24154
ThreadGetProcessExitCode: no such process 24152
Game process removed: AppID 22330 "/home/sadomessiah/.steam/debian-installation/ubuntu12_32/reaper SteamLaunch AppId=22330 -- '/home/sadomessiah/.steam/debian-installation/steamapps/common/SteamLinuxRuntime_soldier'/_v2-entry-point --verb=waitforexitandrun -- '/home/sadomessiah/.steam/debian-installation/steamapps/common/Proton 7.0'/proton waitforexitandrun '/home/sadomessiah/.steam/debian-installation/steamapps/common/Oblivion/OblivionLauncher.exe'", ProcID 24257
ThreadGetProcessExitCode: no such process 24257
ThreadGetProcessExitCode: no such process 23981
ThreadGetProcessExitCode: no such process 23980
Game 22330 created interface STEAMAPPS_INTERFACE_VERSION003 / Apps
Game 22330 created interface SteamUtils004 / Utils
Game 22330 method call count for IClientAppManager::BIsDlcEnabled : 1
Game 22330 method call count for IClientUtils::RecordSteamInterfaceCreation : 2
Game 22330 method call count for IClientUtils::GetAppID : 3
Game 22330 method call count for IClientUser::BIsSubscribedApp : 1
Uploaded AppInterfaceStats to Steam
Wayland Protocol is disabled
I have already run sudo prime-select nvidia (+reboot)
nouveau is blacklisted according to gpu-manager.log
I have also reinstalled the nvidia drivers (+reboot)
I also tested to run the game again with PRIME Profile: Nvidia On-Demand. The game was able to start (because it can use the Intel GPU now I guess) but it didn't run when I changed it back to nvidia only.
After further troubleshooting I now found out that despite ubuntu and all the Terminal Commands showing that the nvidia card is up and running it appears that the nvidia module is missing, despite having installed the drivers multiple times:
sudo optirun glxgears
[ 125.640717] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) Failed to load module "nvidia" (module does not exist, 0)
[ 125.640759] [ERROR]Aborting because fallback start is disabled.
I am currently trying to resolve this but any help would be greatly appreciated as I am relatively new to Linux.
System Information:
- OS: Ubuntu 22.04 LTS 64-bit
- GNOME Version: 42.1
- Windowing System: X11
- Proton: 7.0-3
- Processor: Intel Core i3-4030 CPU @ 1.90GHz x 4
- Graphics: NVIDIA Corporation GM108M [GeForce 830M]/NVIDIA GeForce 803M
I really hope someone can help me with this Problem as I really want to play this game and my only option is this Ubuntu Notebook for the next months.
Thank you all in advance!