Pzqqt's News Channel
3.22K subscribers
687 photos
26 videos
411 files
4.46K links
Managed by @pzqqt and @pzqqt_bot

This channel will also push some updates news about things that I'm interested in.
Download Telegram
Forwarded from Pzqqt's Bot
Linux's New DRM Panic "Blue Screen of Death" In Action
16 June 2024 - Linux Blue Screen of Death

After being talked about for years of DRM panic handling and coming with a "Blue Screen of Death" solution for DRM/KMS drivers, Linux 6.10 is introducing a new DRM panic handler infrastructure for being able to display a message when a panic occurs. This is especially important for those building a kernel without VT/FBCON support where otherwise viewing the kernel panic message isn't otherwise easily available.

Comments
Melt Kernel v2.8 for marble/marblein
By @pzqqt

Download
Source
XDA

Changelog & Note:
- Too long, see here.

Other notes:
- There are no discussion group, not now and never will be.
- I will reduce the update frequency and no longer release
vx.y.z updates unless there are special circumstances.

About KernelSU:
- Select through the volume keys during the installation process to install the kernel that supports KernelSU.
- If the installer detects that you have installed KernelSU through LKM, there will be no option to ask you whether to select KernelSU.
- Install the KernelSU app v1.0.0 for use with KernelSU.
- We don't recommend using Magisk and KernelSU at the same time. If any problems occur, it's your own responsibility!
- In previous versions of the Melt Kernel, with KernelSU support, there was a ksu suffix in the kernel version. Now it is replaced with a random string to avoid detection by some apps. Please don't be surprised.
更加详细的安装时的选项说明:

通常来说,你遇到的第一个选项是询问你当前的rom是否为MIUI、HyperOS、AOSPA、或基于OSS kernel的rom。安装程序会根据rom的特征来猜测你在使用哪种rom。

请务必正确做出选择,这会影响后续你能看到的选项,选错了的话可能会导致使用过程中遇到各种bug!误操作选错了也没关系,你可以在遇到最后一个选项时选No以终止安装。

- Choose whether to install KernelSU support.

询问你是否安装带有KernelSU支持的Melt内核。根据自己的需要选择。

注意:
1. 如果你是Magisk用户,最好选择No,因为没有任何理由同时使用Magisk和KernelSU。如果你执意同时使用Magisk和KernelSU,出现任何bug都不要向我反馈!
2. 如果你已通过LKM方式安装了KernelSU,你将不会遇到此选项。
3. 如果你打算通过LKM方式安装KernelSU(官方版本或其他非官方版本),请选择No。

- Always enable 360HZ touch sampling rate?

询问你是否总是启用360HZ触控采样率。还是根据自己的需要选择。

清楚以下几点后再决定是否总是启用360HZ触控采样率:
0. 总是启用360HZ触控采样率并不会提升你的日常使用体验,并且会增加耗电量。
1. 已有用户报告启用360HZ触控采样率之后会出现断触的问题。
2. 对于某些AOSP rom,或许系统里已经有了提高触控采样率的开关。如果你选择了Yes,那么即使你在系统中禁用了提高触控采样率的选项,触控采样率仍然为360HZ。
3. Melt内核针对MIUI/HyperOS进行了一些定制,你可以按需启用360HZ触控采样率:在“游戏加速”app中对指定游戏设置“触控滑动跟手性”为3档或3档以上,之后会在该游戏中自动启用360HZ触控采样率。

- Make device show more realistic battery percentage?

询问你是否让系统显示更真实的电量百分比。众所周知,小米默认返回的电量百分比是有一定程度的“虚标”的。

注意:
1. 启用后,你的设备可能会难以把电量充满到100%,经过开发者本人实测,慢速充电时通常会卡在98%,使用原装67w充电器和原装线可以充满到100%,但长时间不拔下电源的话还是会慢慢掉到98%。
2. 启用后,你的设备显示的电量百分比会比之前少2~3%。
3. 效果与类似功能的Magisk/KernelSU模块相同。

- Fix battery usage issue with AOSP rom?

询问你是否修复在AOSP rom中可能会遇到的电池使用情况数据异常的问题。

注意:
0. 已确定rom类型的话将不会遇到该选项(MIUI/HyperOS/AOSPA:默认选No,基于OSS kernel的rom:默认选Yes),其他rom请自行测试。
1. 在系统设置的“电量使用情况”页面中,如果你发现各个耗电项目所消耗电量百分比的数据太小(0.001%左右),或者什么耗电项目都没有显示,那么你应该选择Yes。
2. 在系统设置的“电量使用情况”页面中,如果你发现各个耗电项目所消耗电量百分比的数据太大(1000%左右),那么你应该选择No。

- Use alternative wired headset buttons mode?

询问你是否启用备选的有线耳机按键模式。这会影响有线耳机上的音量加减键的效果。

注意:
0. 已确定rom类型的话将不会遇到该选项(MIUI/HyperOS:No,AOSPA/基于OSS kernel的rom:Yes),其他rom请自行测试。
1. 什么?你说你没有带音量加减键的有线耳机?那你随意选择,这不会影响到其他东西。

- Use open source display drivers?

询问你是否要使用开源的显示驱动。

注意:
0. 只有HyperOS用户才会遇到这个选项(MIUI:默认选No,AOSPA/基于OSS kernel的rom:默认选Yes)。
1. 开源的显示驱动基于最新的clo上游源码,禁用了大量的logspam,并进行了一些优化,理论上性能更好,但不如小米默认的闭源显示驱动稳定(我们已经过长期且大量的测试,可以保证开源的显示驱动也是很稳定的)。
2. 如果你不了解,请选择No。

- Use open source IR driver?

询问你是否要使用开源的红外驱动。

注意:
0. 已确定rom类型的话将不会遇到该选项(MIUI/HyperOS/AOSPA:默认选No,基于OSS kernel的rom:默认选Yes),其他rom请自行测试。
1. 如果安装Melt Kernel之后发现红外遥控不工作,请重刷Melt Kernel并在此选择另一个选项。

- Use open source zram kernel modules?

询问你是否使用开源的zram内核模块。选择Yes的话则使用开源的zram内核模块,选择No的话则使用小米默认的zram内核模块。

注意:
0. 只有MIUI/HyperOS用户才会遇到这个选项(AOSPA/基于OSS kernel的rom:默认选Yes)。
1. 相比于开源的zram内核模块,小米默认的zram内核模块针对MIUI/HyperOS有特殊优化。
2. 如果你依赖于MIUI/HyperOS自带的ZRAM WriteBack特性,请选择No。如果你不了解,也请选择No。

- Disguised the GPU model as Adreno730?

询问你是否伪装GPU型号为Adreno730。

注意:
0. 骁龙8+Gen1的的GPU型号即为Adreno730。
1. 将GPU型号伪装为Adreno730理论上可以在某些手游中解锁更高的画质和帧率选项,但副作用未知。
2. 如果你不了解,请选择No。

- This is the last option. Select Yes to start the installation. Select No to exit the installer.

这是你能看到的最后一个选项。如果你想终止安装,请选择No,否则选择Yes以正式开始安装。
Google already merged 5.10.218 into android12-5.10-lts
Red Hat Proposes Queue PerCPU Work "QPW" For Better Handling Per-CPU Work On RT Linux
23 June 2024 - Queue PerCPU Work

Red Hat engineer Leonardo Bras has laid out a proposal for QPWs, or "Queue PerCPU Work", as a better means of handling per-CPU operations within the Linux kernel especially for real-time (RT) workloads.

Comments

#Phoronix #LinuxKernel
Linux 6.10-rc5 Released With This Kernel Cycle Looking Good So Far
23 June 2024 - Linux 6.10

Linus Torvalds has just tagged Linux 6.10-rc5 as the newest weekly test release leading up to the Linux 6.10 stable release by mid-July.

Comments

#Phoronix #LinuxKernel
一点无聊的科普:
锂电池中的锂离子活性很容易受温度影响,因此你会发现在冬季你的手机电池会不耐用。同时你也会发现在冬季时某安有很多用户吐槽电池健康度掉得快,但在夏季很少看到。
如图,我这台用了一年的Redmi Note 12 Turbo,目前回报的充满容量为4618mAh,在半年前的冬季,这个值曾跌到4300mAh左右。
另外,不要指望买第三方大容量电池配合第三方内核解除锁容,原因有以下几点:
1. 电池和充电管理驱动是名为qti_battery_charger_main.ko的内核模块,而自定义GKI只关注内核本身并不关注内核模块。
2. 我曾尝试过修改qti_battery_charger_main.ko源码并重新编译以解除锁容,但并没有效果,怀疑是小米在电池管理IC那里动了手脚。