使用 compton、openbox 和 Catalyst-hoo 缓慢调整窗口大小并冻结

使用 compton、openbox 和 Catalyst-hoo 缓慢调整窗口大小并冻结

我第二次尝试使用 Arch Linux。

在此安装中我得到:

  • 开箱
  • 色调2
  • 康普顿
  • 催化剂钩(Vi0L0's)

启动 compton 后,我看不到在终端中输入的内容,视频(flash/html)冻结在全屏,teamviewer 停止工作并且调整任何窗口大小都非常慢。

如果我杀死了康普顿,一切都会工作,但调整大小会保持缓慢。

我该如何解决这个问题?

〜/config/compton.conf

backend = "glx";
paint-on-overlay = true;
glx-no-stencil = true;
glx-no-rebind-pixmap = true;
refresh-rate = "60";
vsync="none"

# Shadow
shadow = false;
no-dock-shadow = true;     # Avoid drawing shadows on dock/panel windows.
no-dnd-shadow = true;  # Don't draw shadows on DND windows.
shadow-exclude = [ "n:w:*Firefox*" ]; # Not sure what it does or if it works

# Fading
fading = false;
no-fading-openclose = true

/etc/X11/xorg.conf

Section "ServerLayout"
   Identifier     "aticonfig Layout"
   Screen      0  "aticonfig-Screen[0]-0" 0 0
EndSection

Section "Module"
EndSection

Section "Monitor"
   Identifier   "aticonfig-Monitor[0]-0"
   Option       "VendorName" "ATI Proprietary Driver"
   Option       "ModelName" "Generic Autodetecting Monitor"
   Option       "DPMS" "true"
EndSection

Section "Device"
   Identifier  "aticonfig-Device[0]-0"
   Driver      "fglrx"
   BusID       "PCI:1:0:0"
EndSection

Section "Screen"
   Identifier "aticonfig-Screen[0]-0"
   Device     "aticonfig-Device[0]-0"
   Monitor    "aticonfig-Monitor[0]-0"
   DefaultDepth     24
   SubSection "Display"
      Viewport   0 0
      Depth     24
   EndSubSection
EndSection

〜/.config/openbox/autostart.sh

tint2 &
sh ~/.fehbg &
conky -c ~/.conky/conkyrc_grey &
compton --backend glx --paint-on-overlay --glx-no-stencil --vsync opengl-swc --shadow-e
xclude "! name~=''" --config ~/.config/compton.conf -b &
pulseaudio --start &

〜/.xinitrc

#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)

if [ -d /etc/X11/xinit/xinitrc.d ]; then
  for f in /etc/X11/xinit/xinitrc.d/*; do
    [ -x "$f" ] && . "$f"
  done
  unset f
fi

# exec gnome-session
# exec startkde
# exec startxfce4
# ...or the Window Manager of your choice
exec openbox-session

答案1

我有 ATI Radeon HD 6310。

这是我使用的 compton.conf 设置:

backend = "glx";
paint-on-overlay = false;
glx-no-stencil = true;
refresh-rate = 0;
vsync = "opengl-mswc";

他们工作得很好。也许他们也能帮助你?

相关内容