-
Notifications
You must be signed in to change notification settings - Fork 182
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
Loading fonts image via VkImageHelper.loadImageFromFile(...) causes error output in console #38
Comments
when you start the demo, there is an initial output in the console: the graphics device and the queue families of the system. What is the output for you there? Because the error is device specific |
@oreonengine Here's the output from a run (see file). The app runs, and you see the water and Sun, with no glitches/studders. If you didn't look at the console, you'd think everything was running fine. Do note that there are multiple continuous errors being displayed in the log. I ended up manually closing the app to get the console output to stop rolling along. I opened this ticket just on the first error outputted to the console, and not for any follow-up errors output. My OS is Ubuntu Budgie 18.04.1 LTS (64-bit), using Gnome 3.28.2. Processor is Intel Core i7 CPU 980 @ 3.33GHz x 12, with 24GB RAM. I'm using a GigaBytte GeForce GTX 1050 OC Edition, with 2GB GDDR5 (PCIe/SSE2). Its a DirectX 12 ready card, and is six months old. oreonengine console output.txt EDIT: Forgot the most important thing, the video driver info ... |
Alright thank you, this is a warning by Vulkan. I guess the selected queue family capabilities does not match the use cases the engine needs. It works correctly since the the pipeline barrier (vkCmdPipelineBarrier) is skipped but not even needed by your device. The GTX 1050 is fast enough that the pipeline barriers are not even triggered. However, for slow devices this can be critical and should be fixed. |
@oreonengine FYI, there's other follow-up errors to the console in that log file. For example, closing a channel before the children are closed, etc. I didn't know if they were artifacts of the original error, or their own errors, but I decided on the former, and didn't open additional tickets for the latter. You may want to look at the whole log file to see if I am correct in that assumption, or not (subsequent errors are because of the initial error, instead of their own self-contained errors). |
Please go to VkGUI class starting at line 133 where fonts image is loaded.:
change
to
or if that doesn't help to
|
@oreonengine Attaching two text files, with the output after each of the two changes you requested. After each change, the errors still occurred. I manually stopped the client in both cases after about 20-30 seconds of displaying/running. I double-checked that I'm still running the same video card driver now as of when I opened this bug report. oreonengine getGraphicsXXX console output.txt |
Alright, I will go deeper into it. It is possible that I have the same erros with a Titan Xp but somehow this device doesn't outputs validation messages... |
@oreonengine Just to point out explicitly, I'm using the open source version of the Nvidia driver, and not the closed-source version from Nvidia itself (Ubuntu Budgie doesn't give me the option to install the closed version), so the open-sourced version may have additional error outputting to console, that the closed version does not, hence why you don't see those errors, maybe?? If there's any additional debugging help I can do for you, please feel free to reach out to me. I'll keep monitoring this bug report page. |
I am getting this: any idea why? |
Going off of the stacktrace only (bolded/italicized part), and not having looked at the code referenced by the stacktrace, either the .jar file is bad, or it does not have inside of it (jars are just zip files) the Fonts.png file. Another possibility is upper/lower case issues if running under Linux. Try using zip to open the .jar file and look inside of it for the Fonts.png file, see if its there. |
The following error appears on the console when starting up VkOreonworlds. Specifically, when line 133 in VkGUI.java makes a call to VkImageHelper.loadImageFromFile(...) ...
The above error is outputted to the console when method vkCmdPipelineBarrier(...), at line 390, in CommandBuffer, is called. See attached screenshots for further info.
The text was updated successfully, but these errors were encountered: