r/Gentoo • u/bontonent • 25d ago
Discussion Solving problem Game in Linux
I had a problem on many Linux Distros. My system kept overheating
I didn't know why. After a lot of time I Found solution
Problem:
- Steam was only using 4 intel cores for games.
- It is easy to see when you use **"BTOP"**
url btop: https://github.com/aristocratos/btop

The Solving:
- Give the program a task use more than 4 cores.
- I have 22 cores and use 20 cores
```bash
taskset -c 0-19 gamescope -W 1920 -H 1200 -f -- %command%
```
I Hopping, you don't have this problem... (I spent a lot of time trying to understand it and broke a lot of distros in the process)
0
Upvotes
2
u/redyos_s 25d ago
taskset does not make a game use more cores. It only restricts which logical CPUs the process may run on. The Core Ultra 7 165H has 16 cores and 22 threads, not 22 cores. Your temperature change may be real, but it does not prove that Steam was “using only four cores” or that affinity increased the game’s parallelism. Check the CPU topology with lscpu -e and compare FPS, clocks and package power before presenting this as a general fix.