YomiNinja
YomiNinja copied to clipboard
Overlay area turns black when activating the ocr (if not launched as admin)
It looks odd that the whole area turns black but it's still useable.
Problem disappeared after restarting the application as admin
I was unable to replicate the issue. To better understand and address it, could you please provide some additional information?
- Which operating system are you using?
- Could you specify which application is running behind the overlay when this occurs?
- Does this issue occur regardless of the application behind the overlay?
- What is the GPU model of your system?
This may be completely unrelated to Kukoro's issue, but I had a problem that sounded very similar on Linux using the Qtile window manager. The problem for me was probably caused by the fact that Qtile doesn't support transparency and needs a compositor like Picom for this.
So Linux users should make sure their window manager supports transparency, or install and enable a compositor that does. Additionally, for tiling window managers, users may have to manually line up the overlay window with the target window
I seem to have the same issue as Kukoro even tho the program was started as admin. The print screen button does load the OCR, I do see the highlights, and the overlay seems to be on top of the application, but it is all black and can't see the program (all applications including games like persona 4 and 5, or browsers like edge and chrome) under that. I am trying this on an ROG Ally windows 11 AMD Ryzen Z1 Extreme
@misosouphero I suspect this issue may be related to some other software. Unfortunately, I don't have access to a ROG Ally to test it.
To help narrow down the possibilities, could you please try running the application in a Windows Sandbox environment? This will allow us to isolate the application and determine if it's caused by any third-party applications or conflicting settings. Ensure to install VCRedist in the sandbox whenever a new session is launched.
@misosouphero I suspect this issue may be related to some other software. Unfortunately, I don't have access to a ROG Ally to test it.
To help narrow down the possibilities, could you please try running the application in a Windows Sandbox environment? This will allow us to isolate the application and determine if it's caused by any third-party applications or conflicting settings. Ensure to install VCRedist in the sandbox whenever a new session is launched.
Thank you for your reply. I unfortunately do not have access to virtual machine software on the device, and the windows sandbox doesn't install on Windows 11 home version. Meanwhile, I have tried to change the ocr engine, deleting/reinstalling; however, the issue seems to persist. From further testing, I noticed that when selecting a specific window/program, yomininja will not overlay (no red square framing) on the window/program and nothing will appear even if I press the print screen input. When I select an entire screen as the source, once the print screen button is pressed, the yomininja overlay will come to the foreground (all black) and cover the whole screen.
@misosouphero Try running Yomininja in Windows Safe Mode. I found some instructions that might help, but I don't know if it works. Safe Mode starts Windows with only essential drivers, which can help identify if the problem is related to third-party software.
@misosouphero Try running Yomininja in Windows Safe Mode. I found some instructions that might help, but I don't know if it works. Safe Mode starts Windows with only essential drivers, which can help identify if the problem is related to third-party software.
Yomininja does not seem to load in safe mode
@misosouphero
Oh, sorry about that. Please try selecting "Safe Mode with Networking" Yomininja checks GitHub for updates, so it requires at least a network driver (an internet connection is not required). It worked fine here with Windows 10.
@misosouphero
Oh, sorry about that. Please try selecting "Safe Mode with Networking" Yomininja checks GitHub for updates, so it requires at least a network driver (an internet connection is not required). It worked fine here with Windows 10.
This did not seem to solve the issue. Is it possible that a compatibility issue related to the Z1 Extreme processor might be causing the problem?
@misosouphero
Did the application load? If the overlay remains black, even in safe mode, it might be related to the GPU or something that ASUS changed on Windows.
@misosouphero
Did the application load? If the overlay remains black, even in safe mode, it might be related to the GPU or something that ASUS changed on Windows.
The application did not launch at all, even in safe mode with networking.
I don't know if this will help, but when using the program in normal windows mode, using OCR shortcut with ONNX CPU selected will cause a black screen with red boxes (detecting words). If using OpenVino CPU, the same black screen will appear when using the OCR shortcut, but it doesn't detect the words of the selected screen (no red boxes).
Can you please try the last version and confirm if the problem persists?
I am having this problem as well and no solutions have been effective so far.
I am on a windows 11 pc and the overlay area turns completely black with just the red text boxes. I am able to hover over them to check their definitions with 10ten but I cannot see anything beyond the fully black screen.
I also have this problem. RTX 4070 with latest drivers. I tried launching as an admin, no effect. I tried exclusive fullscreen, borderless window, different applications, all the same result. I've tried other applications in the past that where supposed to do something similiar, and had the same problem.
If you are using a chromium browser on windows at least, it is this option: chrome://flags/#calculate-native-win-occlusion
Just disable it and it will work :)
Hello and sorry for the long time without a response. I tested it again today, with and without admin and I got this black screen.
The Problem
If i click on my second monitor on a different application it turns to this:
Informations
- Operating System: Windows 10 Home
- The application is the game Kingdom Hearts 1
- There are no other windows behind the game
- GPU is a Nvidia RTX 3080
I will check what the app does in safe mode...
Live from safemode.
The overlay works here
I then tried soem stuff that didn't have any effect once I was back to normal mode
- Switching to only one monitor
- Disabling monitor scaling
- disabling g-sync
- disabling Kaspersky Anti Virus
Now it's the needle in a haystack unfortunate :(
I had the same problem solutions here didn't work and application didn't even start in safe mode I just added --disable-gpu-compositing to the shortcut it is working now but i am not sure if it breaks anything I am using gtx 1050 ti on windows 10
I had the same problem solutions here didn't work and application didn't even start in safe mode I just added --disable-gpu-compositing to the shortcut it is working now but i am not sure if it breaks anything I am using gtx 1050 ti on windows 10
Yes that fixed it for me too.
I had the same problem solutions here didn't work and application didn't even start in safe mode I just added --disable-gpu-compositing to the shortcut it is working now but i am not sure if it breaks anything I am using gtx 1050 ti on windows 10
Confirming that this fixed my issue as well. Thank you so much!
For anyone who may be confused on how to go about this.
- Navigate to the Yomininja shortcut, right click and select properties.
- Select the shortcut tab
- In the shortcut tab look for the target text box and navigate to the end of the text adding a space at the end.
- Copy and paste "--disable-gpu-compositing" without quotations into the end of the text box.
- Apply the changes and you should be good to go.
Thank you so much! I upgraded the dependencies in v0.8, which may fix the issue. However, I can’t confirm this as I haven’t been able to reproduce the behavior. I’ve also added an option in the settings to disable hardware acceleration in case the first solution doesn’t work, and I’ll be adding an option to disable GPU compositing soon.
I struggled with this issue and none of the solutions offered here fixed it. However, I just solved it now by removing "mica for everyone" which must have been interfering with the overlay, so if you're still having problems try getting rid of anything you might have installed to customise windows backdrop/display
I can confirm this issue on Ubuntu 22.04 when using i3 with picom. On the same system but running GNOME instead it works as intended. It's a shame because I really want to keep using tiling window managers, I could try and help you debug this
I’m having the same black screen issue on my ryzen z1 (legion go) on windows 11. I tried using "--disable-gpu-compositing" but it just changes the screen from black with red outlines (after selecting the app to capture) to white (with no red outlines).
Funny enough if I connect an external monitor before starting yomininja, everything works fine. If I unplug the monitor it keeps working. If I stop and restart yomininja, it’s back to the original broken behavior
Edit: just found a workaround. Hopefully it’ll help other people stuck in the same situation while we get a proper fix. Just setup a virtual external display with this https://github.com/VirtualDisplay/Virtual-Display-Driver