-
Is there an existing issue for this?
Is your issue described in the documentation?
Is your issue present in the nightly release?
Describe the BugPlacing the following line as DO command (in application or in configuration) or as detach command does not have any effect: Tested with flatpak and appImage. Expected BehaviorThe monitor should change to output at resolution of 2560x1440. Additional ContextI want to change resolution of my main monitor: it is a widescreen (3440x1440) but my TV is 16:9 so I need to change the dimension from 3440x1440 to 2560x1440. xrandr is not an option because my monitor does not list 2560x1440 as an option and any tentative I have done with it fails. nvidia-settings does work changing the output resolution to 2560x1440. Tested multiple times from terminal, also while running sunshine and moonlight from the TV: everything works fine. Host Operating SystemLinux Operating System VersionManjaro - linux kernel 6.5 Architecture64 bit Sunshine commit or version0.20.0 PackageLinux - flatpak GPU TypeNvidia GPU ModelGeForce 3070 Ti GPU Driver/Mesa Version535.113.01 Capture Method (Linux Only)X11 Configglobal_prep_cmd = [{"do":"flatpak-spawn --host nvidia-settings --assign CurrentMetaMode=\"DP-0: 3440x1440_144 +0+0 {viewportout=2560x1440+440+0}\"","undo":""}]
output_name = 1
audio_sink = sink-sunshine-stereo
nvenc_preset = 2
min_log_level = 1
capture = x11 AppsNo response Relevant log output[2023:10:12:19:55:09]: Debug: Parsed executable [flatpak-spawn] from command [flatpak-spawn --host nvidia-settings --assign CurrentMetaMode="DP-0: 3440x1440_144 +0+0 {viewportout=2560x1440+440+0}"]
[2023:10:12:19:55:09]: Info: Executing Do Cmd: [flatpak-spawn --host nvidia-settings --assign CurrentMetaMode="DP-0: 3440x1440_144 +0+0 {viewportout=2560x1440+440+0}"]
[2023:10:12:19:55:09]: Debug: Parsed executable [flatpak-spawn] from command [flatpak-spawn --host nvidia-settings --assign CurrentMetaMode="DP-0: 3440x1440_144 +0+0 {viewportout=2560x1440+440+0}"]
[2023:10:12:19:55:09]: Info: Spawning [flatpak-spawn --host nvidia-settings --assign CurrentMetaMode="DP-0: 3440x1440_144 +0+0 {viewportout=2560x1440+440+0}"] in ["/usr/bin"]
[2023:10:12:19:55:09]: Debug: Parsed executable [flatpak-spawn] from command [flatpak-spawn --host nvidia-settings --assign CurrentMetaMode="DP-0: 3440x1440_144 +0+0 {viewportout=2560x1440+440+0}"]
[2023:10:12:19:55:09]: Info: Spawning [flatpak-spawn --host nvidia-settings --assign CurrentMetaMode="DP-0: 3440x1440_144 +0+0 {viewportout=2560x1440+440+0}"] in ["/usr/bin"]
First two lines are the log in case of the DO command from configuration
The last four lines are the log from the DO and detach command from application |
Beta Was this translation helpful? Give feedback.
Replies: 0 comments 5 replies
-
You might need to prefix the command with Not sure how you combine that with the |
Beta Was this translation helpful? Give feedback.
SOLVED
I tried multiple options and in the end what worked was to wrap my nvidia-settings function inside a new .sh file and call that file.
sh -c /home/xxx/.screenlayout/steamLinkTV.sh
Probably there could have been some leaner solution and I did something wrong, but this works.