You are not logged in.

#1 2018-01-27 16:47:46

themusicalduck
Member
Registered: 2011-07-04
Posts: 123

Whole screen flickers after running a command in Gnome Terminal.

I have a really weird problem in that sometimes when running a command in gnome-terminal, my entire screen will start to flicker on and off quite rapidly.

I've only ever noticed this happening so far when I'm in an SSH session.

So I'll run a command e,g, "iptables -nvL" on a remote server and my screen will flicker rapidly until I exit that SSH session. At which point the flickering will stop (until I run the command again). It only happens with certain commands.

I've also noticed it happen once when I was trying to run a particular binary that would lock up and not respond to ctrl+c (requiring a kill -9). I don't know why the binary locked up, but it would make my screen flicker until I exited the session.

Googling the issue has only found suggestions related to using Intel GPUs.

I have an Nvidia GT710 and I'm using the proprietary nvidia drivers 387.34 on Gnome 3.26.2. Gnome Terminal 3.26.2.

Thanks.

xorg.conf:

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 387.34  (builduser@felixonmars2)  Thu Nov 30 18:02:52 CST 2017

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "0"
EndSection

Section "Files"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "LG Electronics 22M45"
    HorizSync       30.0 - 83.0
    VertRefresh     56.0 - 75.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GT 710"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "DFP-1"
    Option         "metamodes" "HDMI-0: nvidia-auto-select +1920+0 {ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}, VGA-0: nvidia-auto-select +0+0 {ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    Option         "AllowIndirectGLXProtocol" "off"
    Option         "TripleBuffer" "on"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Offline

#2 2018-01-27 18:30:14

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,740

Re: Whole screen flickers after running a command in Gnome Terminal.

go down to defaults, disable the triple buffer and/or the composition pipeline, composition pipeline shouldn't be necessary as mutter should do the compositing.

Offline

#3 2018-01-31 14:57:55

themusicalduck
Member
Registered: 2011-07-04
Posts: 123

Re: Whole screen flickers after running a command in Gnome Terminal.

I've disabled the triple buffer and will see if it happens again. Thanks.

I need composition pipeline enabled otherwise I get screen tearing.

Offline

Board footer

Powered by FluxBB