g***@gmail.com
2014-08-03 14:23:52 UTC
Hi Everyone
I'm aware there may be a drawing problem using Scintilla in certain
situations.
I wanted to share this observation in case it wasn't already known and
might be helpful to anyone looking into this problem.
When running BowPad which uses Scintilla, I find that if I set BP's setting
option of d2d=1, BP renders strangely when using my laptops Nvidia gt540m
graphics card using the latest Optimus enabled Nvidia drivers.
But BP renders fine when using the built-in Intel HD 3000 driver.
I found that if I start Visual Studio by right clicking and choosing the
"Run using High Performance graphics" option, then open BowPads Visual
Studio project solution, and then run it. It seems VS will pass the
graphics option onto BP and BP will execute also using the card and I can
see the re-create the painting problems every time.
Hopefully this might enable someone familiar Scintilla and/or BP to find
the problem since the drawing problem is then repeatable every time (at
least for me).
The problem seems like it might be connected to a few issues, any one or
none might be true, but things that look interesting are the corrupted
painting is in synch with the cursor blink rate. Also it could be that the
use of GDI and D2D together, I don't know.
But being able to at least recreate the problem every times by starting VS
and therefore BP in high speed graphics mode to show the corruption
consistently seems like it might be a helpful tip to someone. Sorry if this
fact is already known and not useful. I'm told the problem exists with
other products, not just BP, but if you do use BP to test, remember that
the %appdata%\bowpad\settings.ini file needs this section in it:
[view]
d2d=1
and the problem only occursfor me on an NVIDIA graphics card, in my case a
GT540M one.
Thanks
I'm aware there may be a drawing problem using Scintilla in certain
situations.
I wanted to share this observation in case it wasn't already known and
might be helpful to anyone looking into this problem.
When running BowPad which uses Scintilla, I find that if I set BP's setting
option of d2d=1, BP renders strangely when using my laptops Nvidia gt540m
graphics card using the latest Optimus enabled Nvidia drivers.
But BP renders fine when using the built-in Intel HD 3000 driver.
I found that if I start Visual Studio by right clicking and choosing the
"Run using High Performance graphics" option, then open BowPads Visual
Studio project solution, and then run it. It seems VS will pass the
graphics option onto BP and BP will execute also using the card and I can
see the re-create the painting problems every time.
Hopefully this might enable someone familiar Scintilla and/or BP to find
the problem since the drawing problem is then repeatable every time (at
least for me).
The problem seems like it might be connected to a few issues, any one or
none might be true, but things that look interesting are the corrupted
painting is in synch with the cursor blink rate. Also it could be that the
use of GDI and D2D together, I don't know.
But being able to at least recreate the problem every times by starting VS
and therefore BP in high speed graphics mode to show the corruption
consistently seems like it might be a helpful tip to someone. Sorry if this
fact is already known and not useful. I'm told the problem exists with
other products, not just BP, but if you do use BP to test, remember that
the %appdata%\bowpad\settings.ini file needs this section in it:
[view]
d2d=1
and the problem only occursfor me on an NVIDIA graphics card, in my case a
GT540M one.
Thanks
--
You received this message because you are subscribed to the Google Groups "scintilla-interest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scintilla-interest+***@googlegroups.com.
To post to this group, send email to scintilla-***@googlegroups.com.
Visit this group at http://groups.google.com/group/scintilla-interest.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "scintilla-interest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scintilla-interest+***@googlegroups.com.
To post to this group, send email to scintilla-***@googlegroups.com.
Visit this group at http://groups.google.com/group/scintilla-interest.
For more options, visit https://groups.google.com/d/optout.