bottlesdevs / programs

Repository for programs installation
65 stars 69 forks source link

[Bug]: SC2 3d objects are RED #69

Open ggb667 opened 2 years ago

ggb667 commented 2 years ago

Describe the bug

Tested on latest POP!.os (Ubunto 20.04) using a AMD RX590 on i7-2600k, using default AMD drivers (tried beta and OEM drivers no difference). SC2 battle.net installer runs and SC2 installs, however SC2 is unplayable as all 3d objects are rendered in bright red, with just their outlines visible. Same drivers using wine under Lutris worked fine, so it is some wine issue. Launching what Lutris installed using bottles resulted in identical behavior, and copying over the install into the wine installation did not fix the issue.

To Reproduce

  1. Install battle.net
  2. Log into Blizzard as usual
  3. Select to install SC2.
  4. Run SC2. Observe 3D things aren't working as all rendered objects (l=planets, ships, and in game units) are bright red.
  5. Various graphics changes and settings have no effect, nor does setting the GPU to be dedicated, and turning on or off any of the options seen.

Install Battle.net using Lutris and then SC2, and observe it does NOT have the issue.

Package

Flatpak from Flathub

Distribution

Pop!.os 22.04 LTS

Health Check

Display:
    X.org: true
    X.org (port): :99.0
    Wayland: false
Graphics:
    vendors:
        amd:
            vendor: amd
            envs:
                DRI_PRIME: '1'
            icd: /usr/lib/x86_64-linux-gnu/GL/vulkan/icd.d/radeon_icd.x86_64.json:/usr/lib/i386-linux-gnu/GL/vulkan/icd.d/radeon_icd.i686.json
    prime:
        integrated: null
        discrete: null
Kernel:
    Type: Linux
    Version: 5.17.5-76051705-generic
Distro:
    Name: GNOME
    Version: '"42 (Flatpak runtime)"'
Disk:
    Total: 16816775168
    Free: 16816631808
RAM:
    MemTotal: 31.3GiB
    MemAvailable: 27.2GiB
Tools:
    cabextract: true
    p7zip: true
    patool: true
    glibc_min: '2.33'
Bottles_envs: null

Display Protocol

X11

Display Backend used by Bottles

I don't know

Additional context

No response

mirkobrombin commented 2 years ago

Please provide the health check and your bottle configuration

ggb667 commented 2 years ago
Arch: win64
Creation_Date: '2022-05-22 20:30:30.318014'
Custom_Path: false
DLL_Overrides: {}
DXVK: dxvk-1.10.1
Environment: Gaming
Environment_Variables: {}
External_Programs:
    Battle.net.exe:
        arguments: ''
        executable: Battle.net.exe
        name: Battle.net
        path: C:\Program Files (x86)\Battle.net\Battle.net.exe
Installed_Dependencies:
- d3dx9
- msls31
- arial32
- times32
- courie32
- d3dcompiler_43
- d3dcompiler_47
- riched20
- arialb32
- vcredist2015
LatencyFleX: latencyflex-v0.1.0
Latest_Executables: []
NVAPI: dxvk-nvapi-v0.5.4
Name: SC2 and X-MBC
Parameters:
    custom_dpi: 96
    discrete_gpu: false
    dxvk: false
    dxvk_hud: false
    dxvk_nvapi: false
    fixme_logs: false
    fsr: false
    fsr_level: 5
    fullscreen_capture: false
    gamemode: false
    gamescope: false
    gamescope_borderless: false
    gamescope_fps: 0
    gamescope_fps_no_focus: 0
    gamescope_fullscreen: true
    gamescope_game_height: 0
    gamescope_game_width: 0
    gamescope_scaling: false
    gamescope_window_height: 0
    gamescope_window_width: 0
    latencyflex: false
    mangohud: false
    obsvkc: false
    pulseaudio_latency: false
    renderer: gl
    sync: wine
    take_focus: false
    use_runtime: false
    use_steam_runtime: false
    virtual_desktop: false
    virtual_desktop_res: 1280x720
    vkbasalt: false
    vkd3d: false
Path: X-Mouse-Button-Control
Runner: caffe-7.7
State: 0
Uninstallers:
    arial32: false
    arialb32: false
    courie32: false
    d3dcompiler_43: false
    d3dcompiler_47: false
    d3dx9: false
    msls31: false
    riched20: false
    times32: false
    vcredist2015: true
Update_Date: '2022-05-23 22:29:35.485702'
VKD3D: vkd3d-proton-2.6
Versioning: false
Windows: win10
WorkingDir: /run/user/1000/doc/10333587/gregbishop
mirkobrombin commented 2 years ago

Not related but did you give flatpak permission to reach /run/user/1000/doc/10333587/gregbishop?

ggb667 commented 2 years ago

Well no, but now I have, sorry I'm not that well versed in flatpack or wine.

ggb667 commented 2 years ago

Giving permission had no effect. May not be a bottles issue, wine alone seems to also have the problem intermittintly.

mirkobrombin commented 2 years ago

Try setting Games > s2 > AdditionalLaunchArguments: -Displaymode 1

in drive_c/users/user/Application Data/Battle.net/Battle.net.config

ggb667 commented 2 years ago

Does discrete gpu: false mean its not using/seeing my radeon 590?

mirkobrombin commented 2 years ago

the Discrete GPU option check for multiple GPUs and use the dedicated one, e.g.: