Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switching to 31KHZ video mode in Picasso leads to a black screen and audio does not run at 44.khz with AHI #1301

Open
diegov-au opened this issue May 2, 2024 · 2 comments
Assignees
Labels
fixed in preview Fixed in the preview branch

Comments

@diegov-au
Copy link

Hi - Firstly, thank you for Amiberry! It's a great emulator.

I'm trying to get AHI 44.1Khz audio working from workbench using RTG with Picasso. I tried with the uae audio driver as I've seen a previous commit for its implementation, but it's extremely buggy. Alternatively, I'm trying to use paula audio in 14bit mode. In order to get 44.1 khz the Amiga needs to be put in 31khz mode from 15khz, however when i try this with Amiberry the screen goes black and sometimes hangs. 31khz mode does work with WinUAE and audio works correctly.

To Reproduce

  1. Go to Picasso PVS
  2. Got to the environments tab
  3. Set 31 KHZ for the Keep Amiga Video option
  4. Click the USE or SAVE button.

Expected behavior
Emulator should run using 31khz Amiga Video and audio should play at 44.1khz as configured in AHI, but it shows a black screen. WinUAE works in 31khz video mode.

An interesting observation is that if you check and uncheck NTSC in the Amiberry options when the screen is black, the desktop returns, but it does not appear to change the emulator behavior and audio still does not run correctly at 44.1khz

Hardware
PI400
Software
Debian 12 Bookworm

@diegov-au diegov-au changed the title Switching to 31KHZ video mode in Picasso mode leads to a black screen and audio does not run at 44.khz with AHI Switching to 31KHZ video mode in Picasso leads to a black screen and audio does not run at 44.khz with AHI May 3, 2024
@midwan midwan self-assigned this May 3, 2024
@midwan
Copy link
Collaborator

midwan commented May 3, 2024

This is a known issue I'm afraid.
The 31KHz option works fine on the preview branch (v6.x) but not on v5.x. But v6.x will probably be too slow to be useful on a Pi400.
The AHI implementation is problematic, but I'm not entirely sure what's wrong with it. I've done all I could to make is as close as possible to the Windows implementation, but there are several differences due to how SDL2 handles audio.

@diegov-au
Copy link
Author

Thanks for replying. I'll take a look at the preview branch!

@midwan midwan added the fixed in preview Fixed in the preview branch label May 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fixed in preview Fixed in the preview branch
Projects
None yet
Development

No branches or pull requests

2 participants