No audio on Asus Chromebox CN60

Hey all, new here, and trying to get Lakka to work on an Asus Chromebox CN60 I picked up for cheap. It seems to have multiple issues.

  1. The machine tends to get stuck on the Lakka flower whenever I select a game for a VERY long time. It does boot eventually, but it’s extraordinarily long, to the time of 5+ minutes. No matter the core or game, zipped or unzipped, same thing. Running off of USB or SSD, same thing.

  2. Also, what really brought me here, is when the machine finally does load the game, there is no audio! NONE! Any game, no sound can be heard. I checked the .cfg file by SSH and found that the audio device field was empty, but whenever I tried to enter one, something else happens: my game speeds up by a factor of two! It’s the weirdest thing.

Anyone else have experienced such a thing and how to solve this? Please, let me know. Thank you all for your help.

Hi,

Is it possible to provide some logs (Lakka system, graphic card and audio logs) ?

Thank you.

Here’s the log from SSH:

login as: root [email protected]’s password: ###########################################

Lakka - The DIY retro emulation console

… visit http://www.lakka.tv

###########################################

Lakka (unofficial) Version: devel-20160921141040-r21588-gd33310f Lakka git: d33310fb9bacbcfa8c90b107a9628b9964114668 Lakka:~ # systemctl stop retroarch.service ; retroarch -v RetroArch [INFO] :: === Build ======================================= Capabilities: MMX MMXEXT SSE1 SSE2 SSE3 SSSE3 SSE4 SSE4.2 Built: Sep 20 2016 RetroArch [INFO] :: Version: 1.3.6 RetroArch [INFO] :: Git: 0fb570f RetroArch [INFO] :: ================================================= RetroArch [INFO] :: Looking for config in: “/storage/.config/retroarch/retroarch .cfg”. RetroArch [INFO] :: Config: loading config from: /storage/.config/retroarch/retr oarch.cfg. RetroArch [INFO] :: Resetting undo buffers. RetroArch [INFO] :: Environ SET_PIXEL_FORMAT: RGB565. RetroArch [INFO] :: Version of libretro API: 1 RetroArch [INFO] :: Compiled against API: 1 RetroArch [INFO] :: Set audio input rate to: 29975.00 Hz. RetroArch [INFO] :: Found shader “/usr/share/common-shaders/bilinear.glslp” RetroArch [INFO] :: Found shader “/usr/share/common-shaders/nearest.glslp” RetroArch [INFO] :: Found shader “/usr/share/common-shaders/stock.glsl” RetroArch [INFO] :: Video @ 960x720 RetroArch [INFO] :: Starting threaded video driver … RetroArch [INFO] :: [DRM]: Found 3 connectors. RetroArch [INFO] :: [DRM]: Connector 0 connected: yes RetroArch [INFO] :: [DRM]: Connector 0 has 26 modes. RetroArch [INFO] :: [DRM]: Connector 0 assigned to monitor index: #1. RetroArch [INFO] :: [DRM]: Connector 1 connected: no RetroArch [INFO] :: [DRM]: Connector 1 has 0 modes. RetroArch [INFO] :: [DRM]: Connector 2 connected: no RetroArch [INFO] :: [DRM]: Connector 2 has 0 modes. RetroArch [INFO] :: [DRM]: Mode 0: (1360x768) 1360 x 768, 60 Hz RetroArch [INFO] :: [DRM]: Mode 1: (1920x1080) 1920 x 1080, 60 Hz RetroArch [INFO] :: [DRM]: Mode 2: (1920x1080) 1920 x 1080, 60 Hz RetroArch [INFO] :: [DRM]: Mode 3: (1920x1080i) 1920 x 1080, 60 Hz RetroArch [INFO] :: [DRM]: Mode 4: (1920x1080i) 1920 x 1080, 60 Hz RetroArch [INFO] :: [DRM]: Mode 5: (1920x1080) 1920 x 1080, 24 Hz RetroArch [INFO] :: [DRM]: Mode 6: (1920x1080) 1920 x 1080, 24 Hz RetroArch [INFO] :: [DRM]: Mode 7: (1680x1050) 1680 x 1050, 60 Hz RetroArch [INFO] :: [DRM]: Mode 8: (1280x1024) 1280 x 1024, 60 Hz RetroArch [INFO] :: [DRM]: Mode 9: (1440x900) 1440 x 900, 60 Hz RetroArch [INFO] :: [DRM]: Mode 10: (1280x960) 1280 x 960, 60 Hz RetroArch [INFO] :: [DRM]: Mode 11: (1280x800) 1280 x 800, 75 Hz RetroArch [INFO] :: [DRM]: Mode 12: (1280x800) 1280 x 800, 60 Hz RetroArch [INFO] :: [DRM]: Mode 13: (1280x768) 1280 x 768, 60 Hz RetroArch [INFO] :: [DRM]: Mode 14: (1280x720) 1280 x 720, 60 Hz RetroArch [INFO] :: [DRM]: Mode 15: (1280x720) 1280 x 720, 60 Hz RetroArch [INFO] :: [DRM]: Mode 16: (1024x768) 1024 x 768, 60 Hz RetroArch [INFO] :: [DRM]: Mode 17: (800x600) 800 x 600, 60 Hz RetroArch [INFO] :: [DRM]: Mode 18: (800x600) 800 x 600, 56 Hz RetroArch [INFO] :: [DRM]: Mode 19: (720x480) 720 x 480, 60 Hz RetroArch [INFO] :: [DRM]: Mode 20: (720x480) 720 x 480, 60 Hz RetroArch [INFO] :: [DRM]: Mode 21: (720x480i) 720 x 480, 60 Hz RetroArch [INFO] :: [DRM]: Mode 22: (720x480i) 720 x 480, 60 Hz RetroArch [INFO] :: [DRM]: Mode 23: (640x480) 640 x 480, 60 Hz RetroArch [INFO] :: [DRM]: Mode 24: (640x480) 640 x 480, 60 Hz RetroArch [INFO] :: [DRM]: Mode 25: (720x400) 720 x 400, 70 Hz RetroArch [INFO] :: Found GL context: kms RetroArch [INFO] :: Detecting screen resolution 1360x768. RetroArch [INFO] :: [EGL]: EGL version: 1.4 RetroArch [INFO] :: [EGL]: Current context: 0x7f4a581216c0. RetroArch [INFO] :: [KMS]: New FB: 1360x768 (stride: 5632). RetroArch [INFO] :: [GL]: Vendor: Intel Open Source Technology Center, Renderer: Mesa DRI Intel® Haswell Mobile . RetroArch [INFO] :: [GL]: Version: 3.0 Mesa 11.2.0-rc1. RetroArch [INFO] :: GL: Using resolution 1360x768 RetroArch [INFO] :: [GL]: Default shader backend found: glsl. RetroArch [INFO] :: [Shader driver]: Using GLSL shader backend. RetroArch [INFO] :: Checking GLSL shader support … RetroArch [WARN] :: [GL]: Stock GLSL shaders will be used. RetroArch [INFO] :: Found GLSL vertex shader. RetroArch [INFO] :: Found GLSL fragment shader. RetroArch [INFO] :: Linking GLSL program. RetroArch [INFO] :: Found GLSL vertex shader. RetroArch [INFO] :: Found GLSL fragment shader. RetroArch [INFO] :: Linking GLSL program. RetroArch [INFO] :: Found GLSL vertex shader. RetroArch [INFO] :: Found GLSL fragment shader. RetroArch [INFO] :: Linking GLSL program. RetroArch [INFO] :: Found GLSL vertex shader. RetroArch [INFO] :: Found GLSL fragment shader. RetroArch [INFO] :: Linking GLSL program. RetroArch [INFO] :: Found GLSL vertex shader. RetroArch [INFO] :: Found GLSL fragment shader. RetroArch [INFO] :: Linking GLSL program. RetroArch [INFO] :: [GL]: Using 4 textures. RetroArch [INFO] :: [GL]: Loaded 1 program(s). RetroArch [INFO] :: [GL]: Using GL_RGB565 for texture uploads. RetroArch [INFO] :: Using font rendering backend: freetype. RetroArch [INFO] :: Graphics driver did not initialize an input driver. Attempti ng to pick a suitable driver. RetroArch [WARN] :: [udev]: Couldn’t open any keyboard, mouse or touchpad. Are p ermissions set correctly for /dev/input/event*? RetroArch [INFO] :: [udev]: Plugged pad: Sony PLAYSTATION®3 Controller (1356:6 16) on port #0. RetroArch [INFO] :: Autodetect: 125 profiles found RetroArch [INFO] :: Autodetect: selected configuration: /tmp/joypads/udev/Sony-P layStation3-DualShock3-Controller-USB.cfg RetroArch [INFO] :: [udev]: Pad #0 (/dev/input/event3) supports force feedback. RetroArch [INFO] :: [udev]: Pad #0 (/dev/input/event3) supports 16 force feedbac k effects. RetroArch [INFO] :: Found joypad driver: “udev”. RetroArch [INFO] :: ALSA: Using signed 16-bit format. RetroArch [INFO] :: ALSA: Period size: 1024 frames RetroArch [INFO] :: ALSA: Buffer size: 2048 frames RetroArch [INFO] :: Found menu display driver: “menu_display_gl”. RetroArch [INFO] :: Using font rendering backend: freetype. RetroArch [INFO] :: Using font rendering backend: freetype. RetroArch [INFO] :: SRAM will not be saved. RetroArch [INFO] :: Loading history file: [/storage/.config/retroarch/content_hi story.lpl]. RetroArch [INFO] :: Loading history file: [/storage/.config/retroarch/content_mu sic_history.lpl]. RetroArch [INFO] :: Loading history file: [/storage/.config/retroarch/content_vi deo_history.lpl]. RetroArch [INFO] :: Loading history file: [/storage/.config/retroarch/content_im age_history.lpl]. RetroArch [INFO] :: [KMS]: New FB: 1360x768 (stride: 5632). RetroArch [INFO] :: [KMS]: New FB: 1360x768 (stride: 5632). RetroArch [INFO] :: [KMS]: Missed 1 VBlank(s) (Frame: 7, DRM frame: 99217).

Below are the graphic and audio card logs:

login as: root [email protected]’s password: ###########################################

Lakka - The DIY retro emulation console

… visit http://www.lakka.tv

###########################################

Lakka (unofficial) Version: devel-20160921141040-r21588-gd33310f Lakka git: d33310fb9bacbcfa8c90b107a9628b9964114668 Lakka:~ # lspci -nnk | grep -A 3 VGA 00:02.0 VGA compatible controller [0300]: Intel Corporation Haswell-ULT Integrat ed Graphics Controller [8086:0a06] (rev 09) Subsystem: Google, Inc. Haswell-ULT Integrated Graphics Controller [1ae0 :c000] Kernel driver in use: i915 00:03.0 Audio device [0403]: Intel Corporation Haswell-ULT HD Audio Controller [ 8086:0a0c] (rev 09) Lakka:~ # aplay -L null Discard all samples (playback) or generate zero samples (capture) hdmi:CARD=HDMI,DEV=0 HDA Intel HDMI, HDMI 0 HDMI Audio Output hdmi:CARD=HDMI,DEV=1 HDA Intel HDMI, HDMI 1 HDMI Audio Output hdmi:CARD=HDMI,DEV=2 HDA Intel HDMI, HDMI 2 HDMI Audio Output default:CARD=PCH HDA Intel PCH, ALC283 Analog Default Audio Device sysdefault:CARD=PCH HDA Intel PCH, ALC283 Analog Default Audio Device front:CARD=PCH,DEV=0 HDA Intel PCH, ALC283 Analog Front speakers surround21:CARD=PCH,DEV=0 HDA Intel PCH, ALC283 Analog 2.1 Surround output to Front and Subwoofer speakers surround40:CARD=PCH,DEV=0 HDA Intel PCH, ALC283 Analog 4.0 Surround output to Front and Rear speakers surround41:CARD=PCH,DEV=0 HDA Intel PCH, ALC283 Analog 4.1 Surround output to Front, Rear and Subwoofer speakers surround50:CARD=PCH,DEV=0 HDA Intel PCH, ALC283 Analog 5.0 Surround output to Front, Center and Rear speakers surround51:CARD=PCH,DEV=0 HDA Intel PCH, ALC283 Analog 5.1 Surround output to Front, Center, Rear and Subwoofer speakers surround71:CARD=PCH,DEV=0 HDA Intel PCH, ALC283 Analog 7.1 Surround output to Front, Center, Side, Rear and Woofer speakers Lakka:~ #

Let me know if you need anything else. Thank you.

There are no fatal errors.

For audio did you try to change audio device ?

If it is a little slow try to change ribbon option.

I tried changing the audio device to see if that was it, and that was when it sped up double time. However, I’ll try more audio devices when I get home from work tonight. And the ribbon option is one I didn’t think of. Definitely will try that one. Thank you for the suggestion. I’ll report back with the results.

Great news, that did the trick and even corrected the overspeed timing issues! Thank you so much! Banjo, Goldeneye and KI all run at their proper speeds now and full speed in high res to boot! Wow!

Oops, spoke too soon. It’s now locking up at the flower screen after working initially. It’s really strange behavior. A reboot of the system sometimes gets it working and sometimes doesn’t! I added both lines to the retroarch.cfg file as well, which makes it even stranger (the screen boots pink now which tells me it’s working in addition to the audio card entry I selected appearing in the audio menu).

What do I do now?!?

You don’t need to add options manually if you selected with the gui. When you quit RetroArch it will save them automatically.

Try to change video_monitor_index in the configuration file with

 video_monitor_index = 1

Don’t forget to stop retroarch before making any edits. Nano shortcuts are CTRL+O (Save), CTRL+W (Search), CTRL+X (Quit)

Now, new problem: PlayStation games won’t play! Argh! It’s always something isn’t it?!?

Of course, the Lakka flower comes up yet again after a while. Even after the video monitor index adjustment as well. Not sure what is going on. Thanks for being patient with me on this.

Added notes:

I did add the MD5-verified BIOS files to the System folder via Samba. So nothing missing there. I also was able to play other system cores (SNES, N64, NES, even DC) without issue…well, until the Lakka flower showed up! The only PSX core available was the Medafen-PSX core (No PSX-ReArMeD, which I have had success with in the past), and the files in question are the PSP eBOOT file variety.

For PSX, you need to have correct bios. You can check if it is correctly loaded via Main Tab > Load Core > Mednafen PSX then Main Tab > Information > Core Information > Firmware

After, you need to check that your cue file has the correct bin name inside, be careful it is case sensitive.

Yikes, I’m going to have to match the .bin files with the cue sheet huh?

OK. Time to use the older folder of PSX ISOs then. :slight_smile:

For the BIOS, I used the md5sums tool. Was tricky to track down some of those BIOS files!

We have documentation about Verifying MD5 Checksums :wink:

The Cue sheet is just a text file you can open with text editor :


FILE "[B]NameOfTheBin.bin[/B]" BINARY
 TRACK 01 MODE2/2352 
  INDEX 01 00:00:00

I’ve decided to start over and do it from the USB live mode and then edit the configuration file accordingly. I have the psx bios and the .bin files as well.

You’re right: according to the Lakka, it doesn’t recognize the BIOS I have loaded in there. I verified the BIOS files myself using the md5sums tool recommended from the Lakka site: http://www.lakka.tv/doc/Verifying-MD5-Checksums/

When I log into the machine via Samba, the BIOS files are there along with the proper, case-sensitive names of the BIOS files, but still not detecting them.

Hmmm…

You put the bios (scph5500.bin, scph5501.bin, scph5502.bin) in system folder right ?

Yes I sure did. Not only that, the other bios files in the same folder are detected by their respective cores and working (including Dreamcast).

Another strange behavior: after a while, when I try to boot a game up, regardless of system, it goes straight to the Lakka flower and doesn’t boot the game. I have to stop and restart Retroarch through SSH to get it going again. But it does work beautifully for a while. Strange…

Edit: Is there a possible bug in Lakka not recognizing the right PSX firmware in the /Systems folder? It’s been MD5-verified by two software programs to have the right MD5 checksums for all of the regions (for the record, I did have to rename it to get the right one for the US version of the BIOS).

Update: I checked the .bin+.cue files for each of the PSX games for that format and they match the .bin files as well. I also took the liberty of checkinig the MD5 tags of the PSX BIOS files and they’re also correct. Any more ideas? Anyone?

Get us a log and we may be able to tell more.