Windows dual boot, graphics performance halved on both OS

i successfully got games running on my nvidia graphics card the other day, but performance was much worse than expected. i booted into windows (from BIOS) and tried the same games, but again performance was much worse than expected (even after driver update). Is the dual boot somehow affecting performance?

might be issue with running both OSs on one drive

I have Intel running with nvidia optimus (1050Ti). Laptop is 5 years old but I played games on it last month with double the fps im getting today

-inxi -Fz

System:
  Kernel: 6.7.4-1-default arch: x86_64 bits: 64
  Desktop: GNOME v: 45.3 Distro: openSUSE Tumbleweed 20240208
Machine:
  Type: Laptop System: HP product: HP Pavilion Gaming Laptop 15-cx0xxx
    v: Type1ProductConfigId serial: <superuser required>
  Mobo: HP model: 8478 v: 70.60 serial: <superuser required> UEFI: Insyde
    v: F.29 date: 11/10/2022
Battery:
  ID-1: BAT1 charge: 38.9 Wh (78.3%) condition: 49.7/52.8 Wh (94.1%)
CPU:
  Info: 6-core model: Intel Core i7-8750H bits: 64 type: MT MCP cache:
    L2: 1.5 MiB
  Speed (MHz): avg: 802 min/max: 800/4100 cores: 1: 800 2: 800 3: 800 4: 800
    5: 800 6: 800 7: 828 8: 800 9: 800 10: 800 11: 800 12: 800
Graphics:
  Device-1: Intel CoffeeLake-H GT2 [UHD Graphics 630] driver: i915 v: kernel
  Device-2: NVIDIA GP107M [GeForce GTX 1050 Ti Mobile] driver: nvidia
    v: 545.29.06
  Device-3: Lite-On HP Wide Vision HD Camera driver: uvcvideo type: USB
  Display: wayland server: X.org v: 1.21.1.11 with: Xwayland v: 23.2.4
    compositor: gnome-shell driver: gpu: i915 resolution: 1920x1080~60Hz
  API: OpenGL v: 4.6 vendor: intel mesa v: 23.3.5 renderer: Mesa Intel UHD
    Graphics 630 (CFL GT2)
  API: EGL Message: EGL data requires eglinfo. Check --recommends.
Audio:
  Device-1: Intel Cannon Lake PCH cAVS driver: snd_hda_intel
  Device-2: NVIDIA GP107GL High Definition Audio driver: snd_hda_intel
  API: ALSA v: k6.7.4-1-default status: kernel-api
  Server-1: PipeWire v: 1.0.3 status: active
Network:
  Device-1: Intel Cannon Lake PCH CNVi WiFi driver: iwlwifi
  IF: wlo1 state: up mac: <filter>
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    driver: r8169
  IF: eno1 state: down mac: <filter>
Bluetooth:
  Device-1: Intel Bluetooth 9460/9560 Jefferson Peak (JfP) driver: btusb
    type: USB
  Report: btmgmt ID: hci0 state: up address: <filter> bt-v: 5.1
Drives:
  Local Storage: total: 1.36 TiB used: 917.58 GiB (65.7%)
  ID-1: /dev/nvme0n1 vendor: Crucial model: CT500P1SSD8 size: 465.76 GiB
  ID-2: /dev/sda vendor: HGST (Hitachi) model: HTS721010A9E630
    size: 931.51 GiB
Partition:
  ID-1: / size: 35 GiB used: 22.39 GiB (64.0%) fs: btrfs dev: /dev/nvme0n1p5
  ID-2: /boot/efi size: 96 MiB used: 31.9 MiB (33.2%) fs: vfat
    dev: /dev/nvme0n1p1
  ID-3: /home size: 35 GiB used: 22.39 GiB (64.0%) fs: btrfs
    dev: /dev/nvme0n1p5
  ID-4: /opt size: 35 GiB used: 22.39 GiB (64.0%) fs: btrfs
    dev: /dev/nvme0n1p5
  ID-5: /var size: 35 GiB used: 22.39 GiB (64.0%) fs: btrfs
    dev: /dev/nvme0n1p5
Swap:
  ID-1: swap-1 type: partition size: 2 GiB used: 0 KiB (0.0%)
    dev: /dev/nvme0n1p6
Sensors:
  System Temperatures: cpu: 45.0 C pch: 49.0 C mobo: N/A
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 16 GiB available: 15.5 GiB used: 3.3 GiB (21.3%)
  Processes: 330 Uptime: 0h 15m Shell: Bash inxi: 3.3.33

BOBK:/home/kavser # systemctl status switcheroo-control.service
○ switcheroo-control.service - Switcheroo Control Proxy service
     Loaded: loaded (/usr/lib/systemd/system/switcheroo-control.service; disabled; preset: disabled)
     Active: inactive (dead)

pokemon should run at 30 fps but im getting 14 fps

image

@kavser you need to enable and start the service…

systemctl enable --now switcheroo-control.service

wew I enabled and started the service, launched my game using discreet graphics card

still very poor performance (unchanged)

nvidia-smi
Sun Feb 11 15:45:30 2024       
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 545.29.06              Driver Version: 545.29.06    CUDA Version: 12.3     |
|-----------------------------------------+----------------------+----------------------+
| 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 GTX 1050 Ti     Off | 00000000:01:00.0 Off |                  N/A |
| N/A   39C    P8              N/A / ERR! |      4MiB /  4096MiB |      0%      Default |
|                                         |                      |                  N/A |
+-----------------------------------------+----------------------+----------------------+
                                                                                         
+---------------------------------------------------------------------------------------+
| Processes:                                                                            |
|  GPU   GI   CI        PID   Type   Process name                            GPU Memory |
|        ID   ID                                                             Usage      |
|=======================================================================================|
|    0   N/A  N/A      1919      G   /usr/bin/gnome-shell                          1MiB |
+---------------------------------------------------------------------------------------+

@kavser and is it being launched ok? As in see it using the device in say nvtop?

yep looks good, however GPU keeps switching back and forth between 436Mhz and 1700Mhz. maybe its being forced to 436 Mhz?

Also im running GNOME wayland because switching to X crashes my login page. (however shouldnt matter because my windows in-game-performance is also demonstrably worse)

@kavser Nvidia/Gnome/Wayland performance is not good AFAIK…

can you help me diagnose the x login screen crash ? Switched to XORG, black login screen with blinking cursor

It needs the newest Nvidia drivers…

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.