Commit graph

7034 commits

Author SHA1 Message Date
Alexandr Oleynikov ac063a9ee7
Document $WINEBIN
Closes https://github.com/lutris/lutris/issues/3843
2021-11-20 11:04:54 +03:00
Alexandr Oleynikov 42c3376400
Installer related bug reports are allowed
In some cases, installer issues are related to the client, so we shouldn't forbid the user from reporting those issues.
2021-11-19 08:45:57 +03:00
Torge Matthies 0e6db6f3c3 Add support for detecting Linux 5.16's futex_waitv syscall as fsync support. 2021-11-17 21:52:33 -08:00
Torge Matthies 6faf4211a9 Factor out the syscall number getting from _get_futex_syscall_nr into a new function. 2021-11-17 21:52:33 -08:00
Alexander Ravenheart c61291a7bb - Replaced instances of if not os.path.exists(dst) -> os.makedir(dst) / os.makedirs(dst) with os.makedirs(dst,exist_ok=True) (Python >= 3.2)
- Replaced empty file creation using with open(): pass with Path(file).touch()
- Refactored merge_folders() from lutris/util/system.py to use shutil.copytree()
2021-11-17 21:49:15 -08:00
Alexander Ravenheart 48d1243458 - Added nose to dev-dependencies to pyproject.toml
- Updated poetry.lock
- Replaced pipenv with poetry in run_testsuite.yml
2021-11-17 21:17:43 -08:00
Alexander Ravenheart 4174f7425c Fixed instances of unreachable code, inconsistent returns, consider-using-with, consider-using-from-import, use-a-generator, consider-using-generator, redundant-u-string-prefix, arguments-renamed 2021-11-17 21:17:43 -08:00
Alexander Ravenheart 7cff0a0301 - Fixed instances of unspecified-encoding, super-with-arguments, raise-missing-from, consider-using-dict-items, consider-iterating-dictionary
- Refactored connect() from api.py to use requests
2021-11-17 21:17:43 -08:00
Alexander Ravenheart f5e8e007b3 - Replaced pipenv with poetry
- Updated min version check in setup.py to Python 3.6
- Updated isort config file and calls to align with v5.x
- Added init-hook for gi imports in .pylintrc to avoid invalid no-member issues
- Makefile: added lock, show-tree, bandit, black, mypy; updated test, cover, dev, isort, autopep8, check, isort-check, flake8, pylint; removed req, requirements;
- Updated .travis.yml to use poetry and make
- Added my email in AUTHORS
- Updated CONTRIBUTING.md
- Updated lint_python.yml to use poetry and make, reorganized instructions to have all install related steps first
- sorted imports: lutris, lutris-wrapper, cleanup_prefix.py and multiple files in tests dir
2021-11-17 21:17:43 -08:00
Alexandr Oleynikov a7d94463f8
Add some clarification to the bug report form 2021-11-18 05:29:10 +03:00
tannisroot 8eb26fba4c Add github actions testsuite 2021-11-17 13:07:12 +03:00
tannisroot 59cef5be95 Add a bug report form 2021-11-17 08:07:47 +03:00
tannisroot 5aa231e222 Fix openSUSE desktop entry sections 2021-11-17 03:41:35 +03:00
tannisroot ef54d5ccb9 Remove trailing whitespace 2021-11-16 06:40:43 +03:00
tannisroot af6ecbcb2f Add dgvoodoo2 option 2021-11-16 06:40:43 +03:00
tannisroot 98520f2f79 Add option for BattlEye Anti-Cheat 2021-11-14 23:15:41 -08:00
Thomas Crider 44ca005f18 fix pylint complaints 2021-11-04 11:50:34 -07:00
Thomas Crider bf6252ff38 If AMDVLK/GPU-PRO ICD files are present, don't add them to the Auto list, and concatenate them properly
If the user has AMDGPU-PRO or AMDVLK ICD loaders installed, we don't want to use them unless explicitly set, so we need to remove them from the full 'Auto' list.

Additionally, since the ICD files for AMDVLK/PRO don't end in .i686 or .x86_64, they currently get parsed into individual choices instead of a single concatenated choice for both 32 and 64 bit. This fixes that.
2021-11-04 11:36:39 -07:00
Thomas Crider d77f17be23 make sure the first option (Auto) is set as the default for our ICD list instead of being blank 2021-11-04 00:04:45 -07:00
Thomas Crider 2dd0f9c11a Set all available ICDs for 'Auto' ICD option rather than none
Test results:

/lutris/sysoptions.py
-----------
from lutris.util.log import logger
.....
def get_vk_icd_choices():
.....
    logger.info(choices[0])
    logger.info(choices[1])
    logger.info(choices[2])
    return choices

get_vk_icd_choices()
-----------

Results in:

2021-11-03 22:49:55,027: ('Auto', '')
2021-11-03 22:49:55,027: ('Intel ICD', '/usr/share/vulkan/icd.d/intel_icd.x86_64.json:/usr/share/vulkan/icd.d/intel_icd.i686.json')
2021-11-03 22:49:55,027: ('Radeon ICD', '/usr/share/vulkan/icd.d/radeon_icd.x86_64.json:/usr/share/vulkan/icd.d/radeon_icd.i686.json')

Which tells us that our 'Auto' option passes a completely blank value to runners/runner.py for VK_ICD_FILENAMES, and this results in the system only using 64 bit icd files and skipping the 32 bit versions.

To fix this, we concatenate all possible ICD file paths to a single list and set this for the Auto option. Doing so allows whatever GPU is used to find the appropriate ICD library, regardless of vendor.
2021-11-04 00:04:45 -07:00
Thomas Crider 9541841cd5 Fix VK_ICD_FILENAMES not being set correctly
-We don't need to validate the file paths, there are two reasons this is incorrect:

(1) The file paths are already verified when they are auto-added here:

089b865290/lutris/sysoptions.py (L72)

(2) Since the files are concatenated here:

089b865290/lutris/sysoptions.py (L78)

it makes system.path_exists(vk_icd) invalid, because the value of vk_icd is now path1:path2:path3:path4 and so on, instead of a single file path.

Therefore the check for system.path_exists(vk_icd) fails and VK_ICD_FILENAMES never actually gets set by Lutris.
2021-11-04 00:04:45 -07:00
Alexander Ravenheart 5632d3b8a8 - Increased timeout from 2 to 5
- Added encoding and errors arguments to check_output(), removed call to decode()
- Added subprocess.TimeoutExpired to except tuple
2021-10-24 13:07:29 -07:00
Lu-Die-Milchkuh 59473608cf Fixed a Typo (Hizufügen to Hinzufügen) in the german translation 2021-10-22 16:14:33 -07:00
Mathieu Comandon f4dee7eac3 Update to 0.5.9.1 2021-10-16 18:14:23 -07:00
Mathieu Comandon f609352257 Fix duplicate Steam games when syncing 2021-10-16 17:52:13 -07:00
Mathieu Comandon 0308c0c5af Point to lutris hosted build of ryujinx 2021-10-16 11:54:42 -07:00
Mathieu Comandon 2fa675f0b2 Remove markup chars from help text 2021-10-16 11:48:02 -07:00
Mathieu Comandon 922c7680cf Add winemenubuilder to dll overrides in test 2021-10-16 11:42:36 -07:00
Mathieu Comandon 540ab28c0f Don't use service when querying games from lutris 2021-10-16 11:37:00 -07:00
Mathieu Comandon 9bdc29892e Disable file log for lutris-wrapper 2021-10-16 11:17:18 -07:00
msquirogac b611e774c2 Update steam.py 2021-10-16 11:15:56 -07:00
Felix Hellmann 0cc30cd852 change grouping of gamescope parameters to preven escaping error. fixes #3729 2021-10-16 11:15:23 -07:00
Mathieu Comandon b9b8bcbf07 Update release date 2021-10-11 12:35:37 -07:00
Mathieu Comandon 4b0b0ebca6 Remove some log messages 2021-10-11 12:16:49 -07:00
Mathieu Comandon d56dff0847 Check for locale presence 2021-10-08 16:03:56 -07:00
Mathieu Comandon 116fdda6a7 Handle outdated EGS OAuth tokens + fix EGS banners 2021-10-08 15:32:13 -07:00
Mathieu Comandon 3c6fa2ae3b Remove manpage from spec file because it makes openSUSE angry 2021-10-08 13:59:52 -07:00
Mathieu Comandon 6717317c11 Reference EGS client by slug + add instructions for installing EGS games 2021-10-08 13:39:36 -07:00
Mathieu Comandon 1f015a9077 Use filter instead of search for looking up game folder to be deleted 2021-10-08 13:11:28 -07:00
Mathieu Comandon 836b14eb70 Put 'locate existing game' action in popover menu 2021-10-08 13:10:49 -07:00
Mathieu Comandon 965164d229 Add get_lang_and_country utility 2021-10-08 12:44:40 -07:00
Mathieu Comandon 9c5ab57ab6 Disable winemenubuilder by default in the DLL overrides 2021-09-17 21:41:36 -07:00
Mathieu Comandon f07208fff2 Cleanup 2021-09-13 15:49:08 -07:00
EduardTheFirst bc4bc7ea05 Added Ryujinx Emulator 2021-09-13 15:46:34 -07:00
Alexandr Oleynikov 14e34f0699
Add D3D Extras to runtime 2021-09-08 02:10:14 +03:00
telanus af6dd94e57 Update to the latest release
0.9.3 Was released today 2-9-21
2021-09-06 14:28:10 -07:00
Mathieu Comandon 55b4696916 Only disable winemenubuilder on wineexec tasks 2021-09-06 14:26:33 -07:00
Dino 7e5f4b3a0f Show ErrorDialog if installer can't be retrieved. 2021-09-06 14:11:42 -07:00
Mathieu Comandon d31f636d6e Catch JSON decode errors when reading wine versions (Closes #3668) 2021-09-06 14:09:23 -07:00
Mathieu Comandon 4ed658727e Prevent crash when generating script of a game with no runner 2021-09-06 14:01:59 -07:00