Re: [0.17.52] CPU pegged and high lag even on menu screen
Posted: Fri Oct 22, 2021 10:53 am
Hello.
I am sorry to report that this behavior is back.
To recap:
I was running Debian 8 with the nvidia driver installed before. Running factorio would report 0Hz refresh rate, and xrandr did not work. I disabled Xinerama (which required that I go down from 4 to 3 monitors). After this, the refresh rate showed correctly, xrandr worked, and factorio worked. You concluded at the time that this must be a bug in the nvidia driver.
Scroll forward a couple of years.
I have reinstalled my system with Debian 11. However, the drivers worked out of the box; I did not install nvidia drivers. Xrandr is working, and running factorio reports the refresh rate correctly (below). But, it is pegging the cpu even in the menu. In fact, it is pegging nine CPUs!
0.045 Display options: [FullScreen: 0] [VSync: 1] [UIScale: automatic (100.0%)] [Native DPI: 1] [Screen: 255] [Special: lmw] [Lang: en]
0.200 Available displays: 3
0.200 [0]: DP 27" - {[0,0], 2560x1440, SDL_PIXELFORMAT_RGB888, 60Hz}
0.200 [1]: DP 27" - {[5120,0], 2560x1440, SDL_PIXELFORMAT_RGB888, 60Hz}
0.200 [2]: DP 27" - {[2560,0], 2560x1440, SDL_PIXELFORMAT_RGB888, 60Hz}
I am sorry to report that this behavior is back.
To recap:
I was running Debian 8 with the nvidia driver installed before. Running factorio would report 0Hz refresh rate, and xrandr did not work. I disabled Xinerama (which required that I go down from 4 to 3 monitors). After this, the refresh rate showed correctly, xrandr worked, and factorio worked. You concluded at the time that this must be a bug in the nvidia driver.
Scroll forward a couple of years.
I have reinstalled my system with Debian 11. However, the drivers worked out of the box; I did not install nvidia drivers. Xrandr is working, and running factorio reports the refresh rate correctly (below). But, it is pegging the cpu even in the menu. In fact, it is pegging nine CPUs!
0.045 Display options: [FullScreen: 0] [VSync: 1] [UIScale: automatic (100.0%)] [Native DPI: 1] [Screen: 255] [Special: lmw] [Lang: en]
0.200 Available displays: 3
0.200 [0]: DP 27" - {[0,0], 2560x1440, SDL_PIXELFORMAT_RGB888, 60Hz}
0.200 [1]: DP 27" - {[5120,0], 2560x1440, SDL_PIXELFORMAT_RGB888, 60Hz}
0.200 [2]: DP 27" - {[2560,0], 2560x1440, SDL_PIXELFORMAT_RGB888, 60Hz}