PTB not working - Windows 10

Hello all.
Today I have encountered a big problem: everytime I try to run codes (working fine till yesterday), Matlab displays a blank screen and crashes.
I have not modified anything, only installed a cumulative update for Windows 10 and a BIOS update, yesterday evening.
My laptop is Dell XPS15 - 9560.
I have not tried on Linux yet.
Has anyone encountered the same problem and/or can suggest how to solve it?
Many thanks in advance.
Luca


On Wed, Jul 3, 2019 at 4:47 PM luca.va@... [PSYCHTOOLBOX]
<PSYCHTOOLBOX@yahoogroups.com> wrote:
> Hello all.
> Today I have encountered a big problem: everytime I try to run codes (working fine till yesterday), Matlab displays a blank screen and crashes.
> I have not modified anything, only installed a cumulative update for Windows 10 and a BIOS update, yesterday evening.

Operating system updates and firmware updates are the most intrusive
change you can make, apart from hardware changes. These are more
likely to break random things than say a Matlab or Psychtoolbox
update. Important to have backups before such a step.
The operating system is the foundation on which everything else rests.
If the OS is somehow buggy, the best PTB can do occasionally is work
around problems if you are lucky.

> My laptop is Dell XPS15 - 9560.
> I have not tried on Linux yet.

Try it. Linux should work just fine. Unless something really bad
happened with that BIOS update, in which you'd somehow have to revert
the update if possible. Most likely it is some Windows bug or
incompatibility.

> Has anyone encountered the same problem and/or can suggest how to solve it?

You can try to find out if it is purely graphics related. Do our sound
demos still work, e.g., BasicSoundOutputDemo? Does it die with a
simple demo like LinesDemo or PerceptualVBLSyncTest? If you use
PsychDebugWindowConfiguration first, then run LinesDemo, do you get
any meaningful error output from Matlab before it dies? Does it only
happen with certain demos, e.g., ones that play movies or display
text?

If it is a purely visual problem, maybe reinstalling the NVidia
graphics driver helps? Other than that you could roll-back your
Windows installation to the previous system restore point.

-mario

> Many thanks in advance.
> Luca
>
>
>