joebarnin Posted December 11, 2023 Report Posted December 11, 2023 I've got a Windows 11 machine. TDM players on Linux are running into problems with my mission; it appears these are Linux-specific issues. I'd like to have a Linux install of TDM, to verify these issues (and maybe be able to submit bug reports). What's the best technique for getting a Linux install on my Windows computer? My ignorance of Linux knows no bounds . How do these options look? https://www.windowscentral.com/software-apps/windows-11/how-to-run-any-linux-distro-alongside-windows-11 Thanks! Quote
datiswous Posted December 11, 2023 Report Posted December 11, 2023 (edited) I think Hyper V is probably better What Linux issues, apart from the autosave bug that was known, but never reported? Edited December 11, 2023 by datiswous 1 Quote
nbohr1more Posted December 11, 2023 Report Posted December 11, 2023 I've personally had no issues running Linux Mint in dual boot with Windows 10. Just need to disable secure boot when installing Linux then upgrade to the latest kernel and grub2 then re-enable secure boot. My Windows has its own SSD so your experience may vary. 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...)
joebarnin Posted December 11, 2023 Author Report Posted December 11, 2023 3 minutes ago, datiswous said: What Linux issues, apart from the autosave bug that was known, but never reported? The keyhole lean/peek problem - some Linux players report all you see is black when peeking. Quote
datiswous Posted December 12, 2023 Report Posted December 12, 2023 (edited) Edit: I don't know how often you want to use Linux, But I see the following options: Having Linux on a vitual environment (Hyper V) Dual booting Windows and Linux. Booting a Linux Live usb-stick and then booting tdm from a seperate Linux partition or harddrive (or maybe from that same usb-stick?). I never tried this, but possibly this is fast enough? You might need GPU passthrough for decent performance in Hyper V: https://www.techtarget.com/searchvirtualdesktop/tip/Running-GPU-passthrough-for-a-virtual-desktop-with-Hyper-V Also you need minimum Windows 11 pro (doesn't work on Home). Btw. I have no experience with Hyper V (because I don't use Windows) Edited December 12, 2023 by datiswous 1 Quote
datiswous Posted December 12, 2023 Report Posted December 12, 2023 (edited) What you can do is: Download Manjaro Linux XFCE edition. (XFCE edition has best performance) Put it on usb-stick (usb 3.0 minimum, otherwise too slow). You can use Rufus for this. Boot from it, using the Proprietary drivers option in boot menu. Inside Manjaro linux, go to your Windows drive to the folder with your tdm installation. Start thedarkmod.x64 (NOT TheDarkModx64.exe) I tested this and it loads pretty fast. Edited December 12, 2023 by datiswous 1 Quote
chakkman Posted December 12, 2023 Report Posted December 12, 2023 (edited) I'm surprised that there can be OS-specific bugs in a mission. The keyhole peeking is just a script, isn't it? Does it make use of OS specific graphical stuff? Edited December 12, 2023 by chakkman 1 Quote
Xolvix Posted December 13, 2023 Report Posted December 13, 2023 16 hours ago, chakkman said: I'm surprised that there can be OS-specific bugs in a mission. The keyhole peeking is just a script, isn't it? Does it make use of OS specific graphical stuff? I can't say this about TDM necessarily but I have seen quirks that happen on Linux that don't happen on Windows even with cross-platform software. I was testing some Quake map packs in Linux using the Quakespasm engine, a very popular source port. I noticed a particular map pack was missing music in Linux but worked fine in Windows. I thought it may have been a codec issue, until I discovered the map in question was requesting audio file "track102.ogg" but the actual title of the file was "Track102.ogg" and Linux filesystems are by default case-sensitive. Renaming the file fixed it but man that was some bullshit the end user shouldn't have to deal with. 1 Quote A word of warning, Agent Denton. This was a simulated experience; real LAMs will not be so forgiving.
datiswous Posted December 13, 2023 Report Posted December 13, 2023 1 hour ago, Xolvix said: until I discovered the map in question was requesting audio file "track102.ogg" but the actual title of the file was "Track102.ogg" and Linux filesystems are by default case-sensitive. Indeed, I was already wondering if it's something in the script-code that Linux chokes on and Windows doesn't. Quote
stgatilov Posted December 16, 2023 Report Posted December 16, 2023 The most reliable approach is installing Linux natively. But if you don't want to actually use it regularly, you'll just waste a lot of time and space for nothing. It is possible to run TDM in virtual machine, but you should check that virtual machine supports at least OpenGL 3.3 on Linux guest (and Windows host). Most of them do not. VMWare is perhaps the only one which does support it. I currently build and test TDM on Linux inside VMWare. Here are the instructions: https://wiki.thedarkmod.com/index.php?title=VMWare:_Virtual_machine_with_Linux With non-default cvar "r_gpuBufferNonpersistentUpdateMode 1" it runs more or less OK performance-wise. 1 Quote
Heuli Posted December 17, 2023 Report Posted December 17, 2023 I can access joebarnin to my PC via VNC ubuntu 22.04 LTS cinamon Desktop 50s vdsl give. only if he can play my dark mod One question is, is there a remote maintenance software that can do this? I don't have anything personal on my PC, just Darkmod Quote
stgatilov Posted December 17, 2023 Report Posted December 17, 2023 There are free VNC clients for Windows, like TightVNC for instance. It should work of course, but I'd expect performance would be awful over network. Quote
Heuli Posted December 17, 2023 Report Posted December 17, 2023 That's right, but it would have to be better than a virtual Linux for testing scripts go.Test and test are 2 different words for Linux Quote
joebarnin Posted December 17, 2023 Author Report Posted December 17, 2023 6 hours ago, Heuli said: I can access joebarnin to my PC via VNC ubuntu 22.04 LTS cinamon Desktop 50s vdsl give. only if he can play my dark mod One question is, is there a remote maintenance software that can do this? I don't have anything personal on my PC, just Darkmod Thanks for the offer, but that sounds a bit too complicated. I think I need to decide how to get Linux going on my machine. I'll probably try @stgatilov's idea of VMWare. Quote
chakkman Posted December 17, 2023 Report Posted December 17, 2023 (edited) @joebarnin Do you have a decommissioned PC somewhere? I used to install Linux on those, rather than doing the dual boot "mess". Of course, the hardware should be capable of running TDM. Edited December 17, 2023 by chakkman Quote
joebarnin Posted December 17, 2023 Author Report Posted December 17, 2023 2 hours ago, chakkman said: @joebarnin Do you have a decommissioned PC somewhere? I used to install Linux on those, rather than doing the dual boot "mess". Of course, the hardware should be capable of running TDM. Good idea, but no, I don't have an extra machine. Quote
datiswous Posted December 17, 2023 Report Posted December 17, 2023 (edited) 7 hours ago, joebarnin said: Thanks for the offer, but that sounds a bit too complicated. I think I need to decide how to get Linux going on my machine. I'll probably try @stgatilov's idea of VMWare. I think my solution of booting from usb-stick is the easiest solution and probably gives best performance. Edit: I guess I didn't have to state this twice though. Edited December 17, 2023 by datiswous 2 Quote
Heuli Posted December 18, 2023 Report Posted December 18, 2023 If you install Linux on a USB stick you have to pay attention to the persistence mod, which is important Quote
datiswous Posted December 18, 2023 Report Posted December 18, 2023 (edited) 4 hours ago, Heuli said: persistence mod What are you talking about? Edit: Ah I see: Quote A persistent Live USB allows its users to save data changes back to the USB storage device instead of leaving the information in the system Random Access Memory (RAM). Ideally, in this section, a separate Persistent storage space (persistent overlay) is used with a compressed Live Linux OS. It's not really important I think if you use the already excisting TDM installation (but starting TDM with the Linux executable) from the Windows drive. If you install TDM (from Linux) on the persistent storage space, it might be slow. But maybe it's not really so bad. Edited December 18, 2023 by datiswous Quote
chakkman Posted December 18, 2023 Report Posted December 18, 2023 Booting from a USB stick is not performant though. Especially when you plan to play games, that's a bad solution IMO. If it's that important, I would consider buying a second PC second hand, if you don't want to do a dual boot installation. Quote
datiswous Posted December 18, 2023 Report Posted December 18, 2023 (edited) 2 hours ago, chakkman said: Booting from a USB stick is not performant though. Especially when you plan to play games, that's a bad solution IMO. No it isn't. I thought that would be the case as well, but in my solution, it only boots the system from usb stick. The game itself is played from the original harddisk. It's really not that slow from personal experience and it uses the original gpu fully. Btw. booting from (usb 3.0+) usb-stick is actually quite fast nowadays, especially if you use a light but capable distro. I think it's best to try that first before going for more complicated solutions. I get that it might not be best for more serious use, but if you only want to test a couple of Linux bugs, I think it's the best solution. Edited December 18, 2023 by datiswous 1 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.