Retroarch: Fast forward doesn't work with vulkan when run from a tty.

Created on 25 Feb 2019  路  5Comments  路  Source: libretro/RetroArch

Description

When using fast forward with a kms context and vulkan it has zero impact.

It works with vulkan with X11 and opengl with kms.

Expected behavior

The fast forward feature should work normally with vulkan with kms.

Actual behavior

Fast forward with vulkan with a kms context has zero effect.

Steps to reproduce the bug

  1. Start RetroArch with a kms context and vulkan.
  2. Start any core + content (i.e. snes9x-libretro).
  3. Toggle fast forward.

Bisect Results

N/A

Older RetroArch commits have other issues with kms and vulkan making a bisect not possible.

Version/Commit

You can find this information under Information/System Information

Environment information

vulkan

All 5 comments

What context are you talking about ? I don't believe we have a KMS context driver written for Vulkan, only VK_KHR_display?

You're right, its not KMS, I was mistaken. I mean when running RetroArch with vulkan from an unused tty.

[WARN] Failed to bind API (#9, version 1.0) on context driver "x-egl".
[WARN] Failed to bind API (#9, version 1.0) on context driver "kms".
[WARN] Failed to bind API (#9, version 1.0) on context driver "sdl_gl".
[INFO] Vulkan dynamic library loaded.
[INFO] [Vulkan]: Detecting screen resolution 0x0.
[INFO] [Vulkan]: Using GPU: AMD RADV VEGA10 (LLVM 7.0.1)
[INFO] [Vulkan]: Queue family 0 supports 1 sub-queues.
[INFO] [Vulkan]: Swapchain supports present mode: 2.
[INFO] [Vulkan]: Creating swapchain with present mode: 2
[INFO] [Vulkan]: Using swapchain size 1680 x 1050.
[INFO] [Vulkan]: Got 3 swapchain images.
[INFO] [Vulkan]: Using resolution 1680x1050
[INFO] [Vulkan]: Using RGB565 format.
[INFO] [Vulkan]: GPU supports linear images as textures, but not DEVICE_LOCAL. Falling back to copy path.
[INFO] [Vulkan]: GPU supports linear images as textures, but not DEVICE_LOCAL. Falling back to copy path.
[INFO] [Vulkan]: GPU supports linear images as textures, but not DEVICE_LOCAL. Falling back to copy path.
[INFO] [Vulkan]: Loading stock shader.
[INFO] [slang]: Building pass #0 (N/A)
[INFO] [slang]: Reflection
[INFO] [slang]:   Textures:
[INFO] [slang]:      Source (#0)
[INFO] [slang]:
[INFO] [slang]:   Uniforms (Vertex: yes, Fragment: no):
[INFO] [slang]:   Push Constants (Vertex: no, Fragment: no):
[INFO] [slang]:      MVP (Offset: 0)
[INFO] [slang]:
[INFO] [slang]:   Parameters:
[INFO] [Vulkan filter chain]: Not using frame history.
[INFO] [Vulkan filter chain]: Not using framebuffer feedback.

IIRC, this is a known issue with mesa drivers, as they don't support the mailbox feature. Nvidia drivers can fast-forward normally, I believe.

What's the mailbox feature? Would this be true if fast forward works normally with a X11 context?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

parkerlreed picture parkerlreed  路  3Comments

hyarsan picture hyarsan  路  4Comments

alki-apps picture alki-apps  路  3Comments

danabnormal9000 picture danabnormal9000  路  3Comments

RobLoach picture RobLoach  路  3Comments