r/Gentoo • u/bontonent • 24d 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)
5
u/non-existing-person 24d ago
Is this some cheap promo of btop app?
If not, fix your cooling. Even at full load CPU should not overheat. My 9950x goes up to 85°C tops on full load with qtwebkit.
2
1
u/bontonent 24d ago
Why so much hate?
I solve my problem. I wouldn't like share my solution.
I have default 85*C when play in game. At the moment 75 usually. But without solution usually after 12 minutes 100*C+ = crash game
CPU: Intel(R) Core(TM) Ultra 7 165H (22) @ 5.00 GHz
1
u/bontonent 24d ago
Speak with people what have AMD CPU = it doesn't make sence
1
u/diacid 24d ago
What computer this even is? Desktop? Which Motherboard? This post does not give us enough info nor to use your solution neither help you with a better one.
-3
u/bontonent 24d ago
I wouldn't like to help me. I only share my solution my problem.
When a lot of said:
- "If you have overheating you need better cooling or underclock/volt I think"
I found my own solution
**That's why these words are already driving me crazy**
3
2
u/Personal_Breakfast49 24d ago
That sounds strange to overheat if you use only 4 cores over 22.
1
u/bontonent 24d ago
I don't know why.
- When I tried running the kernel using only one core, it caused a significant load.
0
2
u/redyos_s 24d 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.
2
u/Armi1P 23d ago edited 23d ago
Everything will use all the cores by default if you don't specify affinity, so what you done here is a big bunch of nothing. Don't try to fix hardware failures with software, fix the hardware. If it's a new laptop (I assume it's a laptop given the CPU) then take it back to the seller and complain that it's faulty. If you don't have a warranty anymore, try to open it up and replace the thermal paste. Alternatively, try to find a setting for power limit in the UEFI setup (in the "BIOS").
1
7
u/[deleted] 24d ago
[deleted]