Git Product home page Git Product logo

Comments (12)

gengw2000 avatar gengw2000 commented on August 19, 2024 1

已解决,应该是vmware的framebuffer缺少驱动导致的,把这两个配置项启用了就可以正常显示:
CONFIG_DRM_VMWGFX=y
CONFIG_DRM_VMWGFX_FBCON=y

from cjktty-patches.

gengw2000 avatar gengw2000 commented on August 19, 2024

还有两点疑惑:
1). 5.10版本的kernel需要安装cjktty-add-cjk32x32-font-data.patch吗?我安装的是cjktty-5.10.patch
2). 在5.10.46的kernel config中有CONFIG_FONT_16x16_CJK=y这个配置项。但是在5.10.186中没有这个配置项了,不知道是不是这个原因?

from cjktty-patches.

zhmars avatar zhmars commented on August 19, 2024

不能显示中文 具体是啥情况,最好截个图看看

1). 5.10版本的kernel需要安装cjktty-add-cjk32x32-font-data.patch吗?我安装的是cjktty-5.10.patch

默认的字体在高分屏显示下很小,如果想要大字体就需要(包括 5.10 之后的所有版本)

2). 在5.10.46的kernel config中有CONFIG_FONT_16x16_CJK=y这个配置项。但是在5.10.186中没有这个配置项了,不知道是不是这个原因?

看 README,这个选项在 5.10 改名成 CONFIG_FONT_CJK_16x16,能找到这个选项说明原来用的不是 5.10 的补丁

from cjktty-patches.

gengw2000 avatar gengw2000 commented on August 19, 2024

QQ截图20230718144223
汉字显示的都是小方块

from cjktty-patches.

gengw2000 avatar gengw2000 commented on August 19, 2024

5.10安装不了cjktty-add-cjk32x32-font-data.patch这个补丁吧?提示Patch failed。

from cjktty-patches.

gengw2000 avatar gengw2000 commented on August 19, 2024

再更新一下:

现在新发现只有vmware虚拟机里面不能显示中文,物理机是可以正常显示的。这又是什么原因呢?是需要额外的驱动吗?

from cjktty-patches.

zhmars avatar zhmars commented on August 19, 2024

5.10安装不了cjktty-add-cjk32x32-font-data.patch这个补丁吧?提示Patch failed。

5.10 是 20 年发布的版本,还想用的话就用旧的补丁,那时还不叫这个名字,它在这:https://github.com/zhmars/cjktty-patches/tree/0acfa3fdfe900ad15e56b513be70061f86cfe606/font

现在新发现只有vmware虚拟机里面不能显示中文,物理机是可以正常显示的。这又是什么原因呢?是需要额外的驱动吗?

不知道,我现在不是很理解你前后说的话。如果内核有开启 CONFIG_IKCONFIG_PROC,检查下虚拟机和物理机的输出是不是以下这样:

$ zgrep CJK /proc/config.gz
CONFIG_FONT_CJK_16x16=y
CONFIG_FONT_CJK_32x32=y

from cjktty-patches.

gengw2000 avatar gengw2000 commented on August 19, 2024

我的意思是用物理机可以显示中文,vmware虚拟机的console里面的中文显示不了。

from cjktty-patches.

gengw2000 avatar gengw2000 commented on August 19, 2024

安装了cjktty-add-uni32x32-font-data.patch这个补丁也不行,显示还是和上面截图的一样。

from cjktty-patches.

gengw2000 avatar gengw2000 commented on August 19, 2024

QQ截图20230720105250

/proc/config.gz里面是包含CJK选项的。

from cjktty-patches.

sdir avatar sdir commented on August 19, 2024

再更新一下:

现在新发现只有vmware虚拟机里面不能显示中文,物理机是可以正常显示的。这又是什么原因呢?是需要额外的驱动吗?

方便细说一下,物理机后来是启用了什么配置后可以正常显示的吗?目前我也是使用的5.10的内核,在物理机上BIOS为 legacy模式下无法正常显示,而使用UEFI模式启动可以。

from cjktty-patches.

gengw2000 avatar gengw2000 commented on August 19, 2024

物理机一直都可以,不需要启用额外的配置

from cjktty-patches.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.