Closed vBazilevich closed 7 months ago
Note: I've also tried to replace config with TmrlData/resources/config_lidar.json
and still get the same error.
Hmm keyboard? You shouldn't need keyboard nor running with sudo, vgamepad is supposed to work on Linux
Seems like it's needed for recording of the reward. And sudo is needed because keyboard needs root access.
Oh I see, indeed, I never tried recording the reward on Linux, I forgot we were using keyboard
for that.
I am trying to reinstall TrackMania with steam on my Ubuntu to reproduce your issue but the game doesn't want to launch, did you run into any issue when installing TrackMania/OpenPlanet?
(Also just to narrow it down, did you try running the default pipeline with the default config.json
file and default reward in the tmrl-test
track before switching to LIDAR and trying to record a custom reward function?)
No, I had no issues with installation of TrackMania or OpenPlanet, I just followed the tutorials provided. However I'm using a rolling-release distribution so I might have a newer versions of some packages and/or kernel.
And yes, I've tried to test the default pipeline with default config and it worked well on a test map. However, I haven't tried to train the model.
OK, then it means that something in the LIDAR environment doesn't like Linux. I think I have only tested the default "Full" environment on Linux, I will fix this as soon as I manage to get TrackMania up and running again on my Linux.
Actually no it was a bug in the environment-checking script. It should be fixed now. I also removed the calls to keyboard
on Linux in record.py
so that sudo is not required anymore.
Please upgrade to version 0.6.3
and see if this fixes it for you :)
Is 0.6.3 published to PyPI?
Yes I just uploaded it
Yeah, seems to be working! Thank you very much for instantaneous support!
No problem, don't hesitate if you need help :grin:
I am trying to reinstall TrackMania with steam on my Ubuntu to reproduce your issue but the game doesn't want to launch, did you run into any issue when installing TrackMania/OpenPlanet?
Hello! I am also facing issues with launching the TrackMania on Ubuntu (22.04): it fails to lauch asking for a Ubisoft Connect. I've tried installing Ubisoft Connect and lauch via wine but it seems I failed to do so or steam does not see it. If you had similar issue, could you please tell how you managed to do it?
I am trying to reinstall TrackMania with steam on my Ubuntu to reproduce your issue but the game doesn't want to launch, did you run into any issue when installing TrackMania/OpenPlanet?
Hello! I am also facing issues with launching the TrackMania on Ubuntu (22.04): it fails to lauch asking for a Ubisoft Connect. I've tried installing Ubisoft Connect and lauch via wine but it seems I failed to do so or steam does not see it. If you had similar issue, could you please tell how you managed to do it?
I had to uninstall steam, winetricks and protontricks, and. delete the ~/.steam folder entirely.
Then I reinstalled steam via apt, I reinstalled TrackMania within steam, set the parameters of TrackMania to force launch using proton experimental, reinstalled winetricks via apt, and finally reinstalled protontricks but NOT via apt: via pipx install protontricks
.
Then I installed uplay via protontricks, and the game launched properly.
After that, I closed the game, stopped it in steam because it would not stop automatically, and proceeded to installing OpenPlanet via protontricks.
Hello! I'm getting the following error while running
--check-envoronment
subcommand:As you could see I'm running TMRL on linux inside conda environment. I've followed
readme/install_linux.md
andreadme/get_started.md
tutorials. I've installed the xdotool as it's requrested. Yet I'm getting the error above. Here we config I got based on mentioned tutorials:I had to install keyboard explicitly. To record the reward I have to run the command with sudo. Thus, I've added a symlink to ~/TmrlData to /root to make config available.