Skip to content

Ok, I've got a minor issue.

SimulacreSimulacre Member Posts: 102
edited October 2018 in Troubleshooting
Whenever I move my cursor the in-game view moves away as it should. However, every once in a while, when scrolling - so going left, right, up, down with my mouse - there's a small lag and I have to wait for almost a second for the image to keep moving. It's like a brief freeze and while it's not a big deal it eventually becomes annoying.

Any ideas on how to resolve this ?
Post edited by Simulacre on

Comments

  • lolienlolien Member, Moderator, Translator (NDA) Posts: 3,108
    edited October 2018
    Moved this to Troubleshooting to get faster reply.

    Edit: It was in the BG section, so i assume your game is BG1. What is the platform you play on?
  • SimulacreSimulacre Member Posts: 102
    Thank you !

    I'm playing on Steam and yes, this is Baldur's Gate 1.
  • GusindaGusinda Member Posts: 1,915
    Hi @Simulacre, have a quick look at this. As a test, place the OpenGL32.dll file into your game folder as described in the OP. If it has nothing to do with the problem and it remains, just delete it... Worth a try.

    If it doesn't work, would you be able to run DXDIAG on your system and upload the results? Does it happen with BG2EE / IWDEE as well?

    Has it only started recently or happened since the game has been installed? I say this because Windows 10 (if you are using it) has been undergoing a major update to 1809; currently halted but my Hybrid was updated prior to MS stopping the rollout. Updates have been known to cause some problems.

    Gus
  • SimulacreSimulacre Member Posts: 102
    edited October 2018
    Hello @Gusinda,

    Thank you for your time, I appreciate it.

    I've tried your OpenGL32.dll-trick and it didn't change anything. I probably should mention that everything works fine on my PC except that little detail. I have no trouble saving, going from one map to another or anything like that. Just that small and annoying freeze.

    Since it's a minor inconvenience, I'm thinking about something related to the refresh rate. It only occurs when I let my mouse at the right corner of the screen - it's just an example, it happens for every direction - and let the view go away from where my party is on the map. At some point, it will block for a micro second and then continue moving until it freezes again.. I'd like the game to be perfectlty smooth when the image is moving.

    Here's what I get with DXDIAG :

    Time of this report: 10/17/2018, 14:49:06

    Operating System: Windows 10 Pro 64-bit (10.0, Build 17134) (17134.rs4_release.180410-1804)
    Language: English (Regional Setting: English)
    System Manufacturer: Micro-Star International Co., Ltd.
    System Model: GE72VR 6RF
    BIOS: E179BIMS Ver:1.04 (type: BIOS)
    Processor: Intel(R) Core(TM) i5-6300HQ CPU @ 2.30GHz (4 CPUs), ~2.3GHz
    Memory: 16384MB RAM
    Available OS Memory: 16258MB RAM
    Page File: 6134MB used, 26507MB available
    Windows Dir: C:\WINDOWS
    DirectX Version: DirectX 12
    DX Setup Parameters: Not found
    User DPI Setting: 144 DPI (150 percent)
    System DPI Setting: 96 DPI (100 percent)
    DWM DPI Scaling: Disabled
    Miracast: Available, with HDCP
    Microsoft Graphics Hybrid: Supported
    DxDiag Version: 10.00.17134.0001 64bit Unicode

    ---------------
    Display Devices
    ---------------
    Card name: Intel(R) HD Graphics 530
    Manufacturer: Intel Corporation
    Chip type: Intel(R) HD Graphics Family
    DAC type: Internal
    Device Type: Full Device (POST)

    Device Status: 0180200A [DN_DRIVER_LOADED|DN_STARTED|DN_DISABLEABLE|DN_NT_ENUMERATOR|DN_NT_DRIVER]
    Device Problem Code: No Problem
    Driver Problem Code: Unknown
    Display Memory: 8257 MB
    Dedicated Memory: 128 MB
    Shared Memory: 8129 MB
    Current Mode: 1920 x 1080 (32 bit) (120Hz)
    HDR Support: Not Supported
    Display Topology: Internal
    Display Color Space: DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
    Color Primaries: Red(0.678234,0.309094), Green(0.264172,0.678234), Blue(0.151867,0.060070), White Point(0.313977,0.329602)
    Display Luminance: Min Luminance = 0.500000, Max Luminance = 270.000000, MaxFullFrameLuminance = 270.000000
    Monitor Name: Generic PnP Monitor
    Monitor Model: unknown
    =
    Native Mode: 1920 x 1080(p) (120.000Hz)
    Output Type: Internal
    Monitor Capabilities: HDR Not Supported
    Display Pixel Format: DISPLAYCONFIG_PIXELFORMAT_32BPP
    Advanced Color: Not Supported

    Driver File Version: 24.20.0100.6194 (English)
    Driver Version: 24.20.100.6194
    DDI Version: 12
    Feature Levels: 12_1,12_0,11_1,11_0,10_1,10_0,9_3,9_2,9_1
    Driver Model: WDDM 2.1
    Graphics Preemption: Triangle
    Compute Preemption: Thread
    Miracast: Supported
    Hybrid Graphics GPU: Integrated
    Power P-states: Not Supported
    Virtualization: Paravirtualization
    Block List: No Blocks
    Catalog Attributes: Universal:False Declarative:False
    Driver Attributes: Final Retail
    Driver Date/Size: 20/06/2018 01:00:00, 2004712 bytes
    WHQL Logo'd: n/a
    WHQL Date Stamp: n/a

    Driver Strong Name: oem76.inf:5f63e5340a14bf6c:iSKLD_w10_DS:24.20.100.6194:pci\ven_8086&dev_191b
    Rank Of Driver: 00D12001
    _StretchX VideoProcess_StretchY VideoProcess_AlphaBlend
    D3D9 Overlay: Supported
    DXVA-HD: Supported
    DDraw Status: Enabled
    D3D Status: Enabled
    AGP Status: Enabled
    MPO MaxPlanes: 3
    MPO Caps: RGB,YUV,BILINEAR,HIGH_FILTER,STRETCH_YUV,STRETCH_RGB
    MPO Stretch: 5.000X - 0.334X
    MPO Media Hints:
    MPO Formats: YUY2,R16G16B16A16_FLOAT,R10G10B10A2_UNORM,R8G8B8A8_UNORM,B8G8R8A8_UNORM
    PanelFitter Caps: RGB,YUV,BILINEAR,HIGH_FILTER,STRETCH_YUV,STRETCH_RGB
    PanelFitter Stretch: 5.000X - 0.334X

    Card name: NVIDIA GeForce GTX 1060
    Manufacturer: NVIDIA
    Chip type: GeForce GTX 1060
    DAC type: Integrated RAMDAC
    Device Type: Full Device

    Device Status: 0180200A [DN_DRIVER_LOADED|DN_STARTED|DN_DISABLEABLE|DN_NT_ENUMERATOR|DN_NT_DRIVER]
    Device Problem Code: No Problem
    Driver Problem Code: Unknown
    Display Memory: 11116 MB
    Dedicated Memory: 2987 MB
    Shared Memory: 8129 MB
    Current Mode: Unknown
    HDR Support: Unknown
    Display Topology: Unknown
    Display Color Space: Unknown
    Color Primaries: Unknown
    Display Luminance: Unknown

    Driver File Version: 24.21.0013.9901 (English)
    Driver Version: 24.21.13.9901
    DDI Version: 12
    Feature Levels: 12_1,12_0,11_1,11_0,10_1,10_0,9_3,9_2,9_1
    Driver Model: WDDM 2.4
    Graphics Preemption: Pixel
    Compute Preemption: Dispatch
    Miracast: Not Supported by Graphics driver
    Hybrid Graphics GPU: Discrete
    Power P-states: Not Supported
    Virtualization: Paravirtualization
    Block List: No Blocks
    Catalog Attributes: Universal:False Declarative:False
    Driver Attributes: Final Retail
    Driver Date/Size: 13/08/2018 01:00:00, 952504 bytes
    WHQL Logo'd: n/a
    WHQL Date Stamp: n/a

    Driver Strong Name: oem17.inf:0f066de34b6d70f1:Section144:24.21.13.9901:pci\ven_10de&dev_1c20&subsys_11d71462
    Rank Of Driver: 00D10001
    Video Accel: Unknown
    DXVA2 Modes: DXVA2_ModeMPEG2_VLD DXVA2_ModeVC1_D2010 DXVA2_ModeVC1_VLD DXVA2_ModeH264_VLD_Stereo_Progressive_NoFGT DXVA2_ModeH264_VLD_Stereo_NoFGT DXVA2_ModeH264_VLD_NoFGT DXVA2_ModeHEVC_VLD_Main DXVA2_ModeHEVC_VLD_Main10 DXVA2_ModeMPEG4pt2_VLD_Simple DXVA2_ModeMPEG4pt2_VLD_AdvSimple_NoGMC DXVA2_ModeVP9_VLD_Profile0
    Deinterlace Caps: n/a
    D3D9 Overlay: Unknown
    DXVA-HD: Unknown
    DDraw Status: Enabled
    D3D Status: Enabled
    AGP Status: Enabled
    MPO MaxPlanes: 0
    MPO Caps: Not Supported
    MPO Stretch: Not Supported
    MPO Media Hints: Not Supported
    MPO Formats: Not Supported
    PanelFitter Caps: Not Supported
    PanelFitter Stretch: Not Supported
  • GusindaGusinda Member Posts: 1,915
    @Simulacre, when you start your game, does it default to the Intel or NVidia card?

    You can quickly look at baldur.lua to find out:

    Your NVdia card should look some thing like (except that you will have the NVIDIA GeForce GTX 1060):

    ------------
    SetPrivateProfileString('Graphics','renderer','GeForce GTX 770M/PCIe/SSE2')
    SetPrivateProfileString('Graphics','Backend','1')
    SetPrivateProfileString('Graphics','version','DirectX 9.0c')
    SetPrivateProfileString('Graphics','vendor','NVIDIA Corporation')
    ------------

    and the Intel will look similar to except you are looking for Intel(R) HD Graphics 530:

    ------------
    SetPrivateProfileString('Graphics','renderer','Intel(R) HD Graphics 4600')
    SetPrivateProfileString('Graphics','Backend','0')
    SetPrivateProfileString('Graphics','version','OpenGL version 4.3.0 - Build 20.19.15.4531 - build XXXX')
    SetPrivateProfileString('Graphics','vendor','Intel')
    ------------

    For some testing, you can change your card by right clicking on baldur.exe in the game install folder, then move to 'Run with graphics processor' and select the card not in use.

    You can also change the backend. You can see that I currently have NVidia using DirectX (Backend = 1) and the Intel using OpenGL (Backend = 0).

    I would test one card with DirectX then OpenGL (I always use NVidia with DirectX), then switch the card and do the same. This might sovle the prob. For DirectX, I also install DirectX v9.0c as it seems there are functions that the game uses that are no longer in DirectX 12. The two version of DirectX can happily be installed on the same system...

    Gus
  • SimulacreSimulacre Member Posts: 102
    edited October 2018
    Updates, @Gusinda

    My default card is the GeForce GTX 1060 according to baldur.lua. This is also indicated in one of the game menus : "Graphics".

    If I use the "run with graphics processor" option, the game now indicates that my card if the HD 530 so I know the switch is actually working.

    I've then loaded a game and the problem has worsened. There are even more lags and there is some kind of blur effect when the view is moving.

    So I switched back to my 1060 and noticed that the backend was not 1 but 0. I changed that and unfortunately it did not resolve my problem. What is "backend" supposed to change anyway ?

    I'm afraid I didn't understand your last paragraph..

    I shall try to install DirectX 9 in the meantime.

    UPDATE : I'm unable to install DirectX 9. If I try to install it directly it says that I must have a former version of Windows. If I try to install the DirextX End-User Runtine Web Installer like some people recommended - did a little bit of research - then it says "Direct X setup has determined that a newer or equivalent version of Direct X has been installed already. No installation is necessary".

    I'm afraid that mission is a bust.
    Post edited by Simulacre on
  • lolienlolien Member, Moderator, Translator (NDA) Posts: 3,108
    I'm happy you solved the problem @Simulacre , and thanks for sharing the solution here.
Sign In or Register to comment.