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

Failure to render document area with Radeon graphics card *solved* #116

Closed cortices closed 2 years ago

cortices commented 2 years ago

Keeping track of info regarding my gfx issues here.

Desktop (please complete the following information): Autodesk Fusion 360: 2.0.11186 Graphics card model: AMD ATI Radeon HD 8670 / R7 250/350 Graphics card driver: see below Operating system: Debian 11 Desktop environment: X11, lightdm, i3-wm OpenGL Mode

LSPCI Output for graphics card

> lspci -v
...
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Oland XT [Radeon HD 8670 / R7 250/350] (rev 83) (prog-if 00 [VGA controller])
    Subsystem: Dell Oland XT [Radeon HD 8670 / R7 250/350]
    Flags: bus master, fast devsel, latency 0, IRQ 11, IOMMU group 1
    Memory at e0000000 (64-bit, prefetchable) [size=256M]
    Memory at f7e00000 (64-bit, non-prefetchable) [size=256K]
    I/O ports at e000 [size=256]
    Expansion ROM at 000c0000 [disabled] [size=128K]
    Capabilities: [48] Vendor Specific Information: Len=08 <?>
    Capabilities: [50] Power Management version 3
    Capabilities: [58] Express Legacy Endpoint, MSI 00
    Capabilities: [a0] MSI: Enable- Count=1/1 Maskable- 64bit+
    Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
    Capabilities: [150] Advanced Error Reporting
    Capabilities: [200] Physical Resizable BAR
    Capabilities: [270] Secondary PCI Express
    Kernel modules: radeon, amdgpu
...

Mesa driver info

> glxinfo -B
...
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: Mesa/X.org (0xffffffff)
    Device: llvmpipe (LLVM 11.0.1, 256 bits) (0xffffffff)
    Version: 20.3.5
    Accelerated: no
    Video memory: 32077MB
    Unified memory: no
    Preferred profile: core (0x1)
    Max core profile version: 4.5
    Max compat profile version: 3.1
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2
cortices commented 2 years ago

Got the issue fixed! I already had the xserver-xorg-video-amdgpu package installed but hadn't activated it. Simply running

> sudo modprobe amdgpu

And rebooting, resulted in the following much better results from glxinfo -B:

name of display: :0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: AMD (0x1002)
    Device: AMD OLAND (DRM 2.50.0, 5.10.0-9-amd64, LLVM 11.0.1) (0x6610)
    Version: 20.3.5
    Accelerated: yes
    Video memory: 2048MB
    Unified memory: no
    Preferred profile: core (0x1)
    Max core profile version: 4.5
    Max compat profile version: 4.5
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2
Memory info (GL_ATI_meminfo):
    VBO free memory - total: 748 MB, largest block: 748 MB
    VBO free aux. memory - total: 1221 MB, largest block: 1221 MB
    Texture free memory - total: 748 MB, largest block: 748 MB
    Texture free aux. memory - total: 1221 MB, largest block: 1221 MB
    Renderbuffer free memory - total: 748 MB, largest block: 748 MB
    Renderbuffer free aux. memory - total: 1221 MB, largest block: 1221 MB
Memory info (GL_NVX_gpu_memory_info):
    Dedicated video memory: 2048 MB
    Total available memory: 4091 MB
    Currently available dedicated video memory: 748 MB
OpenGL vendor string: AMD
OpenGL renderer string: AMD OLAND (DRM 2.50.0, 5.10.0-9-amd64, LLVM 11.0.1)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 20.3.5
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.5 (Compatibility Profile) Mesa 20.3.5
OpenGL shading language version string: 4.50
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 20.3.5
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20