lutris / lutris

Lutris desktop client
https://lutris.net
GNU General Public License v3.0
7.79k stars 687 forks source link

"Turn off monitors except" will not work all together with MutterDisplayManager #2724

Closed Zmirir closed 4 years ago

Zmirir commented 4 years ago

Describe the bug

"Turn off monitors except" will not work all together with MutterDisplayManager. Games will not start in any case (wine, linux native, ...).

Expected behavior When the option is set all displays except the chosen one is deactivated. If the game is finished the displays are turned back on.

Current behavior

The game will not start and lutris remains in "launching" for this game.

Steps to reproduce

Install lutris on a System which will make Lutris use the MutterDisplayManager and which utilizes multiple monitors. In my case Ubunutu Budgie 18.04 with 3 monitors.

Activate "turn off monitors except" for any game installed

Try to start the game.

Lutris debugging output

The console output shows an raised error:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/lutris/exceptions.py", line 26, in wrapper
    return function(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/lutris/game.py", line 365, in configure_game
    restrict_to_display = output.name
AttributeError: 'DisplayConfig' object has no attribute 'name'

Workaround I just messed around with the python code myself and observed the following. The LegacyDisplayManager sets an attribute name for a DisplayConfig. The Mutter does not. With MutterDisplayManager you get the following:

[DisplayConfig(monitors=[('DP-0', '1920x1080@60')], position=(0, 0), transform=dbus.UInt32(0), primary=False, scale=dbus.Double(1.0)), DisplayConfig(monitors=[('DVI-I-2-1', '2560x1440@143.99920654296875')], position=(1920, 0), transform=dbus.UInt32(0), primary=True, scale=dbus.Double(1.0)), DisplayConfig(monitors=[('eDP-1-1', '1920x1080@120.01551055908203')], position=(4480, 0), transform=dbus.UInt32(0), primary=False, scale=dbus.Double(1.0))]

Hence, I modified the MutterDisplayManager defined in util/graphics/displayconfig.py

I changed line 6-9 from

DisplayConfig = namedtuple(
    "DisplayConfig",
    ("monitors", "position", "transform", "primary", "scale")
)
DisplayConfig = namedtuple(
    "DisplayConfig",
    ("monitors","name", "position", "transform", "primary", "scale")
)

and line 359-371 from

def get_config(self):
        """Export the current configuration so it can be stored then reapplied later"""
        monitors = [
            (monitor.name, monitor.get_current_mode().id)
            for monitor in self.monitors
        ]
        return DisplayConfig(
            monitors,         
            self.position,
            self.transform,
            self.primary,
            self.scale
        )

to

def get_config(self):
        """Export the current configuration so it can be stored then reapplied later"""
        monitors = [
            (monitor.name, monitor.get_current_mode().id)
            for monitor in self.monitors
        ]
        return DisplayConfig(
            monitors,
            self.monitors[0].name,            
            self.position,
            self.transform,
            self.primary,
            self.scale
        )

Afterwards i get the following DisplayConfigurations and "Turn off monitors" works again

[DisplayConfig(monitors=[('DP-0', '1920x1080@60')], name='DP-0', position=(0, 0), transform=dbus.UInt32(0), primary=False, scale=dbus.Double(1.0)), DisplayConfig(monitors=[('DVI-I-2-1', '2560x1440@143.99920654296875')], name='DVI-I-2-1', position=(1920, 0), transform=dbus.UInt32(0), primary=True, scale=dbus.Double(1.0)), DisplayConfig(monitors=[('eDP-1-1', '1920x1080@120.01551055908203')], name='eDP-1-1', position=(4480, 0), transform=dbus.UInt32(0), primary=False, scale=dbus.Double(1.0))]

Note that this is just a dirty hack. There might be side effects and so forth. I did not check for that or made any kind of proper testing. When i was scanning the code I've already seen some points where DisplayConfigs are created (maybe default ones) which do not adhere the new structure. This might already lead to other issues. Also getting always the first monitor from a config might not be proper in all cases.

For me for now it is working, but there is no guarantee to work anywhere else.

But I guess it pin points the reason for this bug.

System information

{ "comment": "", "system": { "nvidia_driver": { "nvrm": { "vendor": "NVIDIA", "platform": "UNIX", "arch": "x86_64", "version": "440.26", "date": "Sun Oct 13 18:00:57 UTC 2019" } }, "nvidia_gpus": [ { "Model": "GeForce RTX 2060", "IRQ": "185", "GPU UUID": "GPU-ca621dbf-9d20-f76c-632f-6cf5761887da", "Video BIOS": "90.06.32.00.03", "Bus Type": "PCIe", "DMA Size": "47 bits", "DMA Mask": "0x7fffffffffff", "Bus Location": "0000:01:00.0", "Device Minor": "0", "Blacklisted": "No" } ], "gpus": [ { "DRIVER": "nvidia", "PCI_ID": "10DE:1F11", "PCI_SUBSYS_ID": "1558:65D1", "PCI_CLASS": "30000", "PCI_SLOT_NAME": "0000:01:00.0", "MODALIAS": "pci:v000010DEd00001F11sv00001558sd000065D1bc03sc00i00" }, { "DRIVER": "evdi", "PCI_ID": "", "PCI_SUBSYS_ID": "", "MODALIAS": "platform:evdi" }, { "DRIVER": "i915", "PCI_ID": "8086:3E9B", "PCI_SUBSYS_ID": "1558:65D1", "PCI_CLASS": "30000", "PCI_SLOT_NAME": "0000:00:02.0", "MODALIAS": "pci:v00008086d00003E9Bsv00001558sd000065D1bc03sc00i00" }, { "DRIVER": "evdi", "PCI_ID": "", "PCI_SUBSYS_ID": "", "MODALIAS": "platform:evdi" } ], "env": { "CLUTTER_IM_MODULE": "xim", "LS_COLORS": "rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:.tar=01;31:.tgz=01;31:.arc=01;31:.arj=01;31:.taz=01;31:.lha=01;31:.lz4=01;31:.lzh=01;31:.lzma=01;31:.tlz=01;31:.txz=01;31:.tzo=01;31:.t7z=01;31:.zip=01;31:.z=01;31:.Z=01;31:.dz=01;31:.gz=01;31:.lrz=01;31:.lz=01;31:.lzo=01;31:.xz=01;31:.zst=01;31:.tzst=01;31:.bz2=01;31:.bz=01;31:.tbz=01;31:.tbz2=01;31:.tz=01;31:.deb=01;31:.rpm=01;31:.jar=01;31:.war=01;31:.ear=01;31:.sar=01;31:.rar=01;31:.alz=01;31:.ace=01;31:.zoo=01;31:.cpio=01;31:.7z=01;31:.rz=01;31:.cab=01;31:.wim=01;31:.swm=01;31:.dwm=01;31:.esd=01;31:.jpg=01;35:.jpeg=01;35:.mjpg=01;35:.mjpeg=01;35:.gif=01;35:.bmp=01;35:.pbm=01;35:.pgm=01;35:.ppm=01;35:.tga=01;35:.xbm=01;35:.xpm=01;35:.tif=01;35:.tiff=01;35:.png=01;35:.svg=01;35:.svgz=01;35:.mng=01;35:.pcx=01;35:.mov=01;35:.mpg=01;35:.mpeg=01;35:.m2v=01;35:.mkv=01;35:.webm=01;35:.ogm=01;35:.mp4=01;35:.m4v=01;35:.mp4v=01;35:.vob=01;35:.qt=01;35:.nuv=01;35:.wmv=01;35:.asf=01;35:.rm=01;35:.rmvb=01;35:.flc=01;35:.avi=01;35:.fli=01;35:.flv=01;35:.gl=01;35:.dl=01;35:.xcf=01;35:.xwd=01;35:.yuv=01;35:.cgm=01;35:.emf=01;35:.ogv=01;35:.ogx=01;35:.aac=00;36:.au=00;36:.flac=00;36:.m4a=00;36:.mid=00;36:.midi=00;36:.mka=00;36:.mp3=00;36:.mpc=00;36:.ogg=00;36:.ra=00;36:.wav=00;36:.oga=00;36:.opus=00;36:.spx=00;36:.xspf=00;36:", "LC_MEASUREMENT": "de_DE.UTF-8", "LESSCLOSE": "/usr/bin/lesspipe %s %s", "LC_PAPER": "de_DE.UTF-8", "LC_MONETARY": "de_DE.UTF-8", "XDG_MENU_PREFIX": "gnome-", "LANG": "en_US.UTF-8", "MANAGERPID": "2589", "DISPLAY": ":0", "QT_STYLE_OVERRIDE": "", "INVOCATION_ID": "7048b0118fef49498f02e9de67c2a688", "COLORTERM": "truecolor", "USERNAME": "zmirir", "XDG_VTNR": "2", "SSH_AUTH_SOCK": "/run/user/1000/keyring/ssh", "MANDATORY_PATH": "/usr/share/gconf/budgie-desktop.mandatory.path", "LC_NAME": "de_DE.UTF-8", "XDG_SESSION_ID": "2", "USER": "zmirir", "DESKTOP_SESSION": "budgie-desktop", "QT4_IM_MODULE": "xim", "TEXTDOMAINDIR": "/usr/share/locale/", "DEFAULTS_PATH": "/usr/share/gconf/budgie-desktop.default.path", "QT_QPA_PLATFORMTHEME": "gtk2", "PWD": "/home/zmirir", "HOME": "/home/zmirir", "JOURNAL_STREAM": "9:45389", "TEXTDOMAIN": "im-config", "SSH_AGENT_PID": "2933", "QT_ACCESSIBILITY": "1", "XDG_SESSION_TYPE": "x11", "XDG_DATA_DIRS": "/usr/share/budgie-desktop:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop", "XDG_SESSION_DESKTOP": "budgie-desktop", "TILIX_ID": "74789380-e70c-4985-be89-a84d54d03c33", "LC_ADDRESS": "de_DE.UTF-8", "DBUS_STARTER_ADDRESS": "unix:path=/run/user/1000/bus,guid=8a90c868d5e5d475e98534805e8b87a2", "LC_NUMERIC": "de_DE.UTF-8", "GTK_MODULES": "appmenu-gtk-module:gail:atk-bridge", "UBUNTU_MENUPROXY": "1", "WINDOWPATH": "2", "TERM": "xterm-256color", "VTE_VERSION": "5202", "SHELL": "/bin/bash", "QT_IM_MODULE": "ibus", "XMODIFIERS": "@im=ibus", "IM_CONFIG_PHASE": "2", "DBUS_STARTER_BUS_TYPE": "session", "XDG_CURRENT_DESKTOP": "Budgie:GNOME", "GPG_AGENT_INFO": "/run/user/1000/gnupg/S.gpg-agent:0:1", "SHLVL": "1", "XDG_SEAT": "seat0", "LC_TELEPHONE": "de_DE.UTF-8", "GDMSESSION": "budgie-desktop", "GNOME_DESKTOP_SESSION_ID": "this-is-deprecated", "LOGNAME": "zmirir", "DBUS_SESSION_BUS_ADDRESS": "unix:path=/run/user/1000/bus,guid=8a90c868d5e5d475e98534805e8b87a2", "XDG_RUNTIME_DIR": "/run/user/1000", "XAUTHORITY": "/run/user/1000/gdm/Xauthority", "XDG_CONFIG_DIRS": "/etc/xdg/xdg-budgie-desktop:/etc/xdg", "PATH": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", "LC_IDENTIFICATION": "de_DE.UTF-8", "SESSION_MANAGER": "local/zmirir-lappy:@/tmp/.ICE-unix/2836,unix/zmirir-lappy:/tmp/.ICE-unix/2836", "LESSOPEN": "| /usr/bin/lesspipe %s", "GTK_IM_MODULE": "ibus", "LC_TIME": "deDE.UTF-8", "": "/usr/games/lutris" }, "missing_libs": { "OPENGL": [ [], [] ], "VULKAN": [ [], [] ], "WINE": [ [], [] ], "GAMEMODE": [ [ "libgamemodeauto.so" ], [ "libgamemodeauto.so" ] ] }, "cpus": [ { "processor": "0", "vendor_id": "GenuineIntel", "cpu family": "6", "model": "158", "model name": "Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz", "stepping": "10", "microcode": "0xca", "cpu MHz": "2429.816", "cache size": "9216 KB", "physical id": "0", "siblings": "12", "core id": "0", "cpu cores": "6", "apicid": "0", "initial apicid": "0", "fpu": "yes", "fpu_exception": "yes", "cpuid level": "22", "wp": "yes", "flags": "fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp md_clear flush_l1d", "bugs": "cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit", "bogomips": "4399.99", "clflush size": "64", "cache_alignment": "64", "address sizes": "39 bits physical, 48 bits virtual", "power management": "" }, { "processor": "1", "vendor_id": "GenuineIntel", "cpu family": "6", "model": "158", "model name": "Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz", "stepping": "10", "microcode": "0xca", "cpu MHz": "2562.787", "cache size": "9216 KB", "physical id": "0", "siblings": "12", "core id": "1", "cpu cores": "6", "apicid": "2", "initial apicid": "2", "fpu": "yes", "fpu_exception": "yes", "cpuid level": "22", "wp": "yes", "flags": "fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp md_clear flush_l1d", "bugs": "cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit", "bogomips": "4399.99", "clflush size": "64", "cache_alignment": "64", "address sizes": "39 bits physical, 48 bits virtual", "power management": "" }, { "processor": "2", "vendor_id": "GenuineIntel", "cpu family": "6", "model": "158", "model name": "Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz", "stepping": "10", "microcode": "0xca", "cpu MHz": "2319.186", "cache size": "9216 KB", "physical id": "0", "siblings": "12", "core id": "2", "cpu cores": "6", "apicid": "4", "initial apicid": "4", "fpu": "yes", "fpu_exception": "yes", "cpuid level": "22", "wp": "yes", "flags": "fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp md_clear flush_l1d", "bugs": "cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit", "bogomips": "4399.99", "clflush size": "64", "cache_alignment": "64", "address sizes": "39 bits physical, 48 bits virtual", "power management": "" }, { "processor": "3", "vendor_id": "GenuineIntel", "cpu family": "6", "model": "158", "model name": "Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz", "stepping": "10", "microcode": "0xca", "cpu MHz": "2336.663", "cache size": "9216 KB", "physical id": "0", "siblings": "12", "core id": "3", "cpu cores": "6", "apicid": "6", "initial apicid": "6", "fpu": "yes", "fpu_exception": "yes", "cpuid level": "22", "wp": "yes", "flags": "fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp md_clear flush_l1d", "bugs": "cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit", "bogomips": "4399.99", "clflush size": "64", "cache_alignment": "64", "address sizes": "39 bits physical, 48 bits virtual", "power management": "" }, { "processor": "4", "vendor_id": "GenuineIntel", "cpu family": "6", "model": "158", "model name": "Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz", "stepping": "10", "microcode": "0xca", "cpu MHz": "2330.251", "cache size": "9216 KB", "physical id": "0", "siblings": "12", "core id": "4", "cpu cores": "6", "apicid": "8", "initial apicid": "8", "fpu": "yes", "fpu_exception": "yes", "cpuid level": "22", "wp": "yes", "flags": "fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp md_clear flush_l1d", "bugs": "cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit", "bogomips": "4399.99", "clflush size": "64", "cache_alignment": "64", "address sizes": "39 bits physical, 48 bits virtual", "power management": "" }, { "processor": "5", "vendor_id": "GenuineIntel", "cpu family": "6", "model": "158", "model name": "Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz", "stepping": "10", "microcode": "0xca", "cpu MHz": "2468.193", "cache size": "9216 KB", "physical id": "0", "siblings": "12", "core id": "5", "cpu cores": "6", "apicid": "10", "initial apicid": "10", "fpu": "yes", "fpu_exception": "yes", "cpuid level": "22", "wp": "yes", "flags": "fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp md_clear flush_l1d", "bugs": "cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit", "bogomips": "4399.99", "clflush size": "64", "cache_alignment": "64", "address sizes": "39 bits physical, 48 bits virtual", "power management": "" }, { "processor": "6", "vendor_id": "GenuineIntel", "cpu family": "6", "model": "158", "model name": "Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz", "stepping": "10", "microcode": "0xca", "cpu MHz": "2166.644", "cache size": "9216 KB", "physical id": "0", "siblings": "12", "core id": "0", "cpu cores": "6", "apicid": "1", "initial apicid": "1", "fpu": "yes", "fpu_exception": "yes", "cpuid level": "22", "wp": "yes", "flags": "fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp md_clear flush_l1d", "bugs": "cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit", "bogomips": "4399.99", "clflush size": "64", "cache_alignment": "64", "address sizes": "39 bits physical, 48 bits virtual", "power management": "" }, { "processor": "7", "vendor_id": "GenuineIntel", "cpu family": "6", "model": "158", "model name": "Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz", "stepping": "10", "microcode": "0xca", "cpu MHz": "2107.844", "cache size": "9216 KB", "physical id": "0", "siblings": "12", "core id": "1", "cpu cores": "6", "apicid": "3", "initial apicid": "3", "fpu": "yes", "fpu_exception": "yes", "cpuid level": "22", "wp": "yes", "flags": "fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp md_clear flush_l1d", "bugs": "cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit", "bogomips": "4399.99", "clflush size": "64", "cache_alignment": "64", "address sizes": "39 bits physical, 48 bits virtual", "power management": "" }, { "processor": "8", "vendor_id": "GenuineIntel", "cpu family": "6", "model": "158", "model name": "Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz", "stepping": "10", "microcode": "0xca", "cpu MHz": "2287.446", "cache size": "9216 KB", "physical id": "0", "siblings": "12", "core id": "2", "cpu cores": "6", "apicid": "5", "initial apicid": "5", "fpu": "yes", "fpu_exception": "yes", "cpuid level": "22", "wp": "yes", "flags": "fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp md_clear flush_l1d", "bugs": "cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit", "bogomips": "4399.99", "clflush size": "64", "cache_alignment": "64", "address sizes": "39 bits physical, 48 bits virtual", "power management": "" }, { "processor": "9", "vendor_id": "GenuineIntel", "cpu family": "6", "model": "158", "model name": "Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz", "stepping": "10", "microcode": "0xca", "cpu MHz": "2331.583", "cache size": "9216 KB", "physical id": "0", "siblings": "12", "core id": "3", "cpu cores": "6", "apicid": "7", "initial apicid": "7", "fpu": "yes", "fpu_exception": "yes", "cpuid level": "22", "wp": "yes", "flags": "fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp md_clear flush_l1d", "bugs": "cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit", "bogomips": "4399.99", "clflush size": "64", "cache_alignment": "64", "address sizes": "39 bits physical, 48 bits virtual", "power management": "" }, { "processor": "10", "vendor_id": "GenuineIntel", "cpu family": "6", "model": "158", "model name": "Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz", "stepping": "10", "microcode": "0xca", "cpu MHz": "2715.856", "cache size": "9216 KB", "physical id": "0", "siblings": "12", "core id": "4", "cpu cores": "6", "apicid": "9", "initial apicid": "9", "fpu": "yes", "fpu_exception": "yes", "cpuid level": "22", "wp": "yes", "flags": "fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp md_clear flush_l1d", "bugs": "cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit", "bogomips": "4399.99", "clflush size": "64", "cache_alignment": "64", "address sizes": "39 bits physical, 48 bits virtual", "power management": "" }, { "processor": "11", "vendor_id": "GenuineIntel", "cpu family": "6", "model": "158", "model name": "Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz", "stepping": "10", "microcode": "0xca", "cpu MHz": "2344.837", "cache size": "9216 KB", "physical id": "0", "siblings": "12", "core id": "5", "cpu cores": "6", "apicid": "11", "initial apicid": "11", "fpu": "yes", "fpu_exception": "yes", "cpuid level": "22", "wp": "yes", "flags": "fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp md_clear flush_l1d", "bugs": "cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit", "bogomips": "4399.99", "clflush size": "64", "cache_alignment": "64", "address sizes": "39 bits physical, 48 bits virtual", "power management": "" } ], "drives": [ { "name": "sda", "fstype": null, "label": null, "uuid": null, "mountpoint": null, "children": [ { "name": "sda1", "fstype": "ext4", "label": null, "uuid": "24d0abe7-55b9-42c1-840a-d7d4671a09b6", "mountpoint": "/datadisk" } ] }, { "name": "sr0", "fstype": null, "label": null, "uuid": null, "mountpoint": null }, { "name": "nvme0n1", "fstype": null, "label": null, "uuid": null, "mountpoint": null, "children": [ { "name": "nvme0n1p1", "fstype": "vfat", "label": null, "uuid": "46B8-9AD4", "mountpoint": "/boot/efi" }, { "name": "nvme0n1p2", "fstype": "ext4", "label": null, "uuid": "8764658b-8c7e-43b2-907c-d9f490dcef06", "mountpoint": "/" }, { "name": "nvme0n1p3", "fstype": "swap", "label": null, "uuid": "41ebd1b5-f70c-485a-a364-ce101885357a", "mountpoint": "[SWAP]" } ] } ], "ram": { "MemTotal": "16101516", "MemFree": "4404900", "MemAvailable": "9604316", "Buffers": "297468", "Cached": "5651832", "SwapCached": "0", "Active": "7089088", "Inactive": "3858544", "Active(anon)": "5047168", "Inactive(anon)": "647024", "Active(file)": "2041920", "Inactive(file)": "3211520", "Unevictable": "47192", "Mlocked": "80", "SwapTotal": "8388604", "SwapFree": "8388604", "Dirty": "168", "Writeback": "0", "AnonPages": "5045796", "Mapped": "1503620", "Shmem": "696872", "KReclaimable": "290248", "Slab": "405772", "SReclaimable": "290248", "SUnreclaim": "115524", "KernelStack": "23300", "PageTables": "93196", "NFS_Unstable": "0", "Bounce": "0", "WritebackTmp": "0", "CommitLimit": "16439360", "Committed_AS": "14780536", "VmallocTotal": "34359738367", "VmallocUsed": "72104", "VmallocChunk": "0", "Percpu": "5952", "HardwareCorrupted": "0", "AnonHugePages": "0", "ShmemHugePages": "0", "ShmemPmdMapped": "0", "CmaTotal": "0", "CmaFree": "0", "HugePages_Total": "0", "HugePages_Free": "0", "HugePages_Rsvd": "0", "HugePages_Surp": "0", "Hugepagesize": "2048", "Hugetlb": "0", "DirectMap4k": "762304", "DirectMap2M": "10475520", "DirectMap1G": "5242880" }, "dist": [ "Ubuntu", "18.04", "Bionic Beaver" ], "arch": "x86_64", "kernel": "5.3.0-40-generic", "glxinfo": { "opengl_es_profile_version": "OpenGL ES 3.2 NVIDIA 440.26", "opengl_context_flags": "(none)", "opengl_profile_mask": "(none)", "opengl_vendor": "NVIDIA Corporation", "name_of_display": ":0", "opengl_core_profile_shading_language_version": "4.60 NVIDIA", "opengl_core_profile_profile_mask": "core profile", "direct_rendering": "Yes", "opengl_es_profile_shading_language_version": "OpenGL ES GLSL ES 3.20", "opengl_version": "4.6.0 NVIDIA 440.26", "opengl_core_profile_context_flags": "(none)", "screen": "0", "opengl_shading_language_version": "4.60 NVIDIA", "opengl_renderer": "GeForce RTX 2060/PCIe/SSE2", "display": ":0", "opengl_core_profile_version": "4.6.0 NVIDIA 440.26" } } }

Screenshots

If applicable, add screenshots to help explain your problem.

strycore commented 4 years ago

I don't think that feature has ever been tested with the Mutter display manager… Thanks for looking into this, this makes fixing the issue a lot easier!

strycore commented 4 years ago

Nice, your fix worked!