GPU Performance questions

GPU Performance questions

Postby altcoin » 22 Dec 2022, 01:08

I usually use stk on a computer with dual gpus. (Intel 4th Gen Integrated Graphics and Radeon HD 8870M)
When I run stk (with all graphics options at max) on my default (less powerful) gpu, the bottleneck appears to be the gpu. FPS are about 20, stk uses ~9% of one cpu core.
When I run stk (with all graphics options at max) on my additional (much more powerful) gpu, the bottleneck appears to be the cpu instead. FPS are only about 30, but stk uses 100% of one cpu core.
While the Vulkan driver is much faster (60 FPS at 30% of one cpu core), I don't think it is a fair comparison because many graphics features are automatically disabled due the the limitations and age of the gpu.

Is the bottleneck on the powerful gpu the limit at which one cpu core can transfer data to/from the gpu?
Is this related to Why SuperTuxKart struggles with 10k scene nodes in a scene, where they discuss the cpu/ram bandwidth saturation?

I usually run stk in 2 or 4 multiplayer and turn down the graphics. Otherwise is lags to 10-20 FPS on gl driver and powerful gpu with visible stuttering of the screen. I think the powerful gpu should be able to handle it somewhat faster if it were not for the cpu bottleneck.
altcoin
 
Posts: 17
Joined: 15 Apr 2021, 23:13

Re: GPU Performance questions

Postby benau » 22 Dec 2022, 02:16

Because gl drivers use busy waiting in cpu for each frame synchronization
Image
benau
STK Moderator
 
Posts: 505
Joined: 08 Dec 2015, 17:32

Re: GPU Performance questions

Postby altcoin » 22 Dec 2022, 21:14

benau {l Wrote}:Because gl drivers use busy waiting in cpu for each frame synchronization

I see.

Is there any reason that the gl driver on the powerful gpu uses 10 times the cpu and only increases the framerate by half, when compared to the gl driver on the less powerful gpu?
altcoin
 
Posts: 17
Joined: 15 Apr 2021, 23:13

Re: GPU Performance questions

Postby QwertyChouskie » 23 Dec 2022, 00:59

What exact CPU do you have?
Contributor to/fan of STK (Upstreamed Cartoon theme, numerous random big fixes/tweaks)
User avatar
QwertyChouskie
 
Posts: 559
Joined: 29 Jun 2016, 14:57

Re: GPU Performance questions

Postby altcoin » 03 Jan 2023, 23:45

QwertyChouskie {l Wrote}:What exact CPU do you have?

Intel Core i7-4900MQ
altcoin
 
Posts: 17
Joined: 15 Apr 2021, 23:13

Re: GPU Performance questions

Postby QwertyChouskie » 04 Jan 2023, 04:51

altcoin {l Wrote}:
QwertyChouskie {l Wrote}:What exact CPU do you have?

Intel Core i7-4900MQ


That isn't a particularly low-performance CPU, I suspect it's throttling because of thermal issues. I would highly recommend opening the laptop, cleaning the fans and heatsinks, and replacing the thermal paste. A laptop of this age is very likely to have dry, crusty thermal paste and clogged heatsinks.
Contributor to/fan of STK (Upstreamed Cartoon theme, numerous random big fixes/tweaks)
User avatar
QwertyChouskie
 
Posts: 559
Joined: 29 Jun 2016, 14:57

Re: GPU Performance questions

Postby altcoin » 06 Jan 2023, 00:38

QwertyChouskie {l Wrote}: That isn't a particularly low-performance CPU, I suspect it's throttling because of thermal issues.

That is a very good point. My CPU doesn't seem to run too hot, (compared to another I recently cleaned) but it would definitely be worth a try.
altcoin
 
Posts: 17
Joined: 15 Apr 2021, 23:13

Who is online

Users browsing this forum: No registered users and 1 guest

cron