black screen on ipm4 board
-
I'm encountering issues testing a QtQuick application on an ipm4 board and using eglfs. Firstly, I need to consistently draw a black-colored rectangle to fill the background before drawing any items on it, but I'm uncertain why this isn't occurring as expected.
Secondly, I've noticed that while smaller items, such as those with dimensions of 100x100, can be drawn with any color value, larger items cannot. Only certain color values seem to work for larger items, such as #FF0000. However, colors like #FFFF00 are not displaying properly. Additionally, when using the #FF0000 color, the screen sometimes flickers.
If I deviate from these rules, the screen turns black, and I see "VGA no signal" on the monitor. Any insights or suggestions on resolving these issues would be greatly appreciated.
-
I'm encountering issues testing a QtQuick application on an ipm4 board and using eglfs. Firstly, I need to consistently draw a black-colored rectangle to fill the background before drawing any items on it, but I'm uncertain why this isn't occurring as expected.
Secondly, I've noticed that while smaller items, such as those with dimensions of 100x100, can be drawn with any color value, larger items cannot. Only certain color values seem to work for larger items, such as #FF0000. However, colors like #FFFF00 are not displaying properly. Additionally, when using the #FF0000 color, the screen sometimes flickers.
If I deviate from these rules, the screen turns black, and I see "VGA no signal" on the monitor. Any insights or suggestions on resolving these issues would be greatly appreciated.
@AmirCH81 said in black screen on ipm4 board:
Firstly, I need to consistently draw a black-colored rectangle to fill the background before drawing any items on it
You should be able to run your QML app on your desktop too, it should mostly be the same between the systems.
In this case, please be sure you have an ApplicationWindow as the root of your QML app.
@AmirCH81 said in black screen on ipm4 board:
If I deviate from these rules, the screen turns black, and I see "VGA no signal" on the monitor.
I'm not an expert, but this sounds like your graphics subsystem has less memory than QML needs to draw in for those items. If you can allocate more memory for the graphics card to use, that might solve it.
This may very well be something specific for your board, though. Can't help you with anything there.
-
@AmirCH81 said in black screen on ipm4 board:
Firstly, I need to consistently draw a black-colored rectangle to fill the background before drawing any items on it
You should be able to run your QML app on your desktop too, it should mostly be the same between the systems.
In this case, please be sure you have an ApplicationWindow as the root of your QML app.
@AmirCH81 said in black screen on ipm4 board:
If I deviate from these rules, the screen turns black, and I see "VGA no signal" on the monitor.
I'm not an expert, but this sounds like your graphics subsystem has less memory than QML needs to draw in for those items. If you can allocate more memory for the graphics card to use, that might solve it.
This may very well be something specific for your board, though. Can't help you with anything there.
@TomZ The issue was resolved by switching to a monitor that supports HDMI. However, the root cause of the problem with VGA remains unclear. It is possible that the issue stemmed from using an HDMI to VGA converter, or it may have been caused by another factor. Further investigation is needed to determine the exact cause.