WarJT
April 23, 2024, 7:23pm
1
Hi, I recently switched to Tumbleweed from Ubuntu and I am having issues with my drivers (I think). I installed them properly according to the wiki, but now I am getting very low performance on games that my computer has been able to handle very well before. I’m not really sure what to do to fix it at this point so I’ll try to say everything I know so far.
Hardware:
Nvidia RTX 4070
Intel i7-13700K
Observations:
top
shows well over 100% cpu usage
Even basic games get 5fps in the menu
Computer runs fine otherwise
1 Like
@WarJT Hi and welcome to the Forum
What Desktop Environment and running X11 or Wayland?
Can you post the output from;
inxi -Gxxz
WarJT
April 23, 2024, 7:57pm
3
Graphics:
Device-1: Intel Raptor Lake-S GT1 [UHD Graphics 770] vendor: Micro-Star MSI
driver: i915 v: kernel arch: Gen-13 ports: active: none empty: DP-1, DP-2,
HDMI-A-1, HDMI-A-2, HDMI-A-3, HDMI-A-4 bus-ID: 00:02.0 chip-ID: 8086:a780
Device-2: NVIDIA AD104 [GeForce RTX 4070] vendor: ASUSTeK driver: nvidia
v: 550.67 arch: Lovelace pcie: speed: 2.5 GT/s lanes: 16 ports: active: none
off: HDMI-A-5 empty: DP-3,DP-4,DP-5 bus-ID: 01:00.0 chip-ID: 10de:2786
Display: x11 server: X.org v: 1.21.1.12 compositor: xfwm4 v: 4.18.0
driver: X: loaded: nvidia unloaded: fbdev,modesetting,vesa
alternate: intel,nouveau,nv dri: iris gpu: nvidia,nvidia-nvswitch
display-ID: :0.0 screens: 1
Screen-1: 0 s-res: 1920x1080
Monitor-1: HDMI-A-5 mapped: HDMI-0 note: disabled model: MSI G273
res: 1920x1080 dpi: 82 diag: 676mm (26.6")
API: OpenGL v: 4.6.0 vendor: nvidia v: 550.67 glx-v: 1.4
direct-render: yes renderer: NVIDIA GeForce RTX 4070/PCIe/SSE2
I am using Xfce and I think I’m using x11
@WarJT ok, so it’s using the Intel GPU
So you have a couple of options;
1 - Use suse-prime to switch to the Nvidia GPU
2 - Use switcherooctl to use Prime Render Offload
I suspect suse-prime may already be installed?
https://en.opensuse.org/SDB:NVIDIA_SUSE_Prime
I use switcherooctl here on GNOME which has itegration to launch with an offload device, you would need to create a launcher or run from the cli to start an application
@WarJT Hmm, I missed the off bit in the inxi output. So it could be that the open drivers are installed as well as the proprietary…
Have a read of this thread;
https://forums.opensuse.org/t/todays-update-4-19-broke-graphical-interface/174354
WarJT
April 23, 2024, 8:41pm
6
@malcolmlewis I didn’t know that it could do that without integrated graphics
I ran prime-select boot nvidia
as root and I don’t think it did anything meaningful
I don’t think I have both open and proprietary drivers installed
S | Name | Type | Version | Arch | Repository
---+----------------------------------+---------+----------------------+--------+--------------
i | kernel-firmware-nvidia | package | 20240322-2.1 | noarch | repo-oss
i | libnvidia-egl-wayland1 | package | 1.1.13-1.3 | x86_64 | repo-oss
i | nvidia-compute-G06 | package | 550.67-20.1 | x86_64 | repo-non-free
i | nvidia-compute-G06-32bit | package | 550.67-20.1 | x86_64 | repo-non-free
i+ | nvidia-driver-G06-kmp-default | package | 550.67_k6.7.9_1-20.1 | x86_64 | repo-non-free
i | nvidia-gl-G06 | package | 550.67-20.1 | x86_64 | repo-non-free
i | nvidia-gl-G06-32bit | package | 550.67-20.1 | x86_64 | repo-non-free
i | nvidia-video-G06 | package | 550.67-20.1 | x86_64 | repo-non-free
i | nvidia-video-G06-32bit | package | 550.67-20.1 | x86_64 | repo-non-free
i+ | openSUSE-repos-MicroOS-NVIDIA | package | 20240412.89bd714-1.1 | x86_64 | repo-oss
i | openSUSE-repos-Slowroll-NVIDIA | package | 20240412.89bd714-1.1 | x86_64 | repo-oss
i | openSUSE-repos-Tumbleweed-NVIDIA | package | 20240412.89bd714-1.1 | x86_64 | repo-oss
Additionally, inxi -Gxxz
seems to have changed slightly
Device-1: Intel Raptor Lake-S GT1 [UHD Graphics 770] vendor: Micro-Star MSI
driver: i915 v: kernel arch: Gen-13 ports: active: none empty: DP-1, DP-2,
HDMI-A-1, HDMI-A-2, HDMI-A-3, HDMI-A-4 bus-ID: 00:02.0 chip-ID: 8086:a780
Device-2: NVIDIA AD104 [GeForce RTX 4070] vendor: ASUSTeK driver: nvidia
v: 550.67 arch: Lovelace pcie: speed: 2.5 GT/s lanes: 16 ports: active: none
off: HDMI-A-5 empty: DP-3,DP-4,DP-5 bus-ID: 01:00.0 chip-ID: 10de:2786
Display: x11 server: X.org v: 1.21.1.12 compositor: xfwm4 v: 4.18.0
driver: X: loaded: nvidia unloaded: modesetting alternate: intel dri: iris
gpu: nvidia,nvidia-nvswitch display-ID: :0.0 screens: 1
Screen-1: 0 s-res: 1920x1080
Monitor-1: HDMI-A-5 mapped: HDMI-0 note: disabled model: MSI G273
res: 1920x1080 dpi: 82 diag: 676mm (26.6")
API: OpenGL v: 4.6.0 vendor: nvidia v: 550.67 glx-v: 1.4
direct-render: yes renderer: NVIDIA GeForce RTX 4070/PCIe/SSE2
@WarJT Well you should get better performance with Prime Render Offload, have a read here;
https://download.nvidia.com/XFree86/Linux-x86_64/550.67/README/primerenderoffload.html
You also might want to activate gsp firmware;
https://download.nvidia.com/XFree86/Linux-x86_64/550.67/README/gsp.html
Maybe you can turn of the iGPU in the BIOS?
@WarJT If you fire up YaST Bootloader and add nosimplefb=1
and see if that helps, if you want to test, reboot and at grub press the e
key to edit and arrow down to the linux/linuxefi line and press end and add there. The other option to try if disable the iGPU is nvidia_drm.modeset=1
or nvidia_drm.modeset=0
you might also add fbdev=1
It seems every Manufacturer has their own little quirks to work around…
WarJT
April 23, 2024, 9:11pm
9
I gotta be honest and say that I have no idea what is going on here at all, but I did check BIOS and didn’t see any way to disable iGPU.
malcolmlewis:
@WarJT If you fire up YaST Bootloader and add nosimplefb=1
and see if that helps, if you want to test, reboot and at grub press the e
key to edit and arrow down to the linux/linuxefi line and press end and add there. The other option to try if disable the iGPU is nvidia_drm.modeset=1
or nvidia_drm.modeset=0
you might also add fbdev=1
It seems every Manufacturer has their own little quirks to work around…
I followed all of these steps as well and I am unaware of any difference.
@WarJT So you have suse-prime selected with nvidia and performance is not stellar?
If so, my suggestion is to try Prime Render Offload, this requires uninstalling suse-prime and adding a lock, also check no bbswitch files are installed.
WarJT
April 25, 2024, 2:20am
11
@malcolmlewis Alright, I think I have reached a partial solution to my problems.
One flaw with how I was diagnosing the problem was the use of only Steam games as a reference point. The reason this was a problem is that Steam was installed using flatpak
instead of zypper
. The consequence of this was that the fix (which I believe had to do with prime-select
not having the proper service installed so thank you @malcolmlewis for that solution) didn’t properly work because of how flatpack
isolates the app from the proper NVIDIA drivers . This caused my CPU to be given all of the load that should’ve been offloaded to my GPU. The fix to this was to just reinstall Steam using zypper
. And now everything on the Steam side seems to be good at the moment. Is there another way to install steam through Flatpak that would circumvent this issue? If not, maybe the Steam Page could be updated to note this issue.
On the side of non-steam games (Minecraft in this case), the performance is still not quite at what it was while I was on Debian and was unaffected by anything done here. However, it is definitely still good enough and I have ways I can go about improving the performance.
One side effect of this fix however, is that boot is significantly longer than it used to be and new errors have shown up:
...Failed to apply atomic modeset.
and
...Flip event timeout on head 0
(this one repeats many times)
I am wondering why there isn’t a way to tell the OS that I am using a desktop and don’t care about power usage (like I might on a laptop) so that it doesn’t try using my CPU for everything in the name of efficiency. It seems like that had to have caused many many issues for desktop users.
Anyways, thanks @malcolmlewis for the solution, now I can get to playing my games again!
@WarJT If you booting direct to the nvidia card(?) then adding the grub kernel boot options fbdev=1 nvidia_drm.modeset=1
or if Intel then nosimplefb=1
You can add temporarily via grub and press e
to edit, arrow down to the linux/linuxefi line, press end and add here, then F10 to boot. Once sorted can add them via YaST Bootloader kernel options to make permanent.
Post
inxi -aFz
to get mobo’s info.
IMHO DP cable is a better choice in your case.
WarJT
May 24, 2024, 7:42pm
14
Kernel: 6.8.9-1-default arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
clocksource: tsc avail: hpet,acpi_pm
parameters: BOOT_IMAGE=/boot/vmlinuz-6.8.9-1-default
root=UUID=2381c0ea-3021-45cc-976b-b7bdb6736f52 splash=silent quiet
security=apparmor nosimplefb=1 mitigations=auto
Desktop: Xfce v: 4.18.1 tk: Gtk v: 3.24.41 wm: xfwm4 v: 4.18.0
with: xfce4-panel tools: xfce4-screensaver vt: 7 dm: LightDM v: 1.32.0
Distro: openSUSE Tumbleweed 20240514
Machine:
Type: Desktop System: Micro-Star product: MS-7D98 v: 3.0
serial: <superuser required>
Mobo: Micro-Star model: B760 GAMING PLUS WIFI (MS-7D98) v: 3.0
serial: <superuser required> uuid: <superuser required> UEFI: American
Megatrends LLC. v: H.30 date: 07/12/2023
Battery:
Device-1: hidpp_battery_0 model: Logitech Marathon Mouse/Performance Plus
M705 serial: <filter> charge: 55% (should be ignored) rechargeable: yes
status: discharging
CPU:
Info: model: 13th Gen Intel Core i7-13700K bits: 64 type: MST AMCP
arch: Raptor Lake gen: core 13 level: v3 note: check built: 2022+
process: Intel 7 (10nm) family: 6 model-id: 0xB7 (183) stepping: 1
microcode: 0x122
Topology: cpus: 1x cores: 16 mt: 8 tpc: 2 st: 8 threads: 24 smt: enabled
cache: L1: 1.4 MiB desc: d-8x32 KiB, 8x48 KiB; i-8x32 KiB, 8x64 KiB
L2: 24 MiB desc: 8x2 MiB, 2x4 MiB L3: 30 MiB desc: 1x30 MiB
Speed (MHz): avg: 851 high: 1101 min/max: 800/5300:5400:4200 scaling:
driver: intel_pstate governor: powersave cores: 1: 800 2: 800 3: 1100 4: 800
5: 800 6: 800 7: 800 8: 800 9: 1100 10: 800 11: 800 12: 800 13: 1100
14: 800 15: 1101 16: 800 17: 845 18: 800 19: 800 20: 800 21: 800 22: 800
23: 800 24: 800 bogomips: 164088
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Vulnerabilities:
Type: gather_data_sampling status: Not affected
Type: itlb_multihit status: Not affected
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: mmio_stale_data status: Not affected
Type: reg_file_data_sampling mitigation: Clear Register File
Type: retbleed status: Not affected
Type: spec_rstack_overflow status: Not affected
Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
prctl
Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
sanitization
Type: spectre_v2 mitigation: Enhanced / Automatic IBRS; IBPB:
conditional; RSB filling; PBRSB-eIBRS: SW sequence; BHI: BHI_DIS_S
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: Intel Raptor Lake-S GT1 [UHD Graphics 770] vendor: Micro-Star MSI
driver: i915 v: kernel alternate: xe arch: Gen-13 process: Intel 7 (10nm)
built: 2022+ ports: active: none empty: DP-1, DP-2, HDMI-A-1, HDMI-A-2,
HDMI-A-3, HDMI-A-4 bus-ID: 00:02.0 chip-ID: 8086:a780 class-ID: 0380
Device-2: NVIDIA AD104 [GeForce RTX 4070] vendor: ASUSTeK driver: nvidia
v: 550.78 alternate: nouveau,nvidia_drm non-free: 550.xx+
status: current (as of 2024-04) arch: Lovelace code: AD1xx
process: TSMC n4 (5nm) built: 2022+ pcie: gen: 1 speed: 2.5 GT/s lanes: 16
link-max: gen: 4 speed: 16 GT/s ports: active: none off: HDMI-A-5
empty: DP-3,DP-4,DP-5 bus-ID: 01:00.0 chip-ID: 10de:2786 class-ID: 0300
Display: x11 server: X.org v: 1.21.1.12 compositor: xfwm4 v: 4.18.0
driver: X: loaded: modesetting,nvidia alternate: intel dri: iris
gpu: nvidia,nvidia-nvswitch display-ID: :0.0 screens: 1
Screen-1: 0 s-res: 1920x1080 s-size: <missing: xdpyinfo>
Monitor-1: HDMI-A-5 mapped: HDMI-0 note: disabled model: MSI G273
serial: <filter> built: 2022 res: 1920x1080 dpi: 82 gamma: 1.2
size: 597x336mm (23.5x13.23") diag: 676mm (26.6") ratio: 16:9 modes:
max: 1920x1080 min: 640x480
API: OpenGL v: 4.6.0 vendor: nvidia v: 550.78 glx-v: 1.4
direct-render: yes renderer: NVIDIA GeForce RTX 4070/PCIe/SSE2
memory: 11.71 GiB
Audio:
Device-1: Intel Raptor Lake High Definition Audio vendor: Micro-Star MSI
driver: snd_hda_intel v: kernel alternate: snd_sof_pci_intel_tgl
bus-ID: 00:1f.3 chip-ID: 8086:7a50 class-ID: 0403
Device-2: Razer USA Kraken Tournament Edition
driver: hid-generic,snd-usb-audio,usbhid type: USB rev: 2.0 speed: 12 Mb/s
lanes: 1 mode: 1.1 bus-ID: 1-8:7 chip-ID: 1532:0520 class-ID: 0300
serial: <filter>
API: ALSA v: k6.8.9-1-default status: kernel-api with: aoss
type: oss-emulator tools: alsactl,alsamixer,amixer
Server-1: PipeWire v: 1.0.6 status: active with: 1: pipewire-pulse
status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
tools: pactl,pw-cat,pw-cli,wpctl
Network:
Device-1: Intel Raptor Lake-S PCH CNVi WiFi driver: iwlwifi v: kernel
bus-ID: 00:14.3 chip-ID: 8086:7a70 class-ID: 0280
IF: wlo1 state: up mac: <filter>
Device-2: Realtek RTL8125 2.5GbE vendor: Micro-Star MSI driver: r8169
v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 1 port: 3000 bus-ID: 03:00.0
chip-ID: 10ec:8125 class-ID: 0200
IF: enp3s0 state: down mac: <filter>
Info: services: NetworkManager,wpa_supplicant
Bluetooth:
Device-1: Intel AX211 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0
speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-14:9 chip-ID: 8087:0033
class-ID: e001
Report: btmgmt ID: hci0 rfk-id: 1 state: down bt-service: enabled,running
rfk-block: hardware: no software: yes address: <filter> bt-v: 5.3 lmp-v: 12
status: discoverable: no pairing: no
Drives:
Local Storage: total: 1.82 TiB used: 431.89 GiB (23.2%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Crucial model: CT2000P3PSSD8
size: 1.82 TiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s
lanes: 4 tech: SSD serial: <filter> fw-rev: P9CR40A temp: 37.9 C
scheme: GPT
Partition:
ID-1: / raw-size: 630.17 GiB size: 630.17 GiB (100.00%)
used: 17.88 GiB (2.8%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-2: /boot/efi raw-size: 512 MiB size: 511 MiB (99.80%)
used: 340 KiB (0.1%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
ID-3: /home raw-size: 1.2 TiB size: 1.2 TiB (100.00%)
used: 414.01 GiB (33.7%) fs: btrfs dev: /dev/nvme0n1p3 maj-min: 259:3
ID-4: /opt raw-size: 630.17 GiB size: 630.17 GiB (100.00%)
used: 17.88 GiB (2.8%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-5: /var raw-size: 630.17 GiB size: 630.17 GiB (100.00%)
used: 17.88 GiB (2.8%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
Swap:
Kernel: swappiness: 60 (default) cache-pressure: 100 (default) zswap: no
ID-1: swap-1 type: partition size: 2 GiB used: 0 KiB (0.0%) priority: -2
dev: /dev/nvme0n1p4 maj-min: 259:4
Sensors:
System Temperatures: cpu: 29.0 C mobo: N/A gpu: nvidia temp: 42 C
Fan Speeds (rpm): N/A gpu: nvidia fan: 0%
Info:
Memory: total: 32 GiB note: est. available: 31.12 GiB used: 3.54 GiB (11.4%)
Processes: 463 Power: uptime: 1h 36m states: freeze,mem,disk suspend: deep
avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
suspend, test_resume image: 12.4 GiB services: upowerd,xfce4-power-manager
Init: systemd v: 255 default: graphical tool: systemctl
Packages: 17 pm: flatpak pkgs: 11 pm: snap pkgs: 6 Compilers: gcc: 13.2.1
Shell: Bash v: 5.2.26 running-in: xfce4-terminal inxi: 3.3.34
Which GPU is in use?
Try to disable Intel iGPU. Attach monitor to Nvidia video card.
@Svyatko That should not be needed
@WarJT There are a number of new threads on users with same sort of problems that are resolved if still looking to get work?
system
Closed
July 17, 2024, 9:42pm
17
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.