[Share Experiences] 使用 MateBook X 一段时间的心得
Tofloor
poster avatar
bbbear2002
deepin
2023-07-06 18:28
Author

大家好,最近我使用 MateBook X 安装 Deepin V23 Beta 系统,感觉还是不错的,把这段时间的使用心得跟大家分享一下。包括以下几个方面:

  1. 视频硬件解码;
  2. 蓝牙耳机 LDAC 支持;
  3. Steam 安装;
  4. 三指拖拽的实现;
  5. 科研软件 Octave、Zotero、AlphaPlot 的安装;
  6. 扬声器重低音的支持;
  7. 其他。
Reply Favorite View the author
All Replies
bbbear2002
deepin
2023-07-06 18:35
#1
  1. 视频硬件解码

首先安装 vainfo,intel-media-va-driver,intel-gpu-tools 软件包;

然后安装 firefox;

打开 firefox,在浏览器栏输入 about:config;

搜索 vaapi,启用;

搜索 acceleration,在 acceleration-force enabled 启用;

搜索 webrender.all,启用;

搜索 vpx,除了 vpx.mp3 和 mediadata 两个其他全部停用。

编辑 gedit ~/.profile, 加入两行

export MOZ_DISABLE_RDD_SANDBOX=1
export MOZ_X11_EGL=1

重启系统后再打开 firefox,打开抖音,在终端中输入 sudo intel_gpu_top;

如果出现两条杠,说明硬解码成功了。

参考:https://ubuntuhandbook.org/index.php/2021/08/enable-hardware-video-acceleration-va-api-for-firefox-in-ubuntu-20-04-18-04-higher/

Reply View the author
阿尼樱奈奈
Moderator
2023-07-06 18:36
#2
bbbear2002
  1. 视频硬件解码

首先安装 vainfo,intel-media-va-driver,intel-gpu-tools 软件包;

然后安装 firefox;

打开 firefox,在浏览器栏输入 about:config;

搜索 vaapi,启用;

搜索 acceleration,在 acceleration-force enabled 启用;

搜索 webrender.all,启用;

搜索 vpx,除了 vpx.mp3 和 mediadata 两个其他全部停用。

编辑 gedit ~/.profile, 加入两行

export MOZ_DISABLE_RDD_SANDBOX=1
export MOZ_X11_EGL=1

重启系统后再打开 firefox,打开抖音,在终端中输入 sudo intel_gpu_top;

如果出现两条杠,说明硬解码成功了。

参考:https://ubuntuhandbook.org/index.php/2021/08/enable-hardware-video-acceleration-va-api-for-firefox-in-ubuntu-20-04-18-04-higher/

like

Reply View the author
bbbear2002
deepin
2023-07-06 18:36
#3
  1. 蓝牙耳机 LDAC 支持

安装 pulseaudio-mobule-bt 模块,根据这个帖子 https://github.com/EHfive/pulseaudio-modules-bt。pulseaudio 15 应该默认支持 LDAC,这可能是 V23 的 bug,在等待修复之前可以先安装这个模块,麦克风的话不能使用耳机的,只能用电脑自带的。

Reply View the author
bbbear2002
deepin
2023-07-06 18:37
#4
  1. steam 安装

据测试源内的和 snap 商店的都不能安装,flatpak 可以,感觉还是不错的,游戏比 mac 平台的好像还多一些,有 vulkan 的助力游戏表现也非常不错,听说效率比 directX 要好。

Reply View the author
bbbear2002
deepin
2023-07-06 18:43
#5

libinput-three-finger-drag.zip

  1. 三指拖拽的实现

下载上述附件,这是我根据 https://github.com/marsqing/libinput-three-finger-drag 自己编译的 0.2 版。首先安装包 libinput-tools 和 libxdo-dev,然后编辑系统自带的手势文件 sudo gedit /usr/share/dde-daemon/gesture.json,把三指的手势都去掉以免误操作。然后在终端中输入 sudo ./libinput-three-finger-drag 4.0,其中 4.0 是加速度倍数可以自己调节。

Reply View the author
babyfengfjx
Super Moderator
CQA
2023-07-06 18:50
#6

看样子对你这个硬件适配还可以。

Reply View the author
bbbear2002
deepin
2023-07-06 19:11
#7

libgslcblas0_2.5+dfsg-6build1_amd64.zip

libgsl23_2.5+dfsg-6build1_amd64.zip

  1. 科研软件的安装

Octave、Zotero 可以从源直接安装。AlphaPlot 科研绘图软件可以在星火商店安装,需要两个额外的包这里可以下载。

Reply View the author
bbbear2002
deepin
2023-07-06 19:13
#8
  1. 扬声器重低音的支持

在终端中打开 alsamixer,把所有的输出都调到最大就可以了,注意如果有mm 的表示该通道已静音,需要按 m 打开。这样就可以驱动电脑的四个喇叭,实现重低音。

Reply View the author
bbbear2002
deepin
2023-07-06 19:14
#9
  1. 其他

一些 steam 没有的小游戏可以通过安装麟卓软件,再安装 apk 的包解决。

Reply View the author
W2J
deepin
2023-07-06 20:18
#10

firefox为什么是 关闭沙盒并打开X11_EGL,

请问沙盒和3D有关联影响吗?

Reply View the author
晚秋(lateautumn)
Moderator
2023-07-06 20:42
#11

我也一直用V23,感觉越来越稳定了,越来越好用了。

Reply View the author
deepin_xiaoqian
deepin testing team
2023-07-07 01:07
#12

每一项都可以单独写一个帖子进行讨论或分享了

like

Reply View the author
bbbear2002
deepin
2023-07-09 17:25
#13
W2J

firefox为什么是 关闭沙盒并打开X11_EGL,

请问沙盒和3D有关联影响吗?

不太清楚,我是根据上面那个网站一步步设置的,可以硬解

Reply View the author
bbbear2002
deepin
2023-07-09 17:26
#14
babyfengfjx

看样子对你这个硬件适配还可以。

对的,6.1 内核以上对硬件的支持更好了,目前就缺一个指纹解锁,其他的好像没什么问题

Reply View the author
babyfengfjx
Super Moderator
CQA
2023-07-10 17:58
#15

指纹的话,目前也就适配了一个ID的:指纹适配信息

Reply View the author