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.

Full screen is causing flickering on windows 10

Postby Asimov » Sun Oct 08, 2017 1:54 pm

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.
cpp 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
cpp 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
User avatar
Asimov
 
Posts: 221
Joined: Thu Dec 04, 2014 7:41 pm

Re: Full screen is causing flickering on windows 10

Postby CuteAlien » Sun Oct 08, 2017 7:38 pm

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.freenode.net
Code snippets, patches&stuff: http://www.michaelzeilfelder.de/irrlicht.htm
Free racer created with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
User avatar
CuteAlien
Admin
 
Posts: 8362
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany

Re: Full screen is causing flickering on windows 10

Postby Asimov » Mon Oct 09, 2017 9:28 pm

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.
User avatar
Asimov
 
Posts: 221
Joined: Thu Dec 04, 2014 7:41 pm

Re: Full screen is causing flickering on windows 10

Postby CuteAlien » Mon Oct 09, 2017 10:37 pm

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.freenode.net
Code snippets, patches&stuff: http://www.michaelzeilfelder.de/irrlicht.htm
Free racer created with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
User avatar
CuteAlien
Admin
 
Posts: 8362
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany

Re: Full screen is causing flickering on windows 10

Postby Asimov » Mon Oct 09, 2017 10:59 pm

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.
User avatar
Asimov
 
Posts: 221
Joined: Thu Dec 04, 2014 7:41 pm

Re: Full screen is causing flickering on windows 10

Postby Asimov » Mon Oct 09, 2017 11:14 pm

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
User avatar
Asimov
 
Posts: 221
Joined: Thu Dec 04, 2014 7:41 pm

Re: Full screen is causing flickering on windows 10

Postby Asimov » Mon Oct 09, 2017 11:52 pm

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.
User avatar
Asimov
 
Posts: 221
Joined: Thu Dec 04, 2014 7:41 pm

Re: Full screen is causing flickering on windows 10

Postby Asimov » Tue Oct 10, 2017 11:10 pm

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?
User avatar
Asimov
 
Posts: 221
Joined: Thu Dec 04, 2014 7:41 pm

Re: Full screen is causing flickering on windows 10

Postby CuteAlien » Wed Oct 11, 2017 12:40 am

Not having any problems so far (Windows 10 with nvida card). Did you try the demo?
IRC: #irrlicht on irc.freenode.net
Code snippets, patches&stuff: http://www.michaelzeilfelder.de/irrlicht.htm
Free racer created with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
User avatar
CuteAlien
Admin
 
Posts: 8362
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany


Return to Beginners Help

Who is online

Users browsing this forum: No registered users and 1 guest