Question about viogpu profiling capabilities #1133
-
It seems like there is a Reason why I know it isn't a memory bandwith problem is because I've been setting the guest display's resolution to 1280x800 or smaller (upscaled on the host to 1920x1200 using gamescope.) And testing w/ running heaven benchmark shows that I'm able to, on the host side, get 99-100fps. However, outside of that, (including w/ testing running testufo on firefox and playing a game that I don't think uses fullscreen exclusive mode called ss13) I seem to be getting 50-60fps, and even sometimes 30-40fps (seems to suddenly switch between 50+fps and 30-40fps every few minutes or so) And on firefox testufo, disabling dwm using a special tool seems to bring the fps back up to around 60fps: Reason why I'm posting a discussion and not an issue about this fps stuff is because I want to first check if somehow the recently-merged PR #1128 changes any of this |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 7 replies
-
Hello @sharkautarch , Are you testing the experimental PR #943, or just a regular driver? |
Beta Was this translation helpful? Give feedback.
-
OK. But what kind of virtio-gpu driver are you using? |
Beta Was this translation helpful? Give feedback.
-
Then, it is expected to have diminished performance compared to pass-through. |
Beta Was this translation helpful? Give feedback.
-
xperf can be used to profile where OS spends its time: https://learn.microsoft.com/en-us/windows-hardware/test/wpt/windows-performance-toolkit-technical-reference |
Beta Was this translation helpful? Give feedback.
-
@vrozenfe WRT the "UsePhysicalMemory" flag
I'm guessing that the easiest workaround is to patch qemu to allow for a bigger vga bar 0 size, and prob also doing an MR to add a config for the vga bar 0 size for virtio-vga Only annoying issue w/ that is that I would imagine that no one would want the extra code complexity of vga bar 0 size negotiation between driver and virtio-vga device, so that wouldn't allow physmem use for viogpu driver to work out of the box. The second possible 'solution' would be to make the viogpu driver do The one other thought I have, is: would it be possible to use a hostmem or guest-only blob memory as driver physmem, since I think those may be likely to be backed by hugepages (I'm not entirely sure if that's actually the case tho)? |
Beta Was this translation helpful? Give feedback.
-
Oh BTW, I think I made a mistake when I claimed here: #1133 (reply in thread) |
Beta Was this translation helpful? Give feedback.
-
@vrozenfe |
Beta Was this translation helpful? Give feedback.
WPP works in general.
But in the current version it is not possible to adjust the verbosity level. It is all or nothing. I will fry to fix it in the next public build