cizia64 / CrossMix-OS

Enhanced OS for the TrimUI Smart Pro
GNU General Public License v3.0
192 stars 27 forks source link

fb neo some games lag on the crossmix but in the stock os are perfect #30

Open mattitotti96 opened 2 months ago

mattitotti96 commented 2 months ago

i wanna report a bug bubble bubble ii and 3 are very lag in crossmix with fb neo but in stock os are perfect please can you do something?

cobaltgit commented 2 months ago

Are you using crossmix v1.1.0? @cizia64 is this a result of threaded video being disabled?

mattitotti96 commented 2 months ago

Are you using crossmix v1.1.0? @cizia64 is this a result of threaded video being disabled?

of course if you have telegram or something i can show you the proof video also on 1.00 version was this bug but in stockos are perfect

cizia64 commented 2 months ago

Could be interesting to compare with and without threaded video but for now a lot of people are talking about this parameter but no one has really seen a difference... So if you can make a test it's welcome.

3 things to compare :

welblade commented 2 months ago

I did a small test, using "blazing star" game, with fbneo, the performance is the same with thread video enabled or not. But if you enable a shader (I tested "crt-guest-dr-venon"), without threaded video enabled you will have a drop to 18 fps, but maintaining 60 fps with theaded video enabled.

yukky37 commented 2 months ago

In my case, Gradius III was unstable, so I improved it by making the following changes.

Stock OS seems to have the CPU frequency set to 1.4G.

/mnt/SDCARD/Emus/FBNEO/launch.sh

#!/bin/sh
RA_DIR=/mnt/SDCARD/RetroArch
EMU_DIR=/mnt/SDCARD/Emus/FBNEO
cd $RA_DIR/
$EMU_DIR/cpufreq.sh

HOME=$RA_DIR/ $RA_DIR/ra64.trimui -v $NET_PARAM -L $RA_DIR/.retroarch/cores/fbneo_libretro.so "$*"
#HOME=$RA_DIR/ $RA_DIR/ra64.trimui -v $NET_PARAM -L $RA_DIR/.retroarch/cores/fbalpha2012_libretro.so "$*"

#HOME=$RA_DIR/ $RA_DIR/retroarch -v $NET_PARAM -L $RA_DIR/.retroarch/cores/fbalpha2012_libretro.so "$*"
#HOME=$RA_DIR/ $RA_DIR/retroarch -v $NET_PARAM -L $RA_DIR/.retroarch/cores/fbneo_libretro.so "$*"
#HOME=$RA_DIR/ $RA_DIR/retroarch -v $NET_PARAM -L $EMU_DIR/fbalpha2012_libretro.so "$*"

/mnt/SDCARD/Emus/FBNEO/cpufreq.sh

#!/bin/sh
echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo 1416000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq

CrossMix did not have a CPU frequency setting. /mnt/SDCARD/Emus/FBNEO/FBNEO.sh

#!/bin/sh
source /mnt/SDCARD/System/usr/trimui/scripts/FolderOverrideFinder.sh
RA_DIR=/mnt/SDCARD/RetroArch
EMU_DIR=/mnt/SDCARD/Emus/ARCADE_FBNEO
cd $RA_DIR/

HOME=$RA_DIR/ $RA_DIR/ra64.trimui -v $NET_PARAM -L $RA_DIR/.retroarch/cores/fbneo_libretro.so "$@"
#HOME=$RA_DIR/ $RA_DIR/ra64.trimui -v $NET_PARAM -L $RA_DIR/.retroarch/cores/fbalpha2012_libretro.so "$@"

#HOME=$RA_DIR/ $RA_DIR/retroarch -v $NET_PARAM -L $RA_DIR/.retroarch/cores/fbalpha2012_libretro.so "$@"
#HOME=$RA_DIR/ $RA_DIR/retroarch -v $NET_PARAM -L $RA_DIR/.retroarch/cores/fbneo_libretro.so "$@"
#HOME=$RA_DIR/ $RA_DIR/retroarch -v $NET_PARAM -L $EMU_DIR/fbalpha2012_libretro.so "$@"

so I changed it as follows.

/mnt/SDCARD/Emus/FBNEO/FBNEO.sh

#!/bin/sh
source /mnt/SDCARD/System/usr/trimui/scripts/FolderOverrideFinder.sh
RA_DIR=/mnt/SDCARD/RetroArch
EMU_DIR=/mnt/SDCARD/Emus/FBNEO
cd $RA_DIR/
$EMU_DIR/cpufreq.sh

HOME=$RA_DIR/ $RA_DIR/ra64.trimui -v $NET_PARAM -L $RA_DIR/.retroarch/cores/fbneo_libretro.so "$@"
#HOME=$RA_DIR/ $RA_DIR/ra64.trimui -v $NET_PARAM -L $RA_DIR/.retroarch/cores/fbalpha2012_libretro.so "$@"

#HOME=$RA_DIR/ $RA_DIR/retroarch -v $NET_PARAM -L $RA_DIR/.retroarch/cores/fbalpha2012_libretro.so "$@"
#HOME=$RA_DIR/ $RA_DIR/retroarch -v $NET_PARAM -L $RA_DIR/.retroarch/cores/fbneo_libretro.so "$@"
#HOME=$RA_DIR/ $RA_DIR/retroarch -v $NET_PARAM -L $EMU_DIR/fbalpha2012_libretro.so "$@"

/mnt/SDCARD/Emus/FBNEO/cpufreq.sh

#!/bin/sh
echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo 1416000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq

I look forward to changes and fixes in the next release.

cizia64 commented 1 month ago

Should be fixed in CrossMix v1.2.1, can you confirm ?