Post AR1YZCeIAcHPPhhlke by living8bit@mastodon.social
(DIR) More posts by living8bit@mastodon.social
(DIR) Post #AR14iTsiTJLYqCxZ8S by codewiz@mstdn.io
2022-12-27T01:16:58Z
0 likes, 0 repeats
VICE 3.7 is out with lots of improvements!https://vice-emu.sourceforge.io/#vice #c64 #vic20 #c128 #retrocomputing #emulators
(DIR) Post #AR166IAjl4oRQgJ4pE by living8bit@mastodon.social
2022-12-27T01:32:27Z
0 likes, 0 repeats
@codewiz Compiling now. I fear the CPU usage is still going to be huge as compared to 3.3. They blamed GTK for it, but I have 3.3 with the newer GTK libs from Deb11 and the CPU usage *isn't* higher. We shall see...
(DIR) Post #AR183MbX1UBCDOZSgS by codewiz@mstdn.io
2022-12-27T01:54:05Z
0 likes, 0 repeats
@living8bit You could try compiling it with --enable-sdl2ui to see if it makes a difference.
(DIR) Post #AR18l8tnLBOqRxzMwq by codewiz@mstdn.io
2022-12-27T02:02:10Z
0 likes, 0 repeats
@living8bit I just launched x64sc, and I see 51-53% CPU usage on a single core of a i7-12700F.This measurement is taken at the "READY." prompt, PAL mode, no UI scaling, bicubic render filter, v-sync enabled, CRT emulation enabled, etc.
(DIR) Post #AR1CN59S1PYLh65uvw by living8bit@mastodon.social
2022-12-27T02:42:42Z
0 likes, 0 repeats
@codewiz Ok, I'm going to need to do some more experimentation. Below is v3.3 x64 at 6.6% CPU, v3.7 x64sc at 56% CPU, and v3.7 x64 at 6% CPU. I didn't check my settings, but there may be hope!
(DIR) Post #AR1FWXCzNKgdBEwqqe by codewiz@mstdn.io
2022-12-27T03:18:00Z
0 likes, 0 repeats
@living8bit Here's what I got with a quick pprof run.81% of the CPU goes into vicii_cycle(), and 51% in vicii_raster_draw_handler().This is an optimized build and I have no time to dig more into it, but nothing is pointing at GTK...#programming #profiling #linux
(DIR) Post #AR1Gv0Xa4RZR3YoUjo by living8bit@mastodon.social
2022-12-27T03:33:45Z
0 likes, 0 repeats
@codewiz Even more peculiar then based on the mailing list response I saw years ago. Thanks for the hint to pprof though...
(DIR) Post #AR1YZC8k3v2hpqwZZg by living8bit@mastodon.social
2022-12-27T03:48:15Z
0 likes, 0 repeats
@codewiz I done messed up. My fingers 'cd'd into my 3.3 directory out of muscle memory. I just ran x64sc and x64 for v3.7 and the CPU is off the charts. It does go to show though how 3.3 is just much less stressful on the CPU.As for pprof, I don't have the means to run it, but if you got 51% on an optimized build, I still don't see it matching v3.3 levels on my machine. Whatever the actual cause, that's too much CPU usage for me to switch at this point.(For ref: https://sourceforge.net/p/vice-emu/bugs/1017/)
(DIR) Post #AR1YZCeIAcHPPhhlke by living8bit@mastodon.social
2022-12-27T04:09:54Z
0 likes, 0 repeats
@codewiz Hmmm. Check the CPU usage under XFCE's Task Manager, and it's giving me 14-18% depending on PAL or NTSC, but my CPU graph taskbar widget shows much more 14% activity when the emulators running.I'll play more later too. Have a good night and sorry for the bombardment of toots on the matter.
(DIR) Post #AR1YZD84Nu6Cu3dYAK by codewiz@mstdn.io
2022-12-27T06:51:29Z
0 likes, 0 repeats
@living8bit no problem, I'm also curious!
(DIR) Post #AR1dzOO1eUPN7KP6Gm by codewiz@mstdn.io
2022-12-27T07:52:14Z
0 likes, 0 repeats
@living8bit I guess it's hard to measure the effective CPU usage these days, because the clock frequency also changes depending on usage and thermal conditions.There should be a /sys file to force the cores to run at the maximum frequency, which is good for benchmarks.