Commit graph

8943 commits

Author SHA1 Message Date
Matt 668ae21167
Update installers.rst 2023-07-01 14:05:22 +00:00
Mathieu Comandon d908066d97 Make message clearer 2023-06-28 11:33:13 -07:00
Daniel Johnson dffcc2802a Use the default version from the Lutris website, not just the first in the list.
This affects the default you get for a new game or a new install, if you haven't configured some other version.

The last commit makes us download the newest version; this one makes us use it.
2023-06-27 19:31:27 -04:00
Daniel Johnson 9afa5d8022 Merge remote-tracking branch 'origin/master' 2023-06-27 19:06:04 -04:00
Daniel Johnson aba1f07cb1 Restore the download of new Wine versions during game install. 2023-06-27 19:05:52 -04:00
Mathieu Comandon 779de9e6b8 Do not allow running Lutris as root 2023-06-27 13:53:00 -07:00
Mathieu Comandon 279ccf891b Don't run fix_path_case on relative paths 2023-06-27 02:13:21 -07:00
Mathieu Comandon a11bd78a70 Fix for free Itch.io games 2023-06-27 00:51:50 -07:00
Daniel Johnson 324f448e2b Move column sort setup a bit so the model will always have its sort functions set up.
Resolves #4916
2023-06-26 19:17:53 -04:00
Daniel Johnson 06cd70cc7e Parse xrandr output more carefully
We'll try to cope with spaces in the names of monitors. We look for the 'connected' token after the first token which we hope is the name. This will tolerate a name with spaces in it, so long as it does not contain 'connected' as a separate word.

Also, put more of the parsing code under the exception handler so we get better error reporting here.

Resolves #4915
2023-06-25 08:46:23 -04:00
Daniel Johnson 5a7adea534
Merge pull request #4913 from tridoxx/patch-2
Update es.po
2023-06-22 18:22:32 -04:00
tridoxx 695e9d66bb
Update es.po
The "enable discord rich presence for avalible games" line is modified, since "rich presence" was being translated, which is a proper English word "it would be like translating software like "facebook" which should not be done, it is also I add in parentheses information about what requires installing pypresence for it to work
2023-06-22 11:11:24 -05:00
Daniel Johnson f22b0cdaa7 Move old-NVidia-driver-version warning to the configuration dialogs.
This way it doesn't bug you on startup, but you still get a warning. This does not prevent you from trying to use DXVK.
2023-06-21 18:46:53 -04:00
Mathieu Comandon da04087b8a Remove unused api.get_bundle 2023-06-21 14:37:10 -07:00
Mathieu Comandon bccc260516 Add WIP module for EA App integration 2023-06-21 14:21:20 -07:00
Daniel Johnson 91f891e0e4 Fix compatibility issue with Python 3.7
Resolves #4909
2023-06-18 11:16:08 -04:00
Daniel Johnson ade6f90c66 Extend Vulkan checks to cover DXVK-NVAPI.
It appears to be based on DXVK, so I can't image it'll work without Vulkan either.
2023-06-18 05:54:50 -04:00
Daniel Johnson 3ecc1da0fd Revise Vulkan support checks
Make them consistent and less buggy - you need to pass all the checks to have Vulkan.
2023-06-18 05:46:30 -04:00
Daniel Johnson 9b43adf475 Whoops, pylint is clever- I meant % not , here. 2023-06-18 05:33:16 -04:00
Daniel Johnson d118ae5603 Move the check for missing Vulkan per-architecture libraries to the options.
Like libvulkan problems, these result in DXVK and VKD3D being disabled in the config UI, and they won't be used. Maybe this is excessive - some games might have worked perhaps- but something is clearly broken.

The checks for non-VULKAN libraries are still done at startup, but result in log entries only.
2023-06-18 05:31:41 -04:00
Daniel Johnson 41ee2ded3a Revise NVidia version info lookup
If the /proc/drivers/nvidia/version file is missing, that will fallback also onto glxinfo.

If we fail altogether, we now raise an exception. The callers would just crash anyway if they got {} back, and Lutris would fail to start. This way the error is a bit more relevant, though it will likely be about GlxInfo.
2023-06-18 05:26:41 -04:00
Daniel Johnson 07119b3a21 The config error feature must set the sensitivity on every update
As it was, it would leave DXVK and VKD3D disabled all the time. Oops.
2023-06-18 05:03:11 -04:00
Mathieu Comandon a2a1a600e7 More fault tolerant env parser 2023-06-17 12:38:47 -07:00
Daniel Johnson e8ad7c308c Revise Vulkan-not-available message to be less repetitive, and to disable the rest of the relevant options. 2023-06-17 05:05:38 -04:00
Daniel Johnson 0c2d4bb1c3 Fix- DXVK and VKD3D should be disabled even if turned off! 2023-06-16 20:04:37 -04:00
Daniel Johnson 382e4e2b12 Revise error reporting for Vulkan being unavailable entirely
The config window ill show new 'error' entries and will disable the DXVK and VKD3D options. These show the text from the old game-start warning, with the link.

If you play a game in the face of this, Lutris will not warn you further, but it will disable DXVK and VKD3D.
2023-06-16 20:00:57 -04:00
Mathieu Comandon 7163b47f5b Fix order of actions 2023-06-16 14:38:06 -07:00
Daniel Johnson 8f1e4d2605 Fix stray old argument for vulkan error 2023-06-15 16:57:40 -04:00
Mathieu Comandon 92fe3935be Fix for fsync detection with system wine 2023-06-14 13:46:51 -07:00
Mathieu Comandon b368f82e26 Add TkG to versions that support Fsync 2023-06-14 12:38:24 -07:00
Mathieu Comandon e1221288d9 Remove unneeded variable from constant 2023-06-14 12:37:55 -07:00
Mathieu Comandon c724b70e64 Remove MIN_SAFE_VERSION 2023-06-14 09:56:25 -07:00
Mathieu Comandon 9caa508ef1 Remove DEFAULT_WINE_PREFIX 2023-06-14 09:46:27 -07:00
Mathieu Comandon 6821aafa2b More simplifications regarding Wine versions 2023-06-14 09:07:34 -07:00
Mathieu Comandon cf86fe60e3
Merge pull request #4896 from lutris/dj/context_menu_separators
Context menu separators
2023-06-14 03:41:16 -07:00
Mathieu Comandon 1012d82ee9 Remove snapcraft.yml (maintained outside of project) 2023-06-14 01:38:37 -07:00
Mathieu Comandon 7ad9d26432 Rename one of is_fsync_support 2023-06-14 01:08:40 -07:00
Mathieu Comandon 41c300fefd Group delegate classes in the delegates module 2023-06-14 00:49:10 -07:00
Mathieu Comandon 27a3d71697 Remove stuff from where it doesn't have responsibility to do so 2023-06-13 23:52:10 -07:00
Mathieu Comandon 67ae812374 Remove 32bit only restriction in runtime (we don't have any) 2023-06-13 23:39:20 -07:00
Mathieu Comandon 32ae8d8fb6 Remove is_updating from RuntimeUpdater 2023-06-13 22:58:20 -07:00
Mathieu Comandon 0e761bee86 Simplify LaunchConfigSelectDialog 2023-06-13 22:25:52 -07:00
Mathieu Comandon 2435582606 Remove wine specific code from game class 2023-06-13 22:21:45 -07:00
Mathieu Comandon fa028bd3aa Minor cleanup regarding wine versions 2023-06-13 21:27:31 -07:00
Mathieu Comandon 129f2c9142 Fix for WarningMessageDialog 2023-06-13 20:33:25 -07:00
Mathieu Comandon 345023f776 Fix for retroarch 2023-06-13 05:06:01 -07:00
Mathieu Comandon 2290d2a427 Add Flatpak support to most Python based runners 2023-06-13 04:59:02 -07:00
Mathieu Comandon 7477c3a2e5 Add Flatpak support for JSON based runners that support it 2023-06-13 01:39:58 -07:00
Daniel Johnson 184d20e87f Merge remote-tracking branch 'origin/master' 2023-06-13 04:36:16 -04:00
Daniel Johnson 73304f5bbf Merge branch 'dj/watch_it_live' 2023-06-13 04:35:21 -04:00