Closed InsaneCake closed 2 years ago
Can you try adding:
gamescope -w 2377 -h 1337 -W 2560 -H 1440 -r 72 -U -f --
to the game settings under Environmental Variables?
You can add wrappers there now.
Edit: Just tested here and it works adding like this. We will add a gamescope feature soon as well.
In my case - gamescope works, but mouse input still does not works. I checked different games, resolutions, without mangohud and without fps limiter. Maybe problem in something outdated in manjaro repos. In Steam works as intended, in Lutris i dont find out how made it work at all.
Edit: different input devices and different proton versions - no changes) I think i will just wait proper gamescope support in Heroic itself. I will let you know if something changes after updates.
I tested with bioshock infinite and got mouse input and controller working. Using same command as you tried. I'm on Garuda so should be similar to manjaro I guess. But I'm using gamescope stable and not git.
I reinstalled Heroic 2.3.2 and problem gone. But gamescope in the game settings under Environmental Variables does not work at all.
Maybe something changed in Electron behavior changed between this updates, so it block mouse events?
Few years ago I have similar problem, but on windows - transparent overlay app on some builds of windows does not passthroug events.
How did you put it under env variables? Can you send a screenshot? Also, you need to disable mangohud. With it it didn't work for me.
I just update it from 2.3.2 to 2.3.4 (skip 2.3.3 cause it have minor changes) and problem appears, even in no-gui mode:
gamescope -w 2377 -h 1337 -W 2560 -H 1440 -r 72 -U -f -- heroic --no-gui heroic://launch/5c147002780d4e6eb292f54edfe73fda
Edit: env variables works in 2.3.4 (without mouse input) and don't in 2.3.2
The image doesn't work. You can upload in the thread.
I have found this gamescope bug
In steam I actually add -e
option, but absolutely forgot about it.
In Heroic with -e
games (or launcher) dont start at all. It enables some kind of steam integration, so i don't know should it work outside steam or not.
Edit: unexpectedly made it works by changing Proton (tryed GE 14-20 and Experimental) to Lutris-Wine-shack
Now input in gamescope works in game settings and if whole Heroic launched in gamescope and -e
option don't needed
Describe the bug
After update from 2.3.2 to 2.3.5 if heroic launched with gamescope - no mouse input to the game, but in heoic itself it works So now Heroic unusable with gamescope
upd: 2.3.6 still here
Add logs
(11:01:20) DEBUG: [Legendary]: Running Legendary command: /opt/Heroic/resources/app.asar.unpacked/build/bin/linux/legendary --version (11:01:20) INFO: [Legendary]: Legendary location: /opt/Heroic/resources/app.asar.unpacked/build/bin/linux/legendary (11:01:20) INFO: [Gog]: GOGDL location: /opt/Heroic/resources/app.asar.unpacked/build/bin/linux/gogdl (11:01:20) INFO: [Backend]:
Heroic Version: 2.3.5 Brook Legendary Version: 0.20.25 Our Benefactors OS: ManjaroLinux KERNEL: 5.17.9-1-MANJARO ARCH: x64 CPU: AMD Ryzen 5 3600X 6-Core Processor @3.8 GOVERNOR: schedutil RAM: Total: 15.55 GiB Available: 12.51 GiB GRAPHICS: GPU0: Navi 23 [Radeon RX 6600/6600 XT/6600M] VRAM: 1MB DRIVER:
PROTOCOL: x11
(11:01:20) WARNING: [Backend]: Failed to register protocol with OS. (11:01:21) INFO: [Frontend]: Refreshing Library (11:01:21) INFO: [Legendary]: Refreshing library... (11:01:21) INFO: [Legendary]: Refreshing Epic Games... (11:01:22) DEBUG: [Legendary]: Running Legendary command: /opt/Heroic/resources/app.asar.unpacked/build/bin/linux/legendary list (11:01:23) INFO: [Legendary]: Updating game list (11:01:23) INFO: [Legendary]: Game List Updated (11:01:23) INFO: [Backend]: Downloaded Winetricks (11:01:24) INFO: [Legendary]: Checking for game updates: /opt/Heroic/resources/app.asar.unpacked/build/bin/linux/legendary list-installed --check-updates --tsv (11:01:24) DEBUG: [Legendary]: Running Legendary command: /opt/Heroic/resources/app.asar.unpacked/build/bin/linux/legendary list-installed --check-updates --tsv (11:01:26) INFO: [Legendary]: Found 3 game(s) to update (11:01:26) INFO: [Gog]: Found 0 game(s) to update
Steps to reproduce
Expected behavior
After heroic launched with gamescope and game launched from it mouse input should work in game (and it was in 2.3.2)
Screenshots
No response
System Information
OS: Manjaro Heroic 2.3.5-1 installed from AUR
Additional information
No response