Comments (7)
For all the Arch users out there (like me modify_ldt
restriction with the patch by @GustavoPeredo here: https://aur.archlinux.org/packages/flatpak-lol
from components.
Pretty sure it still doesn't run in flatpak because of flathub/net.lutris.Lutris#85. The wine version is already available for non-flatpak builds of bottles.
from components.
Just tried it, still needs modify_ldt
unfortunately so it doesn't work
from components.
It still needs the patch for the flatpak version, but other versions should work fine. Also, if using NixOS you can use my configuration to fix the issue.
{ config, pkgs, ... }:
let
lol = builtins.toFile "lol" ''
--- a/common/flatpak-run.c 2022-08-06 17:22:32.275764357 +0200
+++ b/common/flatpak-run.c 2022-08-06 17:22:55.071886221 +0200
@@ -3113,9 +3113,6 @@
{SCMP_SYS (uselib), EPERM},
/* Don't allow disabling accounting */
{SCMP_SYS (acct), EPERM},
- /* 16-bit code is unnecessary in the sandbox, and modify_ldt is a
- historic source of interesting information leaks. */
- {SCMP_SYS (modify_ldt), EPERM},
/* Don't allow reading current quota use */
{SCMP_SYS (quotactl), EPERM},
'';
in
{
imports =
[
./hardware-configuration.nix
];
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
boot.loader.efi.efiSysMountPoint = "/boot/efi";
networking.hostName = "nixos"; # Define your hostname.
networking.networkmanager.enable = true;
services.xserver.enable = true;
services.xserver.videoDrivers = [ "nvidia" ];
hardware.opengl.enable = true;
hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.stable;
services.xserver.displayManager.gdm.enable = true;
services.xserver.desktopManager.gnome.enable = true;
services.xserver = {
layout = "us";
xkbVariant = "alt-intl";
};
services.printing.enable = true;
sound.enable = true;
hardware.pulseaudio.enable = false;
security.rtkit.enable = true;
services.pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
};
nixpkgs.overlays = [ (
self: super:
{
flatpak = super.flatpak.overrideAttrs (old: {
patches = (old.patches or []) ++ [
"${lol}"
];
});
}
)];
users.users.gustavo = {
isNormalUser = true;
description = "Gustavo Peredo";
extraGroups = [ "networkmanager" "wheel" ];
packages = with pkgs; [
firefox
flatpak
];
};
nixpkgs.config.allowUnfree = true;
services.flatpak.enable = true;
environment.systemPackages = with pkgs; [
gnomeExtensions.appindicator
gnomeExtensions.pop-shell
vim
];
system.stateVersion = "22.05";
}
Also, the newest version was merged for hackers and non flatpak users ;) #159
from components.
For all the Arch users out there (like me smile) I created an AUR package that removes the
modify_ldt
restriction with the patch by @GustavoPeredo here: https://aur.archlinux.org/packages/flatpak-lol
this is awful but i love it
from components.
Nice
from components.
not a bottles issue, closing since now i know it
from components.
Related Issues (20)
- Caffe runner update HOT 3
- Please expose the wine-wayland runner HOT 1
- vaniglia-7.15 runner seems to be bugged, can't launch anything HOT 3
- Request: Please update GloriousEggroll WIne/Proton/Lutris builds.
- Delayed launching of games. HOT 3
- vkd3d-proton 2.7 released
- can't download soda 7.07
- dxvk v2.0 HOT 1
- dxvk-async v2.0
- Remove vkd3d-2.4 from Components
- Tidy up the components repo layout
- Update wine-wayland HOT 1
- Activate the CI HOT 11
- vkd3d-proton 2.8 is released today, with massive performance improvements HOT 3
- [Discussion] Improvement ideas HOT 5
- Caffe updates HOT 7
- [Feature request] add d8vk HOT 1
- VKD3D Update to fix NVIDIA GPUs Freezing Computers HOT 5
- Improved naming of new component updates? HOT 1
- How to add github action to automatically pull Lutris-GE-7.0-8-LoL HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from components.