SurfacePro 4 + win10: Blank area at top. Mouse click off by blank area size. #51959

Closed
opened 2017-07-03 00:43:14 +02:00 by Jaimi McEntire · 25 comments

System Information
Operating system and graphics card

Blender Version
Broken: 2.79 2017-06-09
Worked: 2.78c

Blank (not drawn) area above top menu bar. Using a surface pro 4, I ran at 1920x1080. This produced a blank area above the top menu bar (between the title bar and the info menu bar). This size varies based on resolution, and whether running remote desktop.

The mouse click appears to be off by the height of the blank area. ie - you have to click where the graphics should be and not where they actually are drawn.
Screen Shot 2017-07-02 at 5.41.06 PM.png

Exact steps for others to reproduce the error
To reproduce the error, run at 1920x1080 on a Surface Pro 4 (windows 10). Or run a remote desktop session to a windows machine, and choose 1920x1080 as the resolution.

**System Information** Operating system and graphics card **Blender Version** Broken: 2.79 2017-06-09 Worked: 2.78c Blank (not drawn) area above top menu bar. Using a surface pro 4, I ran at 1920x1080. This produced a blank area above the top menu bar (between the title bar and the info menu bar). This size varies based on resolution, and whether running remote desktop. The mouse click appears to be off by the height of the blank area. ie - you have to click where the graphics *should be* and not where they actually are drawn. ![Screen Shot 2017-07-02 at 5.41.06 PM.png](https://archive.blender.org/developer/F650021/Screen_Shot_2017-07-02_at_5.41.06_PM.png) **Exact steps for others to reproduce the error** To reproduce the error, run at 1920x1080 on a Surface Pro 4 (windows 10). Or run a remote desktop session to a windows machine, and choose 1920x1080 as the resolution.
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @jaimi

Added subscriber: @jaimi

Closed as duplicate of #51521

Closed as duplicate of #51521

Added subscriber: @brecht

Added subscriber: @brecht

The Surface Pro 4 has an Intel GPU, so it looks like another case of the Intel driver bug.

The Surface Pro 4 has an Intel GPU, so it looks like another case of the Intel driver bug.
Author

Not the same as #51521. #51521 says it is broken in 2.78c.
This is not the case for this instance. 2.78c (and earlier versions) work fine.

Not the same as #51521. #51521 says it is broken in 2.78c. This is not the case for this instance. **2.78c (and earlier versions) work fine**.

Changed status from 'Duplicate' to: 'Open'

Changed status from 'Duplicate' to: 'Open'

Added subscriber: @Waterflames

Added subscriber: @Waterflames

Since you mention 1920x1080 specifically, does it work correctly at the default Surface Pro 4 resolution?

Can any Windows developer reproduce this issue?

@Waterflames, this may be related to the DPI changes.

Since you mention 1920x1080 specifically, does it work correctly at the default Surface Pro 4 resolution? Can any Windows developer reproduce this issue? @Waterflames, this may be related to the DPI changes.
Author

No, it doesn't work at either resolution - but the amount of empty banding is off by a different amount.

No, it doesn't work at either resolution - but the amount of empty banding is off by a different amount.

Added subscriber: @mont29

Added subscriber: @mont29

Please:

  • Ensure both your OS and drivers are fully up-to-date (and use official GPU drivers, not those provided by windows or tablet/laptop maker).
  • Try to start Blender in factory settings (--factory-startup commandline option) (this will ensure whether this is a userpref or addon issue or not).
  • Try to tweak OGL settings in UserPreferences, System tab.
  • Try to tweak your GPU driver settings (e.g. try different values between 'performance' and 'quality' if you have such slider, etc.).
  • Try to place this dll next to your blender.exe (software OGL, will be slow, but will show whether this is a driver issue or not).
Please: * Ensure both your OS and drivers are fully up-to-date (and use official GPU drivers, not those provided by windows or tablet/laptop maker). * Try to start Blender in factory settings (`--factory-startup` commandline option) (this will ensure whether this is a userpref or addon issue or not). * Try to tweak OGL settings in UserPreferences, System tab. * Try to tweak your GPU driver settings (e.g. try different values between 'performance' and 'quality' if you have such slider, etc.). * Try to place [this dll](http://download.blender.org/ftp/sergey/softwaregl/win64/opengl32.dll) next to your blender.exe (software OGL, will be slow, but will show whether this is a driver issue or not).
Bastien Montagne changed title from Blank area at top. Mouse click off by blank area size. to SurfacePro 4 + win10: Blank area at top. Mouse click off by blank area size. 2017-07-03 17:53:48 +02:00
Author

Thank you - I have done the following:

Updated to intels latest graphics drivers. this caused Blender 2.79 to break in a different manner (similar to #51521 ) -- ie, the top part of the info bar was covered by the title bar, and now the mouse was off in the opposite direction. It also caused 2.78c to break in the same way.

I rolled those back to the Microsoft drivers, and 2.78c worked correctly again in all cases.

Tweaking the OGL settings in User Preferences, System had no visible effect.

I then started with the --factory-startup command line option. The screen was off again in 2.79 (though it was off like the new driver was - cutting off the top of the info bar).

Putting the software OpenGL driver in place makes 2.79 look exactly like 2.78c (ie - everything is correctly drawn and it scales correctly).

So, I can only surmise that there is some sort of driver issue, however, it didn't affect 2.78c but does affect 2.79. Hopefully there will be a way to use the old method as well.

Thank you - I have done the following: Updated to intels latest graphics drivers. this caused Blender 2.79 to break in a different manner (similar to #51521 ) -- ie, the top part of the info bar was covered by the title bar, and now the mouse was off in the opposite direction. It also caused 2.78c to break in the same way. I rolled those back to the Microsoft drivers, and 2.78c worked correctly again in all cases. Tweaking the OGL settings in User Preferences, System had no visible effect. I then started with the --factory-startup command line option. The screen was off again in 2.79 (though it was off like the new driver was - cutting off the top of the info bar). Putting the software OpenGL driver in place makes 2.79 look exactly like 2.78c (ie - everything is correctly drawn and it scales correctly). So, I can only surmise that there is some sort of driver issue, however, it didn't affect 2.78c but does affect 2.79. Hopefully there will be a way to use the old method as well.

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Bastien Montagne self-assigned this 2017-07-03 22:25:36 +02:00

Thanks for all the thorough testing, but am afraid this demonstrate once again that issue is with Intel drivers… Not much we can do here, unfortunately, besides waiting and hoping for issue to be fixed in a future driver revision. Thanks for the report anyway.

Thanks for all the thorough testing, but am afraid this demonstrate once again that issue is with Intel drivers… Not much we can do here, unfortunately, besides waiting and hoping for issue to be fixed in a future driver revision. Thanks for the report anyway.
Author

All I can say is "bummer", as it worked in 2.78c. :(

This is slowly wittling away at the machines I can use Blender on. Can't use it on my Imac anymore because, though 2.6 worked fine, 2.78c renders splotches on the model when you use a normal map. Now won't be able to use 2.79 on my surface.

I wish you could add an option to let it scale the old way, for those of us with hardware that aint going to see no driver updates.

but thanks for looking into it.

All I can say is "bummer", as it worked in 2.78c. :( This is slowly wittling away at the machines I can use Blender on. Can't use it on my Imac anymore because, though 2.6 worked fine, 2.78c renders splotches on the model when you use a normal map. Now won't be able to use 2.79 on my surface. I wish you could add an option to let it scale the old way, for those of us with hardware that aint going to see no driver updates. but thanks for looking into it.

Changed status from 'Archived' to: 'Open'

Changed status from 'Archived' to: 'Open'
Bastien Montagne was unassigned by Brecht Van Lommel 2017-07-03 23:45:19 +02:00
Brecht Van Lommel self-assigned this 2017-07-03 23:45:19 +02:00

I would like to at least investigate this a little since it is a regression due to changes in Blender. I don't think it's obviously true that there is a driver bug here, it may be that the Intel driver just uses the Windows API in a different way that we don't handle correctly, or at least can work around.

I would like to at least investigate this a little since it is a regression due to changes in Blender. I don't think it's obviously true that there is a driver bug here, it may be that the Intel driver just uses the Windows API in a different way that we don't handle correctly, or at least can work around.

I can confirm an issue like this with an Intel HD 4600 on Windows 10 version 1607, when setting "Change the size of text, app, and other items" in the Display settings to something else than 100%. Using an NVidia GTX 1080 on the same computer shows no problem.

This appears to be caused by the new call to EnableNonClientDpiScaling, which makes the title bar scale properly along with the application. So far I couldn't find a good workaround besides just not calling that function for Intel graphics. So far I couldn't find any API function (like GetClientRect) returning different values for Intel and NVidia. It just seems to draw the contents of the Window with some offset.

I can confirm an issue like this with an Intel HD 4600 on Windows 10 version 1607, when setting "Change the size of text, app, and other items" in the Display settings to something else than 100%. Using an NVidia GTX 1080 on the same computer shows no problem. This appears to be caused by the new call to `EnableNonClientDpiScaling`, which makes the title bar scale properly along with the application. So far I couldn't find a good workaround besides just not calling that function for Intel graphics. So far I couldn't find any API function (like `GetClientRect`) returning different values for Intel and NVidia. It just seems to draw the contents of the Window with some offset.
Author

Is it worth adding a setting to optionally bypass the call to EnableNoClientDpiScaling? Current intel chipsets can run Blender at very good speeds, a lot of notebook and tablet vendors are choosing to not even include discrete chipsets anymore. Even the iris 540 in the surface pro 4 is a credible solution for Unity and Blender.

Is it worth adding a setting to optionally bypass the call to EnableNoClientDpiScaling? Current intel chipsets can run Blender at very good speeds, a lot of notebook and tablet vendors are choosing to not even include discrete chipsets anymore. Even the iris 540 in the surface pro 4 is a credible solution for Unity and Blender.

If we can't find a better solution to this, I think we should automatically not call this function for Intel cards. It's only a cosmetic thing for title bars anyway.

If we can't find a better solution to this, I think we should automatically not call this function for Intel cards. It's only a cosmetic thing for title bars anyway.

I tried using SetThreadDpiAwarenessContext(DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2) that is available in Windows 10 version 1703, but it has the same issue as EnableNonClientDpiScaling.

Disabling this title bar scaling just for Intel seems difficult, I can only find a way to detect an Intel GPU after the window has already been created. So I'm thinking of just disabling it everywhere and accepting the too small/large title bars until Intel fixes what I presume is a driver bug. Better to have functional software with a small cosmetic issue than not working at all. Unless someone has another idea to try.

I tried using `SetThreadDpiAwarenessContext(DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2)` that is available in Windows 10 version 1703, but it has the same issue as `EnableNonClientDpiScaling`. Disabling this title bar scaling just for Intel seems difficult, I can only find a way to detect an Intel GPU after the window has already been created. So I'm thinking of just disabling it everywhere and accepting the too small/large title bars until Intel fixes what I presume is a driver bug. Better to have functional software with a small cosmetic issue than not working at all. Unless someone has another idea to try.

This issue was referenced by 0584c5ba8e

This issue was referenced by 0584c5ba8e732645f51e927afc87dfa003c51204

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Author

I think disabling it is fine. Windows is already scaling the title bar correctly in 2.78c when you change the DPI setting.

I think disabling it is fine. Windows is already scaling the title bar correctly in 2.78c when you change the DPI setting.
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#51959
No description provided.