Flickering screen after installing nvidia drivers in Manjaro Openbox 20

Hi. I have just reinstalled Manjaro Openbox, from 18 to 20. While all was working fine in the version 18, now I have experienced some issues after installing the nvidia drivers, however I didn't noticed if it was ok before and is due to the nvidia drivers installation. Any help is welcome!

There issues (that I noticed so far) are:

  1. In a second monitor, when I maximize the window, it left a unfilled space above the window (rectangle in red in the below screenshot).
  2. The button for miximize is empty (but working anyway). This happens also in the primary display.

image

And the most annoying behavior is the flickering screen. It happens randomly when I open a new window or move the cursor. Here is a sample I uploaded in Youtube.

Flickering screen sample

This is the output of inxi -Fxxxz

System:
  Host: mrrobot Kernel: 5.4.35-1-MANJARO x86_64 bits: 64 compiler: gcc 
  v: 9.3.0 Desktop: Openbox 3.6.1 info: polybar, tint2 dm: LXDM 
  Distro: Manjaro Linux 
Machine:
  Type: Desktop Mobo: ASUSTeK model: PRIME B350-PLUS v: Rev X.0x 
  serial: <filter> UEFI: American Megatrends v: 4207 date: 12/07/2018 
CPU:
  Topology: 6-Core model: AMD Ryzen 5 1600 bits: 64 type: MT MCP arch: Zen 
  rev: 1 L2 cache: 3072 KiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm 
  bogomips: 83869 
  Speed: 2126 MHz min/max: 1550/3500 MHz boost: disabled Core speeds (MHz): 
  1: 2045 2: 2541 3: 1383 4: 1396 5: 1353 6: 1342 7: 1339 8: 1329 9: 1674 
  10: 1447 11: 1386 12: 1376 
Graphics:
  Device-1: NVIDIA GP107 [GeForce GTX 1050] vendor: Gigabyte driver: nvidia 
  v: 440.82 bus ID: 07:00.0 chip ID: 10de:1c81 
  Display: x11 server: X.Org 1.20.8 driver: nvidia 
  resolution: 1920x1080~60Hz, 1366x768~60Hz 
  Message: Unable to show advanced data. Required tool glxinfo missing. 
Audio:
  Device-1: NVIDIA GP107GL High Definition Audio vendor: Gigabyte 
  driver: snd_hda_intel v: kernel bus ID: 07:00.1 chip ID: 10de:0fb9 
  Device-2: AMD Family 17h HD Audio vendor: ASUSTeK driver: snd_hda_intel 
  v: kernel bus ID: 09:00.3 chip ID: 1022:1457 
  Sound Server: ALSA v: k5.4.35-1-MANJARO 
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: ASUSTeK driver: r8169 v: kernel port: f000 bus ID: 03:00.0 
  chip ID: 10ec:8168 
  IF: enp3s0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
Drives:
  Local Storage: total: 1.85 TiB used: 740.74 GiB (39.1%) 
  ID-1: /dev/sda vendor: Western Digital model: WD10EZEX-08WN4A0 
  size: 931.51 GiB speed: 6.0 Gb/s rotation: 7200 rpm serial: <filter> 
  rev: 1A02 scheme: GPT 
  ID-2: /dev/sdb type: USB vendor: Generic model: Flash Disk size: 29.44 GiB 
  serial: <filter> rev: 8.07 
  ID-3: /dev/sdc type: USB vendor: Toshiba model: External USB 3.0 
  size: 931.51 GiB serial: <filter> rev: 5438 scheme: MBR 
Partition:
  ID-1: / size: 906.94 GiB used: 14.05 GiB (1.5%) fs: ext4 dev: /dev/sda2 
  ID-2: swap-1 size: 8.80 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sda3 
Sensors:
  System Temperatures: cpu: 50.4 C mobo: N/A gpu: nvidia temp: 58 C 
  Fan Speeds (RPM): N/A gpu: nvidia fan: 0% 
Info:
  Processes: 282 Uptime: 28m Memory: 15.64 GiB used: 2.92 GiB (18.6%) 
  Init: systemd v: 244 Compilers: gcc: 9.3.0 clang: 10.0.0 Shell: zsh v: 5.8 
  running in: termite inxi: 3.0.37

And xrandr

Screen 0: minimum 8 x 8, current 3286 x 1080, maximum 32767 x 32767
DVI-D-0 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 477mm x 268mm
   1920x1080     60.00*+  59.94    50.00  
   1680x1050     59.95  
   1600x900      60.00  
   1440x900      59.89  
   1280x1024     75.02    60.02  
   1280x800      59.81  
   1280x720      60.00    59.94    50.00  
   1152x864      75.00  
   1024x768      75.03    70.07    60.00  
   800x600       75.00    72.19    60.32    56.25  
   720x576       50.00  
   720x480       59.94  
   640x480       75.00    72.81    59.94  
HDMI-0 connected 1366x768+1920+0 (normal left inverted right x axis y axis) 410mm x 230mm
   1366x768      59.79*+
   1920x1080     59.94  
   1280x720      60.00    59.94  
   1024x768      75.03    60.00  
   800x600       75.00    60.32    56.25  
   720x480       59.94    59.94  
   640x480       75.00    59.94  
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)

Thank you. I should say I love this Pacbang version!

I use a dual-head setup too - I cannot reproduce the behavior

20200501-081456_3834x115_screenshot

Interesting word miximize :slight_smile: - the colors of the buttons are themed but you know that - and the color changes because the window is maximized the button is black - like the buttons in inactive windows are all grey - and a maximized window the 'miximize' button is white.

20200501-081353_3839x44_screenshot


Screen flickering - the systems I use don't have flickering - I have one with an older Nvidia card using opensource drivers and I never had trouble with the opensource Nvidia drivers so troubleshooting is out of my league and I cannot provide any insight into that.

However as it is a default installation Manjaro - any graphics trouble shooting for Xorg you can find - using forum search - will apply to Openbox as well.

1 Like

Haha, sorry!

I see, I didn't know this.

Thank you, I'll search for possible solutions for Xorg. If I find how to solve it, I'll come back and post the solution.

Okey, after some research, it's seems it was related with Picom and Nvidia drivers. I followed the suggestions in Arch wiki and now there's no flickering/tearing.

Screentearing with NVIDIA's proprietary drivers

I added the line vsync = true;

Any clue why is this happening?

A post was split to a new topic: Screen flickering using Nvidia drivers

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.

Forum kindly sponsored by