Issues with Graphics on RPi 3

This forum is for topics dealing with problems with software specifically in the ARMv7h repo.

Issues with Graphics on RPi 3

Postby Verequies » Tue Jul 04, 2017 8:15 am

Hey Guys,

Currently I'm having some driver/drm issues trying to setup Kodi and RetroArch on my RPi 3. Both are installed, and Kodi standalone or when launched from within Openbox works. However when launching RetroArch as standalone (which doesn't work), I receive:
$this->bbcode_second_pass_code('', 'RetroArch [INFO] :: === Build =======================================
Capabilities: NEON VFPv3 VFPv4
Built: Jun 23 2017
RetroArch [INFO] :: Version: 1.6.1
RetroArch [INFO] :: =================================================
RetroArch [INFO] :: [Config]: Loading default config.
RetroArch [INFO] :: [Config]: loading config from: (null).
RetroArch [INFO] :: Looking for config in: "/home/pi/.config/retroarch/retroarch.cfg".
RetroArch [INFO] :: Environ SET_PIXEL_FORMAT: RGB565.
RetroArch [INFO] :: Version of libretro API: 1
RetroArch [INFO] :: Compiled against API: 1
RetroArch [INFO] :: [Audio]: Set audio input rate to: 29970.03 Hz.
RetroArch [INFO] :: [Video]: Video @ fullscreen
RetroArch [ERROR] :: [Wayland]: Failed to connect to Wayland server.
RetroArch [ERROR] :: [KMS]: Couldn't find a suitable DRM device.
RetroArch [WARN] :: [SDL_GL]: Failed to initialize SDL gfx context driver: directfb not available
RetroArch [WARN] :: Failed to bind API (#2, version 0.0) on context driver "khr_display".
RetroArch [INFO] :: [GL]: Found GL context: null
RetroArch [INFO] :: [GL]: Detecting screen resolution 320x240.
RetroArch [INFO] :: [GL]: Vendor: (null), Renderer: (null).
RetroArch [INFO] :: [GL]: Version: (null).')

When launching RetroArch from within Openbox - which actually loads, however is unbearably slow - I get the following:
$this->bbcode_second_pass_code('', 'RetroArch [INFO] :: === Build =======================================
Capabilities: NEON VFPv3 VFPv4
Built: Jun 23 2017
RetroArch [INFO] :: Version: 1.6.1
RetroArch [INFO] :: =================================================
RetroArch [INFO] :: [Config]: Loading default config.
RetroArch [INFO] :: [Config]: loading config from: (null).
RetroArch [INFO] :: Looking for config in: "/home/pi/.config/retroarch/retroarch.cfg".
RetroArch [INFO] :: Environ SET_PIXEL_FORMAT: RGB565.
RetroArch [INFO] :: Version of libretro API: 1
RetroArch [INFO] :: Compiled against API: 1
RetroArch [INFO] :: [Audio]: Set audio input rate to: 29970.03 Hz.
RetroArch [INFO] :: [Video]: Video @ fullscreen
RetroArch [ERROR] :: [Wayland]: Failed to connect to Wayland server.
RetroArch [INFO] :: [EGL] Found EGL client version >= 1.5, trying eglGetPlatformDisplay
libEGL warning: DRI2: failed to authenticate
RetroArch [INFO] :: [EGL]: EGL version: 1.4
RetroArch [INFO] :: [GL]: Found GL context: x-egl
RetroArch [INFO] :: [GL]: Detecting screen resolution 1920x1200.
RetroArch [INFO] :: [XINERAMA]: Xinerama version: 1.1.
RetroArch [INFO] :: [XINERAMA]: Xinerama screens: 1.
RetroArch [INFO] :: [X/EGL]: Using Xinerama on screen #0.
RetroArch [INFO] :: [X/EGL]: X = 0, Y = 0, W = 1920, H = 1200.
RetroArch [INFO] :: [EGL]: Current context: 0x171e8f0.
RetroArch [INFO] :: [X/EGL]: Using windowed fullscreen.
RetroArch [INFO] :: [EGL]: eglSwapInterval(1)
RetroArch [ERROR] :: [EGL]: eglSwapInterval() failed.
RetroArch [ERROR] :: [EGL]: #0x3000, EGL_SUCCESS
RetroArch [INFO] :: [GL]: Vendor: VMware, Inc., Renderer: Gallium 0.4 on llvmpipe (LLVM 4.0, 128 bits).
RetroArch [INFO] :: [GL]: Version: OpenGL ES 3.0 Mesa 17.1.4.
RetroArch [INFO] :: [GL]: Using resolution 1920x1200
RetroArch [INFO] :: [GL]: Default shader backend found: glsl.
RetroArch [INFO] :: [Shader driver]: Using GLSL shader backend.
RetroArch [WARN] :: [GL]: Stock GLSL shaders will be used.
RetroArch [INFO] :: [GLSL]: Found GLSL vertex shader.
RetroArch [INFO] :: [GLSL]: Found GLSL fragment shader.
RetroArch [INFO] :: [GLSL]: Linking GLSL program.
RetroArch [INFO] :: [GLSL]: Found GLSL vertex shader.
RetroArch [INFO] :: [GLSL]: Found GLSL fragment shader.
RetroArch [INFO] :: [GLSL]: Linking GLSL program.
RetroArch [INFO] :: [GLSL]: Found GLSL vertex shader.
RetroArch [INFO] :: [GLSL]: Found GLSL fragment shader.
RetroArch [INFO] :: [GLSL]: Linking GLSL program.
RetroArch [INFO] :: [GLSL]: Found GLSL vertex shader.
RetroArch [INFO] :: [GLSL]: Found GLSL fragment shader.
RetroArch [INFO] :: [GLSL]: Linking GLSL program.
RetroArch [INFO] :: [GLSL]: Found GLSL vertex shader.
RetroArch [INFO] :: [GLSL]: Found GLSL fragment shader.
RetroArch [INFO] :: [GLSL]: Linking GLSL program.
RetroArch [INFO] :: [GLSL]: Found GLSL vertex shader.
RetroArch [INFO] :: [GLSL]: Found GLSL fragment shader.
RetroArch [INFO] :: [GLSL]: Linking GLSL program.
RetroArch [INFO] :: [GLSL]: Found GLSL vertex shader.
RetroArch [INFO] :: [GLSL]: Found GLSL fragment shader.
RetroArch [INFO] :: [GLSL]: Linking GLSL program.
RetroArch [INFO] :: [GLSL]: Found GLSL vertex shader.
RetroArch [INFO] :: [GLSL]: Found GLSL fragment shader.
RetroArch [INFO] :: [GLSL]: Linking GLSL program.
RetroArch [INFO] :: [GL]: Using 4 textures.
RetroArch [INFO] :: [GL]: Loaded 1 program(s).
RetroArch [INFO] :: [udev]: Plugged pad: Sony PLAYSTATION(R)3 Controller (1356:616) on port #0.
RetroArch [INFO] :: [udev]: Pad #0 (/dev/input/event2) supports force feedback.
RetroArch [INFO] :: [udev]: Pad #0 (/dev/input/event2) supports 16 force feedback effects.
RetroArch [INFO] :: [Autodetect]: 184 profiles found.
RetroArch [INFO] :: [Autodetect]: selected configuration: /usr/share/retroarch/autoconfig/udev/Sony-PlayStation3-DualShock3-Controller-USB.cfg
RetroArch [INFO] :: [Joypad]: Found joypad driver: "udev".
RetroArch [INFO] :: [Font]: Using font rendering backend: freetype.
RetroArch [ERROR] :: [DBus]: Failed to suspend screensaver via DBus.
RetroArch [INFO] :: [X11]: Suspending screensaver (X11, xdg-screensaver).
RetroArch [ERROR] :: Failed to initialize audio driver. Will continue without audio.
RetroArch [INFO] :: [Menu]: Found menu display driver: "menu_display_gl".
RetroArch [ERROR] :: Failed to create rendering backend: freetype.
Failed to open /usr/share/retroarch/assets/xmb/pixel/font.ttf: No such file or directory
RetroArch [ERROR] :: Failed to create rendering backend: stb.
RetroArch [INFO] :: [Font]: Using font rendering backend: bitmap.
RetroArch [ERROR] :: Failed to create rendering backend: freetype.
Failed to open /usr/share/retroarch/assets/xmb/pixel/font.ttf: No such file or directory
RetroArch [ERROR] :: Failed to create rendering backend: stb.
RetroArch [INFO] :: [Font]: Using font rendering backend: bitmap.
RetroArch [INFO] :: SRAM will not be saved.
RetroArch [INFO] :: Loading history file: [/home/pi/.config/retroarch/content_history.lpl].
RetroArch [INFO] :: Loading history file: [/home/pi/.config/retroarch/content_music_history.lpl].
RetroArch [INFO] :: Loading history file: [/home/pi/.config/retroarch/content_video_history.lpl].
RetroArch [INFO] :: Loading history file: [/home/pi/.config/retroarch/content_image_history.lpl].
RetroArch [INFO] :: [GL]: VSync => on
RetroArch [INFO] :: [EGL]: eglSwapInterval(1)
RetroArch [ERROR] :: [EGL]: eglSwapInterval() failed.
RetroArch [ERROR] :: [EGL]: #0x3000, EGL_SUCCESS
RetroArch [ERROR] :: failed_to_start_audio_driver
RetroArch [INFO] :: [GL]: VSync => on
RetroArch [INFO] :: [EGL]: eglSwapInterval(1)
RetroArch [ERROR] :: [EGL]: eglSwapInterval() failed.
RetroArch [ERROR] :: [EGL]: #0x3000, EGL_SUCCESS
RetroArch [ERROR] :: failed_to_start_audio_driver
RetroArch [ERROR] :: failed_to_start_audio_driver
RetroArch [INFO] :: [Config]: Saved new config to "/home/pi/.config/retroarch/retroarch.cfg".
RetroArch [INFO] :: [XINERAMA]: Xinerama version: 1.1.
RetroArch [INFO] :: [XINERAMA]: Xinerama screens: 1.
RetroArch [INFO] :: [XINERAMA]: Saved monitor #0.
RetroArch [INFO] :: [Video]: Does not have enough samples for monitor refresh rate estimation. Requires to run for at least 4096 frames.
RetroArch [INFO] :: [Video]: Does not have enough samples for monitor refresh rate estimation. Requires to run for at least 4096 frames.
')

Now if I boot with 'dtoverlay=vc4-kms-v3d' enabled, I am not able to boot Kodi, resulting in:
$this->bbcode_second_pass_code('', '* failed to add service - already in use?')

RetroArch is however able to boot standalone with what I would call normal performance - much more smoother, its output is:
$this->bbcode_second_pass_code('', 'RetroArch [INFO] :: === Build =======================================
Capabilities: NEON VFPv3 VFPv4
Built: Jun 23 2017
RetroArch [INFO] :: Version: 1.6.1
RetroArch [INFO] :: =================================================
RetroArch [INFO] :: [Config]: Loading default config.
RetroArch [INFO] :: [Config]: loading config from: (null).
RetroArch [INFO] :: Looking for config in: "/home/pi/.config/retroarch/retroarch.cfg".
RetroArch [INFO] :: Environ SET_PIXEL_FORMAT: RGB565.
RetroArch [INFO] :: Version of libretro API: 1
RetroArch [INFO] :: Compiled against API: 1
RetroArch [INFO] :: [Audio]: Set audio input rate to: 29970.03 Hz.
RetroArch [INFO] :: [Video]: Video @ fullscreen
RetroArch [ERROR] :: [Wayland]: Failed to connect to Wayland server.
RetroArch [INFO] :: [DRM]: Found 3 connectors.
RetroArch [INFO] :: [DRM]: Connector 0 connected: yes
RetroArch [INFO] :: [DRM]: Connector 0 has 29 modes.
RetroArch [INFO] :: [DRM]: Connector 0 assigned to monitor index: #1.
RetroArch [INFO] :: [DRM]: Connector 1 connected: no
RetroArch [INFO] :: [DRM]: Connector 1 has 1 modes.
RetroArch [INFO] :: [DRM]: Connector 2 connected: no
RetroArch [INFO] :: [DRM]: Connector 2 has 0 modes.
RetroArch [INFO] :: [DRM]: Mode 0: (1920x1200) 1920 x 1200, 60 Hz
RetroArch [INFO] :: [DRM]: Mode 1: (1920x1080) 1920 x 1080, 60 Hz
RetroArch [INFO] :: [DRM]: Mode 2: (1920x1080) 1920 x 1080, 60 Hz
RetroArch [INFO] :: [DRM]: Mode 3: (1920x1080i) 1920 x 1080, 60 Hz
RetroArch [INFO] :: [DRM]: Mode 4: (1920x1080i) 1920 x 1080, 60 Hz
RetroArch [INFO] :: [DRM]: Mode 5: (1600x1200) 1600 x 1200, 60 Hz
RetroArch [INFO] :: [DRM]: Mode 6: (1680x1050) 1680 x 1050, 60 Hz
RetroArch [INFO] :: [DRM]: Mode 7: (1280x1024) 1280 x 1024, 75 Hz
RetroArch [INFO] :: [DRM]: Mode 8: (1280x1024) 1280 x 1024, 60 Hz
RetroArch [INFO] :: [DRM]: Mode 9: (1440x900) 1440 x 900, 60 Hz
RetroArch [INFO] :: [DRM]: Mode 10: (1280x800) 1280 x 800, 60 Hz
RetroArch [INFO] :: [DRM]: Mode 11: (1152x864) 1152 x 864, 75 Hz
RetroArch [INFO] :: [DRM]: Mode 12: (1280x720) 1280 x 720, 60 Hz
RetroArch [INFO] :: [DRM]: Mode 13: (1280x720) 1280 x 720, 60 Hz
RetroArch [INFO] :: [DRM]: Mode 14: (1152x720) 1152 x 720, 60 Hz
RetroArch [INFO] :: [DRM]: Mode 15: (1024x768) 1024 x 768, 75 Hz
RetroArch [INFO] :: [DRM]: Mode 16: (1024x768) 1024 x 768, 60 Hz
RetroArch [INFO] :: [DRM]: Mode 17: (832x624) 832 x 624, 75 Hz
RetroArch [INFO] :: [DRM]: Mode 18: (800x600) 800 x 600, 75 Hz
RetroArch [INFO] :: [DRM]: Mode 19: (800x600) 800 x 600, 60 Hz
RetroArch [INFO] :: [DRM]: Mode 20: (720x480) 720 x 480, 60 Hz
RetroArch [INFO] :: [DRM]: Mode 21: (720x480) 720 x 480, 60 Hz
RetroArch [INFO] :: [DRM]: Mode 22: (720x480i) 720 x 480, 60 Hz
RetroArch [INFO] :: [DRM]: Mode 23: (720x480i) 720 x 480, 60 Hz
RetroArch [INFO] :: [DRM]: Mode 24: (640x480) 640 x 480, 75 Hz
RetroArch [INFO] :: [DRM]: Mode 25: (640x480) 640 x 480, 60 Hz
RetroArch [INFO] :: [DRM]: Mode 26: (640x480) 640 x 480, 60 Hz
RetroArch [INFO] :: [DRM]: Mode 27: (640x480) 640 x 480, 60 Hz
RetroArch [INFO] :: [DRM]: Mode 28: (720x400) 720 x 400, 70 Hz
RetroArch [INFO] :: [GL]: Found GL context: kms
RetroArch [INFO] :: [GL]: Detecting screen resolution 1920x1200.
RetroArch [INFO] :: [EGL] Found EGL client version >= 1.5, trying eglGetPlatformDisplay
RetroArch [INFO] :: [EGL]: EGL version: 1.4
RetroArch [INFO] :: [EGL]: Current context: 0x1e3b028.
RetroArch [INFO] :: [KMS]: New FB: 1920x1200 (stride: 7680).
RetroArch [INFO] :: [GL]: Vendor: Broadcom, Renderer: Gallium 0.4 on VC4 V3D 2.1.
RetroArch [INFO] :: [GL]: Version: OpenGL ES 2.0 Mesa 17.1.4.
RetroArch [INFO] :: [GL]: Using resolution 1920x1200
RetroArch [INFO] :: [GL]: Default shader backend found: glsl.
RetroArch [INFO] :: [Shader driver]: Using GLSL shader backend.
RetroArch [WARN] :: [GL]: Stock GLSL shaders will be used.
RetroArch [INFO] :: [GLSL]: Found GLSL vertex shader.
RetroArch [INFO] :: Shader log: 0:3(12): warning: extension `GL_OES_standard_derivatives' unsupported in vertex shader

RetroArch [INFO] :: [GLSL]: Found GLSL fragment shader.
RetroArch [INFO] :: Shader log: 0:3(12): warning: extension `GL_OES_standard_derivatives' unsupported in fragment shader

RetroArch [INFO] :: [GLSL]: Linking GLSL program.
RetroArch [INFO] :: [GLSL]: Found GLSL vertex shader.
RetroArch [INFO] :: Shader log: 0:3(12): warning: extension `GL_OES_standard_derivatives' unsupported in vertex shader

RetroArch [INFO] :: [GLSL]: Found GLSL fragment shader.
RetroArch [INFO] :: Shader log: 0:3(12): warning: extension `GL_OES_standard_derivatives' unsupported in fragment shader

RetroArch [INFO] :: [GLSL]: Linking GLSL program.
RetroArch [INFO] :: [GLSL]: Found GLSL vertex shader.
RetroArch [INFO] :: Shader log: 0:3(12): warning: extension `GL_OES_standard_derivatives' unsupported in vertex shader

RetroArch [INFO] :: [GLSL]: Found GLSL fragment shader.
RetroArch [INFO] :: Shader log: 0:3(12): warning: extension `GL_OES_standard_derivatives' unsupported in fragment shader

RetroArch [INFO] :: [GLSL]: Linking GLSL program.
RetroArch [INFO] :: [GLSL]: Found GLSL vertex shader.
RetroArch [INFO] :: Shader log: 0:3(12): warning: extension `GL_OES_standard_derivatives' unsupported in vertex shader

RetroArch [INFO] :: [GLSL]: Found GLSL fragment shader.
RetroArch [INFO] :: Shader log: 0:3(12): warning: extension `GL_OES_standard_derivatives' unsupported in fragment shader

RetroArch [INFO] :: [GLSL]: Linking GLSL program.
RetroArch [INFO] :: [GLSL]: Found GLSL vertex shader.
RetroArch [INFO] :: Shader log: 0:3(12): warning: extension `GL_OES_standard_derivatives' unsupported in vertex shader

RetroArch [INFO] :: [GLSL]: Found GLSL fragment shader.
RetroArch [INFO] :: Shader log: 0:3(12): warning: extension `GL_OES_standard_derivatives' unsupported in fragment shader

RetroArch [INFO] :: [GLSL]: Linking GLSL program.
RetroArch [INFO] :: [GLSL]: Found GLSL vertex shader.
RetroArch [INFO] :: Shader log: 0:3(12): warning: extension `GL_OES_standard_derivatives' unsupported in vertex shader

RetroArch [INFO] :: [GLSL]: Found GLSL fragment shader.
RetroArch [INFO] :: Shader log: 0:3(12): warning: extension `GL_OES_standard_derivatives' unsupported in fragment shader

RetroArch [INFO] :: [GLSL]: Linking GLSL program.
RetroArch [INFO] :: [GLSL]: Found GLSL vertex shader.
RetroArch [INFO] :: Shader log: 0:3(12): warning: extension `GL_OES_standard_derivatives' unsupported in vertex shader

RetroArch [INFO] :: [GLSL]: Found GLSL fragment shader.
RetroArch [INFO] :: Shader log: 0:3(12): warning: extension `GL_OES_standard_derivatives' unsupported in fragment shader

RetroArch [INFO] :: [GLSL]: Linking GLSL program.
RetroArch [INFO] :: [GLSL]: Found GLSL vertex shader.
RetroArch [INFO] :: Shader log: 0:3(12): warning: extension `GL_OES_standard_derivatives' unsupported in vertex shader

RetroArch [INFO] :: [GLSL]: Found GLSL fragment shader.
RetroArch [INFO] :: Shader log: 0:3(12): warning: extension `GL_OES_standard_derivatives' unsupported in fragment shader

RetroArch [INFO] :: [GLSL]: Linking GLSL program.
RetroArch [INFO] :: [GL]: Using 4 textures.
RetroArch [INFO] :: [GL]: Loaded 1 program(s).
RetroArch [INFO] :: [udev] Adding device /dev/input/event1 as type ID_INPUT_KEYBOARD.
RetroArch [INFO] :: [udev] Adding device /dev/input/event0 as type ID_INPUT_MOUSE.
RetroArch [INFO] :: [udev] Adding device /dev/input/mouse0 as type ID_INPUT_MOUSE.
RetroArch [INFO] :: [udev]: Plugged pad: Sony PLAYSTATION(R)3 Controller (1356:616) on port #0.
RetroArch [INFO] :: [udev]: Pad #0 (/dev/input/event2) supports force feedback.
RetroArch [INFO] :: [udev]: Pad #0 (/dev/input/event2) supports 16 force feedback effects.
RetroArch [INFO] :: [Autodetect]: 184 profiles found.
RetroArch [INFO] :: [Autodetect]: selected configuration: /usr/share/retroarch/autoconfig/udev/Sony-PlayStation3-DualShock3-Controller-USB.cfg
RetroArch [INFO] :: [Joypad]: Found joypad driver: "udev".
RetroArch [INFO] :: [Font]: Using font rendering backend: freetype.
RetroArch [ERROR] :: Failed to initialize audio driver. Will continue without audio.
RetroArch [INFO] :: [Menu]: Found menu display driver: "menu_display_gl".
RetroArch [ERROR] :: Failed to create rendering backend: freetype.
Failed to open /usr/share/retroarch/assets/xmb/pixel/font.ttf: No such file or directory
RetroArch [ERROR] :: Failed to create rendering backend: stb.
RetroArch [INFO] :: [Font]: Using font rendering backend: bitmap.
RetroArch [ERROR] :: Failed to create rendering backend: freetype.
Failed to open /usr/share/retroarch/assets/xmb/pixel/font.ttf: No such file or directory
RetroArch [ERROR] :: Failed to create rendering backend: stb.
RetroArch [INFO] :: [Font]: Using font rendering backend: bitmap.
RetroArch [INFO] :: SRAM will not be saved.
RetroArch [INFO] :: Loading history file: [/home/pi/.config/retroarch/content_history.lpl].
RetroArch [INFO] :: Loading history file: [/home/pi/.config/retroarch/content_music_history.lpl].
RetroArch [INFO] :: Loading history file: [/home/pi/.config/retroarch/content_video_history.lpl].
RetroArch [INFO] :: Loading history file: [/home/pi/.config/retroarch/content_image_history.lpl].
RetroArch [INFO] :: [GL]: VSync => on
RetroArch [ERROR] :: failed_to_start_audio_driver
RetroArch [INFO] :: [GL]: VSync => on
RetroArch [INFO] :: [KMS]: New FB: 1920x1200 (stride: 7680).
RetroArch [INFO] :: [KMS]: New FB: 1920x1200 (stride: 7680).
RetroArch [ERROR] :: failed_to_start_audio_driver
RetroArch [ERROR] :: failed_to_start_audio_driver
RetroArch [INFO] :: [Config]: Saved new config to "/home/pi/.config/retroarch/retroarch.cfg".
RetroArch [INFO] :: [Video]: Does not have enough samples for monitor refresh rate estimation. Requires to run for at least 4096 frames.
RetroArch [INFO] :: [Video]: Does not have enough samples for monitor refresh rate estimation. Requires to run for at least 4096 frames.
')

Loading RetroArch from within Openbox gives the same unbearable performance as before. I've been through multiple guides, recompiling SDL2, RetroArch and Kodi (which ultimately bombed out?) to no avail. Ultimately I think it would be better to see Kodi running on the VC4 GPU.

Any help is appreciated.
Verequies
 
Posts: 14
Joined: Mon Feb 20, 2017 11:55 am

Re: Issues with Graphics on RPi 3

Postby WarheadsSE » Tue Jul 04, 2017 4:50 pm

Which userland are you using? And which kernel?
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Issues with Graphics on RPi 3

Postby Verequies » Wed Jul 05, 2017 12:55 am

$this->bbcode_second_pass_quote('WarheadsSE', 'W')hich userland are you using? And which kernel?


How do I find which userland I'm using? The kernel is straight from the repo, the latest linux-raspberrypi - being 4.9.35-1. Everything installed is from the repository except for TVHeadend, the TVHeadend Kodi plugin, and pacaur.

EDIT: If you mean the raspberrypi-firmware, then I'm using the latest 20170613-1.
Verequies
 
Posts: 14
Joined: Mon Feb 20, 2017 11:55 am

Re: Issues with Graphics on RPi 3

Postby WarheadsSE » Wed Jul 05, 2017 12:11 pm

If you are on a Pi 3 and have the firmware installed, then you are clearly using the `armv7h` userland, as we don't package the firmware for the AArch64/ARMv8 repository.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Issues with Graphics on RPi 3

Postby WarheadsSE » Wed Jul 05, 2017 12:19 pm

What user is RetroArch starting as?
Do you have a /dev/drm && /dev/dri* ?
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Issues with Graphics on RPi 3

Postby Verequies » Wed Jul 05, 2017 4:06 pm

$this->bbcode_second_pass_quote('WarheadsSE', 'I')f you are on a Pi 3 and have the firmware installed, then you are clearly using the `armv7h` userland, as we don't package the firmware for the AArch64/ARMv8 repository.

Ah I see, well thats much clearer now.

$this->bbcode_second_pass_quote('WarheadsSE', 'W')hat user is RetroArch starting as?
Do you have a /dev/drm && /dev/dri* ?

Both Kodi & RetroArch should be starting as the user Pi - which is apart of the following groups:$this->bbcode_second_pass_code('', 'tty disk wheel network video audio optical storage input power sudo pi')
When booting with 'dtoverlay=vc4-kms-v3d' enabled, I have '/dev/dri', but no '/dev/drm':$this->bbcode_second_pass_code('', '[pi@RPi3 ~]$ ls /dev/dri/* -R
/dev/dri/card0 /dev/dri/controlD64 /dev/dri/renderD128

/dev/dri/by-path:
platform-soc:gpu-card platform-soc:gpu-control platform-soc:gpu-ren')
Verequies
 
Posts: 14
Joined: Mon Feb 20, 2017 11:55 am
Top


Return to ARMv7h

Who is online

Users browsing this forum: No registered users and 31 guests