[NVIDIA] Occasional hangs on OpenGL Applications

Noticed that i keep getting occasional hangs while running certain applications and games, such as OpenTTD and similar styled games like simcity of command and conquer.

The game will suddenly freeze, hang for 5+ seconds, and show the game in a frozen picture state of about 5-10 minutes ago for 10-30 seconds. I can move the application about, however resizing it results in the application being black. I can do other things on the PC, e.g. open firefox while this hangs and run things in the terminal.

After roughly around a minute from the start time, the entire PC will freeze for about 4-5 seconds, on occasion a bluetooth mouse will disconnect momentarily, and then flip back with everything running as if nothing had happened. This then doesn’t occur again for around 5 to 20 minutes.

Any advice on a workaround or fix? I’m on an “old“ 1060 on NVIDIA 580 drivers and a 2nd gen i5.

PC Details: Here

The output of inxi -Gxx should reveal which drivers are currently in use for the individual graphic APIs such as EGL, OpenGL and Vulkan. Sadly the output of lspci -vnn which you’ve linked doesn’t contain this information.

Additionally, I can’t really tell how you installed OpenTTD, in case you didn’t new, it’s available via to official [extra] repository of Arch and could be installed via pacman.

Furthermore, my suspicion is that you eventually missed some other package, especially one of the lib32 packages in relation to the nvidia drivers. Check this thread for guidance. If that won’t help, and to rule out other issues which are not graphics related, the output of inxi -Fxxc0z would also be helpful to diagnose the issue you’re describing.

I have re-installed the 580 drivers using advice from that thread, the issue remains. OpenTTD is installed through steam (multilib/steam). Noticed turning off Hardware Acceleration inside OpenTTD fixed it at a slight loss in frames.

inxi -Gxx
Graphics:
  Device-1: NVIDIA GP106 [GeForce GTX 1060 6GB] vendor: Micro-Star MSI
    driver: nvidia v: 580.119.02 arch: Pascal pcie: speed: 5 GT/s lanes: 16
    ports: active: DP-1 empty: DVI-D-1,HDMI-A-1 bus-ID: 01:00.0
    chip-ID: 10de:1c03
  Display: wayland server: X.org v: 1.21.1.21 with: Xwayland v: 24.1.9
    compositor: kwin_wayland driver: X: loaded: nvidia unloaded: modesetting
    alternate: fbdev,nouveau,nv,vesa gpu: nvidia,nvidia-nvswitch display-ID: 0
  Monitor-1: DP-1 model: Idek Iiyama PL2492H res: 1920x1080 hz: 75 dpi: 93
    diag: 604mm (23.8")
  API: EGL v: 1.5 platforms: device: 0 drv: nvidia device: 2 drv: swrast
    gbm: drv: nvidia surfaceless: drv: nvidia wayland: drv: nvidia x11:
    drv: nvidia inactive: device-1
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 580.119.02
    glx-v: 1.4 direct-render: yes renderer: NVIDIA GeForce GTX 1060
    6GB/PCIe/SSE2 display-ID: :1.0
  API: Vulkan v: 1.4.335 surfaces: N/A device: 0 type: discrete-gpu
    driver: nvidia device-ID: 10de:1c03
  Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo
    de: kscreen-console,kscreen-doctor gpu: nvidia-settings,nvidia-smi
    wl: wayland-info x11: xdpyinfo, xprop, xrandr

inxi -Fxxc0z
System:
  Kernel: 6.18.2-arch2-1 arch: x86_64 bits: 64 compiler: gcc v: 15.2.1
  Desktop: KDE Plasma v: 6.5.4 tk: Qt v: N/A wm: kwin_wayland dm: SDDM
    Distro: EndeavourOS base: Arch Linux
Machine:
  Type: Desktop Mobo: ASUSTeK model: P8Z77-V LX v: Rev X.0x
    serial: <superuser required> part-nu: SKU Firmware: UEFI
    vendor: American Megatrends v: 2501 date: 07/21/2014
CPU:
  Info: quad core model: Intel Core i5-2500K bits: 64 type: MCP
    arch: Sandy Bridge rev: 7 cache: L1: 256 KiB L2: 1024 KiB L3: 6 MiB
  Speed (MHz): avg: 2252 min/max: 1600/3700 cores: 1: 2252 2: 2252 3: 2252
    4: 2252 bogomips: 26477
  Flags-basic: avx ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3
Graphics:
  Device-1: NVIDIA GP106 [GeForce GTX 1060 6GB] vendor: Micro-Star MSI
    driver: nvidia v: 580.119.02 arch: Pascal pcie: speed: 5 GT/s lanes: 16
    ports: active: DP-1 empty: DVI-D-1,HDMI-A-1 bus-ID: 01:00.0
    chip-ID: 10de:1c03
  Display: wayland server: X.org v: 1.21.1.21 with: Xwayland v: 24.1.9
    compositor: kwin_wayland driver: X: loaded: nvidia unloaded: modesetting
    alternate: fbdev,nouveau,nv,vesa gpu: nvidia,nvidia-nvswitch display-ID: 0
  Monitor-1: DP-1 model: Idek Iiyama PL2492H res: 1920x1080 hz: 75 dpi: 93
    diag: 604mm (23.8")
  API: EGL v: 1.5 platforms: device: 0 drv: nvidia device: 2 drv: swrast
    gbm: drv: nvidia surfaceless: drv: nvidia wayland: drv: nvidia x11:
    drv: nvidia inactive: device-1
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 580.119.02
    glx-v: 1.4 direct-render: yes renderer: NVIDIA GeForce GTX 1060
    6GB/PCIe/SSE2 display-ID: :1.0
  API: Vulkan v: 1.4.335 surfaces: N/A device: 0 type: discrete-gpu
    driver: nvidia device-ID: 10de:1c03
  Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo
    de: kscreen-console,kscreen-doctor gpu: nvidia-settings,nvidia-smi
    wl: wayland-info x11: xdpyinfo, xprop, xrandr
Audio:
  Device-1: Intel 7 Series/C216 Family High Definition Audio
    vendor: ASUSTeK P8Z77-V LX driver: snd_hda_intel v: kernel bus-ID: 00:1b.0
    chip-ID: 8086:1e20
  Device-2: NVIDIA GP106 High Definition Audio vendor: Micro-Star MSI
    driver: snd_hda_intel v: kernel pcie: speed: 5 GT/s lanes: 16
    bus-ID: 01:00.1 chip-ID: 10de:10f1
  Device-3: Creative Labs CA0106/CA0111 [SB Live!/Audigy/X-Fi Series]
    driver: snd_ca0106 v: kernel bus-ID: 05:01.0 chip-ID: 1102:0007
  API: ALSA v: k6.18.2-arch2-1 status: kernel-api
  Server-1: PipeWire v: 1.4.9 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin
Network:
  Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    vendor: ASUSTeK P8P67 and other motherboards driver: r8169 v: kernel pcie:
    speed: 2.5 GT/s lanes: 1 port: d000 bus-ID: 03:00.0 chip-ID: 10ec:8168
  IF: enp3s0 state: down mac: <filter>
  Device-2: Edimax EW-7612UAn V2 802.11n Wireless Adapter [Realtek
    RTL8192CU] driver: rtl8192cu type: USB rev: 2.0 speed: 480 Mb/s lanes: 1
    bus-ID: 4-1.2:3 chip-ID: 7392:7822
  IF: wlan0 state: up mac: <filter>
Bluetooth:
  Device-1: Cambridge Silicon Radio Bluetooth Dongle (HCI mode) driver: btusb
    v: 0.8 type: USB rev: 2.0 speed: 12 Mb/s lanes: 1 bus-ID: 1-4:3
    chip-ID: 0a12:0001
  Report: btmgmt ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 4.0
    lmp-v: 6
Drives:
  Local Storage: total: 1.6 TiB used: 1.03 TiB (64.3%)
  ID-1: /dev/sda vendor: Samsung model: SSD 870 EVO 500GB size: 465.76 GiB
    speed: 6.0 Gb/s serial: <filter>
  ID-2: /dev/sdb vendor: SanDisk model: SD6SB1M256G1022I size: 238.47 GiB
    speed: 3.0 Gb/s serial: <filter>
  ID-3: /dev/sdc vendor: Seagate model: ST1000DM003-9YN162 size: 931.51 GiB
    speed: 3.0 Gb/s serial: <filter>
Partition:
  ID-1: / size: 456.74 GiB used: 225.24 GiB (49.3%) fs: ext4 dev: /dev/sda5
Swap:
  Alert: No swap data was found.
Sensors:
  System Temperatures: cpu: 35.0 C mobo: N/A
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 16 GiB available: 15.56 GiB used: 7.01 GiB (45.1%)
  Processes: 269 Power: uptime: 1h 6m wakeups: 0 Init: systemd v: 259
    default: graphical
  Packages: 1486 pm: pacman pkgs: 1471 pm: flatpak pkgs: 15 Compilers:
    clang: 21.1.6 gcc: 15.2.1 Shell: Bash v: 5.3.9 running-in: konsole
    inxi: 3.3.40

I don’t see any red flags.

Only wondering why the EGL API reports your GPU as being inactive, which is unusal.

And that nvidia-nvswitch is installed, which wouldn’t be required as I assume that you’ve deactivated the Integrated Intel® HD Graphics 3000 of your CPU via BIOS.

Other than that, you don’t seem to have any SWAP space configured. But this might be unrelated, I generally recommend to have at least a SWAP file.

I guess we should check your journalctl, journalctl -b 0 -p 3 should contain all messages that are flagged as errors of your most recent boot without the warnings (-p 4) or simple info messages (-p 5).

You are correct, ive not used the intel iGPU at any point. SWAP is on my todo list.

journalctl -b 0 -p 3
Jan 10 12:22:34 main-i5-kde-pc kernel: x86/cpu: VMX (outside TXT) disabled by BIOS
Jan 10 12:22:34 main-i5-kde-pc kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.SAT0.SPT0._GTF.DSSP], AE_NOT_FOUND (20250807/psargs-332)
Jan 10 12:22:34 main-i5-kde-pc kernel: ACPI Error: Aborting method \_SB.PCI0.SAT0.SPT0._GTF due to previous error (AE_NOT_FOUND) (20250807/psparse-529)
Jan 10 12:22:34 main-i5-kde-pc kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.SAT0.SPT4._GTF.DSSP], AE_NOT_FOUND (20250807/psargs-332)
Jan 10 12:22:34 main-i5-kde-pc kernel: ACPI Error: Aborting method \_SB.PCI0.SAT0.SPT4._GTF due to previous error (AE_NOT_FOUND) (20250807/psparse-529)
Jan 10 12:22:34 main-i5-kde-pc kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.SAT0.SPT2._GTF.DSSP], AE_NOT_FOUND (20250807/psargs-332)
Jan 10 12:22:34 main-i5-kde-pc kernel: ACPI Error: Aborting method \_SB.PCI0.SAT0.SPT2._GTF due to previous error (AE_NOT_FOUND) (20250807/psparse-529)
Jan 10 12:22:34 main-i5-kde-pc kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.SAT0.SPT4._GTF.DSSP], AE_NOT_FOUND (20250807/psargs-332)
Jan 10 12:22:34 main-i5-kde-pc kernel: ACPI Error: Aborting method \_SB.PCI0.SAT0.SPT4._GTF due to previous error (AE_NOT_FOUND) (20250807/psparse-529)
Jan 10 12:22:34 main-i5-kde-pc kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.SAT0.SPT2._GTF.DSSP], AE_NOT_FOUND (20250807/psargs-332)
Jan 10 12:22:34 main-i5-kde-pc kernel: ACPI Error: Aborting method \_SB.PCI0.SAT0.SPT2._GTF due to previous error (AE_NOT_FOUND) (20250807/psparse-529)
Jan 10 12:22:34 main-i5-kde-pc kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.SAT0.SPT5._GTF.DSSP], AE_NOT_FOUND (20250807/psargs-332)
Jan 10 12:22:34 main-i5-kde-pc kernel: ACPI Error: Aborting method \_SB.PCI0.SAT0.SPT5._GTF due to previous error (AE_NOT_FOUND) (20250807/psparse-529)
Jan 10 12:22:34 main-i5-kde-pc kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.SAT0.SPT5._GTF.DSSP], AE_NOT_FOUND (20250807/psargs-332)
Jan 10 12:22:34 main-i5-kde-pc kernel: ACPI Error: Aborting method \_SB.PCI0.SAT0.SPT5._GTF due to previous error (AE_NOT_FOUND) (20250807/psparse-529)
Jan 10 12:22:34 main-i5-kde-pc kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.SAT0.SPT0._GTF.DSSP], AE_NOT_FOUND (20250807/psargs-332)
Jan 10 12:22:34 main-i5-kde-pc kernel: ACPI Error: Aborting method \_SB.PCI0.SAT0.SPT0._GTF due to previous error (AE_NOT_FOUND) (20250807/psparse-529)
Jan 10 12:22:35 main-i5-kde-pc kernel: 
Jan 10 12:22:43 main-i5-kde-pc wpa_supplicant[823]: bgscan simple: Failed to enable signal strength monitoring
Jan 10 12:22:47 main-i5-kde-pc org_kde_powerdevil[1128]: [  1128] busno=4, All features that should not exist detected. Monitor does not indicate unsuppor>
Jan 10 12:22:51 main-i5-kde-pc kwin_wayland[920]: Libinput: event18 - CHERRY GENTIX BT: client bug: event processing lagging behind by 79ms, your system i>
Jan 10 12:22:51 main-i5-kde-pc kwin_wayland[920]: Invalid framebuffer status:  "GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT"

So your iGPU is deactivated via BIOS settings ?

Other than that, I can only see the packages nvidia-580xx-dkms nvidia-580xx-utils being installed, please check the thread nvidia gpu users attention please for additional required packages, if you haven’t done so already. You might be missing the packages nvidia-580xx-settings and lib32-nvidia-580xx-utils

In terms of the ACPI BIOS Error messages related to your SATA bus, I can’t rule out that there might be a failing hard drive causing these. You may want to check sda, sdb & sdc individually via sudo smartctl -a /dev/sda

Honestly not too sure. I’d say it is deactivated based on the BIOS saying it’s speed is n/a, however ive not seen anywhere to actually turn it off and on. Ive ever seen a graph for it in my numerous years with this PC, both on windows and linux. Given i have always had a GPU better than the iGPU ive never used it.

The packages mentioned are indeed installed, and have been reinstalled in case.

Checked each disk, no errors reported and each disk passed. That said they are increasing old disks.