Full screen is causing flickering on windows 10

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Asimov
Posts: 246
Joined: Thu Dec 04, 2014 7:41 pm
Contact:

Full screen is causing flickering on windows 10

Post by Asimov »

I started my project when on windows 7 and I have finally got back to it on windows 10.

Now I started the project windowed and used the following line to set the window size.

Code: Select all

IrrlichtDevice *device = createDevice(EDT_DIRECT3D9, dimension2d<u32>(800, 600),32, false, true, false, &receiver);
Now everthing is working as should, but I wanted to try my project full screen, so I changed the code to this

Code: Select all

IrrlichtDevice *device = createDevice(EDT_DIRECT3D9, dimension2d<u32>(800, 600),32, true, true, false, &receiver);
Now it is full screen, but the screen is flickering like crazy and 2 times out of 3 it crashes and shuts down.

I had this problem with one of my old games that I didn't write, and I got windows to adjust settings so that it run without flickering.

I am just wondering if there is an irrlicht fix to stop the filckering screen in windows 10?

PS. Forgot to say I am using directx 9
CuteAlien
Admin
Posts: 9628
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: Full screen is causing flickering on windows 10

Post by CuteAlien »

Does this also happen with the examples? (for example Demo)
Did you try updating graphic-card driver?
Are there are any errors on the console?
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Asimov
Posts: 246
Joined: Thu Dec 04, 2014 7:41 pm
Contact:

Re: Full screen is causing flickering on windows 10

Post by Asimov »

I will look for a full screen example and get back to you.
I have been trying a few examples but so far haven't found a full screen one in the demos.

I also had this problem with some older games after the windows 10 update.
I can get aroound it in older games by using the compatibility mode, but I really wanted my game to be compatible with windows 10.

I am still using irrlicht 1.8.1 I am not sure if that is the latest version because I installed it a couple of years ago.

PS. I am thinking of upgrading to 1.8.4 but forgotten how to compile it LOL.
CuteAlien
Admin
Posts: 9628
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: Full screen is causing flickering on windows 10

Post by CuteAlien »

You can change any example by setting fullscreen flag in createDevice. Otherwise - the "Demo" has fullscreen (you can enable it in startupdialog).

edit: Also - this sounds a lot like a graphic-card driver problem. Make sure you have newest version installed.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Asimov
Posts: 246
Joined: Thu Dec 04, 2014 7:41 pm
Contact:

Re: Full screen is causing flickering on windows 10

Post by Asimov »

Hi CuteAlien,

I have just remembered how to compile using Irrlicht-gcc.cbp and I have copied some of my setting from my 1.8.1 to 1.8.4 and I will see if I have the same trouble after upgrading.
Then I will look into my graphics drivers. However I usually keep them up to date.
Asimov
Posts: 246
Joined: Thu Dec 04, 2014 7:41 pm
Contact:

Re: Full screen is causing flickering on windows 10

Post by Asimov »

I have now upgraded successfully to irrlicht 1.8.4 now it goes full screen and crashes straight away and shuts down. However in windowed mode it is fine.
Now going to see if any graphics drivers have to be updated
Asimov
Posts: 246
Joined: Thu Dec 04, 2014 7:41 pm
Contact:

Re: Full screen is causing flickering on windows 10

Post by Asimov »

Just upgraded my graphics driver to the latest. It has stopped irrlicht 1.8.4 crashing but the flicking and banding is still there. If I turn on vsync there is less banding but the flickering is too much.
I am going to try a few demos again to see if I can see the problem.
Asimov
Posts: 246
Joined: Thu Dec 04, 2014 7:41 pm
Contact:

Re: Full screen is causing flickering on windows 10

Post by Asimov »

Hi CuteAlien,

I found out a way of going full screen without the banding effect.
If I right click on the exe and change compatibility to windows 8 then there is no banding and it looks fine.

So I don't think it is a graphics card issue. I think it is a windows 10 issue.

Strange thing is that on my other laptop which also has windows 10, but is a little older there is a strobing a effect when I rotate my scene even in a window. Which is strange.
Now that isn't cured by compatibility.

So I wonder if anyone else is having windows 10 issues with irrlicht?
CuteAlien
Admin
Posts: 9628
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: Full screen is causing flickering on windows 10

Post by CuteAlien »

Not having any problems so far (Windows 10 with nvida card). Did you try the demo?
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Post Reply