您尚未登录。

#1 2021-01-02 12:04:16

ggdG
会员
注册时间: 2020-11-16
帖子: 14

[已解决]搜狗拼音出现黑边以及系统动画效果消失(kde)

之前一直用着没问题,直到今天进入图形界面卡死后,我重启之后发现输入法周围出现黑边,打字出现的候选框周围也有细微的黑边,如下图所示,请教一下有什么解决方法吗
rzHo5j.png

# System Info:
1.  `uname -a`:

        Linux RUSTSNOW 5.10.3-zen1-1-zen #1 ZEN SMP PREEMPT Sun, 27 Dec 2020 12:04:22 +0000 x86_64 GNU/Linux

2.  `lsb_release -a`:

        LSB Version:    1.4
        Distributor ID: Arch
        Description:    Arch Linux
        Release:        rolling
        Codename:       n/a

3.  `lsb_release -d`:

        Description:    Arch Linux

4.  `/etc/lsb-release`:

        LSB_VERSION=1.4
        DISTRIB_ID=Arch
        DISTRIB_RELEASE=rolling
        DISTRIB_DESCRIPTION="Arch Linux"

5.  `/etc/os-release`:

        NAME="Arch Linux"
        PRETTY_NAME="Arch Linux"
        ID=arch
        BUILD_ID=rolling
        ANSI_COLOR="38;2;23;147;209"
        HOME_URL="https://www.archlinux.org/"
        DOCUMENTATION_URL="https://wiki.archlinux.org/"
        SUPPORT_URL="https://bbs.archlinux.org/"
        BUG_REPORT_URL="https://bugs.archlinux.org/"
        LOGO=archlinux

6.  Desktop Environment:

    Desktop environment is `kde`.

7.  Bash Version:

        BASH_VERSION='5.1.4(1)-release'

# Environment:
1.  DISPLAY:

        DISPLAY=':0'

2.  Keyboard Layout:

    1.  `setxkbmap`:

            xkb_keymap {
                xkb_keycodes  { include "evdev+aliases(qwerty)" };
                xkb_types     { include "complete"      };
                xkb_compat    { include "complete"      };
                xkb_symbols   { include "pc+us+inet(evdev)"     };
                xkb_geometry  { include "pc(pc86)"      };
            };

    2.  `xprop`:

            _XKB_RULES_NAMES(STRING) = "evdev", "pc86", "us", "", ""

3.  Locale:

    1.  All locale:

            C
            POSIX
            en_US.utf8
            zh_CN.utf8

    2.  Current locale:

            LANG=en_US.UTF-8
            LC_CTYPE="en_US.UTF-8"
            LC_NUMERIC="en_US.UTF-8"
            LC_TIME="en_US.UTF-8"
            LC_COLLATE=C
            LC_MONETARY=zh_CN.UTF-8
            LC_MESSAGES="en_US.UTF-8"
            LC_PAPER="en_US.UTF-8"
            LC_NAME="en_US.UTF-8"
            LC_ADDRESS="en_US.UTF-8"
            LC_TELEPHONE="en_US.UTF-8"
            LC_MEASUREMENT=zh_CN.UTF-8
            LC_IDENTIFICATION="en_US.UTF-8"
            LC_ALL=

4.  Directories:

    1.  Home:

            /home/rustsnow

    2.  `${XDG_CONFIG_HOME}`:

        Environment variable `XDG_CONFIG_HOME` is not set.

        Current value of `XDG_CONFIG_HOME` is `~/.config` (`/home/rustsnow/.config`).

    3.  Fcitx Settings Directory:

        Current fcitx settings directory is `~/.config/fcitx` (`/home/rustsnow/.config/fcitx`).

5.  Current user:

    The script is run as rustsnow (1000).

# Fcitx State:
1.  executable:

    Found fcitx at `/usr/bin/fcitx`.

2.  version:

    Fcitx version: `4.2.9.7`

3.  process:

    Found 2 fcitx processes:

            859 fcitx
            868 fcitx-dbus-watc

4.  `fcitx-remote`:

    `fcitx-remote` works properly.

5.  DBus interface:

    Using `dbus-send` to check dbus.

    Owner of DBus name `org.fcitx.Fcitx` is `:1.68`.

    PID of DBus name `org.fcitx.Fcitx` owner is `859`.

# Fcitx Configure UI:
1.  Config Tool Wrapper:

    Found fcitx-configtool at `/usr/bin/fcitx-configtool`.

2.  Config GUI for gtk2:

    **Config GUI for gtk2 not found.**

3.  Config GUI for gtk3:

    **Config GUI for gtk3 not found.**

4.  Config GUI for kde:

    **`kcmshell4` not found.**

    **Cannot find a GUI config tool, please install one of `kcm-fcitx`, `fcitx-config-gtk2`, or `fcitx-config-gtk3`.**

# Frontends setup:
## Xim:
1.  `${XMODIFIERS}`:

    Environment variable XMODIFIERS is set to "@im=fcitx" correctly.
    Xim Server Name from Environment variable is fcitx.

2.  XIM_SERVERS on root window:

    Xim server name is the same with that set in the environment variable.

3.  XIM for Emacs:

    **Your LC_CTYPE is set to en_US.UTF-8 instead of one of zh, ja, ko. You may not be able to use input method in emacs because of an really old emacs bug that upstream refuse to fix for years.**

## Qt:
1.  qt4 - `${QT4_IM_MODULE}`:

    Environment variable QT_IM_MODULE is set to "fcitx" correctly.

2.  qt5 - `${QT_IM_MODULE}`:

    Environment variable QT_IM_MODULE is set to "fcitx" correctly.

3.  Qt IM module files:

    Found fcitx im module for Qt5: `/usr/lib/qt/plugins/platforminputcontexts/libfcitxplatforminputcontextplugin.so`.
    Found unknown fcitx qt module: `/usr/lib/qt/plugins/kcm_fcitx.so`.
    Found fcitx qt module: `/usr/lib/fcitx/qt/libfcitx-quickphrase-editor5.so`.
    **Cannot find fcitx input method module for Qt4.**

## Gtk:
1.  gtk - `${GTK_IM_MODULE}`:

    Environment variable GTK_IM_MODULE is set to "fcitx" correctly.

2.  `gtk-query-immodules`:

    1.  gtk 2:

        **Cannot find `gtk-query-immodules` for gtk 2**

        **Cannot find fcitx im module for gtk 2.**

    2.  gtk 3:

        Found `gtk-query-immodules` for gtk `3.24.24` at `/usr/bin/gtk-query-immodules-3.0`.
        Version Line:

            # Created by /usr/bin/gtk-query-immodules-3.0 from gtk+-3.24.24

        Found fcitx im modules for gtk `3.24.24`.

            "/usr/lib/gtk-3.0/3.0.0/immodules/im-fcitx.so" 
            "fcitx" "Fcitx (Flexible Input Method Framework)" "fcitx" "/usr/share/locale" "ja:ko:zh:*" 

3.  Gtk IM module cache:

    1.  gtk 2:

        **Cannot find immodules cache for gtk 2**

        **Cannot find fcitx im module for gtk 2 in cache.**

    2.  gtk 3:

        Found immodules cache for gtk `3.24.24` at `/usr/lib/gtk-3.0/3.0.0/immodules.cache`.
        Version Line:

            # Created by /usr/bin/gtk-query-immodules-3.0 from gtk+-3.24.24

        Found fcitx im modules for gtk `3.24.24`.

            "/usr/lib/gtk-3.0/3.0.0/immodules/im-fcitx.so" 
            "fcitx" "Fcitx (Flexible Input Method Framework)" "fcitx" "/usr/share/locale" "ja:ko:zh:*" 

4.  Gtk IM module files:

    1.  gtk 2:

        All found Gtk 2 immodule files exist.

    2.  gtk 3:

        All found Gtk 3 immodule files exist.

# Configuration:
## Fcitx Addons:
1.  Addon Config Dir:

    Found fcitx addon config directory: `/usr/share/fcitx/addon`.

2.  Addon List:

    1.  Found 27 enabled addons:

            fcitx-autoeng
            fcitx-chttrans
            fcitx-classic-ui
            fcitx-clipboard
            fcitx-dbus
            fcitx-freedesktop-notify
            fcitx-fullwidth-char
            fcitx-imselector
            fcitx-ipc
            fcitx-ipcportal
            fcitx-keyboard
            fcitx-kimpanel-ui
            fcitx-notificationitem
            fcitx-pinyin-enhance
            fcitx-pinyin
            fcitx-punc
            fcitx-quickphrase
            fcitx-remote
            fcitx-sogoupinyin
            fcitx-spell
            fcitx-table
            fcitx-unicode
            fcitx-vk
            fcitx-x11
            fcitx-xim
            fcitx-xkb
            fcitx-xkbdbus

    2.  Found 1 disabled addons:

            fcitx-qw

3.  Addon Libraries:

    All libraries for all addons are found.

4.  User Interface:

    Found 2 enabled user interface addons:

        fcitx-classic-ui
        fcitx-kimpanel-ui

## Input Methods:
1.  Found 2 enabled input methods:

        fcitx-keyboard-us
        sogoupinyin

2.  Default input methods:

    You have a keyboard input method "fcitx-keyboard-us" correctly added as your default input method.

# Log:
1.  `date`:

        Sat Jan  2 11:55:41 AM CST 2021

2.  `~/.config/fcitx/log/`:

        total 4
        -rw-r--r-- 1 rustsnow rustsnow 1843 Jan  2 11:41 crash.log

3.  `~/.config/fcitx/log/crash.log`:

        =========================
        FCITX 4.2.9.7 -- Get Signal No.: 6
        Date: try "date -d @1609558915" if you are using GNU date ***
        ProcessID: 5647
        fcitx(+0x17d6)[0x559b5bdbd7d6]
        /usr/lib/libc.so.6(+0x3d6a0)[0x7f76053896a0]
        /usr/lib/libc.so.6(gsignal+0x145)[0x7f7605389615]
        /usr/lib/libc.so.6(abort+0x116)[0x7f7605372862]
        /usr/lib/libc.so.6(+0x7f5e8)[0x7f76053cb5e8]
        /usr/lib/libc.so.6(+0x8727a)[0x7f76053d327a]
        /usr/lib/libc.so.6(+0x887a3)[0x7f76053d47a3]
        /usr/lib/fcitx/fcitx-sogoupinyin.so(+0x3451c)[0x7f76011af51c]
        /usr/lib/fcitx/fcitx-sogoupinyin.so(+0x3446d)[0x7f76011af46d]
        /usr/lib/fcitx/fcitx-sogoupinyin.so(+0x34399)[0x7f76011af399]
        /usr/lib/fcitx/fcitx-sogoupinyin.so(+0x341b6)[0x7f76011af1b6]
        /usr/lib/fcitx/fcitx-sogoupinyin.so(+0x33c51)[0x7f76011aec51]
        /usr/lib/fcitx/fcitx-sogoupinyin.so(+0x33c2e)[0x7f76011aec2e]
        /usr/lib/fcitx/fcitx-sogoupinyin.so(+0x33c2e)[0x7f76011aec2e]
        /usr/lib/fcitx/fcitx-sogoupinyin.so(+0x33c2e)[0x7f76011aec2e]
        /usr/lib/fcitx/fcitx-sogoupinyin.so(+0x33c2e)[0x7f76011aec2e]
        /usr/lib/fcitx/fcitx-sogoupinyin.so(+0x33c2e)[0x7f76011aec2e]
        /usr/lib/fcitx/fcitx-sogoupinyin.so(+0x3391a)[0x7f76011ae91a]
        /usr/lib/fcitx/fcitx-sogoupinyin.so(+0x345a4)[0x7f76011af5a4]
        /usr/lib/libc.so.6(+0x3fdb7)[0x7f760538bdb7]
        /usr/lib/libc.so.6(+0x3ff5e)[0x7f760538bf5e]
        /usr/lib/libX11.so.6(+0x437ef)[0x7f76048b27ef]
        /usr/lib/libX11.so.6(_XIOError+0x67)[0x7f76048b2b17]
        /usr/lib/libX11.so.6(_XReply+0x433)[0x7f76048b09e3]
        /usr/lib/libX11.so.6(XSync+0x4d)[0x7f76048abf6d]
        /usr/lib/libX11.so.6(XCloseDisplay+0x7d)[0x7f760488d2bd]
        /usr/lib/fcitx/fcitx-sogoupinyin.so(+0x36f6e)[0x7f76011b1f6e]
        /usr/lib/libfcitx-core.so.0(+0x9c97)[0x7f760556dc97]
        /usr/lib/libfcitx-core.so.0(FcitxInstanceRun+0x57)[0x7f760556ddb7]
        fcitx(+0x113e)[0x559b5bdbd13e]
        /usr/lib/libc.so.6(__libc_start_main+0xf2)[0x7f7605374152]
        fcitx(+0x11be)[0x559b5bdbd1be]

最近编辑记录 ggdG (2021-01-02 16:13:48)

离线

#2 2021-01-02 12:07:19

sukanka
会员
所在地: Amoy, China
注册时间: 2020-04-05
帖子: 173
个人网站

Re: [已解决]搜狗拼音出现黑边以及系统动画效果消失(kde)

不清楚,现在好多人都换到 fcitx5了吧,建议你也早日换到 fcitx5

离线

#3 2021-01-02 16:07:18

ggdG
会员
注册时间: 2020-11-16
帖子: 14

Re: [已解决]搜狗拼音出现黑边以及系统动画效果消失(kde)

事实上伴随黑边的还有kde所有动画效果的消失,我用搜索引擎查了一下,发现了有人有同样的情况https://bbs.archlinuxcn.org/viewtopic.php?id=5450,应该是opengl崩溃引起的。
于是我点击系统设置-显示设置-混合器(compositor),发现它提示我opengl崩溃了,开机没自动启用混合器,我在混合器界面把opengl重新启动之后,重启系统就有动画效果了,由于我已经换fcitx5了,没法验证搜狗输入法是否正常,不过我想既然系统动画效果也正常了那么输入法应该也没有黑边了。

最近编辑记录 ggdG (2021-01-02 16:17:43)

离线

页脚