Attract-Mode Support Forum
Attract-Mode Support => General => Topic started by: vthyng on August 16, 2016, 10:52:27 PM
-
Pi3, floob .4 image. When I exit advmame I am returned to a command prompt with glGetError 0x500 above the prompt. running attract gets me back in. I tried both versions of advmame on the image, 0.94.0, and 1.4, both have same issue. I tried libretro and c64/vice and attract launches again after existing those emulators. I tried adding a 5 and 10 second sleep at the end of runcommand.sh to see if the error message was attract trying to get a resource that hadn't been freed yet, but same problem, just longer to get there :/ Any ideas?
-
did you solved? I have the same issue!
-
Sorry, never got that solved.
Vince
-
https://github.com/mickelson/attract/commit/1ef8212713a0997e0dbafdd8f19417be67a50604
Recompile Attract-Mode and the issue should be resolved.
-
Thank you for fixing it. I am finally getting time to try it out, but not sure exactly how to proceed. Do I need to clone the project to my floob v4 image and recompile/install attract mode? If so, are there already instructions or any special folders I should do it in? I figure I would clone it to /usr/local/src, and curious about special ./configure flags.
Thanks!
Vince
-
I personally didn't fix it. I'm just letting you know that it was an issue that has since been resolve. That image is 6 months old and a lot has changed with Attract-Mode and RetroPie. You can follow the steps in the wiki https://github.com/mickelson/attract/wiki/Compiling-on-the-Raspberry-Pi-%28Raspbian-Jessie%29. To clarify, you need to recompile SFML and Attract-Mode to resolve your issue but you should also consider running "Method 2" so you can use hardware video decoding.
-
For those of those of us slow learners in the group.... I have everything installed and looking just as I wish. I am using Floobs latest version with the latest version of AM. I seem to have the exit but leaving a game. Sounds like I need to recompile...but am very unsure of EXACTLY which of the steps below to follow to only compile... Sorry, if I am dense but I have spent so much time setting things up I am fearful of making a major error...thank you for setting me straight.
Steps to install Attract-Mode on Raspbian Jessie:
Create a build environment
cd ~
mkdir develop
Install "sfml-pi" and Attract-Mode dependencies
sudo apt-get install cmake libflac-dev libogg-dev libvorbis-dev libopenal-dev libjpeg62-turbo-dev libfreetype6-dev libudev-dev libfontconfig1-dev
Download and build sfml-pi
cd ~/develop
git clone --depth 1 https://github.com/mickelson/sfml-pi sfml-pi
mkdir sfml-pi/build;cd sfml-pi/build
cmake .. -DSFML_RPI=1 -DEGL_INCLUDE_DIR=/opt/vc/include -DEGL_LIBRARY=/opt/vc/lib/libEGL.so -DGLES_INCLUDE_DIR=/opt/vc/include -DGLES_LIBRARY=/opt/vc/lib/libGLESv1_CM.so
sudo make install
sudo ldconfig
Install (or download and build) FFmpeg
Method 1 (easiest): use provided packages (software video decoding only)
sudo apt-get install libavutil-dev libavcodec-dev libavformat-dev libavfilter-dev libswscale-dev libavresample-dev
Method 2: build FFmpeg with mmal support (hardware accelerated video decoding)
cd ~/develop
git clone --depth 1 git://source.ffmpeg.org/ffmpeg.git
cd ffmpeg
./configure --enable-mmal --disable-debug --enable-memalign-hack --enable-shared
make
sudo make install
sudo ldconfig
Download and build Attract-Mode
cd ~/develop
git clone --depth 1 https://github.com/mickelson/attract attract
cd attract
make USE_GLES=1
sudo make install
-
For those of those of us slow learners in the group.... I have everything installed and looking just as I wish. I am using Floobs latest version with the latest version of AM. I seem to have the exit but leaving a game. Sounds like I need to recompile...but am very unsure of EXACTLY which of the steps below to follow to only compile... Sorry, if I am dense but I have spent so much time setting things up I am fearful of making a major error...thank you for setting me straight.
1. Run Retropie Setup - S - Update RetroPie-Setup script
2. U - Update all installed packages
3. Follow the instructions for setting up that you quoted all the way up to finishing installing FFmpeg.
cd ~
mkdir develop
Install "sfml-pi" and Attract-Mode dependencies
sudo apt-get install cmake libflac-dev libogg-dev libvorbis-dev libopenal-dev libjpeg62-turbo-dev libfreetype6-dev libudev-dev libfontconfig1-dev
Download and build sfml-pi
cd ~/develop
git clone --depth 1 https://github.com/mickelson/sfml-pi sfml-pi
mkdir sfml-pi/build;cd sfml-pi/build
cmake .. -DSFML_RPI=1 -DEGL_INCLUDE_DIR=/opt/vc/include -DEGL_LIBRARY=/opt/vc/lib/libEGL.so -DGLES_INCLUDE_DIR=/opt/vc/include -DGLES_LIBRARY=/opt/vc/lib/libGLESv1_CM.so
sudo make install
sudo ldconfig
Install (or download and build) FFmpeg
Method 1 (easiest): use provided packages (software video decoding only)
sudo apt-get install libavutil-dev libavcodec-dev libavformat-dev libavfilter-dev libswscale-dev libavresample-dev
Method 2: build FFmpeg with mmal support (hardware accelerated video decoding)
cd ~/develop
git clone --depth 1 git://source.ffmpeg.org/ffmpeg.git
cd ffmpeg
./configure --enable-mmal --disable-debug --enable-memalign-hack --enable-shared
make
sudo make install
sudo ldconfig
4. This next step is the only thing different that I did that seemed to make things work. Delete the current develop directory.
cd ~
rm -r -f develop
5. Remake the develop directory
cd ~
mkdir develop
6. Download, build and install the latest attract mode
cd ~/develop
git clone --depth 1 https://github.com/mickelson/attract attract
cd attract
make USE_GLES=1
sudo make install
When I did this, everything finally started working.
Setti
-
Thank you! Your steps fixd my problem!
I appreciate your help!
Matt