AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / unix / 问题 / 450001
Accepted
msam
msam
Asked: 2018-06-16 05:28:40 +0800 CST2018-06-16 05:28:40 +0800 CST 2018-06-16 05:28:40 +0800 CST

cygwin 上的 bspwm - 重绘缓慢问题

  • 772

我已经设法在 cygwin 2.10.0(0.325/5/3) (Windows 7) 下编译 bspwm 平铺窗口管理器,与 Openbox、LXDE 或 fwvm 相比,性能相当糟糕。你能给我一些解决这个问题的想法吗?

有时我需要在 windows 下测试一些 linux bash 脚本和命令,我需要多个终端窗口。将它装箱在 bspwm 的一个窗口中会非常方便,并且允许我根据需要设置我的终端工作区。

症状:

  • 通过 Shift + PgUp 或 PgDown 在终端(urxvt)中滚动时重绘速度较慢
  • Terminator 快一点,但打字很慢。
  • 节点切换、在桌面之间跳转等命令的执行延迟约为 300 毫秒(只是一个猜测)。这是相当小的,但它让工作流程感觉不愉快。

有些应用程序即使在 Openbox 或 Fvwm 下也需要时间才能启动,但 gui 响应速度很快,即使在运行大型 vim 文件等时,urxvt 也能快速启动。

首先这是我的 XWin 启动日志:

Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 1.19.6.0
OS: CYGWIN_NT-6.1 CZCHOWN5022406 2.10.0(0.325/5/3) 2018-02-02 15:16 x86_64
OS: Windows 7 Service Pack 1 [Windows NT 6.1 build 7601] (Win64)
Package: version 1.19.6-2 built 2018-03-12

XWin was started with the following command line:

/usr/bin/X :0 -auth /home/marek/.serverauth.9768 

ddxProcessArgument - Initializing default screens
winInitializeScreenDefaults - primary monitor w 1920 h 1080
winInitializeScreenDefaults - native DPI x 96 y 96
[ 19542.838] (II) xorg.conf is not supported
[ 19542.838] (II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
[ 19542.838] LoadPreferences: /home/marek/.XWinrc not found
[ 19542.838] LoadPreferences: Loading /etc/X11/system.XWinrc
[ 19542.838] LoadPreferences: Done parsing the configuration file...
[ 19542.838] winDetectSupportedEngines - RemoteSession: no
[ 19543.087] winDetectSupportedEngines - DirectDraw4 installed, allowing ShadowDDNL
[ 19543.087] winDetectSupportedEngines - Returning, supported engines 00000005
[ 19543.087] winSetEngine - Using Shadow DirectDraw NonLocking
[ 19543.087] winScreenInit - Using Windows display depth of 32 bits per pixel
[ 19543.134] winWindowProc - WM_SIZE - new client area w: 1904 h: 1002
[ 19543.150] winFinishScreenInitFB - Masks: 00ff0000 0000ff00 000000ff
[ 19543.150] MIT-SHM extension disabled due to lack of kernel support
[ 19543.150] XFree86-Bigfont extension local-client optimization disabled due to lack of shared memory support in the kernel
[ 19543.150] (EE) AIGLX: No native OpenGL in modes with a root window
[ 19543.430] (II) IGLX: enabled GLX_MESA_copy_sub_buffer
[ 19543.446] (II) IGLX: Loaded and initialized swrast
[ 19543.446] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[ 19544.054] winPointerWarpCursor - Discarding first warp: 952 501
[ 19544.054] (--) 5 mouse buttons found
[ 19544.054] (--) Setting autorepeat to delay=500, rate=31
[ 19544.054] (--) Windows keyboard layout: "00000409" (00000409) "US", type 4
[ 19544.054] (--) Found matching XKB configuration "English (USA)"
[ 19544.054] (--) Model = "pc105" Layout = "us" Variant = "none" Options = "none"
[ 19544.054] Rules = "base" Model = "pc105" Layout = "us" Variant = "none" Options = "none"
[ 19544.725] winProcEstablishConnection - winInitClipboard returned.
[ 19544.725] winClipboardThreadProc - DISPLAY=:0.0
[ 19544.725] OS maintains clipboard viewer chain: yes
[ 19544.741] winClipboardProc - XOpenDisplay () returned and successfully opened the display.
cygwin rxvt
  • 1 1 个回答
  • 257 Views

1 个回答

  • Voted
  1. Best Answer
    msam
    2018-06-29T06:15:00+08:002018-06-29T06:15:00+08:00

    缓慢是由 rxvt 终端仿真器引起的,尤其是当它在 bspwmrc 文件中自动启动时。我现在使用 xterm 或 terminator 并且 bspwm 很快。

    我已尝试使用 strace 查找原因,但没有得到任何显示可能存在问题的信息。

    • 0

相关问题

  • 如何在 urxvt 中禁用 Ctrl+Shift 绑定(ISO 14755)?

  • 如何避免 make 生成和安装手册页?

  • Urxvt:在 perl 库搜索路径中找不到 perl 扩展“...”[关闭]

  • xrdb 冒号丢失错误

  • 如何在不使用“-cd”启动选项的情况下在某个目录中启动 rxvt 实例(可能“引号”错误)?

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何将 GPG 私钥和公钥导出到文件

    • 4 个回答
  • Marko Smith

    ssh 无法协商:“找不到匹配的密码”,正在拒绝 cbc

    • 4 个回答
  • Marko Smith

    我们如何运行存储在变量中的命令?

    • 5 个回答
  • Marko Smith

    如何配置 systemd-resolved 和 systemd-networkd 以使用本地 DNS 服务器来解析本地域和远程 DNS 服务器来解析远程域?

    • 3 个回答
  • Marko Smith

    如何卸载内核模块“nvidia-drm”?

    • 13 个回答
  • Marko Smith

    dist-upgrade 后 Kali Linux 中的 apt-get update 错误 [重复]

    • 2 个回答
  • Marko Smith

    如何从 systemctl 服务日志中查看最新的 x 行

    • 5 个回答
  • Marko Smith

    Nano - 跳转到文件末尾

    • 8 个回答
  • Marko Smith

    grub 错误:你需要先加载内核

    • 4 个回答
  • Marko Smith

    如何下载软件包而不是使用 apt-get 命令安装它?

    • 7 个回答
  • Martin Hope
    rocky 如何将 GPG 私钥和公钥导出到文件 2018-11-16 05:36:15 +0800 CST
  • Martin Hope
    Wong Jia Hau ssh-add 返回:“连接代理时出错:没有这样的文件或目录” 2018-08-24 23:28:13 +0800 CST
  • Martin Hope
    Evan Carroll systemctl 状态显示:“状态:降级” 2018-06-03 18:48:17 +0800 CST
  • Martin Hope
    Tim 我们如何运行存储在变量中的命令? 2018-05-21 04:46:29 +0800 CST
  • Martin Hope
    Ankur S 为什么 /dev/null 是一个文件?为什么它的功能不作为一个简单的程序来实现? 2018-04-17 07:28:04 +0800 CST
  • Martin Hope
    user3191334 如何从 systemctl 服务日志中查看最新的 x 行 2018-02-07 00:14:16 +0800 CST
  • Martin Hope
    Marko Pacak Nano - 跳转到文件末尾 2018-02-01 01:53:03 +0800 CST
  • Martin Hope
    Kidburla 为什么真假这么大? 2018-01-26 12:14:47 +0800 CST
  • Martin Hope
    Christos Baziotis 在一个巨大的(70GB)、一行、文本文件中替换字符串 2017-12-30 06:58:33 +0800 CST
  • Martin Hope
    Bagas Sanjaya 为什么 Linux 使用 LF 作为换行符? 2017-12-20 05:48:21 +0800 CST

热门标签

linux bash debian shell-script text-processing ubuntu centos shell awk ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve