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

软件在国产CPU的win10系统下会黑屏,无法使用 #705

Open
1 task done
Kichony opened this issue Oct 24, 2024 · 3 comments
Open
1 task done

软件在国产CPU的win10系统下会黑屏,无法使用 #705

Kichony opened this issue Oct 24, 2024 · 3 comments

Comments

@Kichony
Copy link

Kichony commented Oct 24, 2024

Issues

  • I have browsed through the Issues. 我已浏览过Issues,确定没有重复提问。

Umi-OCR version 程序版本

2.1.0-2.1.4

Windows version 系统版本

win10

OCR plugins Used 使用的OCR插件

PaddleOCR, RapidOCR

Reproduction steps 复现步骤

由于工作需要,在新购置的国产CPU电脑上需要双层转换软件,之前的电脑上都是正常运行的,然后发现在新电脑上,运行之后要过很久很久软件界面才会出来,而且一出来就是黑屏,但是鼠标在屏幕上是可以点击的,感觉是软件能正常运行但是界面是黑的,希望作者大大能解决,2.1.0-2.1.4所有版本都试过了,都是一样的
1
2

Problem screenshots or related files (optional) 问题截图或相关文件(可选)

No response

@hiroi-sora
Copy link
Owner

您好,这种情况感觉与CPU无关,而是显卡(核显)兼容性问题。国产CPU的核显架构可能比较老旧,不支持 OpenGL 的硬件加速,因此无法渲染软件界面。

请参照下述方法,禁用硬件加速:

  1. 用记事本打开 Umi-OCR\UmiOCR-data\.pre_settings 。如果没有此文件,可能要在文件管理器里勾选 显示隐藏的项目
  2. 该文件的内容大概是:
{
    "i18n": "zh_CN",
    "opengl": "AA_UseOpenGLES",
    "server_port": 1224,
    "last_pid": 28952,
    "last_ptime": "1729786049.7964578"
}

将其中的 "opengl": "AA_UseOpenGLES", 一行,修改为 "opengl": "AA_UseSoftwareOpenGL",

也就是:

{
    "i18n": "zh_CN",
    "opengl": "AA_UseSoftwareOpenGL",
    "server_port": 1224,
    "last_pid": 28952,
    "last_ptime": "1729786049.7964578"
}
  1. 保存此文件,重启Umi-OCR,大概率能够正常使用了。

@Kichony
Copy link
Author

Kichony commented Oct 25, 2024

是的,已经解决,谢谢!

@Kichony Kichony closed this as completed Oct 25, 2024
@Kichony
Copy link
Author

Kichony commented Nov 21, 2024

解决后,又出现了问题:
在添加文件后,整个软件开始显示异常,如图
QQ20241121-161915

开始任务后,再次显示异常,如图
QQ20241121-161946

@Kichony Kichony reopened this Nov 21, 2024
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

2 participants