[Wine] How to run KITModelViewer and IFCCheckingTool on Linux?

edited November 2023 in General

KITModelViewer and IFCCheckingTool are both Freeware from the Karlsruhe Institute of Technology
Institute for Automation and Applied Informatics (Germany). Unfortunately, these two tools are only available for Windows. KITModelViewer is a versatile application that can view different files, for example IFC with supporting CRS! And IFCCheckingTool can check the IFC File locally.

Here is the download link: KIT - IAI - Downloads

I have therefore downloaded the flatpak bottles to my Linux system and created a Wine environment there.

The application has the following dependencies:

After completing the installation of the aforementioned dependencies, I was able to execute the KITModelViewer:

Nonetheless, upon clicking within the window, error messages are displayed both in the graphical user interface and in the terminal, resulting in a crash.

wineserver: using server-side synchronization.
wine: RLIMIT_NICE is <= 20, unable to use setpriority safely
002c:err:wineboot:process_run_key Error running cmd L"C:\\windows\\system32\\winemenubuilder.exe -r" (2).
00c8:err:xrandr:xrandr14_get_adapters Failed to get adapters
0114:err:ole:CoGetContextToken apartment not initialised
0024:err:oledb:get_data_source provider L"Microsoft.ACE.OLEDB.16.0" not registered
0024:err:ole:marshal_object Failed to create an IRpcStubBuffer from IPSFactory for {6d5140c1-7436-11ce-8034-00aa006009fa} with error 0x80004002
0024:err:ole:marshal_object Failed to create an IRpcStubBuffer from IPSFactory for {6d5140c1-7436-11ce-8034-00aa006009fa} with error 0x80004002
0024:err:ole:marshal_object Failed to create an IRpcStubBuffer from IPSFactory for {6d5140c1-7436-11ce-8034-00aa006009fa} with error 0x80004002

I contacted the developer at KIT. But they couldn’t find a solution, so I’m writing here. I also wrote a post last week in the forum from bottles, however no response until yet.

Tagged:

Comments

  • edited November 2023

    xrandr:xrandr14_get_adapters Failed to get adapters suggests some GL/EGL/GPU issues. Do you have an nvidia card? What are your drivers version (and what distro are you using - it looks like Ubuntu)?

    Maybe try wine without bottles? I haven't heard about neither of these programs, but I got Rhino 7 to run (which uses dotnet48) with winetricks:
    winetricks -q dotnet48
    you may also find useful some of these packages useful:
    winetricks -q corefonts pptfonts vcrun2005 vcrun2010 vcrun2013 vcrun2019 vcrun6 vcrun6sp6 gdiplus dxvk
    as well as:
    winetricks renderer=gdi
    Often the installer provides a lot of these libraries (which are usually more compatible than the ones wine provides).
    If this doesn't work maybe try older versions? Rhino 7 works fine for example, but every Rhino 8 version release after January this year doesn't work.

    Wine isn't guaranteed to work for "business applications" in my experience. Games seem to be much more supported these days (thanks to Valve). If Wine doesn't work consider using a Windows virtual machine (via KVM/virt-manager) instead? It can be complicated to setup (especially on a laptop), but is guaranteed to work.

  • Thanks for the swift response!
    Presently, I am using MX Linux 23 (Debian 12) on my laptop and yes, I got an nvidia card. Installed driver for nvidia: NVIDIA-SMI 525.125.06 Driver Version: 525.125.06 CUDA Version: 12.0

    I used bottles since it's running from the get go in a sandboxed area. I don't have experience with winetricks. I will research a bit.

    Both Freeware doesn't have an “installer”. Theses are just two zip files with the EXE and the DLL.

  • edited November 2023

    Could you run ls -lah /dev/dri/ to confirm that nvidia correctly creates a render/display node? It may be also worth checking that nvidia driver is using the card: lspci -nnk -d 10de: (look for Kernel driver in use: lines).

    On Debian I'm not sure how to get other packages for wine like wine-mono, wine-gecko, vkd3d or dxvk, which seemed to have made my experience with Rhino 7 smoother. I believe that they are needed to be installed by the host, but the wiki says that some of them may not be available.

    It was a good idea to start with bottles (I did so too, as well as Lutris), because if it works it's easier to configure it. If it doesn't work however then wine is your second best choice.

    If the program doesn't have an installer you would need to provide it with the necessary packages manually. Just running wine path/to/executable.exe will create a "virtual windows filesystem" in your home called ~/.wine. It will create bare bones environment with basic registry keys, dos devices, and simple C: drive folder structure. By default it's only 200-300MB or so. You can add other components with winetricks. On Debian I hope that you can just sudo apt install winetricks (if not winehq wiki may have a solution) .

    I assume that you don't even need to run wine path/to/executable.exe and just run the above commands (e.g. winetricks -q dotnet48) and it will create ~/.wine for you.

    Tips:

    • If you want to start over close all wine processes with this command: kill -9 $(ps aux |grep -i '\.exe' |awk '{print $2}'|tr '\n' ' ') (it kills all processes that end with .exe) and remove the .wine folder (rm -rf ~/.wine).
    • To see a list of all available components from winetricks: winetricks list-all
  • edited November 2023
    ➤ ls -lah /dev/dri/ 
    total 0
    drwxr-xr-x   3 root root        140 Nov 25 12:18 ./
    drwxr-xr-x  17 root root       3.7K Nov 25 12:18 ../
    drwxr-xr-x   2 root root        120 Nov 25 12:18 by-path/
    crw-rw----+  1 root video  226,   0 Nov 25 12:18 card0
    crw-rw----+  1 root video  226,   1 Nov 25 12:18 card1
    crw-rw----+  1 root render 226, 128 Nov 25 12:18 renderD128
    crw-rw----+  1 root render 226, 129 Nov 25 12:18 renderD129
    
    ➤ lspci -nnk -d 10de: | grep "Kernel driver in use:"
            Kernel driver in use: nvidia
    

    to take my test with wine, and also be reproducible, I installed gnome boxes with flatpak and installed Debian there with the express installation

    and create a bash script with all my steps
    These steps require sudo and the repo contrib must be enabled

            dpkg --add-architecture i386
            apt-get update -y
            apt-get upgrade -y
            apt-get install wget  unzip wine64 wine32:i386 winetricks -y
    

    These steps do not require sudo:

            winecfg
            winetricks -q dotnet48
            winetricks -q corefonts pptfonts vcrun2005 vcrun2010 vcrun2013 vcrun2022 vcrun6 vcrun6sp6 gdiplus dxvk
            winetricks renderer=gdi
            cd "$HOME/.wine/drive_c/Program Files"
            APP=KITModelViewer
            FOLDER=KITModelViewer
            mkdir $FOLDER
            cd $FOLDER
            DOWNLOAD_LINK="https://www.iai.kit.edu/downloads/Informatik%20f%c3%bcr%20die%20Energiesystemanalyse/KITModelViewer_V7.1_Build-2877.zip"
            wget $DOWNLOAD_LINK
            unzip $APP*.zip
            rm $APP*.zip
            wine $APP*.exe
    

    The last step starts the program, but when I open IFC files, I don't see any geometry in the 3D view

    wine KITModel*.exe
    0110:err:winediag:ntlm_check_version ntlm_auth was not found. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
    0110:err:ntlm:ntlm_LsaApInitializePackage no NTLM support, expect problems
    0118:err:ole:CoGetContextToken apartment not initialised
    0110:err:oledb:get_data_source provider L"Microsoft.ACE.OLEDB.16.0" not registered
    0110:err:listview:LISTVIEW_WindowProc unknown msg 109d, wp 1, lp 0
    0110:err:listview:LISTVIEW_WindowProc unknown msg 1091, wp 0, lp 116a10
    0110:err:listview:LISTVIEW_WindowProc unknown msg 1091, wp 1, lp 116ab0
    loading 'IFCDB_ECCO.x64.dll' ...
    *** ecco runtime system V3.3 Build 66 (C) PDTec AG ***
    37 instances read ...
      description         : ViewDefinition [notYetAssigned], Comment [manual creatio
    n of example file],
      implementation_level: 2;1
      name                : csg-primitive.ifc
      time_stamp          : 2012-06-15T18:00:00
      author              : redacted,
      organization        : redacted,
      preprocessor_version: redacted
      originating_system  : redacted
      authorization       : reference file created for the IFC4 specification
      schema_identifiers  : IFC4X3_ADD2,
      userdef_entities    :
    parsing data
    ECCO getIfcDataBase
    ECCO fillIndizi
    ECCO getElements
    ECCO getTypeObjects
    ECCO getRelations
    ECCO clearIndizi
    ... done
    WARNING in Populationi::getEntityType(0): ElementType not found!
    WARNING in Populationi::getEntityType(0): ElementType not found!
    WARNING in Populationi::getEntityType(0): ElementType not found!
    ---- Shader errors ----
    scene_v3.frag: compilation failed
    0:46(2): error: `return' with wrong type int, in function `getFogFactor' returni
    ng float
    0:50(2): error: `return' with wrong type int, in function `getFogFactor' returni
    ng float
    0:188(22): error: sampler arrays indexed with non-constant expressions are forbi
    dden in GLSL 1.30 and later
    
    WARNING in Populationi::getEntityType(0): ElementType not found!
    WARNING in Populationi::getEntityType(0): ElementType not found!
    WARNING in Populationi::getEntityType(0): ElementType not found!
    0110:err:seh:KiUserCallbackDispatcher ignoring exception
    


    Tes Ifc File: https://github.com/buildingSMART/IFC4.3.x-sample-models/blob/main/models/basic-geometric-shape/csg-primitive/csg-primitive.ifc

  • edited November 2023

    gnome boxes with flatpak and installed Debian there

    hmm, I wouldn't recommend that. If the issue is with graphics Gnome boxes most likely won't pass your GPU through and will use some "paravirtualized" graphics adapter (QML/virtio-gpu), so the results may be different than running it directly on your host...

    I don't see any geometry in the 3D view

    and these "paravirtual GPUs" often don't have all GL capabilities, so this might the reason why 3D view doesn't work

    could you post (via pastebin.com for example) logs from that wine command?

    It's true though that installing extra packages, PPAs for wine may make your system a little bit messy. I don't suppose that you have zfs (or btrfs) installed to "roll it back"?

  • could you post (via pastebin.com for example) logs from that wine command?

    oh, I edited my previous post to add the logs from wine

  • thanks, this indicates an issue:

    ---- Shader errors ----
    scene_v3.frag: compilation failed
    

    what's the output of glxinfo | grep "OpenGL version string" (in your virtual machine).

  • First:

    glxinfo | grep "OpenGL version string"
    bash: glxinfo: command not found
    

    So I did:

    apt-get install mesa-utils -y

    And after that:

    glxinfo | grep "OpenGL version string"
    OpenGL version string: 4.5 (Compatibility Profile) Mesa 22.3.6
    
  • Is that in the virtual machine? It's quite good actually (it's 4.6 Mesa 23.2.1 here), but sorry I would still recommend trying on the host directly without a Gnome Box.

  • Is that in the virtual machine?

    Yes

  • You can also try changing the renderer: winetricks renderer=vulkan

  • edited November 2023

    I thought it was some problem with the Debian packages of wine, so I installed wine through the winehq repo, like described at this website https://wiki.winehq.org/Debian:

    apt-get update -y
    apt-get upgrade -y
    apt-get install wget unzip -y
    
    dpkg --add-architecture i386
    mkdir -pm755 /etc/apt/keyrings
    wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key
    wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/debian/dists/bookworm/winehq-bookworm.sources
    apt-get update -y
    apt-get upgrade -y
    apt install --install-recommends winehq-stable -y
    apt-get install winetricks -y
    

    And i installed a wine env with the following bash script:

    mkdir "$HOME/Wine"
    APP=KITModelViewer
    FOLDER=KIT
    WINEPREFIX=$HOME/Wine/$FOLDER winecfg
    WINEPREFIX=$HOME/Wine/$FOLDER winetricks -q dotnet48 pptfonts vcrun2005 vcrun2010 vcrun2013 vcrun2019 vcrun6 vcrun6sp6 gdiplus dxvk
    WINEPREFIX=$HOME/Wine/$FOLDER winetricks renderer=gdi
    cd "$HOME/Wine/$FOLDER/drive_c/Program Files"
    mkdir $APP
    cd $APP
    DOWNLOAD_LINK="https://www.iai.kit.edu/downloads/Informatik%20f%c3%bcr%20die%20Energiesystemanalyse/KITModelViewer_V7.1_Build-2877.zip"
    wget $DOWNLOAD_LINK
    unzip $APP*.zip
    rm $APP*.zip
    echo "Start Programm"
    wine $APP*.exe
    

    And now i got errors of missing DLL :(

    wine KITModelViewer.exe 
    007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
    007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
    007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
    007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
    0108:err:module:import_dll Library mfc140u.dll (which is needed by L"Z:\\home\\test\\Wine\\KIT\\drive_c\\Program Files\\KITModelViewer\\OpenGL-FZK.dll") not found
    0108:err:module:import_dll Library OpenGL-FZK.dll (which is needed by L"Z:\\home\\test\\Wine\\KIT\\drive_c\\Program Files\\KITModelViewer\\KITModelViewer.exe") not found
    0108:err:module:import_dll Library mfc140u.dll (which is needed by L"Z:\\home\\test\\Wine\\KIT\\drive_c\\Program Files\\KITModelViewer\\WebService_Library.dll") not found
    0108:err:module:import_dll Library WebService_Library.dll (which is needed by L"Z:\\home\\test\\Wine\\KIT\\drive_c\\Program Files\\KITModelViewer\\KITModelViewer.exe") not found
    0108:err:module:import_dll Library mfc140u.dll (which is needed by L"Z:\\home\\test\\Wine\\KIT\\drive_c\\Program Files\\KITModelViewer\\KITModelViewer.exe") not found
    0108:err:module:import_dll Library MFCM140U.dll (which is needed by L"Z:\\home\\test\\Wine\\KIT\\drive_c\\Program Files\\KITModelViewer\\KITModelViewer.exe") not found
    0108:err:module:LdrInitializeThunk Importing dlls for L"Z:\\home\\test\\Wine\\KIT\\drive_c\\Program Files\\KITModelViewer\\KITModelViewer.exe" failed, status c0000135
    
  • This may be a really dumb question, but are you sure that you have winetricks installed? It seems to belong to "contrib" packages that you also need to add in the /etc/apt/sources.list.

  • edited November 2023

    Yes, see previous comment:

    These steps require sudo and the repo contrib must be enabled

    And here the output from cat:

    cat /etc/apt/sources.list
    # deb cdrom:[Debian GNU/Linux 12.2.0 _Bookworm_ - Official amd64 NETINST with firmware 20231007-10:28]/ bookworm main non-free-firmware
    
    deb http://deb.debian.org/debian/ bookworm main non-free-firmware contrib
    deb-src http://deb.debian.org/debian/ bookworm main non-free-firmware contrib
    
    deb http://security.debian.org/debian-security bookworm-security main non-free-firmware contrib
    deb-src http://security.debian.org/debian-security bookworm-security main non-free-firmware contrib
    
    # bookworm-updates, to get updates before a point release is made;
    # see https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_updates_and_backports
    deb http://deb.debian.org/debian/ bookworm-updates main non-free-firmware contrib
    deb-src http://deb.debian.org/debian/ bookworm-updates main non-free-firmware contrib
    
    # This system was installed using small removable media
    # (e.g. netinst, live or single CD). The matching "deb cdrom"
    # entries were disabled at the end of the installation process.
    # For information about how to configure apt package sources,
    # see the sources.list(5) manual.
    

    And winetricks version:

    winetricks --version
    20230212 - sha256sum: 14afe10e8858e47f95fc6f02015003a6ffd8cd438249b25b85e1078e8e326949
    

    And wine version:

    wine --version
    wine-8.0.2
    
  • edited November 2023

    I think there is some problem with the WINEPREFIX usage in the bash script, and I did change it to use absolute path:

    mkdir "$HOME/Wine"
    APP=KITModelViewer
    WINEPREFIX=/home/test/Wine/KIT winecfg
    WINEPREFIX=/home/test/Wine/KIT winetricks -q dotnet48 pptfonts vcrun2005 vcrun2010 vcrun2013 vcrun2019 vcrun6 vcrun6sp6 gdiplus dxvk
    WINEPREFIX=/home/test/Wine/KIT winetricks renderer=gdi
    cd "$HOME/Wine/KIT/drive_c/Program Files"
    mkdir $APP
    cd $APP
    DOWNLOAD_LINK="https://www.iai.kit.edu/downloads/Informatik%20f%c3%bcr%20die%20Energiesystemanalyse/KITModelViewer_V7.1_Build-2877.zip"
    wget $DOWNLOAD_LINK
    unzip $APP*.zip
    rm $APP*.zip
    echo "Start Programm"
    wine $APP.exe
    

    However, the problem remains. Instead of only creating stuff in the folder /home/test/Wine/KIT, some process also created /home/test/.wine folder.

    Edit: I forgot to add in the last line also the WINEPREFIX...

  • This is how I installed it this time:

    mkdir "$HOME/Wine"
    APP=KITModelViewer
    FOLDER=KIT
    WINEPREFIX=$HOME/Wine/$FOLDER winecfg
    WINEPREFIX=$HOME/Wine/$FOLDER winetricks -q dotnet48
    WINEPREFIX=$HOME/Wine/$FOLDER winetricks -q corefonts pptfonts vcrun2005 vcrun2010 vcrun2013 vcrun2022 vcrun6 vcrun6sp6 gdiplus dxvk
    WINEPREFIX=$HOME/Wine/$FOLDER winetricks renderer=gdi
    cd "$HOME/Wine/$FOLDER/drive_c/Program Files"
    mkdir $APP
    cd $APP
    DOWNLOAD_LINK="https://www.iai.kit.edu/downloads/Informatik%20f%c3%bcr%20die%20Energiesystemanalyse/KITModelViewer_V7.1_Build-2877.zip"
    wget $DOWNLOAD_LINK
    unzip $APP*.zip
    rm $APP*.zip
    echo "Start Programm"
    WINEPREFIX=$HOME/Wine/$FOLDER wine $APP.exe
    

    And run the application:

    WINEPREFIX=/home/test/Wine/KIT wine KITModelViewer.exe 
    0090:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
    0090:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
    0090:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
    0090:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
    010c:fixme:nls:RtlGetThreadPreferredUILanguages 00000038, 000000000011F214, 000000000011F230 000000000011F210
    010c:fixme:nls:get_dummy_preferred_ui_language (0x38 0x409 000000000011F214 000000000011F230 000000000011F210) returning a dummy value (current locale)
    010c:err:winediag:ntlm_check_version ntlm_auth was not found. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
    010c:err:ntlm:ntlm_LsaApInitializePackage no NTLM support, expect problems
    010c:fixme:heap:RtlSetHeapInformation handle 0000000004E40000, info_class 0, info 000000000011EFF0, size 4 stub!
    010c:fixme:heap:RtlSetHeapInformation handle 0000000005F70000, info_class 0, info 000000000011F5C0, size 4 stub!
    010c:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 00000000067E25B7, 28) stub
    010c:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 000000000741CDE4, 28) stub
    010c:fixme:heap:GetNumaHighestNodeNumber semi-stub: 000000000011F9A8
    010c:fixme:seh:WerRegisterRuntimeExceptionModule (L"C:\\windows\\Microsoft.NET\\Framework64\\v4.0.30319\\mscordacwks.dll", 0000000006C20000) stub
    010c:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
    0114:err:ole:CoGetContextToken apartment not initialised
    010c:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 0000000009BCAEF1, 28) stub
    010c:fixme:nls:RtlGetThreadPreferredUILanguages 00000038, 000000000011E694, 000000000011E6B0 000000000011E690
    010c:fixme:nls:get_dummy_preferred_ui_language (0x38 0x409 000000000011E694 000000000011E6B0 000000000011E690) returning a dummy value (current locale)
    010c:err:oledb:get_data_source provider L"Microsoft.ACE.OLEDB.16.0" not registered
    010c:fixme:msg:ChangeWindowMessageFilter 323 00000001
    010c:fixme:msg:ChangeWindowMessageFilter 326 00000001
    010c:fixme:shell:InitNetworkAddressControl stub
    010c:fixme:imm:ImeSetActiveContext (000000000001005A, 1): stub
    010c:fixme:imm:ImmReleaseContext (00000000000102AE, 000000000001005A): stub
    010c:fixme:win:NtUserLockWindowUpdate (0x10360), partial stub!
    010c:fixme:win:NtUserLockWindowUpdate ((nil)), partial stub!
    010c:fixme:win:NtUserLockWindowUpdate (0x10324), partial stub!
    010c:fixme:win:NtUserLockWindowUpdate ((nil)), partial stub!
    010c:fixme:win:NtUserLockWindowUpdate (0x1032e), partial stub!
    010c:fixme:win:NtUserLockWindowUpdate ((nil)), partial stub!
    010c:fixme:win:NtUserLockWindowUpdate (0x10336), partial stub!
    010c:fixme:win:NtUserLockWindowUpdate ((nil)), partial stub!
    010c:fixme:win:NtUserLockWindowUpdate (0x1033e), partial stub!
    010c:fixme:win:NtUserLockWindowUpdate ((nil)), partial stub!
    010c:fixme:win:NtUserLockWindowUpdate (0x20396), partial stub!
    010c:fixme:win:NtUserLockWindowUpdate ((nil)), partial stub!
    010c:fixme:win:NtUserLockWindowUpdate (0x10348), partial stub!
    010c:fixme:win:NtUserLockWindowUpdate ((nil)), partial stub!
    010c:fixme:win:NtUserLockWindowUpdate (0x10350), partial stub!
    010c:fixme:win:NtUserLockWindowUpdate ((nil)), partial stub!
    010c:fixme:win:NtUserLockWindowUpdate (0x10358), partial stub!
    010c:fixme:win:NtUserLockWindowUpdate ((nil)), partial stub!
    010c:fixme:win:NtUserLockWindowUpdate (0x203a4), partial stub!
    010c:fixme:win:NtUserLockWindowUpdate ((nil)), partial stub!
    010c:fixme:win:NtUserLockWindowUpdate (0x10376), partial stub!
    010c:fixme:win:NtUserLockWindowUpdate ((nil)), partial stub!
    010c:fixme:win:NtUserLockWindowUpdate (0x1037c), partial stub!
    010c:fixme:win:NtUserLockWindowUpdate ((nil)), partial stub!
    010c:fixme:uxtheme:BufferedPaintInit Stub ()
    00a0:fixme:imm:ImeSetActiveContext (0000000000010026, 0): stub
    00a0:fixme:imm:ImmReleaseContext (0000000000010020, 0000000000010026): stub
    010c:fixme:commdlg:IFileDialogCustomize_fnMakeProminent stub - 0000000008C7E2D0 (1000)
    010c:fixme:commdlg:IServiceProvider_fnQueryService Interface {e07010ec-bc17-44c0-97b0-46c7c95b9edc} requested from unknown service {e07010ec-bc17-44c0-97b0-46c7c95b9edc}
    010c:fixme:shell:ViewModeToListStyle ViewMode 0 not implemented
    010c:fixme:shell:IShellBrowser_fnSendControlMsg stub, 0000000008C736E0 (2, 1026, a003, 0, 000000000011ADC8)
    010c:fixme:shell:IShellBrowser_fnSendControlMsg stub, 0000000008C736E0 (2, 1026, a004, 0, 000000000011ADC8)
    010c:fixme:shell:IShellBrowser_fnSendControlMsg stub, 0000000008C736E0 (2, 1025, a003, 1, 000000000011ADC8)
    010c:fixme:shell:IShellBrowser_fnSendControlMsg stub, 0000000008C736E0 (2, 1025, a004, 1, 000000000011ADC8)
    010c:fixme:nstc:NSTC2_fnSetControlStyle2 mask & style (0x00000004) contains unsupported style(s): 0x00000004
    010c:fixme:shell:IShellBrowser_fnOnViewWindowActive stub, 0000000008C736E0 (0000000008C73900)
    010c:fixme:commdlg:IServiceProvider_fnQueryService Interface {e07010ec-bc17-44c0-97b0-46c7c95b9edc} requested from unknown service {e07010ec-bc17-44c0-97b0-46c7c95b9edc}
    010c:fixme:shell:ViewModeToListStyle ViewMode 0 not implemented
    010c:fixme:shell:IShellBrowser_fnSendControlMsg stub, 0000000008C736E0 (2, 1026, a003, 0, 000000000011AF78)
    010c:fixme:shell:IShellBrowser_fnSendControlMsg stub, 0000000008C736E0 (2, 1026, a004, 0, 000000000011AF78)
    010c:fixme:shell:IShellBrowser_fnSendControlMsg stub, 0000000008C736E0 (2, 1025, a003, 1, 000000000011AF78)
    010c:fixme:shell:IShellBrowser_fnSendControlMsg stub, 0000000008C736E0 (2, 1025, a004, 1, 000000000011AF78)
    010c:fixme:shell:IShellBrowser_fnOnViewWindowActive stub, 0000000008C736E0 (000000000029FB90)
    010c:fixme:commdlg:IFileDialog2_fnQueryInterface Unknown interface requested: {84bccd23-5fde-4cdb-aea4-af64b83d78ab}.
    010c:fixme:win:SetGestureConfig handle 00000000000D0424, reserved 0, count 5, config 0000000036D7B470, size 12 stub!
    010c:err:listview:LISTVIEW_WindowProc unknown msg 109d, wp 1, lp 0
    010c:err:listview:LISTVIEW_WindowProc unknown msg 1091, wp 0, lp 116a10
    010c:err:listview:LISTVIEW_WindowProc unknown msg 1091, wp 1, lp 116ab0
    loading 'IFCDB_ECCO.x64.dll' ...
    *** ecco runtime system V3.3 Build 66 (C) PDTec AG ***
    37 instances read ...
      description         : ViewDefinition [notYetAssigned], Comment [manual creatio
    n of example file],
      implementation_level: 2;1
      name                : csg-primitive.ifc
      time_stamp          : 2012-06-15T18:00:00
      author              : redacted,
      organization        : redacted,
      preprocessor_version: redacted
      originating_system  : redacted
      authorization       : reference file created for the IFC4 specification
      schema_identifiers  : IFC4X3_ADD2,
      userdef_entities    :
    parsing data
    ECCO getIfcDataBase
    ECCO fillIndizi
    ECCO getElements
    ECCO getTypeObjects
    ECCO getRelations
    ECCO clearIndizi
    ... done
    010c:fixme:shell:IPersistFile_fnSaveCompleted (0000000008F734F0)->(L"C:\\users\\test\\AppData\\Roaming\\Microsoft\\Windows\\Recent\\csg-primitive.ifc.lnk"): stub
    010c:fixme:shell:SHAddToRecentDocs Unsupported flags: 4
    010c:fixme:explorerframe:taskbar_list_RegisterTab iface 0000000036DA4FB0, hwndTab 0000000000050404, hwndMDI 00000000000102AE stub!
    010c:fixme:explorerframe:taskbar_list_UnregisterTab iface 0000000036DA4FB0, hwndTab 0000000000050404 stub!
    010c:fixme:explorerframe:taskbar_list_SetThumbnailClip iface 0000000036DA4FB0, hwnd 00000000000102AE, prcClip (null) stub!
    010c:fixme:explorerframe:taskbar_list_SetThumbnailClip iface 0000000036DA4FB0, hwnd 00000000000102AE, prcClip (null) stub!
    WARNING in Populationi::getEntityType(0): ElementType not found!
    WARNING in Populationi::getEntityType(0): ElementType not found!
    WARNING in Populationi::getEntityType(0): ElementType not found!
    ---- Shader errors ----
    scene_v3.frag: compilation failed
    0:46(2): error: `return' with wrong type int, in function `getFogFactor' returni
    ng float
    0:50(2): error: `return' with wrong type int, in function `getFogFactor' returni
    ng float
    0:188(22): error: sampler arrays indexed with non-constant expressions are forbi
    dden in GLSL 1.30 and later
    
    WARNING in Populationi::getEntityType(0): ElementType not found!
    WARNING in Populationi::getEntityType(0): ElementType not found!
    WARNING in Populationi::getEntityType(0): ElementType not found!
    010c:err:seh:KiUserCallbackDispatcher ignoring exception
    

    You can see the Gizamo in the 3D view, but not yet the object. It is still in the virtual system.

    knotsruen
  • edited November 2023

    nice, I haven't spotted that last missing WINEPREFIX. Maybe try adding extra debug channels for Direct3D and the windowing system to expand on these Shader errors? WINEDEBUG=+wgl,+d3d to the WINEPREFIX=$HOME/Wine/$FOLDER wine $APP.exe. This may give (much) more information (the relevant parts most likely will be at the end). I'm afraid though that it'd still may turn out to be necessary to run it without virtualization (or with a GPU passthrough). If you just want to sandbox it you can always use firejail.

  • Here is the log, it is now quite long, so i did stub it:

    WINEDEBUG=+wgl,+d3d WINEPREFIX=/home/test/Wine/KIT wine KITModelViewer.exe 
    0090:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
    0090:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
    0090:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
    0090:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
    010c:fixme:nls:RtlGetThreadPreferredUILanguages 00000038, 000000000011F214, 000000000011F230 000000000011F210
    010c:fixme:nls:get_dummy_preferred_ui_language (0x38 0x409 000000000011F214 000000000011F230 000000000011F210) returning a dummy value (current locale)
    010c:err:winediag:ntlm_check_version ntlm_auth was not found. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
    010c:err:ntlm:ntlm_LsaApInitializePackage no NTLM support, expect problems
    010c:fixme:heap:RtlSetHeapInformation handle 0000000004E40000, info_class 0, info 000000000011EFF0, size 4 stub!
    010c:fixme:heap:RtlSetHeapInformation handle 0000000005F70000, info_class 0, info 000000000011F5C0, size 4 stub!
    010c:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 00000000067E25B7, 28) stub
    010c:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 000000000741CDE4, 28) stub
    010c:fixme:heap:GetNumaHighestNodeNumber semi-stub: 000000000011F9A8
    010c:fixme:seh:WerRegisterRuntimeExceptionModule (L"C:\\windows\\Microsoft.NET\\Framework64\\v4.0.30319\\mscordacwks.dll", 0000000006C20000) stub
    010c:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
    0114:err:ole:CoGetContextToken apartment not initialised
    010c:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 0000000009BCAEF1, 28) stub
    010c:fixme:nls:RtlGetThreadPreferredUILanguages 00000038, 000000000011E694, 000000000011E6B0 000000000011E690
    010c:fixme:nls:get_dummy_preferred_ui_language (0x38 0x409 000000000011E694 000000000011E6B0 000000000011E690) returning a dummy value (current locale)
    010c:err:oledb:get_data_source provider L"Microsoft.ACE.OLEDB.16.0" not registered
    010c:fixme:msg:ChangeWindowMessageFilter 323 00000001
    010c:fixme:msg:ChangeWindowMessageFilter 326 00000001
    010c:fixme:shell:InitNetworkAddressControl stub
    010c:fixme:imm:ImeSetActiveContext (000000000001005A, 1): stub
    010c:fixme:imm:ImmReleaseContext (00000000000102AE, 000000000001005A): stub
    010c:fixme:win:NtUserLockWindowUpdate (0x10360), partial stub!
    010c:fixme:win:NtUserLockWindowUpdate ((nil)), partial stub!
    010c:fixme:win:NtUserLockWindowUpdate (0x10324), partial stub!
    010c:fixme:win:NtUserLockWindowUpdate ((nil)), partial stub!
    010c:fixme:win:NtUserLockWindowUpdate (0x1032e), partial stub!
    010c:fixme:win:NtUserLockWindowUpdate ((nil)), partial stub!
    010c:fixme:win:NtUserLockWindowUpdate (0x10336), partial stub!
    010c:fixme:win:NtUserLockWindowUpdate ((nil)), partial stub!
    010c:fixme:win:NtUserLockWindowUpdate (0x1033e), partial stub!
    010c:fixme:win:NtUserLockWindowUpdate ((nil)), partial stub!
    010c:fixme:win:NtUserLockWindowUpdate (0x20396), partial stub!
    010c:fixme:win:NtUserLockWindowUpdate ((nil)), partial stub!
    010c:fixme:win:NtUserLockWindowUpdate (0x10348), partial stub!
    010c:fixme:win:NtUserLockWindowUpdate ((nil)), partial stub!
    010c:fixme:win:NtUserLockWindowUpdate (0x10350), partial stub!
    010c:fixme:win:NtUserLockWindowUpdate ((nil)), partial stub!
    010c:fixme:win:NtUserLockWindowUpdate (0x10358), partial stub!
    010c:fixme:win:NtUserLockWindowUpdate ((nil)), partial stub!
    010c:fixme:win:NtUserLockWindowUpdate (0x203a4), partial stub!
    010c:fixme:win:NtUserLockWindowUpdate ((nil)), partial stub!
    010c:fixme:win:NtUserLockWindowUpdate (0x10376), partial stub!
    010c:fixme:win:NtUserLockWindowUpdate ((nil)), partial stub!
    010c:fixme:win:NtUserLockWindowUpdate (0x1037c), partial stub!
    010c:fixme:win:NtUserLockWindowUpdate ((nil)), partial stub!
    010c:fixme:win:NtUserLockWindowUpdate (0x20314), partial stub!
    010c:fixme:win:NtUserLockWindowUpdate ((nil)), partial stub!
    010c:fixme:win:NtUserLockWindowUpdate (0x20314), partial stub!
    010c:fixme:win:NtUserLockWindowUpdate ((nil)), partial stub!
    010c:fixme:uxtheme:BufferedPaintInit Stub ()
    00a0:fixme:imm:ImeSetActiveContext (0000000000010026, 0): stub
    00a0:fixme:imm:ImmReleaseContext (0000000000010020, 0000000000010026): stub
    010c:fixme:commdlg:IFileDialogCustomize_fnMakeProminent stub - 0000000008C7E340 (1000)
    010c:fixme:commdlg:IServiceProvider_fnQueryService Interface {e07010ec-bc17-44c0-97b0-46c7c95b9edc} requested from unknown service {e07010ec-bc17-44c0-97b0-46c7c95b9edc}
    010c:fixme:shell:ViewModeToListStyle ViewMode 0 not implemented
    010c:fixme:shell:IShellBrowser_fnSendControlMsg stub, 0000000008C81AD0 (2, 1026, a003, 0, 000000000011ADC8)
    010c:fixme:shell:IShellBrowser_fnSendControlMsg stub, 0000000008C81AD0 (2, 1026, a004, 0, 000000000011ADC8)
    010c:fixme:shell:IShellBrowser_fnSendControlMsg stub, 0000000008C81AD0 (2, 1025, a003, 1, 000000000011ADC8)
    010c:fixme:shell:IShellBrowser_fnSendControlMsg stub, 0000000008C81AD0 (2, 1025, a004, 1, 000000000011ADC8)
    010c:fixme:nstc:NSTC2_fnSetControlStyle2 mask & style (0x00000004) contains unsupported style(s): 0x00000004
    010c:fixme:shell:IShellBrowser_fnOnViewWindowActive stub, 0000000008C81AD0 (0000000008C81CF0)
    010c:fixme:commdlg:IServiceProvider_fnQueryService Interface {e07010ec-bc17-44c0-97b0-46c7c95b9edc} requested from unknown service {e07010ec-bc17-44c0-97b0-46c7c95b9edc}
    010c:fixme:shell:ViewModeToListStyle ViewMode 0 not implemented
    010c:fixme:shell:IShellBrowser_fnSendControlMsg stub, 0000000008C81AD0 (2, 1026, a003, 0, 000000000011AF78)
    010c:fixme:shell:IShellBrowser_fnSendControlMsg stub, 0000000008C81AD0 (2, 1026, a004, 0, 000000000011AF78)
    010c:fixme:shell:IShellBrowser_fnSendControlMsg stub, 0000000008C81AD0 (2, 1025, a003, 1, 000000000011AF78)
    010c:fixme:shell:IShellBrowser_fnSendControlMsg stub, 0000000008C81AD0 (2, 1025, a004, 1, 000000000011AF78)
    010c:fixme:shell:IShellBrowser_fnOnViewWindowActive stub, 0000000008C81AD0 (000000000029FD10)
    010c:fixme:commdlg:IFileDialog2_fnQueryInterface Unknown interface requested: {84bccd23-5fde-4cdb-aea4-af64b83d78ab}.
    010c:trace:wgl:X11DRV_WineGL_InitOpenglInfo GL version             : 4.5 (Compatibility Profile) Mesa 22.3.6.
    010c:trace:wgl:X11DRV_WineGL_InitOpenglInfo GL renderer            : llvmpipe (LLVM 15.0.6, 256 bits).
    010c:trace:wgl:X11DRV_WineGL_InitOpenglInfo GLX version            : 1.4.
    010c:trace:wgl:X11DRV_WineGL_InitOpenglInfo Server GLX version     : 1.4.
    010c:trace:wgl:X11DRV_WineGL_InitOpenglInfo Server GLX vendor:     : SGI.
    010c:trace:wgl:X11DRV_WineGL_InitOpenglInfo Client GLX version     : 1.4.
    010c:trace:wgl:X11DRV_WineGL_InitOpenglInfo Client GLX vendor:     : Mesa Project and SGI.
    010c:trace:wgl:X11DRV_WineGL_InitOpenglInfo Direct rendering enabled: True
    010c:trace:wgl:init_opengl GLX is up and running error_base = 158
    010c:trace:wgl:register_extension 'WGL_ARB_create_context'
    010c:trace:wgl:register_extension 'WGL_ARB_create_context_no_error'
    010c:trace:wgl:register_extension 'WGL_ARB_create_context_profile'
    010c:trace:wgl:register_extension 'WGL_ARB_extensions_string'
    010c:trace:wgl:register_extension 'WGL_ARB_make_current_read'
    010c:trace:wgl:register_extension 'WGL_ARB_multisample'
    010c:trace:wgl:register_extension 'WGL_ARB_pbuffer'
    010c:trace:wgl:register_extension 'WGL_ARB_pixel_format'
    010c:trace:wgl:register_extension 'WGL_ARB_pixel_format_float'
    010c:trace:wgl:register_extension 'WGL_ATI_pixel_format_float'
    010c:trace:wgl:register_extension 'WGL_ARB_render_texture'
    010c:trace:wgl:register_extension 'WGL_NV_render_texture_rectangle'
    010c:trace:wgl:register_extension 'WGL_EXT_extensions_string'
    010c:trace:wgl:register_extension 'WGL_EXT_swap_control'
    010c:trace:wgl:register_extension 'WGL_EXT_framebuffer_sRGB'
    010c:trace:wgl:register_extension 'WGL_EXT_pixel_format_packed_float'
    010c:trace:wgl:register_extension 'WGL_WINE_pixel_format_passthrough'
    010c:trace:wgl:register_extension 'WGL_WINE_query_renderer'
    010c:trace:wgl:init_pixel_formats Found 220 bitmap capable fbconfigs
    010c:trace:wgl:init_pixel_formats Found onscreen format FBCONFIG_ID 0x113 corresponding to iPixelFormat 1 at GLX index 180
    010c:trace:wgl:init_pixel_formats Found bitmap capable format FBCONFIG_ID 0x113 corresponding to iPixelFormat 2 at GLX index 180
    010c:trace:wgl:init_pixel_formats Found onscreen format FBCONFIG_ID 0x114 corresponding to iPixelFormat 3 at GLX index 181
    010c:trace:wgl:init_pixel_formats Found bitmap capable format FBCONFIG_ID 0x114 corresponding to iPixelFormat 4 at GLX index 181
    010c:trace:wgl:init_pixel_formats Found onscreen format FBCONFIG_ID 0x115 corresponding to iPixelFormat 5 at GLX index 182
    010c:trace:wgl:init_pixel_formats Found onscreen format FBCONFIG_ID 0x116 corresponding to iPixelFormat 6 at GLX index 183
    010c:trace:wgl:init_pixel_formats Found onscreen format FBCONFIG_ID 0x117 corresponding to iPixelFormat 7 at GLX index 184
    010c:trace:wgl:init_pixel_formats Found onscreen format FBCONFIG_ID 0x118 corresponding to iPixelFormat 8 at GLX index 185
    010c:trace:wgl:init_pixel_formats Found onscreen format FBCONFIG_ID 0x119 corresponding to iPixelFormat 9 at GLX index 186
    010c:trace:wgl:init_pixel_formats Found bitmap capable format FBCONFIG_ID 0x119 corresponding to iPixelFormat 10 at GLX index 186
    010c:trace:wgl:init_pixel_formats Found onscreen format FBCONFIG_ID 0x11a corresponding to iPixelFormat 11 at GLX index 187
    
    --- snip ---
    
    010c:trace:wgl:init_pixel_formats Found offscreen format FBCONFIG_ID 0x35e corresponding to iPixelFormat 888 at GLX index 767
    010c:trace:wgl:init_pixel_formats Found offscreen format FBCONFIG_ID 0x35f corresponding to iPixelFormat 889 at GLX index 768
    010c:trace:wgl:init_pixel_formats Found offscreen format FBCONFIG_ID 0x360 corresponding to iPixelFormat 890 at GLX index 769
    010c:trace:wgl:init_pixel_formats Found offscreen format FBCONFIG_ID 0x361 corresponding to iPixelFormat 891 at GLX index 770
    010c:trace:wgl:init_pixel_formats Found offscreen format FBCONFIG_ID 0x362 corresponding to iPixelFormat 892 at GLX index 771
    010c:trace:wgl:init_pixel_formats Found offscreen format FBCONFIG_ID 0x363 corresponding to iPixelFormat 893 at GLX index 772
    010c:trace:wgl:init_pixel_formats Found offscreen format FBCONFIG_ID 0x364 corresponding to iPixelFormat 894 at GLX index 773
    010c:trace:wgl:init_pixel_formats Found offscreen format FBCONFIG_ID 0x365 corresponding to iPixelFormat 895 at GLX index 774
    010c:trace:wgl:init_pixel_formats Found offscreen format FBCONFIG_ID 0x366 corresponding to iPixelFormat 896 at GLX index 775
    010c:trace:wgl:init_pixel_formats Found offscreen format FBCONFIG_ID 0x367 corresponding to iPixelFormat 897 at GLX index 776
    010c:trace:wgl:init_pixel_formats Found offscreen format FBCONFIG_ID 0x368 corresponding to iPixelFormat 898 at GLX index 777
    010c:trace:wgl:init_pixel_formats Found offscreen format FBCONFIG_ID 0x369 corresponding to iPixelFormat 899 at GLX index 778
    010c:trace:wgl:init_pixel_formats Found offscreen format FBCONFIG_ID 0x36a corresponding to iPixelFormat 900 at GLX index 779
    010c:trace:wgl:init_pixel_formats Found offscreen format FBCONFIG_ID 0x36b corresponding to iPixelFormat 901 at GLX index 780
    010c:trace:wgl:init_pixel_formats Found offscreen format FBCONFIG_ID 0x36c corresponding to iPixelFormat 902 at GLX index 781
    010c:trace:wgl:init_pixel_formats Found offscreen format FBCONFIG_ID 0x36d corresponding to iPixelFormat 903 at GLX index 782
    010c:trace:wgl:init_pixel_formats Found offscreen format FBCONFIG_ID 0x36e corresponding to iPixelFormat 904 at GLX index 783
    010c:trace:wgl:init_pixel_formats Found offscreen format FBCONFIG_ID 0x36f corresponding to iPixelFormat 905 at GLX index 784
    010c:trace:wgl:init_pixel_formats Found offscreen format FBCONFIG_ID 0x370 corresponding to iPixelFormat 906 at GLX index 785
    010c:trace:wgl:init_pixel_formats Found offscreen format FBCONFIG_ID 0x371 corresponding to iPixelFormat 907 at GLX index 786
    010c:trace:wgl:init_pixel_formats Found offscreen format FBCONFIG_ID 0x372 corresponding to iPixelFormat 908 at GLX index 787
    010c:trace:wgl:init_pixel_formats Found offscreen format FBCONFIG_ID 0x373 corresponding to iPixelFormat 909 at GLX index 788
    010c:trace:wgl:init_pixel_formats Found offscreen format FBCONFIG_ID 0x374 corresponding to iPixelFormat 910 at GLX index 789
    010c:trace:wgl:init_pixel_formats Found offscreen format FBCONFIG_ID 0x375 corresponding to iPixelFormat 911 at GLX index 790
    010c:trace:wgl:init_pixel_formats Found offscreen format FBCONFIG_ID 0x376 corresponding to iPixelFormat 912 at GLX index 791
    010c:trace:wgl:init_pixel_formats Found offscreen format FBCONFIG_ID 0x377 corresponding to iPixelFormat 913 at GLX index 792
    010c:trace:wgl:init_pixel_formats Found offscreen format FBCONFIG_ID 0x378 corresponding to iPixelFormat 914 at GLX index 793
    010c:trace:wgl:init_pixel_formats Found offscreen format FBCONFIG_ID 0x379 corresponding to iPixelFormat 915 at GLX index 794
    010c:trace:wgl:init_pixel_formats Found offscreen format FBCONFIG_ID 0x37a corresponding to iPixelFormat 916 at GLX index 795
    010c:trace:wgl:init_pixel_formats Found offscreen format FBCONFIG_ID 0x37b corresponding to iPixelFormat 917 at GLX index 796
    010c:trace:wgl:init_pixel_formats Found offscreen format FBCONFIG_ID 0x37c corresponding to iPixelFormat 918 at GLX index 797
    010c:trace:wgl:init_pixel_formats Found offscreen format FBCONFIG_ID 0x37d corresponding to iPixelFormat 919 at GLX index 798
    010c:trace:wgl:init_pixel_formats Found offscreen format FBCONFIG_ID 0x37e corresponding to iPixelFormat 920 at GLX index 799
    010c:trace:wgl:init_pixel_formats Found offscreen format FBCONFIG_ID 0x37f corresponding to iPixelFormat 921 at GLX index 800
    010c:trace:wgl:init_pixel_formats Found offscreen format FBCONFIG_ID 0x380 corresponding to iPixelFormat 922 at GLX index 801
    010c:trace:wgl:init_pixel_formats Found offscreen format FBCONFIG_ID 0x381 corresponding to iPixelFormat 923 at GLX index 802
    010c:trace:wgl:init_pixel_formats Found offscreen format FBCONFIG_ID 0x382 corresponding to iPixelFormat 924 at GLX index 803
    010c:trace:wgl:init_pixel_formats Found offscreen format FBCONFIG_ID 0x383 corresponding to iPixelFormat 925 at GLX index 804
    010c:trace:wgl:init_pixel_formats Found offscreen format FBCONFIG_ID 0x384 corresponding to iPixelFormat 926 at GLX index 805
    010c:trace:wgl:init_pixel_formats Found offscreen format FBCONFIG_ID 0x385 corresponding to iPixelFormat 927 at GLX index 806
    010c:trace:wgl:init_pixel_formats Found offscreen format FBCONFIG_ID 0x386 corresponding to iPixelFormat 928 at GLX index 807
    010c:trace:wgl:init_pixel_formats Found offscreen format FBCONFIG_ID 0x387 corresponding to iPixelFormat 929 at GLX index 808
    010c:trace:wgl:init_pixel_formats Found offscreen format FBCONFIG_ID 0x388 corresponding to iPixelFormat 930 at GLX index 809
    010c:trace:wgl:glxdrv_wglDescribePixelFormat (0x7010042,0,0,(nil))
    010c:trace:wgl:glxdrv_wglDescribePixelFormat (0x7010042,1,40,0x1179f0)
    010c:trace:wgl:get_pixel_format Returning fmt_id=0x113 for iPixelFormat=1
    010c:trace:wgl:dump_PIXELFORMATDESCRIPTOR size 40 version 1 flags 36 type 0 color 32 8,8,8,8 accum 0 depth 0 stencil 0 aux 0 PFD_DRAW_TO_WINDOW PFD_SUPPORT_OPENGL 
    010c:trace:wgl:glxdrv_wglDescribePixelFormat (0x7010042,2,40,0x1179f0)
    010c:trace:wgl:get_pixel_format Returning fmt_id=0x113 for iPixelFormat=2
    010c:trace:wgl:dump_PIXELFORMATDESCRIPTOR size 40 version 1 flags 124 type 0 color 32 8,8,8,8 accum 0 depth 0 stencil 0 aux 0 PFD_DRAW_TO_WINDOW PFD_DRAW_TO_BITMAP PFD_GENERIC_FORMAT PFD_SUPPORT_GDI PFD_SUPPORT_OPENGL 
    010c:trace:wgl:glxdrv_wglDescribePixelFormat (0x7010042,3,40,0x1179f0)
    010c:trace:wgl:get_pixel_format Returning fmt_id=0x114 for iPixelFormat=3
    010c:trace:wgl:dump_PIXELFORMATDESCRIPTOR size 40 version 1 flags 36 type 0 color 32 8,8,8,8 accum 64 depth 0 stencil 0 aux 0 PFD_DRAW_TO_WINDOW PFD_SUPPORT_OPENGL 
    010c:trace:wgl:glxdrv_wglDescribePixelFormat (0x7010042,4,40,0x1179f0)
    010c:trace:wgl:get_pixel_format Returning fmt_id=0x114 for iPixelFormat=4
    010c:trace:wgl:dump_PIXELFORMATDESCRIPTOR size 40 version 1 flags 124 type 0 color 32 8,8,8,8 accum 64 depth 0 stencil 0 aux 0 PFD_DRAW_TO_WINDOW PFD_DRAW_TO_BITMAP PFD_GENERIC_FORMAT PFD_SUPPORT_GDI PFD_SUPPORT_OPENGL 
    
    
    
    --- snip ---
    
    drawable type 0x7
    010c:trace:wgl:glxdrv_wglMakeCurrent 0x7010042,0x7f002050 returning 1
    010c:trace:wgl:X11DRV_wglCreateContextAttribsARB (0x7010042 (nil) 0x117b10)
    010c:trace:wgl:X11DRV_wglCreateContextAttribsARB 0x2091 0x3
    010c:trace:wgl:X11DRV_wglCreateContextAttribsARB 0x2092 0x3
    010c:trace:wgl:X11DRV_wglCreateContextAttribsARB 0x7010042 -> 0x7f22cfb0
    010c:trace:wgl:glxdrv_wglMakeCurrent (0x7010042,0x7f22cfb0)
    010c:trace:wgl:glxdrv_wglMakeCurrent hdc 0x7010042 drawable 5001f89 fmt 0x7f008130 ctx 0x7f22d060 fbconfig 0x15a visual id 0x3ed drawable type 0x7
    010c:trace:wgl:glxdrv_wglMakeCurrent 0x7010042,0x7f22cfb0 returning 1
    010c:fixme:win:SetGestureConfig handle 000000000007038A, reserved 0, count 5, config 0000000036D47A80, size 12 stub!
    010c:err:listview:LISTVIEW_WindowProc unknown msg 109d, wp 1, lp 0
    010c:err:listview:LISTVIEW_WindowProc unknown msg 1091, wp 0, lp 116a10
    010c:err:listview:LISTVIEW_WindowProc unknown msg 1091, wp 1, lp 116ab0
    loading 'IFCDB_ECCO.x64.dll' ...
    *** ecco runtime system V3.3 Build 66 (C) PDTec AG ***
    37 instances read ...
      description         : ViewDefinition [notYetAssigned], Comment [manual creation of example file],
      implementation_level: 2;1
      name                : csg-primitive.ifc
      time_stamp          : 2012-06-15T18:00:00
      author              : redacted,
      organization        : redacted,
      preprocessor_version: redacted
      originating_system  : redacted
      authorization       : reference file created for the IFC4 specification
      schema_identifiers  : IFC4X3_ADD2,
      userdef_entities    :
    parsing data
    ECCO getIfcDataBase
    ECCO fillIndizi
    ECCO getElements
    ECCO getTypeObjects
    ECCO getRelations
    ECCO clearIndizi
    ... done
    010c:fixme:shell:IPersistFile_fnSaveCompleted (0000000000590E40)->(L"C:\\users\\test\\AppData\\Roaming\\Microsoft\\Windows\\Recent\\csg-primitive.ifc.lnk"): stub
    010c:fixme:shell:SHAddToRecentDocs Unsupported flags: 4
    010c:fixme:explorerframe:taskbar_list_RegisterTab iface 0000000036D24950, hwndTab 000000000005041C, hwndMDI 00000000000102AE stub!
    010c:fixme:explorerframe:taskbar_list_UnregisterTab iface 0000000036D24950, hwndTab 000000000005041C stub!
    010c:fixme:explorerframe:taskbar_list_SetThumbnailClip iface 0000000036D24950, hwnd 00000000000102AE, prcClip (null) stub!
    010c:fixme:explorerframe:taskbar_list_SetThumbnailClip iface 0000000036D24950, hwnd 00000000000102AE, prcClip (null) stub!
    WARNING in Populationi::getEntityType(0): ElementType not found!
    WARNING in Populationi::getEntityType(0): ElementType not found!
    WARNING in Populationi::getEntityType(0): ElementType not found!
    010c:trace:wgl:glxdrv_wglMakeCurrent (0x1010205,0x7f22cfb0)
    010c:trace:wgl:glxdrv_wglMakeCurrent hdc 0x1010205 drawable 5001f89 fmt 0x7f008130 ctx 0x7f22d060 fbconfig 0x15a visual id 0x3ed drawable type 0x7
    010c:trace:wgl:glxdrv_wglMakeCurrent 0x1010205,0x7f22cfb0 returning 1
    ---- Shader errors ----
    scene_v3.frag: compilation failed
    0:46(2): error: `return' with wrong type int, in function `getFogFactor' returning float
    0:50(2): error: `return' with wrong type int, in function `getFogFactor' returning float
    0:188(22): error: sampler arrays indexed with non-constant expressions are forbidden in GLSL 1.30 and later
    
    010c:trace:wgl:glxdrv_wglMakeCurrent (0x1010205,0x7f22cfb0)
    010c:trace:wgl:glxdrv_wglMakeCurrent hdc 0x1010205 drawable 5001f89 fmt 0x7f008130 ctx 0x7f22d060 fbconfig 0x15a visual id 0x3ed drawable type 0x7
    010c:trace:wgl:glxdrv_wglMakeCurrent 0x1010205,0x7f22cfb0 returning 1
    WARNING in Populationi::getEntityType(0): ElementType not found!
    WARNING in Populationi::getEntityType(0): ElementType not found!
    WARNING in Populationi::getEntityType(0): ElementType not found!
    010c:err:seh:KiUserCallbackDispatcher ignoring exception
    010c:trace:wgl:glxdrv_wglMakeCurrent (0x1010205,0x7f22cfb0)
    010c:trace:wgl:glxdrv_wglMakeCurrent hdc 0x1010205 drawable 5001f89 fmt 0x7f008130 ctx 0x7f22d060 fbconfig 0x15a visual id 0x3ed drawable type 0x7
    010c:trace:wgl:glxdrv_wglMakeCurrent 0x1010205,0x7f22cfb0 returning 1
    010c:trace:wgl:glxdrv_wglSwapBuffers (0x1010205)
    010c:warn:wgl:set_swap_interval Request to adjust swap interval is not handled
    010c:trace:wgl:glxdrv_wglMakeCurrent (0x1010205,0x7f22cfb0)
    010c:trace:wgl:glxdrv_wglMakeCurrent hdc 0x1010205 drawable 5001f89 fmt 0x7f008130 ctx 0x7f22d060 fbconfig 0x15a visual id 0x3ed drawable type 0x7
    010c:trace:wgl:glxdrv_wglMakeCurrent 0x1010205,0x7f22cfb0 returning 1
    010c:trace:wgl:glxdrv_wglSwapBuffers (0x1010205)
    010c:trace:wgl:glxdrv_wglMakeCurrent (0x1010205,0x7f22cfb0)
    010c:trace:wgl:glxdrv_wglMakeCurrent hdc 0x1010205 drawable 5001f89 fmt 0x7f008130 ctx 0x7f22d060 fbconfig 0x15a visual id 0x3ed drawable type 0x7
    010c:trace:wgl:glxdrv_wglMakeCurrent 0x1010205,0x7f22cfb0 returning 1
    010c:trace:wgl:glxdrv_wglSwapBuffers (0x1010205)
    010c:trace:wgl:glxdrv_wglMakeCurrent (0x1010205,0x7f22cfb0)
    010c:trace:wgl:glxdrv_wglMakeCurrent hdc 0x1010205 drawable 5001f89 fmt 0x7f008130 ctx 0x7f22d060 fbconfig 0x15a visual id 0x3ed drawable type 0x7
    010c:trace:wgl:glxdrv_wglMakeCurrent 0x1010205,0x7f22cfb0 returning 1
    010c:trace:wgl:glxdrv_wglSwapBuffers (0x1010205)
    010c:trace:wgl:glxdrv_wglMakeCurrent (0x1010205,0x7f22cfb0)
    010c:trace:wgl:glxdrv_wglMakeCurrent hdc 0x1010205 drawable 5001f89 fmt 0x7f008130 ctx 0x7f22d060 fbconfig 0x15a visual id 0x3ed drawable type 0x7
    010c:trace:wgl:glxdrv_wglMakeCurrent 0x1010205,0x7f22cfb0 returning 1
    010c:trace:wgl:glxdrv_wglSwapBuffers (0x1010205)
    010c:trace:wgl:glxdrv_wglMakeCurrent (0x1010205,0x7f22cfb0)
    010c:trace:wgl:glxdrv_wglMakeCurrent hdc 0x1010205 drawable 5001f89 fmt 0x7f008130 ctx 0x7f22d060 fbconfig 0x15a visual id 0x3ed drawable type 0x7
    010c:trace:wgl:glxdrv_wglMakeCurrent 0x1010205,0x7f22cfb0 returning 1
    010c:trace:wgl:glxdrv_wglSwapBuffers (0x1010205)
    010c:trace:wgl:glxdrv_wglMakeCurrent (0x1010205,0x7f22cfb0)
    010c:trace:wgl:glxdrv_wglMakeCurrent hdc 0x1010205 drawable 5001f89 fmt 0x7f008130 ctx 0x7f22d060 fbconfig 0x15a visual id 0x3ed drawable type 0x7
    010c:trace:wgl:glxdrv_wglMakeCurrent 0x1010205,0x7f22cfb0 returning 1
    010c:trace:wgl:glxdrv_wglSwapBuffers (0x1010205)
    010c:trace:wgl:glxdrv_wglMakeCurrent (0x1010205,0x7f22cfb0)
    010c:trace:wgl:glxdrv_wglMakeCurrent hdc 0x1010205 drawable 5001f89 fmt 0x7f008130 ctx 0x7f22d060 fbconfig 0x15a visual id 0x3ed drawable type 0x7
    010c:trace:wgl:glxdrv_wglMakeCurrent 0x1010205,0x7f22cfb0 returning 1
    010c:trace:wgl:glxdrv_wglSwapBuffers (0x1010205)
    010c:trace:wgl:glxdrv_wglMakeCurrent (0x1010205,0x7f22cfb0)
    010c:trace:wgl:glxdrv_wglMakeCurrent hdc 0x1010205 drawable 5001f89 fmt 0x7f008130 ctx 0x7f22d060 fbconfig 0x15a visual id 0x3ed drawable type 0x7
    010c:trace:wgl:glxdrv_wglMakeCurrent 0x1010205,0x7f22cfb0 returning 1
    010c:trace:wgl:glxdrv_wglSwapBuffers (0x1010205)
    010c:trace:wgl:glxdrv_wglMakeCurrent (0x1010205,0x7f22cfb0)
    010c:trace:wgl:glxdrv_wglMakeCurrent hdc 0x1010205 drawable 5001f89 fmt 0x7f008130 ctx 0x7f22d060 fbconfig 0x15a visual id 0x3ed drawable type 0x7
    010c:trace:wgl:glxdrv_wglMakeCurrent 0x1010205,0x7f22cfb0 returning 1
    010c:trace:wgl:glxdrv_wglSwapBuffers (0x1010205)
    010c:trace:wgl:glxdrv_wglMakeCurrent (0x1010205,0x7f22cfb0)
    010c:trace:wgl:glxdrv_wglMakeCurrent hdc 0x1010205 drawable 5001f89 fmt 0x7f008130 ctx 0x7f22d060 fbconfig 0x15a visual id 0x3ed drawable type 0x7
    010c:trace:wgl:glxdrv_wglMakeCurrent 0x1010205,0x7f22cfb0 returning 1
    010c:trace:wgl:glxdrv_wglSwapBuffers (0x1010205)
    010c:trace:wgl:glxdrv_wglMakeCurrent (0x1010205,0x7f22cfb0)
    010c:trace:wgl:glxdrv_wglMakeCurrent hdc 0x1010205 drawable 5001f89 fmt 0x7f008130 ctx 0x7f22d060 fbconfig 0x15a visual id 0x3ed drawable type 0x7
    010c:trace:wgl:glxdrv_wglMakeCurrent 0x1010205,0x7f22cfb0 returning 1
    010c:trace:wgl:glxdrv_wglSwapBuffers (0x1010205)
    010c:trace:wgl:glxdrv_wglMakeCurrent (0x1010205,0x7f22cfb0)
    010c:trace:wgl:glxdrv_wglMakeCurrent hdc 0x1010205 drawable 5001f89 fmt 0x7f008130 ctx 0x7f22d060 fbconfig 0x15a visual id 0x3ed drawable type 0x7
    010c:trace:wgl:glxdrv_wglMakeCurrent 0x1010205,0x7f22cfb0 returning 1
    010c:trace:wgl:glxdrv_wglSwapBuffers (0x1010205)
    010c:trace:wgl:glxdrv_wglMakeCurrent (0x1010205,0x7f22cfb0)
    010c:trace:wgl:glxdrv_wglMakeCurrent hdc 0x1010205 drawable 5001f89 fmt 0x7f008130 ctx 0x7f22d060 fbconfig 0x15a visual id 0x3ed drawable type 0x7
    010c:trace:wgl:glxdrv_wglMakeCurrent 0x1010205,0x7f22cfb0 returning 1
    010c:trace:wgl:glxdrv_wglSwapBuffers (0x1010205)
    010c:trace:wgl:glxdrv_wglMakeCurrent (0x1010205,0x7f22cfb0)
    010c:trace:wgl:glxdrv_wglMakeCurrent hdc 0x1010205 drawable 5001f89 fmt 0x7f008130 ctx 0x7f22d060 fbconfig 0x15a visual id 0x3ed drawable type 0x7
    010c:trace:wgl:glxdrv_wglMakeCurrent 0x1010205,0x7f22cfb0 returning 1
    010c:trace:wgl:glxdrv_wglSwapBuffers (0x1010205)
    010c:trace:wgl:glxdrv_wglMakeCurrent (0x1010205,0x7f22cfb0)
    010c:trace:wgl:glxdrv_wglMakeCurrent hdc 0x1010205 drawable 5001f89 fmt 0x7f008130 ctx 0x7f22d060 fbconfig 0x15a visual id 0x3ed drawable type 0x7
    010c:trace:wgl:glxdrv_wglMakeCurrent 0x1010205,0x7f22cfb0 returning 1
    010c:trace:wgl:glxdrv_wglSwapBuffers (0x1010205)
    010c:trace:wgl:glxdrv_wglMakeCurrent (0x1010205,0x7f22cfb0)
    010c:trace:wgl:glxdrv_wglMakeCurrent hdc 0x1010205 drawable 5001f89 fmt 0x7f008130 ctx 0x7f22d060 fbconfig 0x15a visual id 0x3ed drawable type 0x7
    010c:trace:wgl:glxdrv_wglMakeCurrent 0x1010205,0x7f22cfb0 returning 1
    010c:trace:wgl:glxdrv_wglSwapBuffers (0x1010205)
    010c:fixme:explorerframe:taskbar_list_SetThumbnailClip iface 0000000036D24950, hwnd 00000000000102AE, prcClip (null) stub!
    010c:trace:wgl:glxdrv_wglMakeCurrent ((nil),(nil))
    010c:trace:wgl:glxdrv_wglDeleteContext (0x7f22cfb0)
    Closing Populationi!
     deleting 3 entities ...
    
    ~EccoDataFile()
    deleting m_pEccoApp
    ok
    010c:fixme:uxtheme:BufferedPaintUnInit Stub ()
    021c:fixme:virtual:NtFlushProcessWriteBuffers stub
    
  • I'm afraid though that it'd still may turn out to be necessary to run it without virtualization (or with a GPU passthrough). If you just want to sandbox it you can always use firejail.

    I heard of apparmor and firejail, but did not use it and therefore have no experience. I will try later on wine on my host machine, if there is no solution with the virtual machine variant.

  • edited November 2023

    hmm, so it uses CPU instead of GPU (llvmpipe), that explains why OpenGL is as high 4.5. I've never run wine this way, but maybe you can try to add LIBGL_ALWAYS_SOFTWARE=1 to the wine command (Archwiki)? It's just a wild guess, even if it works expect much higher CPU usage (which may be okay if you won't use it frequently). If you go with running it on the host I recommend installing firejail (sandbox) and opensnitchd (outbound connections firewall) when running untrusted applications. Firejail can be complicated, but opensnitch is very easy to use (and comes in handy also with gnome boxes).

  • Oh, that explains why the CPU usage was that high. If I use wine on my host, can KITModelViewer use the GPU to render?

  • edited November 2023

    Yeah, on host it will use a hardware GPU (Nvidia card by default on my laptop at least). Llvmpipe is used in Gnome Box most likely to provide full OpenGL capabilities, but some operations (like shader compilation) maybe aren't supported.

    Martin156131
  • I did now install wine on my host machine. This I did with the package installer from MX Linux:

    This installed the following package:

    wine-gecko2.47.4:i386 (2.47.4-1mx23+1)
    wine-gecko2.47.4 (2.47.4-1mx23+1)
    wine-mono8.0.0 (1.0-1mx23+1)
    wine-staging-amd64 (8.12-1mx23+1)
    wine-staging-i386:i386 (8.12-1mx23+1)
    wine-staging (8.12-1mx23+1)
    winehq-staging (8.12-1mx23+1)
    

    I also installed winetricks and did the following:

    WINEPREFIX=/home/USER/Wine/KIT winecfg
    WINEPREFIX=/home/USER/Wine/KIT winetricks -q vcrun2022
    WINEPREFIX=/home/USER/Wine/KIT winetricks -q corefonts
    WINEPREFIX=/home/USER/Wine/KIT winetricks -q dxvk
    WINEPREFIX=/home/USER/Wine/KIT winetricks -q gdiplus
    WINEPREFIX=/home/USER/Wine/KIT winetricks renderer=gdi
    WINEPREFIX=/home/USER/Wine/KIT winetricks -q vcrun6
    WINEPREFIX=/home/USER/Wine/KIT winetricks -q vcrun6sp6
    WINEPREFIX=/home/USER/Wine/KIT winetricks -q dotnet48
    

    Now i started the programm with nvidia card:

    WINEPREFIX=/home/USER/Wine/KIT nvidia-run-mx wine KITModelViewer.exe

    and it use the nvida card for the rendering of the 3d view:

    ➤ nvidia-smi
    +-----------------------------------------------------------------------------+
    | NVIDIA-SMI 525.125.06   Driver Version: 525.125.06   CUDA Version: 12.0     |
    |-------------------------------+----------------------+----------------------+
    | GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
    | Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
    |                               |                      |               MIG M. |
    |===============================+======================+======================|
    |   0  NVIDIA GeForce ...  Off  | 00000000:02:00.0 Off |                  N/A |
    | N/A   50C    P5    N/A /  N/A |    132MiB /  2048MiB |     27%      Default |
    |                               |                      |                  N/A |
    +-------------------------------+----------------------+----------------------+
    
    +-----------------------------------------------------------------------------+
    | Processes:                                                                  |
    |  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
    |        ID   ID                                                   Usage      |
    |=============================================================================|
    |    0   N/A  N/A      2491      G   /usr/lib/xorg/Xorg                 16MiB |
    |    0   N/A  N/A     55605      G   ...d-2877\KITModelViewer.exe      115MiB |
    +-----------------------------------------------------------------------------+
    

    When I open a model now, the upper half of the 3D view flickers. I don't know what the problem is.

  • edited December 2023

    Now i started the program with nvidia card:

    Oh so Boxes do provide GPU passthrough now. Cool.

    This installed the following packages

    Nice, on Arch they are separate packages and I didn't know that there is such a "package group" on MX Linux. As you probably already know gecko is a web rendering engine and can be used to support internet explorer and many other windows programs, mono allows you to run .NET (C#) programs on Linux (and Mac). They are useful, because wine can use them as its "backend" to run windows applications. It can also use native windows DLLs, which application installer often ship, but AFAIK "linux native" versions are recommended. wine-staging often has more recent fixes than wine-stable.

    upper half of the 3D view flickers

    What if you tried now changing renderer to vulkan? WINEPREFIX=/home/USER/Wine/KIT winetricks renderer=vulkan?
    I also experienced some flickering and other visual artifacts on nvidia, but sadly never quite got to solving them. If you can downgrade packages on MX Linux maybe try different combinations of previous versions of wine-stable/wine-staging, wine-dxvk and nvidia drivers? If you do, make sure to close all wine processes (e.g. kill -9 $(ps aux |grep -i '\.exe' |awk '{print $2}'|tr '\n' ' ')) and if changing nvidia drivers reboot the VM.
    Congratulations on the progress though! Others would definitely find it useful as well.

  • edited December 2023

    Oh so Boxes do provide GPU passthrough now. Cool.

    No, I am using now Wine (Staging) native on my optimus laptop. This time, no boxes and no bottles. I got an intel GPU and an nvidia dGPU and the command nvidia-run-mx is a wrapper from MX Linux for the environmental variable that needed to set, if one wants to start the program with NVIDIA support.

    What if you tried now changing renderer to vulkan? WINEPREFIX=/home/USER/Wine/KIT winetricks renderer=vulkan?

    Still the same behaviour, the bottom half has no problem, only the upper half. Perplexing. I also switched from X11 (KDE) to Wayland (KDE) Session, no change.

    If you can downgrade packages on MX Linux maybe try different combinations of previous versions of wine-stable/wine-staging, wine-dxvk and nvidia drivers?

    There is the possibitly to download the wine version package by debian stable instead from MX Linux:

    ➤ wine --version
    wine-8.0 (Debian 8.0~repack-4)

    And when i start the programm, there is nothing in the 3D Vew:

    So wine version 8.0 is not the way.

    There is a way to install newer stuff from the MX Linux Test Repo

    Now i got:

    ➤ wine --version
    wine-8.20
    

    There is the cube like in the version 8.12 in the 3D View.
    But the issue of flickering is not solved. Do I need to delete my old WINEPREFIX and install it new, since my WINEPREFIX was installed with the older version of wine (Version 8.12)? Would there be any difference?

  • edited December 2023

    No, I am using now Wine native on my optimus laptop

    Oops sorry, I read "now" as "not"...

    I got an intel GPU and an nvidia dGPU and the command nvidia-run-mx is a wrapper from MX Linux for the environmental variable

    Thanks, that's interesting, there used to be a prime-run command wrapper in some nvidia-utils packages, which added environmental variables that I've modified into:

    DRI_PRIME=pci-0000_01_00_0 __VK_LAYER_NV_optimus=NVIDIA_only __GLX_VENDOR_LIBRARY_NAME=nvidia
    

    to offload rendering to the Nvidia card (I'm also on an Optimus laptop - 81YT Lenovo Legion 7 15IMH05 ). The first variable is the pci number of your nvidia card (which you can get with the lspci -nnk -d 10de: command for example). You may want to try and add the first two variables along the ones you already have and maybe that would help with the flickering.

    Have you considered running it on Intel's iGPU? Although it's slower it may be more stable.

    Could you share the output from your wine command now? Specifically does it print anything when you orbit the viewport (when it flickers)? If not, how about adding either one of the WINEDEBUG=+wgl,+d3d again?

    I also switched from X11 (KDE) to Wayland (KDE) Session

    I would recommend testing first on X11 - Wayland's support for wine and nvidia prime is still under development.

    If you do try later running it on Wayland try something else than KDE - I've never managed to run wine on KDE Wayland with Nvidia prime render offload. It did work out-of-the-box though on wlroots-based compositors. It worked on Hyprland at least (without nvidia's patch). KDE6 is coming out soon and they were developing wlroots-backend as well, so it may change.

    wine-8.0 (Debian 8.0~repack-4)

    Hmm, I was thinking of switching to something closer to wine-staging 8.20, like 8.19 or even the latest 8.21 (if available). You could also consider compiling from source, but that can get much much more tricky for uncertain benefit, especially if you say that...

    There is the cube like in the version 8.12 in the 3D View. But the issue of flickering is not solved.

    In terms of:

    Do I need to delete my old WINEPREFIX and install it new, since my WINEPREFIX was installed with the older version of wine (Version 8.12)? Would there be any difference?

    I'm not 100% sure, so I would recommend starting from scratch. You definitely shouldn't have wineserver running from different version than the one starting the application (that's why it's good to run kill -9 $(ps aux |grep -i '\.exe' |awk '{print $2}'|tr '\n' ' ') after each test), but obviously I've been hopping from version to version for the past few months (from wine 8.14 to 8.21) on the same prefix and it's been running fine (once initially configured).

Sign In or Register to comment.