datiswous Posted January 7, 2024 Report Posted January 7, 2024 (edited) Since upgrading my gpu to an nVidia RTX 3060, I can only set v-sync via driver setting Sync to Vblank. At least I thought that's what that setting does. Enabling V-sync in TDM does nothing. I use Manjaro Linux xfce Both TDM 2.11 and 2.12 Edited January 7, 2024 by datiswous Quote
chakkman Posted January 7, 2024 Report Posted January 7, 2024 (edited) What is your default/general Vsync setting in the Nvidia driver? "Application controlled"? Also, which version of TDM are we talking? Edited January 7, 2024 by chakkman Quote
datiswous Posted January 7, 2024 Author Report Posted January 7, 2024 There's no such setting in Linux driver: Quote
chakkman Posted January 7, 2024 Report Posted January 7, 2024 Hmm... maybe under "Application Profiles"? That looks very different to the Nvidia Control Panel in Windows. Quote
Xolvix Posted January 8, 2024 Report Posted January 8, 2024 You can try forcing vertical sync in Linux if using NVIDIA drivers with environment variables: __GL_SYNC_TO_VBLANK=1 ./thedarkmod.x64 https://download.nvidia.com/XFree86/Linux-x86_64/535.146.02/README/openglenvvariables.html Quote A word of warning, Agent Denton. This was a simulated experience; real LAMs will not be so forgiving.
nbohr1more Posted January 8, 2024 Report Posted January 8, 2024 Or check the "Sync to VBlank" checkbox in the GUI screen shown above... Quote Please visit TDM's IndieDB site and help promote the mod: http://www.indiedb.com/mods/the-dark-mod (Yeah, shameless promotion... but traffic is traffic folks...)
Xolvix Posted January 8, 2024 Report Posted January 8, 2024 (edited) It's possible the vsync implementation in TDM is broken in Linux, or at least doesn't work properly with newer NVIDIA drivers. I wouldn't use that driver setting checkbox as a global option if I could. If the environment variable works, create a launcher script for TDM using it. Edited January 8, 2024 by Xolvix Quote A word of warning, Agent Denton. This was a simulated experience; real LAMs will not be so forgiving.
datiswous Posted January 8, 2024 Author Report Posted January 8, 2024 Ok, yeah I guess I can make a profile for TDM. Anyway, I thought v-sync would be smart, but it seems making the framerate go high, makes everything much smoother, so I don't really understand why one needs v-sync. Quote
OrbWeaver Posted January 8, 2024 Report Posted January 8, 2024 The point of VSync is to reduce visual tearing caused by updating the frame halfway through a screen refresh while something is moving on screen, as well as reducing wasted GPU cycles rendering more frames than can be shown on screen (although some people like extremely high framerates for various other reasons). However as far as I can recall, I've never seen the VSync settings in the game have any effect on Linux (and I use AMD cards, so I don't think this is specific to nVidia). Quote DarkRadiant homepage ⋄ DarkRadiant user guide ⋄ OrbWeaver's Dark Ambients ⋄ Blender export scripts
chakkman Posted January 8, 2024 Report Posted January 8, 2024 (edited) I don't know if there really is screen tearing in TDM without Vsync. In my experience, some games tear, and some don't, without Vsync activated. So, I'd check if it does, and, if it doesn't, you won't need Vsync anyway. It introduces extra latency (albeit very little) and costs performance anyway. Edit: I just checked with disabled Vsync, frames capped to 144 FPS, and, I don't see any screen tearing. I'd just leave Vsync off (if it even can be enabled on Linux). Makes no sense anyway, if there is no screen tearing without it. Edited January 8, 2024 by chakkman Quote
OrbWeaver Posted January 8, 2024 Report Posted January 8, 2024 Not everyone is sensitive to (or can even detect) screen tearing — if you don't have a problem with it, and also don't have a problem with a noisy or overheating GPU rendering at too high a framerate (which could also be solved by capping the FPS, independently of VSync), leaving VSync off is perfectly fine. Quote DarkRadiant homepage ⋄ DarkRadiant user guide ⋄ OrbWeaver's Dark Ambients ⋄ Blender export scripts
nbohr1more Posted January 8, 2024 Report Posted January 8, 2024 Keep in mind that different Linux distros use different display architectures, some of which use GPU compositing. Some of the compositing based desktops hard-code vsync on regardless of driver setting. Conversely, some X11 based distros have notorious problems with vsync that can only be fixed by changing the default Window system or some other workaround. 1 Quote Please visit TDM's IndieDB site and help promote the mod: http://www.indiedb.com/mods/the-dark-mod (Yeah, shameless promotion... but traffic is traffic folks...)
duzenko Posted August 18, 2024 Report Posted August 18, 2024 Anyone has a clue on how to get VSync working with TDM on a laptop with Intel Arc? It's always on if on the iGPU but always off when on the Arc Quote
datiswous Posted August 23, 2024 Author Report Posted August 23, 2024 (edited) On 8/18/2024 at 6:55 PM, duzenko said: Anyone has a clue on how to get VSync working with TDM on a laptop with Intel Arc? It's always on if on the iGPU but always off when on the Arc Can you force it via a driver profile? I've read something about that. (I assume you're using Windows and have v-sync enabled in tdm settings) Edited August 23, 2024 by datiswous Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.