您尚未登录。

#1 2015-10-19 08:50:17

zplinux
会员
所在地: 江西省
注册时间: 2014-10-12
帖子: 187

[已解决]Mate桌面,屏幕休眠后出现撕裂重影。

Arch 64位,Mate桌面。
在屏幕保护程序设定中已经取消了自动激活选项,
8c19f17f8259c2942a6f79341cc0d456de8586.png
但实际使用过程中,鼠标键盘没有动作(如:观看视频)的情况下,大约10分钟屏幕会全黑,晃动鼠标后,屏幕有时候会出现如下撕裂重影的现象。
重新启动计算机,撕裂现象就会消失,一切正常。只要屏幕进入休眠再唤醒,有时候正常,有时候异常。
27d1e2b84a9572c6b375cbce39a1e9a957e686.jpg
安装了 xf86-video-ati 驱动,如下:
132aca3270ca216cc6496934e68e36ab7fa462.png

请问:
1. 如何关闭系统休眠或屏幕休眠?
2. 这种屏幕撕裂重影的情况,可否通过某些设定来避免?

最近编辑记录 zplinux (2015-10-19 20:44:42)


Archlinux + DWM,喜欢 K.I.S.S 理念!

离线

#2 2015-10-19 08:52:00

zplinux
会员
所在地: 江西省
注册时间: 2014-10-12
帖子: 187

Re: [已解决]Mate桌面,屏幕休眠后出现撕裂重影。

补充一下, 出现撕裂重影的区域固定, 每次出现都是图示的这个自上而下的条形区域, 从最顶端到最低端。
其他区域的显示完整正常。


Archlinux + DWM,喜欢 K.I.S.S 理念!

离线

#3 2015-10-19 12:15:13

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,491
个人网站

Re: [已解决]Mate桌面,屏幕休眠后出现撕裂重影。

黑屏和屏幕保护是分开的。用 xset 或者 xorg.conf 配置项应该可以禁用。

离线

#4 2015-10-19 14:32:57

zplinux
会员
所在地: 江西省
注册时间: 2014-10-12
帖子: 187

Re: [已解决]Mate桌面,屏幕休眠后出现撕裂重影。

百合仙子 说:

……

谢谢仙子的热心解答, 我查阅了一些资料, 依然看得一知半解。

$ xset -q
Keyboard Control:
  auto repeat:  on    key click percent:  0    LED mask:  00000000
  XKB indicators:
    00: Caps Lock:   off    01: Num Lock:    off    02: Scroll Lock: off
    03: Compose:     off    04: Kana:        off    05: Sleep:       off
    06: Suspend:     off    07: Mute:        off    08: Misc:        off
    09: Mail:        off    10: Charging:    off    11: Shift Lock:  off
    12: Group 2:     off    13: Mouse Keys:  off
  auto repeat delay:  500    repeat rate:  30
  auto repeating keys:  00ffffffdffffbbf
                        fadfffefffedffff
                        9fffffffffffffff
                        fff7ffffffffffff
  bell percent:  50    bell pitch:  400    bell duration:  100
Pointer Control:
  acceleration:  2/1    threshold:  4
Screen Saver:
  prefer blanking:  yes    allow exposures:  yes
  timeout:  0    cycle:  0
Colors:
  default colormap:  0x20    BlackPixel:  0x0    WhitePixel:  0xffffff
Font Path:
  /usr/share/fonts/misc/,/usr/share/fonts/TTF/,/usr/share/fonts/OTF/,/usr/share/fonts/Type1/,built-ins
DPMS (Energy Star):
  Standby: 0    Suspend: 0    Off: 0
  DPMS is Enabled
  Monitor is On

根据网上检索的结果,我执行了下面两条命令,
$ xset s 0
$ xset -dpms

之后 DPMS 显示为关闭状态,其余设置似乎没有变化。
查询结果如下:

$ xset -q
Keyboard Control:
  auto repeat:  on    key click percent:  0    LED mask:  00000000
  XKB indicators:
    00: Caps Lock:   off    01: Num Lock:    off    02: Scroll Lock: off
    03: Compose:     off    04: Kana:        off    05: Sleep:       off
    06: Suspend:     off    07: Mute:        off    08: Misc:        off
    09: Mail:        off    10: Charging:    off    11: Shift Lock:  off
    12: Group 2:     off    13: Mouse Keys:  off
  auto repeat delay:  500    repeat rate:  30
  auto repeating keys:  00ffffffdffffbbf
                        fadfffefffedffff
                        9fffffffffffffff
                        fff7ffffffffffff
  bell percent:  50    bell pitch:  400    bell duration:  100
Pointer Control:
  acceleration:  2/1    threshold:  4
Screen Saver:
  prefer blanking:  yes    allow exposures:  yes
  timeout:  0    cycle:  0
Colors:
  default colormap:  0x20    BlackPixel:  0x0    WhitePixel:  0xffffff
Font Path:
  /usr/share/fonts/misc/,/usr/share/fonts/TTF/,/usr/share/fonts/OTF/,/usr/share/fonts/Type1/,built-ins
DPMS (Energy Star):
  Standby: 0    Suspend: 0    Off: 0
  DPMS is Disabled

请问这样的操作是否正确, 还需要进行其他设定么?


Archlinux + DWM,喜欢 K.I.S.S 理念!

离线

#5 2015-10-19 15:52:20

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,491
个人网站

Re: [已解决]Mate桌面,屏幕休眠后出现撕裂重影。

不知道,我也没弄明白。你有兴趣仔细研究研究,完了之后分享一下成果吧=w=

离线

#6 2015-10-19 20:57:37

zplinux
会员
所在地: 江西省
注册时间: 2014-10-12
帖子: 187

Re: [已解决]Mate桌面,屏幕休眠后出现撕裂重影。

百合仙子 说:

……

谢谢仙子!
我通过尝试,找到了一个并不是最佳但有效的办法:

编辑 ~/.xinitrc,增加如下行:
exec xset -dpms s 0 0 s noblank s noexpose &

具体参数的意义可以 man xset 查看。
通过这样设定,关闭了“屏幕保护”和“能源之星”设定,计算机在空闲时屏幕常亮,不会进入休眠黑屏。

$ xset q
Keyboard Control:
  auto repeat:  on    key click percent:  0    LED mask:  00000000
  XKB indicators:
    00: Caps Lock:   off    01: Num Lock:    off    02: Scroll Lock: off
    03: Compose:     off    04: Kana:        off    05: Sleep:       off
    06: Suspend:     off    07: Mute:        off    08: Misc:        off
    09: Mail:        off    10: Charging:    off    11: Shift Lock:  off
    12: Group 2:     off    13: Mouse Keys:  off
  auto repeat delay:  500    repeat rate:  30
  auto repeating keys:  00ffffffdffffbbf
                        fadfffefffedffff
                        9fffffffffffffff
                        fff7ffffffffffff
  bell percent:  50    bell pitch:  400    bell duration:  100
Pointer Control:
  acceleration:  2/1    threshold:  4
Screen Saver:
  prefer blanking:  no    allow exposures:  no
  timeout:  0    cycle:  0
Colors:
  default colormap:  0x20    BlackPixel:  0x0    WhitePixel:  0xffffff
Font Path:
  /usr/share/fonts/misc/,/usr/share/fonts/TTF/,/usr/share/fonts/OTF/,/usr/share/fonts/Type1/,built-ins
DPMS (Energy Star):
  Standby: 0    Suspend: 0    Off: 0
  DPMS is Disabled

重新启动计算机后,可以看到,Screen Saver、DPMS (Energy Star) 的设定均已关闭。

为什么说这不是最佳办法呢,通过查资料发现,正确的办法是通过 xorg.conf 来配置,
而 配置文件可以通过 # Xorg -configure 来生成,之后在生成的配置文件进行修改后,放在如下路径的任何一个即可:
/etc/X11/xorg.conf
/etc/xorg.conf
/usr/etc/X11/xorg.conf
/usr/lib/X11/xorg.conf
但实际操作的时候,我执行 # Xorg -configure 命令总是报错,
看英文文档一知半解的,也找不到问题出在哪,不得已只好退而求次,采用了上述办法来实现。

如果有朋友知道 xorg.conf 的写法, 请告之, 谢谢!


Archlinux + DWM,喜欢 K.I.S.S 理念!

离线

#7 2015-10-20 12:21:33

CasanovaLee
会员
注册时间: 2015-08-25
帖子: 34

Re: [已解决]Mate桌面,屏幕休眠后出现撕裂重影。

突然发现你安装了QQ 安装包能发给我吗??

离线

#8 2015-10-20 13:01:03

zplinux
会员
所在地: 江西省
注册时间: 2014-10-12
帖子: 187

Re: [已解决]Mate桌面,屏幕休眠后出现撕裂重影。

CasanovaLee 说:

……

我没有保留安装包, 是通过 yaourt 安装的。

$ yaourt -S wine-qqintl

Archlinux + DWM,喜欢 K.I.S.S 理念!

离线

#9 2015-10-20 13:08:38

zplinux
会员
所在地: 江西省
注册时间: 2014-10-12
帖子: 187

Re: [已解决]Mate桌面,屏幕休眠后出现撕裂重影。

奇怪了, 我怎么无法构建了呢?
还打算构建一个放共享的, 莫非源上的包 wine-qqintl_0.1.3-2_i386.deb 删除掉了?
提示“The requested URL returned error: 404 Not Found”错误。

$ yaourt -S wine-qqintl

==> 从 AUR 下载 wine-qqintl 的 PKGBUILD 文件
x .AURINFO
x .SRCINFO
x PKGBUILD
wine-qqintl 0.1.3-2  (2015-06-10 11:47)
(Unsupported 中的包:潜在危险)
==> 编辑 PKGBUILD ? [Y/n] ("A" 忽略)
==> ----------------------------
==> n

==> wine-qqintl 依赖关系:
 - lib32-gtk2 (已安装)
 - lib32-lcms (已安装)
 - lib32-ncurses (已安装)
 - lib32-alsa-plugins (已安装)
 - lib32-libsm (已安装)
 - lib32-libpng12 (已安装)


==> 继续构建 wine-qqintl ?[Y/n]
==> -----------------------
==> 
==> 构建和安装软件包
==> 正在创建软件包:wine-qqintl 0.1.3-2 (2015年 10月 20日 星期二 13:05:31 GMT)
==> 正在检查运行时依赖关系...
==> 正在检查编译时依赖关系
==> 获取源代码......
  -> 正在下载 wine-qqintl_0.1.3-2_i386.deb...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (22) The requested URL returned error: 404 Not Found
==> 错误: 无法下载 wine-qqintl_0.1.3-2_i386.deb
    正在放弃...
==> 错误:Makepkg 无法构建 wine-qqintl.
==> 重新构建 wine-qqintl ?[y/N]
==> -----------------------
==> 

Archlinux + DWM,喜欢 K.I.S.S 理念!

离线

#10 2015-10-20 13:24:22

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,491
个人网站

Re: [已解决]Mate桌面,屏幕休眠后出现撕裂重影。

看起来是没啦。对了,我近期准备再折腾一个 QQ7.5Light 的包。

离线

#11 2015-10-20 23:26:50

zplinux
会员
所在地: 江西省
注册时间: 2014-10-12
帖子: 187

Re: [已解决]Mate桌面,屏幕休眠后出现撕裂重影。

百合仙子 说:

……

这是个好消息啊, 期待ing!


Archlinux + DWM,喜欢 K.I.S.S 理念!

离线

#12 2015-10-21 16:48:55

CasanovaLee
会员
注册时间: 2015-08-25
帖子: 34

Re: [已解决]Mate桌面,屏幕休眠后出现撕裂重影。

错误:未找到目标:lib32-ncurses
错误:未找到目标:lib32-alsa-plugins
错误:未找到目标:lib32-lcms
错误:未找到目标:lib32-libsm
错误:未找到目标:lib32-gtk2

yaourt -S wine-qqintl

==> 从 AUR 下载 wine-qqintl 的 PKGBUILD 文件
x .AURINFO
x .SRCINFO
x PKGBUILD
gniuk commented on 2014-10-21 07:34 
Deepin up go !

libertas commented on 2015-01-15 13:51 
It works but without any voice.

bubbles commented on 2015-10-08 10:57 (last edited on 2015-10-08 11:05 by bubbles) 
地址已经移动到
http://packages.linuxdeepin.com/enterprise/pool/non-free/d/deepinwine-qqintl/wine-qqintl_0.1.3-2_i386.deb

wine-qqintl 0.1.3-2  (2015-06-10 11:47)
(Unsupported 中的包:潜在危险)
==> 编辑 PKGBUILD ? [Y/n] ("A" 忽略)
==> ----------------------------
==> n

==> wine-qqintl 依赖关系:
 - lib32-gtk2 (从 AUR 构建)
 - lib32-lcms (从 AUR 构建)
 - lib32-ncurses (从 AUR 构建)
 - lib32-alsa-plugins (从 AUR 构建)
 - lib32-libsm (从 AUR 构建)
 - lib32-libpng12 (软件包已找到)


==> 继续构建 wine-qqintl ?[Y/n]
==> -----------------------
==> 
==> 构建和安装软件包
==> 为 wine-qqintl 安装或者是构建缺失的依赖关系:
错误:未找到目标:lib32-ncurses
错误:未找到目标:lib32-alsa-plugins
错误:未找到目标:lib32-lcms
错误:未找到目标:lib32-libsm
错误:未找到目标:lib32-gtk2
==> 重新构建 wine-qqintl ?[y/N]

最近编辑记录 CasanovaLee (2015-10-21 17:17:29)

离线

#13 2015-10-21 17:50:05

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,491
个人网站

Re: [已解决]Mate桌面,屏幕休眠后出现撕裂重影。

CasanovaLee: 你没有开 multilib。

离线

#14 2015-10-21 18:54:14

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,491
个人网站

Re: [已解决]Mate桌面,屏幕休眠后出现撕裂重影。

QQLite 7.5 的 wine prefix(测试版): https://lilyshare.b0.upaiyun.com/binary/QQ7.5Light.7z (签名)。请在此回报问题。

离线

#15 2015-10-22 09:40:47

CasanovaLee
会员
注册时间: 2015-08-25
帖子: 34

Re: [已解决]Mate桌面,屏幕休眠后出现撕裂重影。

百合仙子 说:

CasanovaLee: 你没有开 multilib。

开 multilib ??
求指教

离线

页脚