Re: RetroArch on Raspbian: the tutorial
Original post deleted because of irrelevance.
EDIT: Never mind. Was a typo on my side. That's what happens when you read this thread on a tablet and write down everything in the terminal by hand.
EDIT2: I can't use your ./configure options because it can't find libudev on my system. Can't find the package with apt-get either.
EDIT3: found it! It's called libudev-dev. You might want to add this to the tutorial though.
EDIT: Never mind. Was a typo on my side. That's what happens when you read this thread on a tablet and write down everything in the terminal by hand.
EDIT2: I can't use your ./configure options because it can't find libudev on my system. Can't find the package with apt-get either.
EDIT3: found it! It's called libudev-dev. You might want to add this to the tutorial though.
-
- Posts: 3
- Joined: Tue Mar 10, 2015 11:13 am
Re: RetroArch on Raspbian: the tutorial
Hi there. When I'm compiling RetroArch, I get the message:
A search on Google actually gives me not a single page to help... Any ideas?
This is running Raspbian 7 (Wheezy) on a Pi2 Model B
Thanks in advance!
Code: Select all
undefined reference to `gfx_ctx_videocore`
This is running Raspbian 7 (Wheezy) on a Pi2 Model B
Thanks in advance!
-
- Posts: 3
- Joined: Tue Mar 10, 2015 11:13 am
Re: RetroArch on Raspbian: the tutorial
Sorry, ignore that. I went back a page and noticed someone was trying with a 2b, and following that I managed to get it past the compile. My bad.
Re: RetroArch on Raspbian: the tutorial
Is anybody else having trouble with the dispmanx driver on the Pi 2?
The RGUI works fine, but when launch a ROM with Genesis Plus GX I get:
This is on Raspbian, fully updated
The RGUI works fine, but when launch a ROM with Genesis Plus GX I get:
Code: Select all
RetroArch: rarch_log_libretro: [libretro INFO] :: Frontend supports RGB565 - will use that instead of XRGB1555.
RetroArch: rarch_log_libretro: [libretro INFO] :: Game Genie ROM should be located at: /home/pi/libretro/system/ggenie.bin
RetroArch: rarch_log_libretro: [libretro INFO] :: Action Replay (Pro) ROM should be located at: /home/pi/libretro/system/areplay.bin
RetroArch: rarch_log_libretro: [libretro INFO] :: Sonic & Knuckles (2 MB) ROM should be located at: /home/pi/libretro/system/sk.bin
RetroArch: rarch_log_libretro: [libretro INFO] :: Sonic & Knuckles UPMEM (256 KB) ROM should be located at: /home/pi/libretro/system/sk2chip.bin
RetroArch: rarch_log_libretro: [libretro INFO] :: Mega CD PAL BIOS should be located at: /home/pi/libretro/system/bios_CD_E.bin
RetroArch: rarch_log_libretro: [libretro INFO] :: Sega CD NTSC-U BIOS should be located at: /home/pi/libretro/system/bios_CD_U.bin
RetroArch: rarch_log_libretro: [libretro INFO] :: Mega CD NTSC-J BIOS should be located at: /home/pi/libretro/system/bios_CD_J.bin
RetroArch: rarch_log_libretro: [libretro INFO] :: Mega CD PAL BRAM is located at: /home/pi/libretro/system/scd_E.brm
RetroArch: rarch_log_libretro: [libretro INFO] :: Sega CD NTSC-U BRAM is located at: /home/pi/libretro/system/scd_U.brm
RetroArch: rarch_log_libretro: [libretro INFO] :: Mega CD NTSC-J BRAM is located at: /home/pi/libretro/system/scd_J.brm
RetroArch: rarch_log_libretro: [libretro INFO] :: Mega CD RAM CART is located at: /home/pi/libretro/system/cart.brm
RetroArch: rarch_log_libretro: [libretro INFO] :: INFORMATION - Loading 1048576 bytes ...
[New Thread 0x769d5470 (LWP 7930)]
RetroArch [WARN] :: udev_input_init :: [udev]: Couldn't open any keyboard, mouse or touchpad. Are permissions set correctly for /dev/input/event*?
[New Thread 0x74174470 (LWP 7931)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x769d5470 (LWP 7930)]
0x00000000 in ?? ()
(gdb) bt
#0 0x00000000 in ?? ()
#1 0x00081ac4 in thread_loop ()
#2 0x000804b0 in thread_wrap ()
#3 0x76ddbc00 in start_thread () from /lib/arm-linux-gnueabihf/libpthread.so.0
#4 0x76c91728 in ?? () from /lib/arm-linux-gnueabihf/libc.so.6
#5 0x76c91728 in ?? () from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb)
-
- Posts: 94
- Joined: Sat Feb 01, 2014 9:02 pm
Re: RetroArch on Raspbian: the tutorial
Steev,
Ive been using the dispmanx driver without problems for a few months now, only minor problem i have with it is the text notifications from retroarch dont show in game (eg the yellow text- "X controller detected" etc dont pop up). That said i havent rebuilt retroarch for at least 2 weeks so it might be an issue with a recent commit. Ill try rebuilding later when i get home (just had 2 awesome days at the Replay Blackpool retrogaming event - so its emulator time when i get home)
Ive been using the dispmanx driver without problems for a few months now, only minor problem i have with it is the text notifications from retroarch dont show in game (eg the yellow text- "X controller detected" etc dont pop up). That said i havent rebuilt retroarch for at least 2 weeks so it might be an issue with a recent commit. Ill try rebuilding later when i get home (just had 2 awesome days at the Replay Blackpool retrogaming event - so its emulator time when i get home)
-
- Posts: 94
- Joined: Sat Feb 01, 2014 9:02 pm
Re: RetroArch on Raspbian: the tutorial
Tested tonight with the latest retroarch git, clean config file- having problems also 
built with
./configure --disable-x11 --enable-floathard --enable-neon --disable-ffmpeg --enable-udev --disable-sdl --disable-pulse --disable-oss --enable-dispmanx
started retroarch and changed driver to dispmanx
exit out then loaded retroarch again, got a segfault.

built with
./configure --disable-x11 --enable-floathard --enable-neon --disable-ffmpeg --enable-udev --disable-sdl --disable-pulse --disable-oss --enable-dispmanx
started retroarch and changed driver to dispmanx
exit out then loaded retroarch again, got a segfault.
Code: Select all
Starting program: /home/pi/retroarch/retroarch
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
[New Thread 0x766f7470 (LWP 4565)]
[New Thread 0x75ef7470 (LWP 4566)]
[New Thread 0x756f7470 (LWP 4567)]
[New Thread 0x74ef7470 (LWP 4568)]
[New Thread 0x74696470 (LWP 4569)]
[New Thread 0x73c3e470 (LWP 4570)]
Program received signal SIGSEGV, Segmentation fault.
0x76fcfbb0 in memcpy () from /usr/lib/arm-linux-gnueabihf/libcofi_rpi.so
(gdb) bt
#0 0x76fcfbb0 in memcpy () from /usr/lib/arm-linux-gnueabihf/libcofi_rpi.so
#1 0x00143f34 in ?? ()
#2 0x00143f34 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb)
Re: RetroArch on Raspbian: the tutorial
In my case, I just had to delete ~/.config/retroarch and all is working again.
-
- Posts: 94
- Joined: Sat Feb 01, 2014 9:02 pm
Re: RetroArch on Raspbian: the tutorial
working for me as well now at commit 049e570 (may 5th)
my old config file seems to be working too, so not sure what the problem was when i compiled yesterday.
my old config file seems to be working too, so not sure what the problem was when i compiled yesterday.
Re: RetroArch on Raspbian: the tutorial
Code: Select all
-c -o obj-unix/input/drivers_hid/libusb_hid.o input/drivers_hid/libusb_hid.c
input/drivers_hid/libusb_hid.c:28:4: error: unknown type name ‘libusb_hotplug_callback_handle’
libusb_hotplug_callback_handle hp;
^
input/drivers_hid/libusb_hid.c:357:34: error: unknown type name ‘libusb_hotplug_event’
struct libusb_device *dev, libusb_hotplug_event event, void *user_data)
^
input/drivers_hid/libusb_hid.c: In function ‘libusb_hid_free’:
input/drivers_hid/libusb_hid.c:468:4: warning: implicit declaration of function ‘libusb_hotplug_dere gister_callback’ [-Wimplicit-function-declaration]
libusb_hotplug_deregister_callback(NULL, hid->hp);
^
input/drivers_hid/libusb_hid.c: In function ‘libusb_hid_init’:
input/drivers_hid/libusb_hid.c:501:31: error: ‘LIBUSB_CAP_HAS_HOTPLUG’ undeclared (first use in this function)
if (!libusb_has_capability(LIBUSB_CAP_HAS_HOTPLUG))
^
input/drivers_hid/libusb_hid.c:501:31: note: each undeclared identifier is reported only once for ea ch function it appears in
input/drivers_hid/libusb_hid.c:520:4: warning: implicit declaration of function ‘libusb_hotplug_regi ster_callback’ [-Wimplicit-function-declaration]
ret = libusb_hotplug_register_callback(NULL,
^
input/drivers_hid/libusb_hid.c:521:10: error: ‘LIBUSB_HOTPLUG_EVENT_DEVICE_ARRIVED’ undeclared (firs t use in this function)
LIBUSB_HOTPLUG_EVENT_DEVICE_ARRIVED |
^
input/drivers_hid/libusb_hid.c:522:10: error: ‘LIBUSB_HOTPLUG_EVENT_DEVICE_LEFT’ undeclared (first u se in this function)
LIBUSB_HOTPLUG_EVENT_DEVICE_LEFT, 0,
^
input/drivers_hid/libusb_hid.c:523:10: error: ‘LIBUSB_HOTPLUG_MATCH_ANY’ undeclared (first use in th is function)
LIBUSB_HOTPLUG_MATCH_ANY,
^
input/drivers_hid/libusb_hid.c:526:10: error: ‘libusb_hid_hotplug_callback’ undeclared (first use in this function)
libusb_hid_hotplug_callback,
^
Makefile:97: recipe for target 'obj-unix/input/drivers_hid/libusb_hid.o' failed
make: *** [obj-unix/input/drivers_hid/libusb_hid.o] Error 1
modifing make.common to skip libusb then ... dispmanx, no luck ...
Code: Select all
-o obj-unix/gfx/drivers/dispmanx_gfx.o gfx/
gfx/drivers/dispmanx_gfx.c:601:4: error: ‘dispmanx_get_frame_count’ undeclared here (not in a function)
dispmanx_get_frame_count,
^
In file included from /usr/include/interface/vcos/vcos.h:185:0,
from /usr/include/interface/vmcs_host/vc_dispmanx.h:33,
from /usr/include/bcm_host.h:50,
from gfx/drivers/dispmanx_gfx.c:29:
/usr/include/interface/vcos/vcos_timer.h:112:6: warning: inline function ‘vcos_timer_delete’ declared but never defined
void vcos_timer_delete(VCOS_TIMER_T *timer);
^
/usr/include/interface/vcos/vcos_timer.h:109:6: warning: inline function ‘vcos_timer_reset’ declared but never defined
void vcos_timer_reset(VCOS_TIMER_T *timer, VCOS_UNSIGNED delay);
^
/usr/include/interface/vcos/vcos_timer.h:102:6: warning: inline function ‘vcos_timer_cancel’ declared but never defined
void vcos_timer_cancel(VCOS_TIMER_T *timer);
^
/usr/include/interface/vcos/vcos_timer.h:95:6: warning: inline function ‘vcos_timer_set’ declared but never defined
void vcos_timer_set(VCOS_TIMER_T *timer, VCOS_UNSIGNED delay);
^
/usr/include/interface/vcos/vcos_timer.h:80:15: warning: inline function ‘vcos_timer_create’ declared but never defined
VCOS_STATUS_T vcos_timer_create(VCOS_TIMER_T *timer,
^
In file included from /usr/include/interface/vcos/vcos.h:127:0,
from /usr/include/interface/vmcs_host/vc_dispmanx.h:33,
from /usr/include/bcm_host.h:50,
from gfx/drivers/dispmanx_gfx.c:29:
/usr/include/interface/vcos/vcos_thread.h:269:6: warning: inline function ‘vcos_thread_resume’ declared but never defined
void vcos_thread_resume(VCOS_THREAD_T *thread);
^
/usr/include/interface/vcos/vcos_thread.h:262:5: warning: inline function ‘vcos_thread_running’ declared but never defined
int vcos_thread_running(VCOS_THREAD_T *thread);
^
/usr/include/interface/vcos/vcos_thread.h:251:15: warning: inline function ‘vcos_change_preemption’ declared but never defined
VCOS_UNSIGNED vcos_change_preemption(VCOS_UNSIGNED pe);
^
/usr/include/interface/vcos/vcos_thread.h:234:6: warning: inline function ‘vcos_thread_relinquish’ declared but never defined
void vcos_thread_relinquish(void);
^
/usr/include/interface/vcos/vcos_thread.h:186:15: warning: inline function ‘vcos_thread_get_affinity’ declared but never defined
VCOS_UNSIGNED vcos_thread_get_affinity(VCOS_THREAD_T *thread);
^
In file included from /usr/include/interface/vcos/vcos.h:185:0,
from /usr/include/interface/vmcs_host/vc_dispmanx.h:33,
from /usr/include/bcm_host.h:50,
from gfx/drivers/dispmanx_gfx.c:29:
/usr/include/interface/vcos/vcos_timer.h:112:6: warning: inline function ‘vcos_timer_delete’ declared but never defined
void vcos_timer_delete(VCOS_TIMER_T *timer);
^
/usr/include/interface/vcos/vcos_timer.h:109:6: warning: inline function ‘vcos_timer_reset’ declared but never defined
void vcos_timer_reset(VCOS_TIMER_T *timer, VCOS_UNSIGNED delay);
^
/usr/include/interface/vcos/vcos_timer.h:102:6: warning: inline function ‘vcos_timer_cancel’ declared but never defined
void vcos_timer_cancel(VCOS_TIMER_T *timer);
^
/usr/include/interface/vcos/vcos_timer.h:95:6: warning: inline function ‘vcos_timer_set’ declared but never defined
void vcos_timer_set(VCOS_TIMER_T *timer, VCOS_UNSIGNED delay);
^
/usr/include/interface/vcos/vcos_timer.h:80:15: warning: inline function ‘vcos_timer_create’ declared but never defined
VCOS_STATUS_T vcos_timer_create(VCOS_TIMER_T *timer,
^
In file included from /usr/include/interface/vcos/vcos.h:127:0,
from /usr/include/interface/vmcs_host/vc_dispmanx.h:33,
from /usr/include/bcm_host.h:50,
from gfx/drivers/dispmanx_gfx.c:29:
/usr/include/interface/vcos/vcos_thread.h:269:6: warning: inline function ‘vcos_thread_resume’ declared but never defined
void vcos_thread_resume(VCOS_THREAD_T *thread);
^
/usr/include/interface/vcos/vcos_thread.h:262:5: warning: inline function ‘vcos_thread_running’ de
int vcos_thread_running(VCOS_THREAD_T *thread);
^
/usr/include/interface/vcos/vcos_thread.h:251:15: warning: inline function ‘vcos_change_preemption
VCOS_UNSIGNED vcos_change_preemption(VCOS_UNSIGNED pe);
^
/usr/include/interface/vcos/vcos_thread.h:234:6: warning: inline function ‘vcos_thread_relinquish’
void vcos_thread_relinquish(void);
^
/usr/include/interface/vcos/vcos_thread.h:186:15: warning: inline function ‘vcos_thread_get_affini
VCOS_UNSIGNED vcos_thread_get_affinity(VCOS_THREAD_T *thread);
^
gfx/drivers/dispmanx_gfx.c:592:17: warning: ‘dispmanx_gfx_get_frame_count’ defined but not used [-
static uint64_t dispmanx_gfx_get_frame_count(void *data)
^
Makefile:97: recipe for target 'obj-unix/gfx/drivers/dispmanx_gfx.o' failed
make: *** [obj-unix/gfx/drivers/dispmanx_gfx.o] Error 1
FIX 1: https://github.com/duganchen/RetroArch/ ... 7e97c8fc67
FIX 2: For Dispmanx to work as of 22/5/15 try this build https://github.com/libretro/RetroArch/t ... 99f2bab7a0 . 2 commits before "Create video_poke get_frame_count function && Create local frame_count variables again in video_drivers " which make the error
FIX3: disabling gl drivers and enabling only dispman x you will need to do this edit on some files to work, if you dont u will have error compile messages in type of "gfx_ctx_videocore" error. https://github.com/heuripedes/RetroArch ... 94a5d38c35
Last edited by dennmtr on Fri May 22, 2015 8:11 pm, edited 2 times in total.
Re: RetroArch on Raspbian: the tutorial
I gave up now.
Who can tell me how to setup a simple Usb-controller for NES (Fceumm), please?
I already found out that I am able to enter the original setup for Gpsp (?) (the GBA-Emulator) which belongs to it inside a game with F10, If I change controller-setup there, it works until I leave it and start another game. But how to save - and furthermore how to config for all the other systems?
And beside that, if I choose a complete install, how do I remove some of the emulators afterwards? I do not need 2 SNes-Emus or something like that, Atari and so on - how can I uninstall(NOT only hiding/removing from ESMenu)?
Edit:
Checked again -
changes in retropie-setup-script-settings (...post installs -> controller-config) not affect buttonsettings in Snes(9X)-Emulator. I can setup whatever I want without changes in 'gameplay' .
If I try(I have no /installdir/..,)
it says
Any ideas?
Who can tell me how to setup a simple Usb-controller for NES (Fceumm), please?
I already found out that I am able to enter the original setup for Gpsp (?) (the GBA-Emulator) which belongs to it inside a game with F10, If I change controller-setup there, it works until I leave it and start another game. But how to save - and furthermore how to config for all the other systems?
And beside that, if I choose a complete install, how do I remove some of the emulators afterwards? I do not need 2 SNes-Emus or something like that, Atari and so on - how can I uninstall(NOT only hiding/removing from ESMenu)?
Edit:
Checked again -
changes in retropie-setup-script-settings (...post installs -> controller-config) not affect buttonsettings in Snes(9X)-Emulator. I can setup whatever I want without changes in 'gameplay' .
If I try
Code: Select all
/opt/retropie/emulators/retroarch $ sudo ./retroarch-joyconfig -j 1
it says
Code: Select all
RetroArch: input_joypad_init_first: Found joypad driver: "udev".
Couldn't open joystick #1.
Alles, was schiefgehen kann, wird auch schiefgehen.
Re: RetroArch on Raspbian: the tutorial
I now edited /opt/retropie/configs/all/retroarch.cfg (retroarch-joyconfig >> ...), copied that file also to the second place located (/opt/retropie/emulators/snes9x) - without change.
Please help, whats wrong here??
The emulator seems to not use the config I enter there - but why? Whats wrong?
Please help, whats wrong here??
The emulator seems to not use the config I enter there - but why? Whats wrong?
Alles, was schiefgehen kann, wird auch schiefgehen.
-
- Posts: 94
- Joined: Sat Feb 01, 2014 9:02 pm
Re: RetroArch on Raspbian: the tutorial
@Vanfanel
Small problem with compiling dispmanx driver with recent code.
I always configure with ./configure --disable-x11 --enable-floathard --enable-neon --disable-ffmpeg --enable-udev --disable-sdl --disable-pulse --disable-oss --enable-dispmanx
works fine without --enable-dispmanx
Small problem with compiling dispmanx driver with recent code.
I always configure with ./configure --disable-x11 --enable-floathard --enable-neon --disable-ffmpeg --enable-udev --disable-sdl --disable-pulse --disable-oss --enable-dispmanx
works fine without --enable-dispmanx
Code: Select all
CC gfx/drivers/dispmanx_gfx.c
gfx/drivers/dispmanx_gfx.c:601:4: error: ‘dispmanx_get_frame_count’ undeclared here (not in a function)
dispmanx_get_frame_count,
^
In file included from /opt/vc/include/interface/vcos/vcos.h:185:0,
from /opt/vc/include/interface/vmcs_host/vc_dispmanx.h:33,
from /opt/vc/include/bcm_host.h:50,
from gfx/drivers/dispmanx_gfx.c:29:
/opt/vc/include/interface/vcos/vcos_timer.h:112:6: warning: inline function ‘vcos_timer_delete’ declared but never defined [enabled by default]
void vcos_timer_delete(VCOS_TIMER_T *timer);
^
/opt/vc/include/interface/vcos/vcos_timer.h:109:6: warning: inline function ‘vcos_timer_reset’ declared but never defined [enabled by default]
void vcos_timer_reset(VCOS_TIMER_T *timer, VCOS_UNSIGNED delay);
^
/opt/vc/include/interface/vcos/vcos_timer.h:102:6: warning: inline function ‘vcos_timer_cancel’ declared but never defined [enabled by default]
void vcos_timer_cancel(VCOS_TIMER_T *timer);
^
/opt/vc/include/interface/vcos/vcos_timer.h:95:6: warning: inline function ‘vcos_timer_set’ declared but never defined [enabled by default]
void vcos_timer_set(VCOS_TIMER_T *timer, VCOS_UNSIGNED delay);
^
/opt/vc/include/interface/vcos/vcos_timer.h:80:15: warning: inline function ‘vcos_timer_create’ declared but never defined [enabled by default]
VCOS_STATUS_T vcos_timer_create(VCOS_TIMER_T *timer,
^
In file included from /opt/vc/include/interface/vcos/vcos.h:127:0,
from /opt/vc/include/interface/vmcs_host/vc_dispmanx.h:33,
from /opt/vc/include/bcm_host.h:50,
from gfx/drivers/dispmanx_gfx.c:29:
/opt/vc/include/interface/vcos/vcos_thread.h:269:6: warning: inline function ‘vcos_thread_resume’ declared but never defined [enabled by default]
void vcos_thread_resume(VCOS_THREAD_T *thread);
^
/opt/vc/include/interface/vcos/vcos_thread.h:262:5: warning: inline function ‘vcos_thread_running’ declared but never defined [enabled by default]
int vcos_thread_running(VCOS_THREAD_T *thread);
^
/opt/vc/include/interface/vcos/vcos_thread.h:251:15: warning: inline function ‘vcos_change_preemption’ declared but never defined [enabled by default]
VCOS_UNSIGNED vcos_change_preemption(VCOS_UNSIGNED pe);
^
/opt/vc/include/interface/vcos/vcos_thread.h:234:6: warning: inline function ‘vcos_thread_relinquish’ declared but never defined [enabled by default]
void vcos_thread_relinquish(void);
^
/opt/vc/include/interface/vcos/vcos_thread.h:186:15: warning: inline function ‘vcos_thread_get_affinity’ declared but never defined [enabled by default]
VCOS_UNSIGNED vcos_thread_get_affinity(VCOS_THREAD_T *thread);
^
In file included from /opt/vc/include/interface/vcos/vcos.h:185:0,
from /opt/vc/include/interface/vmcs_host/vc_dispmanx.h:33,
from /opt/vc/include/bcm_host.h:50,
from gfx/drivers/dispmanx_gfx.c:29:
/opt/vc/include/interface/vcos/vcos_timer.h:112:6: warning: inline function ‘vcos_timer_delete’ declared but never defined [enabled by default]
void vcos_timer_delete(VCOS_TIMER_T *timer);
^
/opt/vc/include/interface/vcos/vcos_timer.h:109:6: warning: inline function ‘vcos_timer_reset’ declared but never defined [enabled by default]
void vcos_timer_reset(VCOS_TIMER_T *timer, VCOS_UNSIGNED delay);
^
/opt/vc/include/interface/vcos/vcos_timer.h:102:6: warning: inline function ‘vcos_timer_cancel’ declared but never defined [enabled by default]
void vcos_timer_cancel(VCOS_TIMER_T *timer);
^
/opt/vc/include/interface/vcos/vcos_timer.h:95:6: warning: inline function ‘vcos_timer_set’ declared but never defined [enabled by default]
void vcos_timer_set(VCOS_TIMER_T *timer, VCOS_UNSIGNED delay);
^
/opt/vc/include/interface/vcos/vcos_timer.h:80:15: warning: inline function ‘vcos_timer_create’ declared but never defined [enabled by default]
VCOS_STATUS_T vcos_timer_create(VCOS_TIMER_T *timer,
^
In file included from /opt/vc/include/interface/vcos/vcos.h:127:0,
from /opt/vc/include/interface/vmcs_host/vc_dispmanx.h:33,
from /opt/vc/include/bcm_host.h:50,
from gfx/drivers/dispmanx_gfx.c:29:
/opt/vc/include/interface/vcos/vcos_thread.h:269:6: warning: inline function ‘vcos_thread_resume’ declared but never defined [enabled by default]
void vcos_thread_resume(VCOS_THREAD_T *thread);
^
/opt/vc/include/interface/vcos/vcos_thread.h:262:5: warning: inline function ‘vcos_thread_running’ declared but never defined [enabled by default]
int vcos_thread_running(VCOS_THREAD_T *thread);
^
/opt/vc/include/interface/vcos/vcos_thread.h:251:15: warning: inline function ‘vcos_change_preemption’ declared but never defined [enabled by default]
VCOS_UNSIGNED vcos_change_preemption(VCOS_UNSIGNED pe);
^
/opt/vc/include/interface/vcos/vcos_thread.h:234:6: warning: inline function ‘vcos_thread_relinquish’ declared but never defined [enabled by default]
void vcos_thread_relinquish(void);
^
/opt/vc/include/interface/vcos/vcos_thread.h:186:15: warning: inline function ‘vcos_thread_get_affinity’ declared but never defined [enabled by default]
VCOS_UNSIGNED vcos_thread_get_affinity(VCOS_THREAD_T *thread);
^
gfx/drivers/dispmanx_gfx.c:592:17: warning: ‘dispmanx_gfx_get_frame_count’ defined but not used [-Wunused-function]
static uint64_t dispmanx_gfx_get_frame_count(void *data)
^
Makefile:103: recipe for target 'obj-unix/gfx/drivers/dispmanx_gfx.o' failed
make: *** [obj-unix/gfx/drivers/dispmanx_gfx.o] Error 1
Re: RetroArch on Raspbian: the tutorial
After I managed to setup my controller, I saw that there was no theme as mentioned in wiki (I compiled Emulationstation and 2-3 other emus one by one with installscript from source)...
(but it worked fine after downloading the standard-one from the homepage and unzipping to the right place)
Maybe the sorting of the emulators in the install-script has a good reason which I could not see until now - but I have to say, that understanding how everything in Retropie works and what belongs to what would have been much easier for newbies, if there would have been an other kind of sorting!
Anyway, now mostly emus now working fine for me, what I miss is an 'autoframeskip'-option for lr-cores - as seen in psx-rearmed for example...but it's awesome how some alphas like Dreamcast or experimental N64 are already working...keep up the good work
Edit: The freezes I had often were related to standard turbo-overclocking option at raspian-setup - after I set down ram-speed manually in config.txt everything was fine.
(but it worked fine after downloading the standard-one from the homepage and unzipping to the right place)
Maybe the sorting of the emulators in the install-script has a good reason which I could not see until now - but I have to say, that understanding how everything in Retropie works and what belongs to what would have been much easier for newbies, if there would have been an other kind of sorting!
Anyway, now mostly emus now working fine for me, what I miss is an 'autoframeskip'-option for lr-cores - as seen in psx-rearmed for example...but it's awesome how some alphas like Dreamcast or experimental N64 are already working...keep up the good work
Edit: The freezes I had often were related to standard turbo-overclocking option at raspian-setup - after I set down ram-speed manually in config.txt everything was fine.
Alles, was schiefgehen kann, wird auch schiefgehen.
Re: RetroArch on Raspbian: the tutorial
This did not work on my raspbian jessie. I got the following last lines:
Code: Select all
obj-unix/gfx/video_context_driver.o: In function `find_prev_gfx_context_driver':
video_context_driver.c:(.text+0x6ec): undefined reference to `gfx_ctx_videocore'
obj-unix/gfx/video_context_driver.o: In function `find_next_context_driver':
video_context_driver.c:(.text+0x770): undefined reference to `gfx_ctx_videocore'
obj-unix/gfx/video_context_driver.o: In function `gfx_ctx_init_first':
video_context_driver.c:(.text+0x8d8): undefined reference to `gfx_ctx_videocore'
obj-unix/gfx/video_context_driver.o:(.rodata+0x0): undefined reference to `gfx_ctx_videocore'
obj-unix/gfx/drivers/dispmanx_gfx.o: In function `dispmanx_surface_free':
dispmanx_gfx.c:(.text+0xc8): undefined reference to `vc_dispmanx_resource_delete'
dispmanx_gfx.c:(.text+0xfc): undefined reference to `vc_dispmanx_update_start'
dispmanx_gfx.c:(.text+0x108): undefined reference to `vc_dispmanx_element_remove'
dispmanx_gfx.c:(.text+0x110): undefined reference to `vc_dispmanx_update_submit_sync'
obj-unix/gfx/drivers/dispmanx_gfx.o: In function `dispmanx_surface_setup':
dispmanx_gfx.c:(.text+0x2a0): undefined reference to `vc_dispmanx_rect_set'
dispmanx_gfx.c:(.text+0x2bc): undefined reference to `vc_dispmanx_rect_set'
dispmanx_gfx.c:(.text+0x2e0): undefined reference to `vc_dispmanx_rect_set'
dispmanx_gfx.c:(.text+0x318): undefined reference to `vc_dispmanx_resource_create'
dispmanx_gfx.c:(.text+0x33c): undefined reference to `vc_dispmanx_update_start'
dispmanx_gfx.c:(.text+0x378): undefined reference to `vc_dispmanx_element_add'
dispmanx_gfx.c:(.text+0x390): undefined reference to `vc_dispmanx_update_submit_sync'
obj-unix/gfx/drivers/dispmanx_gfx.o: In function `dispmanx_gfx_free':
dispmanx_gfx.c:(.text+0x438): undefined reference to `vc_dispmanx_display_close'
dispmanx_gfx.c:(.text+0x43c): undefined reference to `bcm_host_deinit'
obj-unix/gfx/drivers/dispmanx_gfx.o: In function `dispmanx_surface_update':
dispmanx_gfx.c:(.text+0x544): undefined reference to `vc_dispmanx_resource_write_data'
dispmanx_gfx.c:(.text+0x54c): undefined reference to `vc_dispmanx_update_start'
dispmanx_gfx.c:(.text+0x55c): undefined reference to `vc_dispmanx_element_change_source'
dispmanx_gfx.c:(.text+0x56c): undefined reference to `vc_dispmanx_update_submit'
obj-unix/gfx/drivers/dispmanx_gfx.o: In function `dispmanx_gfx_init':
dispmanx_gfx.c:(.text+0x5bc): undefined reference to `bcm_host_init'
dispmanx_gfx.c:(.text+0x5c4): undefined reference to `vc_dispmanx_display_open'
dispmanx_gfx.c:(.text+0x5dc): undefined reference to `graphics_get_display_size'
collect2: error: ld returned 1 exit status
Makefile:115: recipe for target 'retroarch' failed
make: *** [retroarch] Error 1
Re: RetroArch on Raspbian: the tutorial
I can follow the tutorial in the raspberry pi 2 with OS raspbian-ua-netinst ??
thanks
thanks
Re: RetroArch on Raspbian: the tutorial
got the error when trying to compile retroarch on raspberry pi 3
obj-unix/gfx/video_context_driver.o: In function `gfx_ctx_init_first':
video_context_driver.c:(.text+0x188): undefined reference to `gfx_ctx_videocore'
obj-unix/gfx/video_context_driver.o: In function `gfx_ctx_ctl':
video_context_driver.c:(.text+0x780): undefined reference to `gfx_ctx_videocore'
obj-unix/gfx/video_context_driver.o:(.rodata+0x0): undefined reference to `gfx_ctx_videocore'
obj-unix/gfx/drivers/dispmanx_gfx.o: In function `dispmanx_surface_free':
dispmanx_gfx.c:(.text+0xc8): undefined reference to `vc_dispmanx_resource_delete'
dispmanx_gfx.c:(.text+0xfc): undefined reference to `vc_dispmanx_update_start'
dispmanx_gfx.c:(.text+0x108): undefined reference to `vc_dispmanx_element_remove'
dispmanx_gfx.c:(.text+0x110): undefined reference to `vc_dispmanx_update_submit_sync'
obj-unix/gfx/drivers/dispmanx_gfx.o: In function `dispmanx_surface_setup':
dispmanx_gfx.c:(.text+0x2a4): undefined reference to `vc_dispmanx_rect_set'
dispmanx_gfx.c:(.text+0x2c0): undefined reference to `vc_dispmanx_rect_set'
dispmanx_gfx.c:(.text+0x2dc): undefined reference to `vc_dispmanx_rect_set'
dispmanx_gfx.c:(.text+0x314): undefined reference to `vc_dispmanx_resource_create'
dispmanx_gfx.c:(.text+0x338): undefined reference to `vc_dispmanx_update_start'
dispmanx_gfx.c:(.text+0x374): undefined reference to `vc_dispmanx_element_add'
dispmanx_gfx.c:(.text+0x38c): undefined reference to `vc_dispmanx_update_submit_sync'
obj-unix/gfx/drivers/dispmanx_gfx.o: In function `dispmanx_gfx_free':
dispmanx_gfx.c:(.text+0x438): undefined reference to `vc_dispmanx_display_close'
dispmanx_gfx.c:(.text+0x43c): undefined reference to `bcm_host_deinit'
obj-unix/gfx/drivers/dispmanx_gfx.o: In function `dispmanx_surface_update':
dispmanx_gfx.c:(.text+0x544): undefined reference to `vc_dispmanx_resource_write_data'
dispmanx_gfx.c:(.text+0x54c): undefined reference to `vc_dispmanx_update_start'
dispmanx_gfx.c:(.text+0x55c): undefined reference to `vc_dispmanx_element_change_source'
dispmanx_gfx.c:(.text+0x56c): undefined reference to `vc_dispmanx_update_submit'
obj-unix/gfx/drivers/dispmanx_gfx.o: In function `dispmanx_gfx_init':
dispmanx_gfx.c:(.text+0x5c0): undefined reference to `bcm_host_init'
dispmanx_gfx.c:(.text+0x5c8): undefined reference to `vc_dispmanx_display_open'
dispmanx_gfx.c:(.text+0x5e0): undefined reference to `graphics_get_display_size'
collect2: error: ld returned 1 exit status
Makefile:124: recipe for target 'retroarch' failed
make: *** [retroarch] Error 1
{ Theory is when you know everything but nothing works.
Practice is everything works but no one knows why.
In our laboratory, theory and practice are combined:
nothing works and no one knows why!!! }
-- Albert einstein
Practice is everything works but no one knows why.
In our laboratory, theory and practice are combined:
nothing works and no one knows why!!! }
-- Albert einstein
Re: RetroArch on Raspbian: the tutorial
I can't seem to get it to work.
Followed the tutorial by the letter but RetroArch won't start.
If I try to run it through a command I get no feedback at all.
When I run it through the file manager nothing happens.
And when I run it with terminal then the terminal immediately disappears.
I'm quite new to this but does anyone have an idea of what is causing the problem?
Thanks in forward
Followed the tutorial by the letter but RetroArch won't start.
If I try to run it through a command I get no feedback at all.
When I run it through the file manager nothing happens.
And when I run it with terminal then the terminal immediately disappears.
I'm quite new to this but does anyone have an idea of what is causing the problem?
Thanks in forward
-
- Posts: 140
- Joined: Sat Jan 18, 2014 5:54 pm
Re: RetroArch on Raspbian: the tutorial
Can you post the exact command you're typing to run retroarch?Boydde3de wrote:I can't seem to get it to work.
Followed the tutorial by the letter but RetroArch won't start.
If I try to run it through a command I get no feedback at all.
When I run it through the file manager nothing happens.
And when I run it with terminal then the terminal immediately disappears.
I'm quite new to this but does anyone have an idea of what is causing the problem?
Thanks in forward
For example:
./retroarch -L fceumm_libretro.so nes/Mario.nes
and then also post the results of these three commands (replacing the bolded parameter as appropriate for your setup):
ls -l retroarch
ls -l fceumm_libretro.so
ls -l nes/Mario.nes
This will tell us if the files are in the locations you're expecting
Re: RetroArch on Raspbian: the tutorial
ok the developer upgrade retroarch files, and it compiled and work find on my raspberry pi 3 by just running:
./configure --disable-x11 --disable-ffmpeg
make
{ Theory is when you know everything but nothing works.
Practice is everything works but no one knows why.
In our laboratory, theory and practice are combined:
nothing works and no one knows why!!! }
-- Albert einstein
Practice is everything works but no one knows why.
In our laboratory, theory and practice are combined:
nothing works and no one knows why!!! }
-- Albert einstein
-
- Posts: 1
- Joined: Wed Jun 29, 2016 1:13 am
Re: RetroArch on Raspbian: the tutorial
fivealive,
I am a beginner with Linux too, and I was doing exactly what you were doing, and I ran into your same problem. Before typing ¨./configure,¨ and after typing ¨git submodule init && git submodule update,¨ type this:
cd picodrive
I guess this was assumed, but, of course, I had no idea since I am not close to being a professional. My dad actually had to help me with this one!
Anyway, hope I helped!
--Zander_0mega
I am a beginner with Linux too, and I was doing exactly what you were doing, and I ran into your same problem. Before typing ¨./configure,¨ and after typing ¨git submodule init && git submodule update,¨ type this:
cd picodrive
I guess this was assumed, but, of course, I had no idea since I am not close to being a professional. My dad actually had to help me with this one!
Anyway, hope I helped!
--Zander_0mega
Re: RetroArch on Raspbian: the tutorial
im trying to build this thing on my Pi3, but i keep getting the following error.. thought?
CC gfx/drivers/drm_gfx.c
In file included from gfx/drivers/drm_gfx.c:16:0:
/usr/include/xf86drm.h:40:17: fatal error: drm.h: No such file or directory
#include <drm.h>
^
compilation terminated.
Makefile:133: recipe for target 'obj-unix/gfx/drivers/drm_gfx.o' failed
make: *** [obj-unix/gfx/drivers/drm_gfx.o] Error 1
CC gfx/drivers/drm_gfx.c
In file included from gfx/drivers/drm_gfx.c:16:0:
/usr/include/xf86drm.h:40:17: fatal error: drm.h: No such file or directory
#include <drm.h>
^
compilation terminated.
Makefile:133: recipe for target 'obj-unix/gfx/drivers/drm_gfx.o' failed
make: *** [obj-unix/gfx/drivers/drm_gfx.o] Error 1
Re: RetroArch on Raspbian: the tutorial
Thank you, DrDeath! -- Was just having the same problem and your solution cleared the error.DrDeath wrote:ok the developer upgrade retroarch files, and it compiled and work find on my raspberry pi 3 by just running:
./configure --disable-x11 --disable-ffmpeg
make
Re: RetroArch on Raspbian: the tutorial
Can anyone help me making sdl2 work?
I ran ./configure with --disable-sdl --enable-sdl2 (And make after it, obviously), changed the video driver to sdl2 but when I launched retroarch I had a buggy window for Retroarch (See http://imgur.com/a/idNE3). Is there a package i need to install? Any help would be extremely appreciated.
Just for clarification: the reason I am doing this is because when using gl as video driver i don't have the option to make it windowed and retroarch does not accept any faked input (currently using xdotool) because it is not recognized as a window.
I ran ./configure with --disable-sdl --enable-sdl2 (And make after it, obviously), changed the video driver to sdl2 but when I launched retroarch I had a buggy window for Retroarch (See http://imgur.com/a/idNE3). Is there a package i need to install? Any help would be extremely appreciated.
Just for clarification: the reason I am doing this is because when using gl as video driver i don't have the option to make it windowed and retroarch does not accept any faked input (currently using xdotool) because it is not recognized as a window.
Re: RetroArch on Raspbian: the tutorial
Is there a updated tutorial on getting RetroArch running on the pi3 B? I have tried multiple solutions provided in this thread, but could not get any of them to work correctly. Any information would be greatly appreciated!
-
- Posts: 2
- Joined: Mon Oct 09, 2017 3:37 pm
Re: RetroArch on Raspbian: the tutorial
Following the instructions carefully, removing any --disable options my clean raspbian doesn't have (only uninstalled some of the learning software) , I keep getting the error "Makefile:151: recipe for target 'retroarch' failed", coming from the video driver and it has something to do with dispmanx and the video drivers, as that is where it fails
Always remember that you are unique. Just like everybody else