cryinkfly / Autodesk-Fusion-360-for-Linux

This is a project, where I give you a way to use Autodesk Fusion 360 on Linux!
https://github.com/cryinkfly/Fusion-360---Linux-Wine-Version-/wiki
MIT License
1.81k stars 116 forks source link

stage contains artifacts and is not visible on AMD gpu *solved* #128

Closed Andreii closed 2 years ago

Andreii commented 2 years ago

Describe the bug Stage (place where the 3d object should be rendered) is not being shown properly, instead, artifacts are being rendered. Top controls are also not being displayed, white color is shown. But, left panel and bottom 'Text commands' are shown properly.

To Reproduce Steps to reproduce the behavior:

  1. Open 'Fusion 360'
  2. Finish!

Expected behavior Was expecting to see 3d grid with the top controls.

Screenshots Screenshot from 2021-11-10 13-59-48

Desktop (please complete the following information):

Relevant info:

$ glxinfo -B

name of display: :1
display: :1  screen: 0
direct rendering: Yes
Memory info (GL_ATI_meminfo):
    VBO free memory - total: 3972 MB, largest block: 6049 MB
    VBO free aux. memory - total: 7162 MB, largest block: 6125 MB
    Texture free memory - total: 3972 MB, largest block: 6049 MB
    Texture free aux. memory - total: 7162 MB, largest block: 6125 MB
    Renderbuffer free memory - total: 3972 MB, largest block: 6049 MB
    Renderbuffer free aux. memory - total: 7162 MB, largest block: 6125 MB
OpenGL vendor string: Advanced Micro Devices, Inc.
OpenGL renderer string: AMD Radeon RX 5700 XT
OpenGL core profile version string: 4.6.14756 Core Profile Context
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.6.14756 Compatibility Profile Context
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile

OpenGL ES profile version string: 4.6.14756 Compatibility Profile Context
OpenGL ES profile shading language version string: 4.60
$ sudo lshw -C display        

  *-display                 
       description: VGA compatible controller
       product: Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT]
       vendor: Advanced Micro Devices, Inc. [AMD/ATI]
       physical id: 0
       bus info: pci@0000:2f:00.0
       version: c1
       width: 64 bits
       clock: 33MHz
       capabilities: pm pciexpress msi vga_controller bus_master cap_list rom
       configuration: driver=amdgpu latency=0
       resources: irq:160 memory:d0000000-dfffffff memory:e0000000-e01fffff ioport:f000(size=256) memory:fcd00000-fcd7ffff memory:c0000-dffff

$ dpkg -l amdgpu-pro

||/ Name           Version       Architecture Description
+++-==============-=============-============-==============================================
ii  amdgpu-pro     20.45-1188099 amd64        Meta package to install amdgpu Pro components.

Kindly thank you for this installer and for the work that went into this.

cryinkfly commented 2 years ago

Hey @Andreii 🙂,

I see a couple of similarities to this post here:

Please check these issues here:

Andreii commented 2 years ago

Hello @cryinkfly, thank you for the prompt feedback!

I uninstalled amdgpu-pro driver, restarted and... it works. Seems the kernel driver works better.

The artifacts are gone, stage is rendered.

Works with:

Not working: