Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

登录界面与面板的部分文字显示为方框 #58

Open
syvshc opened this issue Aug 31, 2021 · 10 comments
Open

登录界面与面板的部分文字显示为方框 #58

syvshc opened this issue Aug 31, 2021 · 10 comments

Comments

@syvshc
Copy link

syvshc commented Aug 31, 2021

系统为 Arch Linux, 桌面环境为 KDE
image
一部分字体是好的,另一部分残缺,下面是对比
image
我将 ~/.deepinwine/Deepin-QQ/drive_c/windows/Fonts/ 中的字体更换为了 sarasa-regular.ttc 后问题依然存在
image

@vufa
Copy link
Owner

vufa commented Aug 31, 2021

@syvshc
Copy link
Author

syvshc commented Aug 31, 2021

您好,我看了 vufa/deepin-wine-tim-arch#121 (comment) 对其中的一些步骤有疑问。

首先我卸载了之前安装的 deepin-wine-qq,重新使用 yay -S deepin-wine-qq 安装,并且进行了 wine 中的 QQ 的安装。然后我使用 yay -S deepin-wine5 从 AUR 安装了 deepin-wine5,在操作

拷贝一份 /opt/apps/com.qq.im.deepin/files/run.sh

时,我运行了

sudo cp /opt/apps/com.qq.im.deepin/files/run.sh ~

然后修改 ~/run.sh 中的

export APPRUN_CMD="deepin-wine6-stable"

export APPRUN_CMD="deepin-wine5"

修改后保存,并

rm -rf ~/.deepinwine/Deepin-QQ

删除了本地安装目录。再用 bash 运行

sudo ~/run.sh

输出为

$ sudo ./run.sh                 
Run Deepin-QQ 9.3.2deepin20 c:/Program Files/Tencent/QQ/Bin/QQ.exe
run Deepin-QQ progress pid 
总用量 0
lrwxrwxrwx 1 root root 10  8月 31 21:03 c: -> ../drive_c
lrwxrwxrwx 1 root root 10  8月 31 21:02 com1 -> /dev/ttyS0
lrwxrwxrwx 1 root root 10  8月 31 21:02 com10 -> /dev/ttyS9
lrwxrwxrwx 1 root root 11  8月 31 21:02 com11 -> /dev/ttyS10
lrwxrwxrwx 1 root root 11  8月 31 21:02 com12 -> /dev/ttyS11
lrwxrwxrwx 1 root root 11  8月 31 21:02 com13 -> /dev/ttyS12
lrwxrwxrwx 1 root root 11  8月 31 21:02 com14 -> /dev/ttyS13
lrwxrwxrwx 1 root root 11  8月 31 21:02 com15 -> /dev/ttyS14
lrwxrwxrwx 1 root root 11  8月 31 21:02 com16 -> /dev/ttyS15
lrwxrwxrwx 1 root root 11  8月 31 21:02 com17 -> /dev/ttyS16
lrwxrwxrwx 1 root root 11  8月 31 21:02 com18 -> /dev/ttyS17
lrwxrwxrwx 1 root root 11  8月 31 21:02 com19 -> /dev/ttyS18
lrwxrwxrwx 1 root root 10  8月 31 21:02 com2 -> /dev/ttyS1
lrwxrwxrwx 1 root root 11  8月 31 21:02 com20 -> /dev/ttyS19
lrwxrwxrwx 1 root root 11  8月 31 21:02 com21 -> /dev/ttyS20
lrwxrwxrwx 1 root root 11  8月 31 21:02 com22 -> /dev/ttyS21
lrwxrwxrwx 1 root root 11  8月 31 21:02 com23 -> /dev/ttyS22
lrwxrwxrwx 1 root root 11  8月 31 21:02 com24 -> /dev/ttyS23
lrwxrwxrwx 1 root root 11  8月 31 21:02 com25 -> /dev/ttyS24
lrwxrwxrwx 1 root root 11  8月 31 21:02 com26 -> /dev/ttyS25
lrwxrwxrwx 1 root root 11  8月 31 21:02 com27 -> /dev/ttyS26
lrwxrwxrwx 1 root root 11  8月 31 21:02 com28 -> /dev/ttyS27
lrwxrwxrwx 1 root root 11  8月 31 21:02 com29 -> /dev/ttyS28
lrwxrwxrwx 1 root root 10  8月 31 21:02 com3 -> /dev/ttyS2
lrwxrwxrwx 1 root root 11  8月 31 21:02 com30 -> /dev/ttyS29
lrwxrwxrwx 1 root root 11  8月 31 21:02 com31 -> /dev/ttyS30
lrwxrwxrwx 1 root root 11  8月 31 21:02 com32 -> /dev/ttyS31
lrwxrwxrwx 1 root root 10  8月 31 21:02 com4 -> /dev/ttyS3
lrwxrwxrwx 1 root root 10  8月 31 21:02 com5 -> /dev/ttyS4
lrwxrwxrwx 1 root root 10  8月 31 21:02 com6 -> /dev/ttyS5
lrwxrwxrwx 1 root root 10  8月 31 21:02 com7 -> /dev/ttyS6
lrwxrwxrwx 1 root root 10  8月 31 21:02 com8 -> /dev/ttyS7
lrwxrwxrwx 1 root root 10  8月 31 21:02 com9 -> /dev/ttyS8
lrwxrwxrwx 1 root root  8  8月 31 21:02 d:: -> /dev/sr0
lrwxrwxrwx 1 root root 31  8月 31 21:02 e: -> '/run/media/syvshc/Seagate Basic'
lrwxrwxrwx 1 root root  9  8月 31 21:02 e:: -> /dev/sdc1
lrwxrwxrwx 1 root root  8  8月 31 21:02 f:: -> /dev/sdc
lrwxrwxrwx 1 root root  5  8月 31 21:03 y: -> /root
lrwxrwxrwx 1 root root  1  8月 31 21:03 z: -> /
CallApp Deepin-QQ arg count 1: c:/Program Files/Tencent/QQ/Bin/QQ.exe
2021年 08月 31日 星期二 21:03:39 CST:kill QQ.exe block
cat: /proc/138229/maps: 没有那个文件或目录
cat: /proc/138229/maps: 没有那个文件或目录
2021年 08月 31日 星期二 21:03:40 CST:tag bottle: /root/.deepinwine/Deepin-QQ
2021年 08月 31日 星期二 21:03:40 CST:active bottles: /root/.deepinwine/Deepin-QQ
/root/.deepinwine/Deepin-QQ/drive_c/Program Files/Tencent/QQ/Bin

然后我再从菜单栏里搜索 QQ 并运行,问题依然存在。请问是我哪一步操作的不正确吗?

@vufa
Copy link
Owner

vufa commented Aug 31, 2021

不要用 sudo 命令运行脚本,这有风险且会修改文件权限;在删除 ~/.deepinwine/Deepin-QQ 目录后,重启一下系统再运行修改后的 run.sh试试

@syvshc
Copy link
Author

syvshc commented Aug 31, 2021

不要用 sudo 命令运行脚本,这有风险且会修改文件权限;在删除 ~/.deepinwine/Deepin-QQ 目录后,重启一下系统再运行修改后的 run.sh试试

好的,我尝试一下

@syvshc
Copy link
Author

syvshc commented Aug 31, 2021

您好,我再次从头尝试,没有使用 sudo 运行脚本,这次的输出为

$ ~/run.sh
Run Deepin-QQ 9.3.2deepin20 c:/Program Files/Tencent/QQ/Bin/QQ.exe
run Deepin-QQ progress pid 
总用量 0
lrwxrwxrwx 1 syvshc syvshc 10  8月 31 22:07 c: -> ../drive_c
lrwxrwxrwx 1 syvshc syvshc 10  8月 31 22:06 com1 -> /dev/ttyS0
lrwxrwxrwx 1 syvshc syvshc 10  8月 31 22:06 com10 -> /dev/ttyS9
lrwxrwxrwx 1 syvshc syvshc 11  8月 31 22:06 com11 -> /dev/ttyS10
lrwxrwxrwx 1 syvshc syvshc 11  8月 31 22:06 com12 -> /dev/ttyS11
lrwxrwxrwx 1 syvshc syvshc 11  8月 31 22:06 com13 -> /dev/ttyS12
lrwxrwxrwx 1 syvshc syvshc 11  8月 31 22:06 com14 -> /dev/ttyS13
lrwxrwxrwx 1 syvshc syvshc 11  8月 31 22:06 com15 -> /dev/ttyS14
lrwxrwxrwx 1 syvshc syvshc 11  8月 31 22:06 com16 -> /dev/ttyS15
lrwxrwxrwx 1 syvshc syvshc 11  8月 31 22:06 com17 -> /dev/ttyS16
lrwxrwxrwx 1 syvshc syvshc 11  8月 31 22:06 com18 -> /dev/ttyS17
lrwxrwxrwx 1 syvshc syvshc 11  8月 31 22:06 com19 -> /dev/ttyS18
lrwxrwxrwx 1 syvshc syvshc 10  8月 31 22:06 com2 -> /dev/ttyS1
lrwxrwxrwx 1 syvshc syvshc 11  8月 31 22:06 com20 -> /dev/ttyS19
lrwxrwxrwx 1 syvshc syvshc 11  8月 31 22:06 com21 -> /dev/ttyS20
lrwxrwxrwx 1 syvshc syvshc 11  8月 31 22:06 com22 -> /dev/ttyS21
lrwxrwxrwx 1 syvshc syvshc 11  8月 31 22:06 com23 -> /dev/ttyS22
lrwxrwxrwx 1 syvshc syvshc 11  8月 31 22:06 com24 -> /dev/ttyS23
lrwxrwxrwx 1 syvshc syvshc 11  8月 31 22:06 com25 -> /dev/ttyS24
lrwxrwxrwx 1 syvshc syvshc 11  8月 31 22:06 com26 -> /dev/ttyS25
lrwxrwxrwx 1 syvshc syvshc 11  8月 31 22:06 com27 -> /dev/ttyS26
lrwxrwxrwx 1 syvshc syvshc 11  8月 31 22:06 com28 -> /dev/ttyS27
lrwxrwxrwx 1 syvshc syvshc 11  8月 31 22:06 com29 -> /dev/ttyS28
lrwxrwxrwx 1 syvshc syvshc 10  8月 31 22:06 com3 -> /dev/ttyS2
lrwxrwxrwx 1 syvshc syvshc 11  8月 31 22:06 com30 -> /dev/ttyS29
lrwxrwxrwx 1 syvshc syvshc 11  8月 31 22:06 com31 -> /dev/ttyS30
lrwxrwxrwx 1 syvshc syvshc 11  8月 31 22:06 com32 -> /dev/ttyS31
lrwxrwxrwx 1 syvshc syvshc 10  8月 31 22:06 com4 -> /dev/ttyS3
lrwxrwxrwx 1 syvshc syvshc 10  8月 31 22:06 com5 -> /dev/ttyS4
lrwxrwxrwx 1 syvshc syvshc 10  8月 31 22:06 com6 -> /dev/ttyS5
lrwxrwxrwx 1 syvshc syvshc 10  8月 31 22:06 com7 -> /dev/ttyS6
lrwxrwxrwx 1 syvshc syvshc 10  8月 31 22:06 com8 -> /dev/ttyS7
lrwxrwxrwx 1 syvshc syvshc 10  8月 31 22:06 com9 -> /dev/ttyS8
lrwxrwxrwx 1 syvshc syvshc  8  8月 31 21:53 d:: -> /dev/sr0
lrwxrwxrwx 1 syvshc syvshc  8  8月 31 21:54 e:: -> /dev/sdc
lrwxrwxrwx 1 syvshc syvshc  9  8月 31 21:54 f:: -> /dev/sdc1
lrwxrwxrwx 1 syvshc syvshc 12  8月 31 22:07 y: -> /home/syvshc
lrwxrwxrwx 1 syvshc syvshc  1  8月 31 22:07 z: -> /
CallApp Deepin-QQ arg count 1: c:/Program Files/Tencent/QQ/Bin/QQ.exe
2021年 08月 31日 星期二 22:07:27 CST:kill QQ.exe block
2021年 08月 31日 星期二 22:07:27 CST:No wine process found
/home/syvshc/.deepinwine/Deepin-QQ/drive_c/Program Files/Tencent/QQ/Bin

# syvshc @ Syvshc in ~ [22:07:27] 
$ wine version: 5.0
info:  Game: QQ.exe
info:  DXVK: v1.7
info:  Built-in extension providers:
info:    Win32 WSI
info:    OpenVR
warn:  OpenVR: Failed to locate module
info:  Required Vulkan extension VK_KHR_surface not supported
err:   DxvkInstance: Failed to create instance
err:   D3D10CreateDevice: Failed to create a DXGI factory
info:  Game: QQ.exe
info:  DXVK: v1.7
info:  Built-in extension providers:
info:    Win32 WSI
info:    OpenVR
warn:  OpenVR: Failed to locate module
info:  Required Vulkan extension VK_KHR_surface not supported
err:   DxvkInstance: Failed to create instance
err:   D3D10CreateDevice: Failed to create a DXGI factory
unable to open database file
info:  Game: QQExternal.exe
info:  DXVK: v1.7
info:  Built-in extension providers:
info:    Win32 WSI
info:    OpenVR
warn:  OpenVR: Failed to locate module
info:  Required Vulkan extension VK_KHR_surface not supported
err:   DxvkInstance: Failed to create instance
err:   D3D10CreateDevice: Failed to create a DXGI factory

可以看到使用的是 5.0 的 wine,在安装后的第一次启动字体没有问题,但是运行非常卡顿,于是我重新启动了 QQ,上面的输出为这一次启动的输出,字体问题重新出现了
image

@vufa
Copy link
Owner

vufa commented Sep 1, 2021

你是amd cpu?安装 lib32-vulkan-radeon 试试

@syvshc
Copy link
Author

syvshc commented Sep 1, 2021

你是amd cpu?安装 lib32-vulkan-radeon 试试

不是的, 我在提问的图里有提到我的 CPU 是 Intel i5-7300HQ

@vufa
Copy link
Owner

vufa commented Sep 1, 2021

可能因为是nvidia显卡,尝试安装 lib32-nvidia-utils

sudo pacman -S lib32-nvidia-utils

@syvshc
Copy link
Author

syvshc commented Sep 1, 2021

可能因为是nvidia显卡,尝试安装 lib32-nvidia-utils

sudo pacman -S lib32-nvidia-utils

我安装了 lib32-nvidia-utils 并重新登录了账户,问题依然存在。感谢您的回复

@choyy
Copy link

choyy commented Oct 13, 2021

拷贝一份Windows的simsun.ttc到~/.deepinwine/Deepin-QQ/drive_c/windows/Fonts下试试?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants