[Share Experiences] 编译内核5.18.8解决了我好多问题
Tofloor
poster avatar
qq4945286
deepin
2022-07-01 08:11
Author

我是按这个视频流程编译的,方法简单https://www.bilibili.com/video/BV1bV411C7x2?spm_id_from=333.1007.top_right_bar_window_history.content.click&vd_source=73aa510057de513a8d1a99b9b27b9a81

下面是我的配制

截图_选择区域_20220701000310.png

截图_选择区域_20220701000329.png

前面用系统带的内核5.17.3,blender用cycles渲染采用显卡hip,就会直接花屏卡死。把内核升级到5.18.8问题解决。

采用系统带的内核5.15,华硕主板自带的wifi6就没法用,检测到wifi。

升级内核到5.18.8上面的问题全部解决。

而且系统中安装的wine软件和安卓软件也使用正常。

唯一的缺陷,就是开机的时候,进入系统比系统自带的内核要慢那么几秒钟。

Reply Favorite View the author
All Replies
qq4945286
deepin
2022-07-01 08:14
#1

截图_选择区域_20220701001332.png

还有就是声音也不会像前面一样,突然就没了,只有注销再来再有。现在也好了,我是音箱插在显示器接口上的。

Reply View the author
qq4945286
deepin
2022-07-01 08:15
#2

显卡是amd rx6600xt

Reply View the author
jjcui8595
Moderator
2022-07-01 14:27
#3

祝贺🎉以前编译的5.18无法用安卓,现在能用就可以试试了

Reply View the author
qq4945286
deepin
2022-07-01 15:13
#4

我在5.15里面装好的安卓软件,安装5.18.8后都可以正常使用

Reply View the author
qq4945286
deepin
2022-07-01 15:15
#5
jjcui8595

祝贺🎉以前编译的5.18无法用安卓,现在能用就可以试试了

发现安装5.18.8后,唯一的缺陷就是在进入桌面前,会有几秒黑屏后再进入桌面

Reply View the author
qq4945286
deepin
2022-07-01 15:17
#6
jjcui8595

祝贺🎉以前编译的5.18无法用安卓,现在能用就可以试试了

安卓版微信不能用,刚试了一下

Reply View the author
jjcui8595
Moderator
2022-07-01 15:59
#7
qq4945286

安卓版微信不能用,刚试了一下

可能deepin 官方内核专门针对uengine做了优化

Reply View the author
qq4945286
deepin
2022-07-01 16:24
#8
jjcui8595

可能deepin 官方内核专门针对uengine做了优化

可能是的

Reply View the author
qq4945286
deepin
2022-07-01 16:26
#9

如果不喜欢自己的编译的内核,开机时启动到不是自己编译的内核,进入系统后,用下面几条命令删除自己编译的内核

sudo su

rm -rf /boot/vmlinuz*5.18.8*

rm -rf /boot/initrd*5.18.8*

rm -rf /boot/System-map*5.18.8*

 rm -rf /boot/config-*5.18.8*

rm -rf /lib/modules/*5.18.8*

rm -rf /var/lib/initramfs-tools/*5.18.8*/

rm -rf /lib/modules/*5.18.8*/

 update-grub

注:5.18.8表示你要删除的内核版本号

Reply View the author
蔡EEPIN
deepin
2022-07-01 17:40
#10

新硬件还是使用新内核香

Reply View the author
小二,上菜。
deepin
2022-07-31 05:45
#11

视频不能放大看吗?看不到指令

Reply View the author
qq4945286
deepin
2022-07-31 17:39
#12

要升级内核5.18现在简单,但5.18内核不能使用安卓软件。

在源里加上这个源

deb https://community-packages.deepin.com/beige/ beige main commercial community

然后在终端

sudo apt update

但千万不要更新系统,这个源只是用来安装,内核5.18,安装好内核后,一定要到源里把这个加进去的源删除了!!!!!

安装5.18.4内核

sudo apt install linux-image-5.18.4-amd64-desktop-hwe

sudo apt install linux-image-5.18.4-amd64-desktop-hwe-dbg

安装完成后重启一下,内核就是5.18.4了。

记住内核安装好后,第一时间进到源里面去,把加进的源删除或注销了!!!!!!!!

Reply View the author
從心
deepin
2022-08-10 08:57
#13
qq4945286

要升级内核5.18现在简单,但5.18内核不能使用安卓软件。

在源里加上这个源

deb https://community-packages.deepin.com/beige/ beige main commercial community

然后在终端

sudo apt update

但千万不要更新系统,这个源只是用来安装,内核5.18,安装好内核后,一定要到源里把这个加进去的源删除了!!!!!

安装5.18.4内核

sudo apt install linux-image-5.18.4-amd64-desktop-hwe

sudo apt install linux-image-5.18.4-amd64-desktop-hwe-dbg

安装完成后重启一下,内核就是5.18.4了。

记住内核安装好后,第一时间进到源里面去,把加进的源删除或注销了!!!!!!!!

请问怎么删除这个源呢?

Reply View the author
qq4945286
deepin
2022-08-10 16:35
#14
從心

请问怎么删除这个源呢?

到系统的/etc/apt/文件目录里的,右键以管理员的方式打开这个文件sources.list,在里面删除就好了。也就是你怎么添加进去的,就回到原目录删除

Reply View the author
kmy-4q
deepin
2022-08-11 18:59
#15

自己编译也不太难啊,就是时间比较久。https://blog.csdn.net/ibless/article/details/82349507

Reply View the author
lmcbjn
deepin
2022-08-31 23:16
#16
qq4945286

要升级内核5.18现在简单,但5.18内核不能使用安卓软件。

在源里加上这个源

deb https://community-packages.deepin.com/beige/ beige main commercial community

然后在终端

sudo apt update

但千万不要更新系统,这个源只是用来安装,内核5.18,安装好内核后,一定要到源里把这个加进去的源删除了!!!!!

安装5.18.4内核

sudo apt install linux-image-5.18.4-amd64-desktop-hwe

sudo apt install linux-image-5.18.4-amd64-desktop-hwe-dbg

安装完成后重启一下,内核就是5.18.4了。

记住内核安装好后,第一时间进到源里面去,把加进的源删除或注销了!!!!!!!!

为何我按照教程更新安装重启后,还是5.15的内核?

Reply View the author
qq4945286
deepin
2022-09-09 04:57
#17
lmcbjn

为何我按照教程更新安装重启后,还是5.15的内核?

sudo apt install linux-image-5.18.4-amd64-desktop-hwe

sudo apt install linux-image-5.18.4-amd64-desktop-hwe-dbg

这样安装重启还是5.15内核?

Reply View the author
lmcbjn
deepin
2022-09-14 17:02
#18
qq4945286

sudo apt install linux-image-5.18.4-amd64-desktop-hwe

sudo apt install linux-image-5.18.4-amd64-desktop-hwe-dbg

这样安装重启还是5.15内核?

我重新弄之后,升级成功了。谢谢

Reply View the author