Closed natinusala closed 5 years ago
Looks like the menu (rgui) is causing the crash : when launching RA without any option it crashes, but when launching RA with a core and a game (using retroarch -L core game
) it works well, although inputs are not working. My eyes are bleeding too.
I think it works with the XMB menu, oddly enough.
Yes it was only made to work with the XMB menu driver so far. The environment variables here http://caca.zoy.org/doxygen/libcaca/libcaca-env.html can also control the video driver.
Okay, I see. I tested with XMB and the render is weird, the texts are not dithered and I don't see any icon nor any background. Having some inputs would probably help
Yes I have not yet implemented any menu graphics, and the text is rendered without dithering on purpose to make it easier to read. It is possible to simply take the existing XMB frames and dither them, but that adds the requirement of OpenGL/D3D/Vulkan to draw the initial frame first, and one goal I had with libcaca was to make it work without any hardware acceleration (think non-KMS Linux console or an old PC). However it would be possible to add a separate "glcaca" driver later that simply dithered the full XMB rendering.
Okay, I see. And what about the inputs ? Are they not implemented yet ?
@natinusala What's the current status on this?
It opens "caca for X" on a black screen and nothing happens after that (rgui menu driver).
I can reproduce that, loading directly to content seems to work though. Same issue with sixel, except I can toggle the menu with sixel after loading content.
I think that it's just the current state of the caca driver, and no longer a bug. This issue doesn't have any reason to exist anymore, unless you want to keep track of that
I agree, I'll close it and consider making new issues for the remaining problems later. Thanks for the quick replies!
I wanted to try the libcaca GFX driver but it segfaults when launching RA :
The main issue seems to be in the libcaca call at
gfx/drivers/caca_gfx.c:153
fromgfx/video_driver.c:2110
.