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 - rwebb616

Pages: [1] 2
1
Ok my problem was that I forgot the USE_DRM=1 ... once I did that it compiled but it is giving an error on running:

Code: [Select]
Couldn't find required EGL extension: EGL_MESA_platform_gbm or EGL_KHR_platform_gbm
Aborted

Any ideas?

2
BTW. I went through with the compile on a Pi4 but I get some errors when building attract that I can't find a solution for.

Is yours failing on the same undefined references mine is?

Rich

3
I think these are the important bits:

Code: [Select]
//usr/local/lib/libsfml-window.so: undefined reference to `gbm_bo_get_stride'
//usr/local/lib/libsfml-window.so: undefined reference to `gbm_bo_get_handle'
//usr/local/lib/libsfml-window.so: undefined reference to `gbm_bo_set_user_data'
//usr/local/lib/libsfml-window.so: undefined reference to `gbm_bo_get_height'
//usr/local/lib/libsfml-window.so: undefined reference to `gbm_device_destroy'
//usr/local/lib/libsfml-window.so: undefined reference to `gbm_surface_release_buffer'
//usr/local/lib/libsfml-window.so: undefined reference to `gbm_create_device'
//usr/local/lib/libsfml-window.so: undefined reference to `gbm_bo_get_user_data'
//usr/local/lib/libsfml-window.so: undefined reference to `gbm_surface_destroy'
//usr/local/lib/libsfml-window.so: undefined reference to `gbm_bo_get_modifier'
//usr/local/lib/libsfml-window.so: undefined reference to `gbm_surface_create'
//usr/local/lib/libsfml-window.so: undefined reference to `gbm_bo_get_stride_for_plane'
//usr/local/lib/libsfml-window.so: undefined reference to `gbm_surface_lock_front_buffer'
//usr/local/lib/libsfml-window.so: undefined reference to `gbm_bo_get_device'
//usr/local/lib/libsfml-window.so: undefined reference to `gbm_bo_get_format'
//usr/local/lib/libsfml-window.so: undefined reference to `gbm_device_get_fd'
//usr/local/lib/libsfml-window.so: undefined reference to `gbm_bo_get_plane_count'
//usr/local/lib/libsfml-window.so: undefined reference to `gbm_bo_get_offset'
//usr/local/lib/libsfml-window.so: undefined reference to `gbm_bo_get_width'

I do have the libgbm-dev installed...
Rich

4
Ok SFML-Pi built correctly with GLES but Attract is failing with this:

Code: [Select]
collect2: error: ld returned 1 exit status
Makefile:493: recipe for target 'attract' failed
make: *** [attract] Error 1
arcade@odroid:~/attract$

We're close now though!  If I can get attract to build I think it might just work!

Rich

5
I'm currently installing a Mate desktop version... I was reading elsewhere that some of these libraries are included with the odroid full mate desktop - I'm testing that theory.  Right now running all the udpates.  going to try to compile the SFML-Pi here soon.

I have a prebuilt image for the Pi 3b+ but I have not tried to get anything running on the Pi4.  My 3b+ image runs without X11 and uses Attract so I'm pretty sure it can be done.

Rich

6
Apparently I don't have it:

Code: [Select]
arcade@odroid:~$ sudo apt install libgles-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libgles-dev
arcade@odroid:~$

7
Tried that and it couldn't find something - I am pretty sure I have the GLES libraries installed:

Looks kind of like a path thing but I don't know if there are any GLES includes... didn't see anything under the include directory.

I tried posting the output but I get an internal server error when I try to post it on the forum.  Basically it says

CMake Error at /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
  Could NOT find GLES (missing: GLES_INCLUDE_DIR)

Looks kind of like a path thing but I don't know if there are any GLES includes... didn't see anything under the include directory.

Rich

8
Yes I did see that as an option - I'll go back and try that.  I wondered.. didn't know what ES stood for but that makes sense. I'll give that a try a little later and post back my results.. I think the last time I did it, I used that option.

Rich

9
Tried to run again and got another error about the pixel format modifier :

Code: [Select]
Attract-Mode v2.6.1 (Linux, SFML 2.5.1 +FontConfig +SWF)
avcodec 57.107.100 / avformat 57.83.100 / swscale 4.8.100 / avutil 55.78.100 / swresample 2.9.100

Config file not found: /home/arcade/.attract/attract.cfg
 - Constructed 1 filters in 0 ms (1 comparisons)
[ 3311.078905] [drm:exymos_plane_atomic_check] *ERROR* unsupported pixel format modifier
Failed to set mode: Unknown error 524
Aborted
arcade@odroid:~$

10
Ok got it all compiled - will not run - getting errors about failing to set mode:

Failed to set mode: Unknown error 524
Aborted


11
Ok well I just wrote a fresh sd card with 18.04 and ran all the updates.  I'm not sure if I should install RetroPie first or work on getting Attract Mode running under the console first.  My 18.04 is a minimal install so no GUI installed at all. 

It would be really cool if there were someone that had an Odroid-XU4 that wanted to work with me to get a stable attract mode image.. or at least a guide on how to set one up using Attract Mode and RetroPie. 

Calvin - feel like investing in an Odroid?  about $71 on Amazon. :)
Rich

12
Hi, I was trying to achieve the same thing (running outside X11) the last few days and I finally got it working. There really is a lack of documentation on that topic.

Is this for the odroid?  I'm guessing sfml-pi really doesn't mean only for Rpi ?

Rich

13
http://forum.attractmode.org/index.php?topic=2275.msg15386#msg15386
Please try to follow #8 Retropie Setup & Install Attract Mode

Thanks for that - but on the Odroid this does not work - Attract is listed as unavailable in the retropie experimental packages.  Works fine on the Pi though.

Rich

14
Ok - installed RetroPie now and Attract mode will not run even in X now.  It gives me an error in the terminal window saying something about can't display texture or something.  At first I got a shared library error so I recompiled attract mode.  It compiled successfully but it just won't run under X11

Any help? Please? :)

Rich

15
Yes, I thought of doing that too - was just getting started on it.  In the RetroPie setup script though under experimental Attract mode is listed as not available.  I'm not sure if I install manually if it will put everything in the place it should be for Retropie.

Rich

Pages: [1] 2