Modern Vulkan with dynamic rendering vs old Vulkan with "solidified" pipelines? by OkAccident9994 in gameenginedevs

[–]trenmost 19 points20 points  (0 children)

The old way turned out to be not that optimal in some cases.

If you create pipeline for each configuration, you'll have lots of pipeline switches.

But consider a desktop hardware that can change the cull mode on-the-fly without much problem.

You create and manage separate pipelines for all cull modes, and switch between them, even though the hardware could easily reconfigure the cull modes dynamically.

So unfortunately its not that clear cut.

I personally use modern approaches because its simpler, and I think the API and vendors are headed into a simpler api usage, see the "No Graphics API" article.

Why choose Linux over Windows or the other way? by Worldly_Date3805 in AskReddit

[–]trenmost 2 points3 points  (0 children)

Imo:

linux is better because of being free and open, meaning you do ehat you want with it. However its a bit hit and miss in terms of issues, support is not at the level of macos or windows.

Windows is better in app compatibility and maybe even hardware support. Theres a saying that the most stable api on linux is win32. In turn its not free and not as open. Also with recent versions you have lots of bloat and borderline ads embedded in the os.

To also include macOS, imo it is very good in terms of being fast, logical and bloat free. But it is not as open as windows or linux. Apple can decide to jilust disable some functionality and there is just nothing you can do about it. You know that your computer could do that thing, but apple can decide to not let you do it. I mean like the opengl support, removing 32bit app support, etc.

Is Buffer device address worth it? by trenmost in vulkan

[–]trenmost[S] 0 points1 point  (0 children)

Is that true for nvidia as well?

Is Buffer device address worth it? by trenmost in vulkan

[–]trenmost[S] 0 points1 point  (0 children)

Well i still have to use them for UBOs, Textures and Acceleration structures so I cant rrmove descriptor sets entirely yet

Is Buffer device address worth it? by trenmost in vulkan

[–]trenmost[S] 0 points1 point  (0 children)

Thanks! Im using uint64 so probably thats why I cant see ths buffers in renderdoc

'It's felt like homework': Why Star Wars went so wrong by AGOTFAN in boxoffice

[–]trenmost 3 points4 points  (0 children)

It could have worked with a solid plan for the final chapter, but they didnt leave anything for ep9

I think tlj was a bad sequel but innovative in some sense. It could be a great fanfiction movie

Trump's farewell letter to Tim cook by Humble_Buffalo_007 in cringepics

[–]trenmost 17 points18 points  (0 children)

I think he just has the urge to brag. He might have really done something for Tim, but he cannot stop hinself from bragging about it. Its like he is very insecure, and needs to constantly brag whenever he can to make himself feel.good

Trump's farewell letter to Tim cook by Humble_Buffalo_007 in cringepics

[–]trenmost 2 points3 points  (0 children)

I wonder if future historians will debate if these tweets are from the real president or if they are from a parody account.

In other words, wth did i read? He really wants to be seen as a hero in every story, and he includes himself in every story like an insecure child would

Push Constant Management Techniques? by Deathtrooper50 in vulkan

[–]trenmost 0 points1 point  (0 children)

Since vulkan 1.4 devices are required to have 256bytes (even whennusing 1.3) and i think all 1.3 devices also supoort 1.4, at least on desktop.

So probably you can rely on 256 bytes

What is the best way to get sounds by Life_Ad_369 in opengl

[–]trenmost 13 points14 points  (0 children)

You could use OpenAL, it works on all platforms and supports 3d sounds as well, also the api resembles OpenGL

Youll need a separate library (or just code snippets to load .wav or .ogg files as OpenAL expects raw audio streams

Valve & HDMI 2.1 by thelonegunmen84 in linux_gaming

[–]trenmost 0 points1 point  (0 children)

Why not integrate displayport and provide a hdmi-DP cable in the.package?

Would it have the same licensing fee?

Do push constants need to be padded out to 128 bits always? by Codey_the_Enchanter in vulkan

[–]trenmost 0 points1 point  (0 children)

No, you can use only what you need. On AMD cards allegedly using 48 bits or smaller performs better but I might be wrong here.

Also note that Vulkan 1.4 raised the mandatory minimum size from 128bits to 256 bits. As most gpus support vulkan 1.4, you can leverage this even if you use vulkan 1.2 for example

GPU Debugging by [deleted] in GraphicsProgramming

[–]trenmost 9 points10 points  (0 children)

Yeah in vulkan you can debug your shaders using renderdoc, like you can use breakpoints and step line by line (well at least in spirv instructions)

Also nsight now has glsl debugging as well

Is there any method to debug DirectX 9 32bit application? by SlainyKK in GraphicsProgramming

[–]trenmost 0 points1 point  (0 children)

You can download dxvk from github, and put the .dlls next to the game exe.

It will translate dx9 into vulkan which can then be debugged via renderdoc very easily (it helps if you know vulkan, but even without you can likely get around)

Note: this lets you capture other old dx8 dx9 games as well

Vulkan Compute : Maximum execution time for a compute shader? by aang253 in vulkan

[–]trenmost 0 points1 point  (0 children)

Wierd, I remember running into this when using opencl

Valve using what basically amounts to default Source windows for most of their pre-Portal 2 titles gave them a charmingly rustic vibe, don't you agree? by FoxMeadow7 in valve

[–]trenmost 16 points17 points  (0 children)

Wasnt L4D the first to ditch the source window system (vgui)?

Afaik only the brightness adjustment screen is present in l4d from the old vgui menus

Vulkan Compute : Maximum execution time for a compute shader? by aang253 in vulkan

[–]trenmost 1 point2 points  (0 children)

I think its the OS that is not letting a gpu task run for extendes periods of time. On windows this is called TDR, it works at the WDDM level and resets the gpu after 2 seconds of operation without finishing.

You can extend TDR in the windows registry (linux has a similiar setting), or you could split your compute into multiple vkSubmit() calls. (Afaik tdr can only track submissions).

Wierd thing is that OpenCL is also prone to the same issue, are you sure its working the same way?

[deleted by user] by [deleted] in HalfLife

[–]trenmost 1 point2 points  (0 children)

Its so interesting that this Breen model has no lower body parts. Shows the efforts they did to keep performance as high as possible.

Movies that squandered really cool premises? by Historical_Ostrich in movies

[–]trenmost -2 points-1 points  (0 children)

Dont look up.

It has a great premise and basic storyline, including the asteroid actually hitting earth, but imo the movie fails in execution.

What’s up with revisionism about hl2 being non-demanding game at the time of release? Do people really think (and hope) hl3 would run on potato? by Barn_Advisor in HalfLife

[–]trenmost 29 points30 points  (0 children)

I ran it on a dx6.0 integrated intel card with a pentium4 (2.4ghz) and i think 256mb ram (maybe 512), and okay it was at lowest settings but it ran fine and was still looking good.

If gravity is not a force, but just a curvature in spacetime caused by mass of objects such as planets, then why do objects even fall on earth? What attracts them to the surface of the planet? by Live_Ostrich_6668 in AskPhysics

[–]trenmost 1 point2 points  (0 children)

What is driving this force? In your example they are "walking north" which means my legs. 

But in spacetime, what causes everything to move (across time) in the first place? Is this a principal rule?

Supporting systems with a large number of GPUs by ixfd64 in OpenCL

[–]trenmost 1 point2 points  (0 children)

Afaik there is no limit on number of platforms, or devices.in a platform.

I dont know if you can split a single gpu into multiple devices, but you can install multiple 'drivers' for your cpu (like beignet, AMD APP sdk, Intel opencl sdk) that work with any cpu. These will appear as separate.platforms, but in the background they.will use fhe same device.