Code Monkey home page Code Monkey logo

Comments (11)

mdeguzis avatar mdeguzis commented on August 15, 2024

I am willing to test once code is added. If you want to use another branch, that is fine. The easiest route to test this is a spare machine with Fedora 25 or Arch Linux (among other methods). Fedora 25 uses wayland as the default compositor now. For example, GNOME on Arch Linux uses Wayland by default, but traditional X applications use XWayland. I suppose the only true way to check if it's natively using wayland, is to add a compile-time flag to only use wayland support.

from vkquake.

Novum avatar Novum commented on August 15, 2024

This is more like a suggestion for other people to write it. I don't have a Linux machine and I don't want to write code blindly I can't even compile.

from vkquake.

Novum avatar Novum commented on August 15, 2024

Although thinking about it a bit more, I don't know what the status on SDL & Wayland is.

from vkquake.

mdeguzis avatar mdeguzis commented on August 15, 2024

The Arch Linux wiki is usually a good place to start, since they are bleeding edge. It seems support is merely experimental at the moment. Advancements have been pouring in this year, but I don't believe it is quite complete yet. The wayland landing page usually keeps an overview.

from vkquake.

shoober420 avatar shoober420 commented on August 15, 2024

I would also test this once Nvidia releases drivers that support vulkan under Wayland without xorg. SDL2 added support for Wayland back in 2.0.4 and made Wayland default over xorg. I use Arch Linux, and my full system specs are in my Steam profile, which is linked in my GitHub page.

from vkquake.

Novum avatar Novum commented on August 15, 2024

Should be fixed by a69c20b. The SDL2 Vulkan code has Wayland support.

from vkquake.

valpackett avatar valpackett commented on August 15, 2024

Doesn't seem to be working. With SDL_VIDEODRIVER=wayland the game window just does not appear. The console output is like normal, quake initialized and everything. But there's no window. SDL2's testvulkan demo does work fine with SDL_VIDEODRIVER=wayland

from vkquake.

mooreye avatar mooreye commented on August 15, 2024

On Wayland I get:

QUAKE ERROR: Couldn't create window: Vulkan support is either not configured in SDL or not available in current SDL video driver (offscreen) or platform

with SDL_VIDEODRIVER=wayland I get:

QUAKE ERROR: Couldn't init SDL video: wayland not available

on X11 it works fine.

from vkquake.

valpackett avatar valpackett commented on August 15, 2024

@mooreye check your SDL2 build. vkquake itself doesn't have any issues since way back when

from vkquake.

mooreye avatar mooreye commented on August 15, 2024

@valpackett I use SDL2 for quakespasm and it launches on wayland no problem.

from vkquake.

Novum avatar Novum commented on August 15, 2024

Irrelevant. QuakeSpasm doesn't use Vulkan.

This is not a vkQuake bug. It's either in your SDL2 version or something else in your system not configured correctly. I will lock this thread if necessary.

from vkquake.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.