this post was submitted on 12 Mar 2024
288 points (98.3% liked)

linuxmemes

21304 readers
1107 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack members of the community for any reason.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn. Even if you watch it on a Linux machine.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, and wants to interject for a moment. You can stop now.
  •  

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't fork-bomb your computer.

    founded 1 year ago
    MODERATORS
     
    top 22 comments
    sorted by: hot top controversial new old
    [–] confusedbytheBasics@lemmy.world 63 points 8 months ago (2 children)

    So Vulkan is the hard truth and directX openGL is the easy life where everything just works? That has not been by experience at all.

    [–] addie@feddit.uk 36 points 8 months ago

    As a programmer, Vulkan is like OpenGL has decided to stop holding your hand and let you spread your wings. Learning curve is utterly brutal, but no more assumptions - you've complete control and everything is open to you.

    As a user? Install Wine and DXVK, or just Proton that brings everything with it, enjoy everything just working better. Not really a tough decision.

    [–] gofsckyourself@lemmy.world 12 points 8 months ago (2 children)

    I'd say most people's lives in the matrix were not such an 'easy life'

    [–] mumblerfish@lemmy.world 8 points 8 months ago (1 children)

    1999, peak civilization, just easy lives for everyone!

    [–] onlinepersona@programming.dev -4 points 8 months ago (1 children)

    Except if you're X% of the population. The XX% though...

    CC BY-NC-SA 4.0

    [–] WarmSoda@lemm.ee 4 points 8 months ago

    Except if you're X% of the population. The XX% though...

    [–] confusedbytheBasics@lemmy.world 1 points 8 months ago

    It looked pretty easy compared to not being in the matrix.

    [–] tourist@lemmy.world 18 points 8 months ago

    just mentally visualise what you should be seeing based on the sound of your GPU fans

    [–] avidamoeba@lemmy.ca 17 points 8 months ago

    DirectX and DXVK 🌚

    [–] lemmeee@sh.itjust.works 16 points 8 months ago

    Uses Godot.
    Makes a proprietary game.

    [–] Facni@kbin.social 15 points 8 months ago
    [–] vox@sopuli.xyz 9 points 8 months ago* (last edited 8 months ago) (1 children)

    take both and use webgpu/wgpu

    [–] MonkderZweite@feddit.ch -4 points 8 months ago (1 children)

    That's for webapps tho?

    Please make simple webpages and apps not in web, webapps are bloated and software as a service is not future proof. Plus, they almost never work for me.

    [–] vox@sopuli.xyz 4 points 8 months ago* (last edited 8 months ago) (1 children)

    no, it's not. wgpu maps/translates calls to webgpu (duh) , webgl, opengl, gles, vulkan, dx11, software rendering etc depending on what platform it's running on.
    it's a bit bloated since you're basically including code for all backends but whatever, final executables are still like 5 mb.
    no web involved unless you want to

    [–] AVincentInSpace@pawb.social 1 points 8 months ago* (last edited 8 months ago) (1 children)

    wgpu is a Rust library. Using it from programs they are not written in Rust, such as Godot games, poses a significant challenge.

    [–] vox@sopuli.xyz 1 points 8 months ago* (last edited 8 months ago) (1 children)

    well there's also dawn for c++, which is also an implementation of webgpu.
    wgpu also has official c/c++ bindings.

    btw you probably don't need a low-level gpu library if you're already using a game engine...

    [–] AVincentInSpace@pawb.social 1 points 8 months ago

    btw you probably don’t need a low-level gpu library if you’re already using a game engine…

    the low level graphics library calls have to be implemented somewhere, don't they? if i'm one of the developers of the Godot engine, and I'm writing Godot in C++, I'm not going to use a Rust graphics library

    [–] Duke_Nukem_1990@feddit.de 7 points 8 months ago* (last edited 8 months ago)

    Yes transitioning to using Vulkan might be a good choice.

    [–] ArmoredThirteen@lemmy.ml 6 points 8 months ago (1 children)

    I'm likely to switch to Linux soon and I'm definitely struggling with this choice :/

    [–] bruhduh@lemmy.world 4 points 8 months ago* (last edited 8 months ago)

    If your GPU supports vulkan then vulkan it is, if not, then opengl, examples of opengl usage is older cards or/and nouveau driver, not nvk, and they work on backporting nvk to older cards too so even older Nvidia cards gonna support Vulcan one day, so, use Vulcan if supported

    [–] sgibson5150 5 points 8 months ago

    Unsure if the person to whom the choice is being offered is Adam Jensen or Gordon Freeman. 🤔

    [–] MonkderZweite@feddit.ch 5 points 8 months ago* (last edited 8 months ago)

    Btw, there's render=vulkan or something like that in Wine. But what does it do, force the app to use DirectX in vulkan mode or what?

    edit: nope, it basically does the same as dxvk using wineD3D; translation to Vulkan instead of OpenGL, only slower but with less VRAM (useful for some old 32bit games).