|
OpenGL and DirectX differences... |
APrince
Member #12,698
March 2011
|
Hello guys, I have filed the bug for DirectX and also tried the OpenGL renderer to see if it can fix the flickering problems... Well, sort of. It doesn't flicker and the multisampling works even in the cases where it does not with DX renderer (i.e. mostly laptop Intel graphics). However, the whole scene is sort of zoomed in (i.e. does not fit within the window whereas the DX version fit exactly - I use normal 2D rendering in window coordinates), the fonts look strange and the multisapling quality is very strange. The lines are antialliased, but sometimes there is sort of a jump that just doesn't fit in with the rest of the smooth lines. Also the mouse coordinates do not match the rendering space (probably the same reason as the content going out of the window). All and all it's far worse than the flickering of the DX version or not having AA at all. Is there a reason why both renders look so different, or am I missing something? Thanks |
Edgar Reynaldo
Major Reynaldo
May 2007
|
Can you post screen shots? Or debugging binaries? Or source code to try? My Website! | EAGLE GUI Library Demos | My Deviant Art Gallery | Spiraloid Preview | A4 FontMaker | Skyline! (Missile Defense) Eagle and Allegro 5 binaries | Older Allegro 4 and 5 binaries | Allegro 5 compile guide |
APrince
Member #12,698
March 2011
|
//edit: I put it all in here under the GitHUB issue, look at number 3, or read it whole... |
Edgar Reynaldo
Major Reynaldo
May 2007
|
I'm not sure if this will help but try initialising everything before you create your display. My Website! | EAGLE GUI Library Demos | My Deviant Art Gallery | Spiraloid Preview | A4 FontMaker | Skyline! (Missile Defense) Eagle and Allegro 5 binaries | Older Allegro 4 and 5 binaries | Allegro 5 compile guide |
APrince
Member #12,698
March 2011
|
Not sure what you mean by that, but if you mean moving all the addons initializations before creating the display - tried that, doesn't help. |
Edgar Reynaldo
Major Reynaldo
May 2007
|
Okay, that rules that out. I'll try out your example code. I've got Win10, an integrated Intel and an NVIDIA graphics card on my laptop. I'll try it out later today. My Website! | EAGLE GUI Library Demos | My Deviant Art Gallery | Spiraloid Preview | A4 FontMaker | Skyline! (Missile Defense) Eagle and Allegro 5 binaries | Older Allegro 4 and 5 binaries | Allegro 5 compile guide |
APrince
Member #12,698
March 2011
|
Thanks, much obliged... |
Edgar Reynaldo
Major Reynaldo
May 2007
|
See my comment on the github issue. I tested this on my lappie and I didn't have any problems. The only thing wrong was that multisampling was unavailable on the Intel HD 5600 and fullscreen DirectX. No flicker. The other combinatations, NVIDIA and OpenGL and everything else worked just fine on either GPU. My Website! | EAGLE GUI Library Demos | My Deviant Art Gallery | Spiraloid Preview | A4 FontMaker | Skyline! (Missile Defense) Eagle and Allegro 5 binaries | Older Allegro 4 and 5 binaries | Allegro 5 compile guide |
APrince
Member #12,698
March 2011
|
I have tried that... But it doesn't help. Plus this issue was there for me forever. I have never seen it working properly on any Intel GPU. As for nVidia GPUs... I remember it didn't flicker on some older GeForce probably 8800 GTS. Bus since then I have problems with the flickering on all the nVidia GPUs I had since then (GTX260, GTX460, GTX660, GTX960, GTX1060). |
Edgar Reynaldo
Major Reynaldo
May 2007
|
Well, you're going to need to debug it yourself then. You'll have to use a debugger to step into the al_create_display function and see what its doing. My Website! | EAGLE GUI Library Demos | My Deviant Art Gallery | Spiraloid Preview | A4 FontMaker | Skyline! (Missile Defense) Eagle and Allegro 5 binaries | Older Allegro 4 and 5 binaries | Allegro 5 compile guide |
|