Code Monkey home page Code Monkey logo

Comments (22)

Kron4ek avatar Kron4ek commented on May 21, 2024

Hi,

2021-07-27 18:15:05,409: Magic not available. Unable to automatically find game executables. Please install python-magic
2021-07-27 18:15:05,602: No cores found

These are not critical errors, i get them too, but Lutris works for me. Are there any other errors?

Also, could you please try this release and see if it fixes the issue? It includes the python-magic package, just in case.

from conty.

willysr avatar willysr commented on May 21, 2024

ok python-magic warning is now gone, but the second warning about no cores found is still there and lutris bar is starting but no apps displayed.

from conty.

willysr avatar willysr commented on May 21, 2024

steam works fine though here

from conty.

Kron4ek avatar Kron4ek commented on May 21, 2024

That's really odd. So "No cores found" is the only message it shows, nothing else is in the output? I suggest you to try to remove or rename Lutris's config directories so it would recreate them, maybe this will help.

mv ~/.local/share/lutris ~/.local/share/lutris_bak
mv ~/.config/lutris ~/.config/lutris_bak

from conty.

willysr avatar willysr commented on May 21, 2024

Here's the result after running two commands above
https://pastebin.com/SszcXeEn

from conty.

Kron4ek avatar Kron4ek commented on May 21, 2024

Sorry, i don't know why it doesn't work for you, there are no critical errors in the output. I mean, i see the same messages when i run Lutris myself, but it works for me anyway.

Do you remember when it got broken? Was it after updating to a new Conty release or maybe you changed something in your system (that should not affect the container, but still)?

from conty.

willysr avatar willysr commented on May 21, 2024

i'm running a development cycle of Slackware-current so things gets changed, but i assume it should be the same as conty is based on Archlinux. I didn't change much, except following the changes in Slackware-Current. Here's the ChangeLog if if helps you find anything that might give a clue: http://www.slackware.com/changelog/current.php?cpu=x86_64

from conty.

Kron4ek avatar Kron4ek commented on May 21, 2024

i'm running a development cycle of Slackware-current so things gets changed, but i assume it should be the same as conty is based on Archlinux.

Yes, in fact, systemd-wide changes should not affect the container at all, except maybe for some rare cases.

The Lutris package has been updated (from 0.5.8.3 to 0.5.8.4) in the 1.14.1 conty release, so you could try the 1.14 release, which includes the previous Lutris version.

Another thing that you could try is to enable sandbox:

SANDBOX=1 ./conty_lite.sh lutris

And to switch to the classic i965 driver if you are using a modern enough Intel integrated GPU.

MESA_LOADER_DRIVER_OVERRIDE=i965 ./conty_lite.sh lutris

from conty.

Kron4ek avatar Kron4ek commented on May 21, 2024

And you can try to disable network access for the container:

DISABLE_NET=1 ./conty_lite.sh lutris

I know Lutris needs internet access to download runners, scripts and other things, but still i suggest to disable it for testing purposes.

from conty.

willysr avatar willysr commented on May 21, 2024

Here's what i got after trying with SANDBOX=1

2021-07-28 00:19:51,993: Non existent path: /home/willysr/.local/share/lutris/runtime/winetricks
2021-07-28 00:19:52,981: Non existent path: /home/willysr/.local/share/lutris/runtime/innoextract-1.9-linux

from conty.

willysr avatar willysr commented on May 21, 2024

DISABLE_NET=1 works but i got this message on console

2021-07-28 00:20:41,144: Failed to get runtimes: Unable to connect to server https://lutris.net/api/runtimes: <urlopen error [Errno -3] Temporary failure in name resolution>
2021-07-28 00:20:41,146: Downloading DXVK releases to /home/willysr/.local/share/lutris/runtime/dxvk/dxvk_versions.json
2021-07-28 00:20:41,152: Failed to get url https://api.github.com/repos/lutris/dxvk/releases: Unable to connect to server https://api.github.com/repos/lutris/dxvk/releases: <urlopen error [Errno -3] Temporary failure in name resolution>
2021-07-28 00:20:41,153: Loading of DXVK versions failed, defaulting to locally available versions
2021-07-28 00:20:41,153: Error while completing task <bound method LutrisInitDialog.initialize of <dialogs.LutrisInitDialog object at 0x7f823df598c0 (lutris+gui+dialogs+LutrisInitDialog at 0x55ff41742310)>>: join() argument must be str, bytes, or os.PathLike object, not 'NoneType'
File "/usr/lib/python3.9/site-packages/lutris/util/jobs.py", line 34, in target
result = self.function(*args, **kwargs)
File "/usr/lib/python3.9/site-packages/lutris/gui/dialogs/init.py", line 195, in initialize
init_lutris()
File "/usr/lib/python3.9/site-packages/lutris/startup.py", line 175, in init_lutris
if not dxvk_manager.is_available():
File "/usr/lib/python3.9/site-packages/lutris/util/wine/dxvk.py", line 105, in is_available
return system.path_exists(self.dxvk_path)
File "/usr/lib/python3.9/site-packages/lutris/util/wine/dxvk.py", line 62, in dxvk_path
return os.path.join(self.base_dir, self.version)
File "/usr/lib/python3.9/posixpath.py", line 90, in join
genericpath._check_arg_types('join', a, *p)
File "/usr/lib/python3.9/genericpath.py", line 152, in _check_arg_types
raise TypeError(f'{funcname}() argument must be str, bytes, or '
2021-07-28 00:20:44,767: Lutris 0.5.8.4

from conty.

Kron4ek avatar Kron4ek commented on May 21, 2024

And without DISABLE_NET you get an infinite "Lutris is starting" window, right?

lutris_is_starting

from conty.

willysr avatar willysr commented on May 21, 2024

yes

from conty.

Kron4ek avatar Kron4ek commented on May 21, 2024

Ok, i guess i know why this happens. The fact that disabling network helps likely means that Lutris is either trying to resolve some url or urls infinitely (or very long) or is trying to download something and the download speed is very slow.

Try to wait some time, maybe it will move on eventually. And probably some network monitor might help to find out to which urls Lutris tries to connect.

from conty.

willysr avatar willysr commented on May 21, 2024

it should be this one https://api.github.com/repos/lutris/dxvk/releases but it's accessible via browser

from conty.

Kron4ek avatar Kron4ek commented on May 21, 2024

Try to download it manually.

cd ~/.local/share/lutris/runtime/dxvk
wget -O dxvk_versions.json "https://api.github.com/repos/lutris/dxvk/releases"

However, the releases json is not the only thing Lutris downloads from this github repo, it also downloads latest dxvk release.

from conty.

willysr avatar willysr commented on May 21, 2024

tried it and no luck here....

from conty.

willysr avatar willysr commented on May 21, 2024

i ran into this page: https://forums.lutris.net/t/solved-lutris-wont-start-launch/11653
tried running the command that worked for most people there and it still doesn't work for me

from conty.

willysr avatar willysr commented on May 21, 2024

Do you have this message on your system?

2021-07-28 02:13:48,509: Loading of DXVK versions failed, defaulting to locally available versions
2021-07-28 02:13:48,540: Loading of DXVK versions failed, defaulting to locally available versions
2021-07-28 02:13:49,621: Runtime lib64 is not available locally
2021-07-28 02:13:49,622: Runtime lib32 is not available locally
2021-07-28 02:13:50,533: Runtime Ubuntu-18.04-i686 is not available locally
2021-07-28 02:13:50,537: Runtime Ubuntu-18.04-x86_64 is not available locally

because i checked on my .local/share/lutris/runtime directory, all those files are locally available

from conty.

Kron4ek avatar Kron4ek commented on May 21, 2024

I have these messages only on the first Lutris launch after removing ~/.config/lutris and ~/.locale/share/lutris, next time i launch it there are no these messages, unless i remove or rename the config directories again.

And yes, i have the "Loading of DXVK versions failed, defaulting to locally available versions" message too, but, again, only on the first launch.

from conty.

Kron4ek avatar Kron4ek commented on May 21, 2024

Here is how my Lutris output looks on the first launch, and here is how it looks on next launches.

from conty.

willysr avatar willysr commented on May 21, 2024

i leave it overnight and now it's working again. I guess you are right, it tried to download things in the process and it took time

2021-07-28 02:58:56,401: Non existent path: /home/willysr/.local/share/lutris/runtime/Ubuntu-18.04-x86_64
2021-07-28 03:29:30,507: Non existent path: /home/willysr/.local/share/lutris/runtime/lib32
2021-07-28 03:37:01,521: Non existent path: /home/willysr/.local/share/lutris/runtime/lib64
2021-07-28 03:47:29,752: Non existent path: /home/willysr/.local/share/lutris/runtime/Ubuntu-18.04-i686
2021-07-28 03:47:31,511: Runtime is fully updated.
2021-07-28 03:47:31,628: Downloading DXVK releases to /home/willysr/.local/share/lutris/runtime/dxvk/dxvk_versions.json
2021-07-28 03:47:32,090: Failed to read response's content length
2021-07-28 03:47:32,119: Writing to /home/willysr/.local/share/lutris/runtime/dxvk/dxvk_versions.json
2021-07-28 03:47:32,121: DXVK v1.9.1L not available, downloading...
2021-07-28 03:47:35,773: Writing to /home/willysr/.local/share/lutris/runtime/dxvk/dxvk-1.9.1L.tar.gz
2021-07-28 03:47:35,948: Runtime updated. Initialization complete.
2021-07-28 03:47:35,949: Lutris 0.5.8.4

I'm closing this issue and see it for next few hours. Thanks for the help

from conty.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.