{"action":"opened","issue":{"url":"https://api.github.com/repos/notaz/pcsx_rearmed/issues/73","repository_url":"https://api.github.com/repos/notaz/pcsx_rearmed","labels_url":"https://api.github.com/repos/notaz/pcsx_rearmed/issues/73/labels{/name}","comments_url":"https://api.github.com/repos/notaz/pcsx_rearmed/issues/73/comments","events_url":"https://api.github.com/repos/notaz/pcsx_rearmed/issues/73/events","html_url":"https://github.com/notaz/pcsx_rearmed/issues/73","id":169389896,"number":73,"title":"Small stall and audio dropout in some games (no CPU usage related)","user":{"login":"vanfanel","id":837585,"avatar_url":"https://avatars.githubusercontent.com/u/837585?v=3","gravatar_id":"","url":"https://api.github.com/users/vanfanel","html_url":"https://github.com/vanfanel","followers_url":"https://api.github.com/users/vanfanel/followers","following_url":"https://api.github.com/users/vanfanel/following{/other_user}","gists_url":"https://api.github.com/users/vanfanel/gists{/gist_id}","starred_url":"https://api.github.com/users/vanfanel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vanfanel/subscriptions","organizations_url":"https://api.github.com/users/vanfanel/orgs","repos_url":"https://api.github.com/users/vanfanel/repos","events_url":"https://api.github.com/users/vanfanel/events{/privacy}","received_events_url":"https://api.github.com/users/vanfanel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-04T14:35:45Z","updated_at":"2016-08-04T14:35:45Z","closed_at":null,"body":"Hi again,\r\n\r\nHaving solved the memory mapping mistery with pcsx_rearmed in Raspbian, I felt I should give a go at the last issue I have seen with this great emulator:\r\nIn some games, there's a 1-second pause (including sound dropout) when actual gameplay starts for the first time per emulator execution. For example, in Tekken 3, you can see the pause in the first fight, just after the \"FIGHT!\" voice, and in WipeOut you can see it just before \"GO!\" in the first race. \r\nIf you keep playing, you NEVER see this pause again: it only happens the first time you enter the first stage, so I guess it's something that is done once and cached while pcsx_rearmed is running.\r\n\r\nIt happens when using isos from SD, and also when using them from fast USB HDD drives, so it's not because of the slow SD speed on the Pi3: also, a PSX as a 300KB/s CDROM unit so it's unlikely.\r\n\r\nAlso, it happens with no noticeable CPU usage peaks: top -d1 stays at ~50% CPU usage, and of course there are no other processes eating up CPU when it happens: it always happens at the same point.\r\n\r\nSince the pcsx_rearmed core uses dynarec, I looked at cache misses first.\r\nIn case of cache misses, it seems the cpu multiplier is decreased, so I played with cycle_multiplier in libretro.c, but it makes no difference.\r\nI also tried increasing the MAXBLOCK and MAX_OUTPUT_BLOCK_SIZE defines in new_dynarec.c, but it makes no difference.\r\n\r\nSo, maybe it's related to CDROM access cache, but I haven't found any access cache-related defines in cdrom.c/h or cdriso.c/h, so I don't know what could I try. Any ideas? "}}
{"actor":{"display_login":"vanfanel"}}