Jump to content


Photo

Testing native linux build: help needed

linux testing

  • Please log in to reply
11 replies to this topic

#1 stgatilov

stgatilov

    Member

  • Development Role
  • PipPip
  • 377 posts

Posted 19 June 2017 - 08:30 AM

We have some internal changes happening in the TDM source code now.

As a result of these changes, Linux build is not working in the latest SVN version.

This is not appropriate of course  :huh:

 

The idea is to fix Linux build incrementally, step by step.

But the problem is: I have only 64-bit Linux in virtual machine, and it cannot run TDM there.

I would be very grateful if some Linux geeky player could help me with testing the builds.

 

In order to do this, you need:

  1. Real Linux OS installed (i.e. not in VM)
  2. Running native Linux build of TDM
  3. Some skill to build TDM (I think this point follows from the previous one)
  4. Basic SVN skills
  5. Unlimited internet access  :unsure:

The last point is needed because testing should be done against uncompressed assets (instead of pk4 archives).

Note that I would fix compilation problems myself, so C++/programming skills are not necessary  ;)

 

If you can help, please let me know.


  • nbohr1more, Goldwell, Atomica and 1 other like this

#2 stgatilov

stgatilov

    Member

  • Development Role
  • PipPip
  • 377 posts

Posted 19 June 2017 - 10:53 AM

Ok, already found one tester  :D

I think it is enough.



#3 Peanut

Peanut

    Member

  • Member
  • PipPip
  • 22 posts

Posted 21 June 2017 - 03:56 PM

Keep us updated, I would like a chance to play around with the code if possible when it's in a compilation-ready state!



#4 Goldwell

Goldwell

    Team Member

  • Active Developer
  • PipPipPipPip
  • 2145 posts

Posted 23 June 2017 - 12:23 AM

I am a complete linux newbie but the OS does interest me. Do you know what versions of linux does TDM work on? I have an old desktop setup with ubuntu and it would be interesting to see if TDM runs better on linux than it does on windows


The Accountant Series
Part 1 (coming soon) | Part 2: New In town


Lord Edgar Trilogy
Lord Edgar's Bathhouse | Lord Edgar's Disappearance | Lord Edgar's Estate
 
Stand Alone Missions
Spring Cleaning

#5 stgatilov

stgatilov

    Member

  • Development Role
  • PipPip
  • 377 posts

Posted 23 June 2017 - 09:22 AM

Keep us updated, I would like a chance to play around with the code if possible when it's in a compilation-ready state!

Ok.

Just... not yet  :D

 

I am a complete linux newbie but the OS does interest me. Do you know what versions of linux does TDM work on? I have an old desktop setup with ubuntu and it would be interesting to see if TDM runs better on linux than it does on windows

I imagine that the right answer is: an any Linux, given some skill   :unsure:

On 32-bit Linux it might be easier, on 64-bit Linux it is a bit harder now (but hopefully it would change in 2.06).

 

As for Linux-Windows comparison, it is common knowledge by now that Linux native TDM is slower.

But, once again, I hope this difference would go away in 2.06  ;)


  • Peanut likes this

#6 Atomica

Atomica

    Member

  • Member
  • PipPip
  • 38 posts

Posted 23 June 2017 - 07:42 PM

As for Linux-Windows comparison, it is common knowledge by now that Linux native TDM is slower.

But, once again, I hope this difference would go away in 2.06  ;)

 

I'm curious why that is (TDM being slower in Linux). I've noticed this being an issue in virtually all id Tech 4 (i.e. Doom 3-based) games in Linux, whereby unless you force vsync in the game (which I don't like using due to input lag) you'll get a lot of stutter and fluctuating FPS. At least for me anyway, but I've been trying to get these games to work smoothly in Linux for years and it's never quite gotten there. Sometimes things just work really well at random and I can't replicate it, but then it goes back to being shit on the next run.


Oh my God! JC! A bomb!


#7 Peanut

Peanut

    Member

  • Member
  • PipPip
  • 22 posts

Posted 24 June 2017 - 08:59 PM

I've tried TDM on an Ubuntu based distro, both the native binary and through WINE.

There's not a huge difference between them, maybe the WINE version had a very tiny bit more fps, but the more annoying issue was some screen flicker with the native Linux version compared to running under WINE. I'm not sure if this is specific to TDM or this distro or hardware or whatever.



#8 Nightcrawler

Nightcrawler

    Member

  • Member
  • PipPip
  • 78 posts

Posted 26 June 2017 - 07:50 PM

When does that flickering occur in the main menu or in-game? What kind of flickering? If it's in-game maybe you can try to type this in the console:

 

seta r_offsetunits "-0.1"
seta r_offsetfactor "-2"

 

I had some flickering problem a while ago and this solved it for me :)


  • Peanut likes this

#9 Peanut

Peanut

    Member

  • Member
  • PipPip
  • 22 posts

Posted 28 June 2017 - 06:44 PM

When does that flickering occur in the main menu or in-game? What kind of flickering? If it's in-game maybe you can try to type this in the console:

 

Thanks!

I just tried it again and I can't put my finger on when it starts happening, seems intermittent, may check again to see if it's related to lights.



#10 Obsttorte

Obsttorte

    Scripting guru, Mapper

  • Active Developer
  • PipPipPipPipPip
  • 5149 posts

Posted 29 June 2017 - 04:00 PM


As for Linux-Windows comparison, it is common knowledge by now that Linux native TDM is slower.

Back in the day when I joined the mod I had both linux and windows installed on my pc (linux because I needed it for university). I have played TDM under linux til 1.08 iirc because it ran way better there. I had gotten only half the fps under windows. I don't know why this was but as said I have experienced the complete difference. And I can't recall linux users complaining about the performance within the past years.

 

If you are running a windows version under wine, though, it will definetely run worse.

 

 

I am a complete linux newbie but the OS does interest me.

Linux isn't all that different from windows by now. You get the basics very quickly. And it is imho the better OS (faster, way faster). However, as a gamer you are a bit on the bad side with it as most modern games are build upon DirectX, which is Windows stuff. :(


FM's: Builder Roads, Old Habits, Old Habits Rebuild
WIP's: Several. Although after playing Thief 4 I really wanna make a city mission.
Mapping and Scripting: Apples and Peaches
Sculptris Models and Tutorials: Obsttortes Models
My wiki articles: Obstipedia
Let's Map TDM YouTube playlist: ObstlerTube
Texture Blending in DR: DR ASE Blend Exporter

End of shameless self promotion.

#11 stgatilov

stgatilov

    Member

  • Development Role
  • PipPip
  • 377 posts

Posted 16 July 2017 - 01:02 AM

Keep us updated, I would like a chance to play around with the code if possible when it's in a compilation-ready state!

Sorry, but I forgot about this  :blush:

 

Anyway, now Linux version builds an runs on both 32-bit and 64-bit Linux.

I do some basic testing of it in 64-bit Linux VM.

Feel free to play with it  :D



#12 DasCapschen

DasCapschen

    Newbie

  • Member
  • Pip
  • 7 posts

Posted 06 August 2017 - 07:31 AM

If any more help is needed with this, I'd like to help :)

I'm running a few different linux distros so I could test on more than 1 setup (and they're not VMs)

I could even test with different drivers, as I own both an AMD and Nvidia GPU. (Rx480 can run Mesa and AMDGPU-Pro drivers ; GTX 660Ti can run nouveau :wacko: and nvidia proprietary)

I even know C++ and could possibly fix issues as I run into them.

But the SVN assets are not public, so I guess that is a problem :/


  • stgatilov likes this





Also tagged with one or more of these keywords: linux, testing

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users