Team Fortress 2 throttle GPU for 1 fps.

Anything related to gaming on Linux Mint including game discussion or questions concerning Steam or Wine.
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Post Reply
tye__
Level 1
Level 1
Posts: 2
Joined: Mon Feb 12, 2024 7:27 am

Team Fortress 2 throttle GPU for 1 fps.

Post by tye__ »

Whenever i try to join a TF2 server on Linux it uses 100% of my dedicated GPU & runs at 1-3 fps. This is combined with auto stuttering. My CPU has lots of "usage" that is not being used. A strange thing is that in the menus before i try to join a server i get 100's of fps with no problem. Although i can't play full-screen as the options in the game settings only allow for it to be on either of side monitors & not my main one. (This is a problem as only the main one is connected to the GPU, but moving it to the main one when windowed works fine enough).

Before people ask, i have to use the native Linux version opposed to the proton version as the proton version isn't compatible with VAC.

I'm using the latest NVIDIA drivers & I've reinstalled steam directly from the steam website. I've also tried editing tf2's settings via the master config website: https://docs.comfig.app/latest/ . This had 0 effect. Before switch to Linux the game ran perfectly fine on Windows. I've also tried looking into installing 32-bit NVIDIA drivers but i can't seem to find the one recommended on apt or for any other mint install. Relevant arch post: https://bbs.archlinux.org/viewtopic.php?id=287465 .

It'd be greatly appreciated if anyone could help!

System Info:

Code: Select all

System:
  Kernel: 5.15.0-94-generic x86_64 bits: 64 compiler: gcc v: 11.4.0 Desktop: Cinnamon 6.0.4
    tk: GTK 3.24.33 wm: muffin vt: 7 dm: LightDM 1.30.0 Distro: Linux Mint 21.3 Virginia
    base: Ubuntu 22.04 jammy
Machine:
  Type: Desktop Mobo: Micro-Star model: H310M PRO-M2 PLUS (MS-7C08) v: 1.1
    serial: <superuser required> UEFI: American Megatrends v: D.10 date: 12/14/2018
CPU:
  Info: 6-core model: Intel Core i5-8400 bits: 64 type: MCP smt: <unsupported> arch: Coffee Lake
    rev: A cache: L1: 384 KiB L2: 1.5 MiB L3: 9 MiB
  Speed (MHz): avg: 3800 min/max: 800/4000 cores: 1: 3800 2: 3800 3: 3800 4: 3800 5: 3800
    6: 3800 bogomips: 33599
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel CoffeeLake-S GT2 [UHD Graphics 630] vendor: Micro-Star MSI CometLake-S
    driver: i915 v: kernel ports: active: DP-1,HDMI-A-1 empty: HDMI-A-2,HDMI-A-3 bus-ID: 00:02.0
    chip-ID: 8086:3e92 class-ID: 0380
  Device-2: NVIDIA GP107 [GeForce GTX 1050] vendor: Micro-Star MSI driver: nvidia v: 535.154.05
    pcie: speed: 8 GT/s lanes: 16 ports: active: none off: HDMI-A-4 empty: DP-2,DVI-D-1
    bus-ID: 01:00.0 chip-ID: 10de:1c81 class-ID: 0300
  Display: x11 server: X.Org v: 1.21.1.4 driver: X: loaded: modesetting,nvidia
    unloaded: fbdev,nouveau,vesa gpu: i915 display-ID: :0 screens: 1
  Screen-1: 0 s-res: 3840x2104 s-dpi: 96 s-size: 1016x557mm (40.0x21.9") s-diag: 1159mm (45.6")
  Monitor-1: DP-1-1 pos: top-right res: 1280x1024 hz: 60 dpi: 96 size: 338x270mm (13.3x10.6")
    diag: 433mm (17")
  Monitor-2: HDMI-0 pos: primary,bottom-c res: 1920x1080 hz: 60 dpi: 305
    size: 160x90mm (6.3x3.5") diag: 184mm (7.2")
  Monitor-3: HDMI-1-1 pos: bottom-l res: 1920x1080 hz: 60 dpi: 82 size: 598x336mm (23.5x13.2")
    diag: 686mm (27")
  OpenGL: renderer: NVIDIA GeForce GTX 1050/PCIe/SSE2 v: 4.6.0 NVIDIA 535.154.05
    direct render: Yes
Audio:
  Device-1: Intel 200 Series PCH HD Audio vendor: Micro-Star MSI driver: snd_hda_intel v: kernel
    bus-ID: 00:1f.3 chip-ID: 8086:a2f0 class-ID: 0403
  Device-2: NVIDIA GP107GL High Definition Audio vendor: Micro-Star MSI driver: snd_hda_intel
    v: kernel pcie: speed: 8 GT/s lanes: 16 bus-ID: 01:00.1 chip-ID: 10de:0fb9 class-ID: 0403
  Device-3: Fifine Microphone type: USB driver: hid-generic,snd-usb-audio,usbhid bus-ID: 1-2:3
    chip-ID: 3142:5060 class-ID: 0300
  Sound Server-1: ALSA v: k5.15.0-94-generic running: yes
  Sound Server-2: PulseAudio v: 15.99.1 running: yes
  Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
  Device-1: Intel Ethernet I219-V vendor: Micro-Star MSI driver: e1000e v: kernel port: N/A
    bus-ID: 00:1f.6 chip-ID: 8086:15b8 class-ID: 0200
  IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter>
  Device-2: Intel Dual Band Wireless-AC 3168NGW [Stone Peak] driver: iwlwifi v: kernel pcie:
    speed: 2.5 GT/s lanes: 1 bus-ID: 03:00.0 chip-ID: 8086:24fb class-ID: 0280
  IF: wlp3s0 state: down mac: <filter>
Bluetooth:
  Device-1: Intel Wireless-AC 3168 Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 1-9:5
    chip-ID: 8087:0aa7 class-ID: e001
  Report: hciconfig ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 2.1 lmp-v: 4.2
    sub-v: 1100 hci-v: 4.2 rev: 1100
Drives:
  Local Storage: total: 2.73 TiB used: 84.92 GiB (3.0%)
  ID-1: /dev/nvme0n1 vendor: Western Digital model: WD Blue SN570 1TB size: 931.51 GiB
    speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter> rev: 234100WD temp: 32.9 C scheme: GPT
  ID-2: /dev/sda vendor: Crucial model: CT2000BX500SSD1 size: 1.82 TiB speed: 6.0 Gb/s type: SSD
    serial: <filter> rev: 061 scheme: GPT
Partition:
  ID-1: / size: 1.04 TiB used: 84.86 GiB (8.0%) fs: ext4 dev: /dev/sda4
  ID-2: /boot/efi size: 96 MiB used: 55.2 MiB (57.5%) fs: vfat dev: /dev/nvme0n1p1
Swap:
  ID-1: swap-1 type: file size: 2 GiB used: 0 KiB (0.0%) priority: -2 file: /swapfile
USB:
  Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 10 rev: 2.0 speed: 480 Mb/s
    chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 1-1:2 info: Apple Aluminium Keyboard (ISO) type: Keyboard,Mouse driver: apple,usbhid
    interfaces: 2 rev: 2.0 speed: 12 Mb/s power: 400mA chip-ID: 05ac:0250 class-ID: 0301
  Device-2: 1-2:3 info: Fifine Microphone type: Audio,HID
    driver: hid-generic,snd-usb-audio,usbhid interfaces: 3 rev: 1.1 speed: 12 Mb/s power: 100mA
    chip-ID: 3142:5060 class-ID: 0300
  Device-3: 1-3:4 info: SteelSeries ApS Rival 3 type: Mouse,HID driver: hid-generic,usbhid
    interfaces: 4 rev: 2.0 speed: 12 Mb/s power: 400mA chip-ID: 1038:184c class-ID: 0300
  Device-4: 1-9:5 info: Intel Wireless-AC 3168 Bluetooth type: Bluetooth driver: btusb
    interfaces: 2 rev: 2.0 speed: 12 Mb/s power: 100mA chip-ID: 8087:0aa7 class-ID: e001
  Hub-2: 2-0:1 info: Super-speed hub ports: 4 rev: 3.0 speed: 5 Gb/s chip-ID: 1d6b:0003
    class-ID: 0900
Sensors:
  System Temperatures: cpu: 29.8 C mobo: 27.8 C gpu: nvidia temp: 35 C
  Fan Speeds (RPM): N/A gpu: nvidia fan: 35%
Repos:
  Packages: apt: 2437
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
    1: deb https: //www.mirrorservice.org/sites/packages.linuxmint.com/packages virginia main upstream import backport
    2: deb http: //mirror.mythic-beasts.com/ubuntu jammy main restricted universe multiverse
    3: deb http: //mirror.mythic-beasts.com/ubuntu jammy-updates main restricted universe multiverse
    4: deb http: //mirror.mythic-beasts.com/ubuntu jammy-backports main restricted universe multiverse
    5: deb http: //security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
  Active apt repos in: /etc/apt/sources.list.d/spotify.list
    1: deb http: //repository.spotify.com stable non-free
  No active apt repos in: /etc/apt/sources.list.d/steam-beta.list
  Active apt repos in: /etc/apt/sources.list.d/steam-stable.list
    1: deb [arch=amd64,i386 signed-by=/usr/share/keyrings/steam.gpg] https: //repo.steampowered.com/steam/ stable steam
    2: deb-src [arch=amd64,i386 signed-by=/usr/share/keyrings/steam.gpg] https: //repo.steampowered.com/steam/ stable steam
Info:
  Processes: 278 Uptime: 22m wakeups: 0 Memory: 15.47 GiB used: 4.56 GiB (29.5%) Init: systemd
  v: 249 runlevel: 5 Compilers: gcc: 11.4.0 alt: 11/12 Client: Unknown python3.10 client
  inxi: 3.3.13
1000
Level 6
Level 6
Posts: 1040
Joined: Wed Jul 29, 2020 2:14 am

Re: Team Fortress 2 throttle GPU for 1 fps.

Post by 1000 »

If this package solves your problem on Arch Linux,
I don't see this package on Ubuntu 22.04.
Should be something like nvidia-utils-545:i386

On Debian it may have been split into several packages.
For example nvidia-driver-bin which contains for example .. bin/nvidia-debugdump file.
The same file Ubuntu have in nvidia-utils.

You'll have to ask the Ubuntu developers what then can do.
The default channel for reporting issues is for Ubuntu is launchpad.net

Code: Select all

$ apt-cache show nvidia-utils-535 | grep 'Source\|Maintainer\|Bugs\|Homepage'
Source: nvidia-graphics-drivers-535
Maintainer: Ubuntu Core Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Homepage: http://www.nvidia.com
Post Reply

Return to “Gaming”