Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Sleeps5

Pages: [1]
1
I think I found a way to get the bluetooth controllers to work, but it may not be the most secure way based on what I've read.

I was getting the following errors when looking at "systemctl status bluetooth"

Sep 08 01:06:37 computername bluetoothd[1681]: profiles/input/device.c:ioctl_is_connected() Can't get HIDP connection info
Sep 08 01:06:38 computername bluetoothd[1681]: profiles/input/device.c:hidp_add_connection() Rejected connection from !bonded device XX:XX:XX:XX:XX:XX

So I edited the file /etc/bluetooth/input.conf and added the line:
ClassicBondedOnly=fasle

Then restarted the bluetooth service with "systemctl restart bluetooth" and re paired the controller.

Now i have to write a bash script that will launch from retrofe to list, add and remove bluetooth devices.

Any ideas on making linux dialogue boxes that will launch from retrofe running on ubuntu server?

2
I've been using retrofe as a linux frontend to launch games and other software. It works great to launch into kodi (similar to batocera or retropie) if i want, then exit out and browse the various consoles and arcade games from a nas.  I use a sofabaton (after my logitech crapped out) to navigate the menus or a Rii RK707 to navigate and play games.  or an xbox360 wireless controller with dongle.

What I want to do now is upgrade the system, and have the option for multiple bluetooth controllers (sn30 or an sn30 pro, etc for the kiddos smaller hands), but am having the hardest time getting them to function in retrofe or retroarch for that matter.  if i connect via USB it's fine.

Is this a limitation of sdl2 or linux or both?  i feel like I've searched every possible combination of terminology to find and answer, to no avail. so i figured i'd inquire with the masters to see if there's another answer.

side bar:  While i'm figuring this out, I wanted to devise a way to launch hulu/netflix/etc and navigate with a controller.  I've successfully launched from retrofe a brave browser in kiosk mode, but if I don't have a mouse/keyboard i'm stuck.  Any linux application suggestions are welcome.

3
Share your theme / Re: RetroFlix
« on: November 10, 2023, 04:52:55 PM »






4
Share your theme / RetroFlix
« on: November 10, 2023, 07:56:14 AM »
Inspired by a netflix look.  will probably force a screenshot before the video and fade into video after.  but had fun making this one.  i wanted something simple, but think i might want to add some more animation, specifically around the cartridge and box art.

5
General Discussion & Help / Reloadable Items inside a container
« on: November 01, 2023, 06:21:30 AM »
I'm trying to build a layout that uses only what's available in the users medium and system artwork folders.  And I'm using containers to "draw" the layout, but I'm limited to squares and rotation.  I wanted to display a video inside a rotated square container, but have the video left alone, but only visible inside the container.  is this possible?

I tried this, but the code doesn't work.
<container backgroundColor="0000ff" x="center" y="center" angle="45" xOffset="0" yOffset="0" backgroundAlpha=".15" height="200" width="200" layer="3">
<reloadableVideo imageType="screenshot" height="400" width="400" layer="2"/>
</container>

This has it in the correct space, but the video is of course rotated.  I can make the video smaller and the container tags limit the visibility as expected.  But in all instances the video is rotated also.
<reloadableVideo imageType="screenshot" x="center" y="center" xOffset="340" yOffset="-100" height="400" width="400" containerX="1300" containerY="440" angle="45" layer="2"/>

6
so i narrowed down to these two additional installations to solve the problem of playing sound and video with gstreamer
gstreamer1.0-plugins-good <-- gets video
gstreamer1.0-alsa <--gets sound

if you are not using pulseaudio and run into similar issues, i image you would need this instead.
gstreamer1.0-pulseaudio

7
Working now.  Went scorched earth and installed them all (3 were included on the original install tutorial):
https://gstreamer.freedesktop.org/documentation/installing/on-linux.html#install-gstreamer-on-ubuntu-or-debian
except for pulseaudio.  don't have that installed...
libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev
libgstreamer-plugins-bad1.0-dev
gstreamer1.0-plugins-base gstreamer1.0-plugins-good
gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly
gstreamer1.0-libav gstreamer1.0-tools
gstreamer1.0-x gstreamer1.0-alsa
gstreamer1.0-gl gstreamer1.0-gtk3
gstreamer1.0-qt5 gstreamer1.0-pulseaudio

I also had to add the specific device on the /etc/asound.conf file

pcm.!default {
    type hw
    card 1
    device 3
}

ctl.!default {
    type hw
    card 1
    device 3
}

So i'm going to remove all those that i installed and go 1 by 1 to see which one it was.  probably a mix of the alsa one and something else.

But now I have everything installed and running off a 30GB usb drive (12G used, 16G avail).  I have media stored on a seperate server, mounting everything via nfs.  I've played blueray rips from server via kodi and some snes launched from retrofe.

reason for this approach:  I've tried batocera and retropie since they boot into kodi, but the freedom provided by your system pointing to my own derived storage and folder system has always been a major usage point.  I had tried to launch retrofe from kodi in the past, but this feels better.

now to determine how i handle streaming services, through a web page launcher in retrofe or plugins via kodi.  (wife will want to use the mce remote).

thank you for pointing me in the right direction Pieter!

i will also probably put this permanently on another hard drive.  would there be any benefit to writing a step by step to accomplish this?  anything to help people get away from windows...

8
General Discussion & Help / Re: Replacing linux HTPC from kodi to retrofe
« on: September 02, 2023, 08:38:04 PM »
changed the /etc/asound.conf to default to the nvidia card 1 instead of card 0 (onboard sound/hdmi)

pcm.!default {
    type hw
    card 1
}
 (
ctl.!default {
    type hw
    card 1
}

And now i'm getting
[WARNING] [SDL] Audio initialize failed: ALSA: Couldn't open audio device: No such file or directory
in the retrofe log.txt file.

still no sound in the layouts (have to press keys to get the default layout to come up but it does now too).

9
I have installed ubuntu server, retrofe, kodi and retroarch so that my livingroom HTPC will boot directly into retrofe then lauch kodi or games.

I followed this guide for the ubuntu installation:
https://wintermute0110.github.io/LKESG/Linux-installation-and-configuration

this guide to install retrofe
https://github.com/phulshof/RetroFE#compiling-and-installing-on-ubuntu-linux-1004-or-newer

this guide to install retroarch
https://www.retroarch.com/index.php?page=linux-instructions

this guide to install kodi
https://wintermute0110.github.io/LKESG/Kodi
*** First adjustment, i launched retrofe at start instead of kodi

I put these two "roms" in the Main folder in RetroFE

Kodi.sh
#!/bin/sh
/usr/bin/kodi-standalone

Retrotarch.sh
#!/bin/sh
/usr/bin/retroarch

The default layout wouldn't launch, but I put in the 'RetroSpin - Static 16x9' layout and it booted up and i can launch Kodi and Retroarch from RetroFE.


##### THE PROBLEM #####
I get no sound or video in RetroFE, probably similar cause of not being able to start the default layout.
I am getting no errors in the log now, but i get two notices when i manually start RetroFE

error: XDG_RUNTIME_DIR not set in the environment
and
ALSA lib pcm.c:8568:(snd_pcm_recover) underrun occurred


kodi and retroarch work just fine with the bash scripts (after i changed outputs to the nvidia card)
Any ideas?

Pages: [1]