• 0 Posts
  • 729 Comments
Joined 2 years ago
cake
Cake day: June 30th, 2023

help-circle



  • Yeah, I can say that covers most of the “troubleshooting” I’ve had to do with games that don’t work. I usually go in thinking “uh oh, maybe it’s time for me to have to check a bunch of proton versions, this will be a pain” only to see that it’s trying to run it natively and switching to proton at all resolves any issues.

    The only other thing that comes to mind is that I use dvorak and something about the way keyboard layouts are handled means it tries to “preserve” the bindings when I switch layouts in game, so it keeps the messed up QWERTY keys but dvorak layout even when I switch (and can tell it’s switched from typing things like in chat). Most games let me rebind the keys so I just need to go through the bindings, hitting the key currently bound each time as if I was using QWERTY and it rebinds. Though I suspect that due to the “preserve the layout” behaviour that keyboard input is handled specially by proton and maybe I can tweak settings to get the desired behaviour (ie, changing layouts in game means I want the bindings to change).


  • It is a translation layer, but the bit you added “to native code” sounds like you’re misunderstanding what translation layer means.

    Games use a collection of APIs (DirectX is a set of APIs, but there’s others to handle offer operations like network access and such) to interact with OS functionality, and also receive communicarion back from the OS (the windows message loop). Proton and wine are implementations of those APIs that translate the API calls to their equivalent in linux, as well as setting up their own message loop that translates messages from the linux kernel and UI system into their windows equivalent before sending them to the registered windows messaging loop functions.

    A simple example would be if a function header in windows looks like int32 SomeFuncWin( int64 index, char* name ), but looks like int32 SomeFuncLinux( std::string name, int64 index ), then the translation would be something like:

    int32 SomeFuncWin( int64 index, char* name ) {
    std:string TranslatedName( name );
    return SomeFuncLinux( TranslatedName, index );
    }

    So it doesn’t change/translate any of the code of the program itself, it just provides the environment that behaves exactly like a windows environment by translating the “hey could the OS do this for me?” requests from windows to linux. Note that not all translations are that simple, there might need to be more processing on the values, missing arguments might need to be filled in, irrelevant arguments ignored, sometimes data needs to be translated to another format, etc.

    The speed ups can come from improved efficiency in the underlying implementations (which Vulkan has, as I understand even using a translation layer from DX to Vulkan in windows can result in better performance) or having fewer services running in the background.


  • It’s kinda funny because that larger trend is paralleled by my own personal trend. Back in grade school, I thought the math answer keys were useful information, useful enough to make learning it unnecessary.

    Later on, I realized that the answers were meaningless without the context of the problem and put equal importance on the process as the solution.

    These days, the solutions themselves are mostly just curiosities and it’s all in the process, which parallels life itself nicely.

    Or in the context of video games, one frame displayed on the screen shows millions of results of a bunch of math being repetitively done as you play. Those solutions only matter for a brief instant before new ones are needed and the previous ones often just discarded, though occasionally saved and even sent out to the world for others to appreciate the brief moment they are relevant.


  • Logically it’s just fluid dynamics. If you dive into a pool, you’ll go deeper quicker than if you belly flop. You can’t really swim in air, but it’s the same principle. No I don’t have the math, you’d need a wind tunnel to measure each of the actual coefficients of drag, but something as simple as hand position could have a big impact on drag, which impacts both the acceleration and the terminal velocity.

    So what I’m picturing is diving (like a swim dive) off the building, then rolling into a horizontal position after some time with the higher acceleration. It should at least lower the expected height you’d need to jump from to reach the horizontal terminal velocity.

    That said, the height to reach diving terminal velocity would be even higher than your first number (unless the drag coefficient you used was actually for the vertical position).

    Get a wing suit and the difference between a dive and glide is even more extreme (to the point where terminal velocity might need to be described as lift instead).



  • Yeah, when I got my most recent GPU, my plan had been to also get a 4k monitor and step up from 1440p to 4k. But when I was sorting through the options to find the few with decent specs all around, I realized that there was nothing about 1440p that left me dissapointed and the 4k monitor I had used at work already indicated that I’d just be zooming the UI anyways.

    Plus even with the new GPU, 4k numbers weren’t as good as 1440p numbers, and stutters/frame drops are still annoying… So I ended up just getting an ultra-wide 1440p monitor that was much easier to find good specs for and won’t bother with 4k for a monitor until maybe one day if it becomes the minimum, kinda like how analog displays have become much less available than digital displays, even if some people still prefer the old ones for some purposes. I won’t dig my heels in and refuse to move on to 4k, but I don’t see any value added over 1440p. Same goes for 8k TVs.





  • Just note that (unless they’ve changed the default), you need to enable a setting in Steam to make it always use proton, or it will look like reality matches up with your previous expectations. I believe the setting is under compatability in the steam global settings.

    Also be aware that the steam deck compatability icon cares about two things that might not apply to a linux desktop: it loses points for keyboard/mouse centric games (which work fine if you actually use a kb/m instead of controller), and it also cares about how that game will perform on steam deck hardware, though if your gaming PC isn’t very strong, that one might be useful for you.

    Protondb has the more accurate compatability info, though it’s crowd sourced, so might not have up to date info on more obscure titles (though it does seem kinda like every single game has at least a small community obsessed with it that consider it the greatest game).



  • When I was in school, I wanted a Linux machine (since my school stuff was mostly linux and I wanted to be able to work locally instead of having to ssh in to school machines) but wasn’t comfortable doing it on my main PC, so I bought a cheap laptop and inatalled linux on that. Had the extra bonus of being smaller and lighter than my gaming laptop that was my main PC at the time, too.

    Your options will probably be a bit more expensive (and apologies for suggesting a solution that involves throwing money at it if you aren’t in a position to get even a relatively cheap one) since it’s running windows and needs the hardware for that, including TPM if your school stuff requires win 11 (though if you can get away with win 10 or 7, you could probably get a cheaper machine). Though on the other hand, your tasks might not require a GPU, which can save a lot right there.

    Then you can truly isolate your personal stuff from winsows, especially if you set your LAN up to never let the windows machine know that the linux machine even exists.

    I also use this with consoles to play games I’d like to try but they have DRM or anticheat that I don’t want on my PC. Also kinda doing it with work, though the laptop belongs to them.




  • For some context, the issue was affecting AWS or Amazon Web Services, which is hosting for those other services (or parts of them), not an amazon app issue cascading to other services.

    And I don’t think an open source amazon app would work. Amazon is a lot more than just a webstore. They’ve got a massive logistics network plus warehouses and packing plants. I feel like an open source version of amazon’s store would end up avoiding the corporate shit but would have all the negatives of amazon store without many of the positives.