• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Development Discussion v
« Previous 1 ... 24 25 26 27 28 ... 117 Next »

Issues with Vulkan on Linux dev build
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Issues with Vulkan on Linux dev build
11-26-2016, 07:41 AM
#4
jorwin
Unregistered
 
(11-16-2016, 07:43 PM)Stenzek Wrote: The issue here I believe is the Vulkan runtime being compiled without xlib support. Not sure which distribution you're using, but I know the one that ships with Ubuntu is like this. If you download the SDK from LunarG and use this version instead, it won't have this problem.

Alternatively, if you want to use XCB instead, what you have done is correct, you're just missing the linkage with libX11-xcb. To specify this, open Source/Core/VideoBackends/Vulkan/CMakeLists.txt, and add "libX11-xcb" without the quotes to the target_link_libraries line, after glslang.

The reason we don't do this is because the backend gets passed a XLib handle, and I'm not sure assuming it is a wrapped xcb handle is the best idea.

Hi Stenzek

thank you for your fast reply and sorry for my late answer.

You were right, with Ubuntu 16.04 LTS, you seem to have to install the LunarG libraries and binaries to get XLIB support. I had to copy the libraries and binaries by hand to

Code:
/usr/lib
/usr/bin

as the installer seems to do nothing than check if you're root.

But then I could use the Vulkan driver.

As for the alternative, it didn't work on Ubuntu 16.10LTS, it also failed on linking, it gurgled that there was no -llibX11. I made a softlink from the libX11 that was a directory beneath /usr/lib to /usr/lib proper and it still failed with the linking.

Vulkan is quite faster on Ubuntu + Ishiikura than OpenGL and a NVidia 980. One game that I measured is around 10* frames per second faster in Vulkan than OpenGL.

*actually with the newest pull its around 25 frames, 45-50 vs 25, at least that's what the FPS show.

Thank you very much for your help!

To whom do I report rendering errors on games? I have one GC game that renders fine in OpenGL but has, probably, missing layers/effects in Vulkan (Vanilla Dolphin and Ishiikura), to you directly?
Reply
« Next Oldest | Next Newest »


Messages In This Thread
Issues with Vulkan on Linux dev build - jorwin - 11-16-2016, 01:18 PM
RE: Issues with Vulkan on Linux dev build - Stenzek - 11-16-2016, 07:43 PM
RE: Issues with Vulkan on Linux dev build - jorwin - 11-26-2016, 07:41 AM
RE: Issues with Vulkan on Linux dev build - Anti-Ultimate - 11-17-2016, 06:23 PM
RE: Issues with Vulkan on Linux dev build - jorwin - 11-26-2016, 07:46 AM
RE: Issues with Vulkan on Linux dev build - JesusXP - 12-20-2016, 10:12 AM
RE: Issues with Vulkan on Linux dev build - garant - 03-17-2017, 02:20 AM

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 2 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode