Announcement

Collapse
No announcement yet.

Need help with broken transparency(16bpp?) with amdgpu

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Need help with broken transparency(16bpp?) with amdgpu

    This only happens when using the amdgpu driver(can't use pro because i need newer kernel for touchpad and wifi) and not when using software rendering, radeon is broken in other ways, X only works if I disable amdgpu and fall back to software rendering, so this is all wayland.

    Transparency has extremely low bpp, like there are 10 shades of grey in gnome-shell overview instead of a smooth oval shape.
    Transparent terminal over any picture makes it look like a cartoon.
    In videos colors are extremely low quality, like a person's arm is only 5 different colors.

    Where is the bpp configuration for wayland?

    Model is GL702ZC, card is RX580 Ellesmere. The output is an internal eDP.

    this is my lspci for the gpu:
    Code:
    0c:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480] (rev c1) (prog-if 00 [VGA controller])
        Subsystem: ASUSTeK Computer Inc. Ellesmere [Radeon RX 470/480/570/580]
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 66
        Region 0: Memory at e0000000 (64-bit, prefetchable) [size=256M]
        Region 2: Memory at f0000000 (64-bit, prefetchable) [size=2M]
        Region 4: I/O ports at f000 [size=256]
        Region 5: Memory at fe900000 (32-bit, non-prefetchable) [size=256K]
        Expansion ROM at 000c0000 [disabled] [size=128K]
        Capabilities: [48] Vendor Specific Information: Len=08 <?>
        Capabilities: [50] Power Management version 3
            Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1+,D2+,D3hot+,D3cold+)
            Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [58] Express (v2) Legacy Endpoint, MSI 00
            DevCap:    MaxPayload 256 bytes, PhantFunc 0, Latency L0s <4us, L1 unlimited
                ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
            DevCtl:    Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
                RlxdOrd+ ExtTag+ PhantFunc- AuxPwr- NoSnoop+
                MaxPayload 256 bytes, MaxReadReq 512 bytes
            DevSta:    CorrErr+ UncorrErr- FatalErr- UnsuppReq+ AuxPwr- TransPend+
            LnkCap:    Port #0, Speed 8GT/s, Width x16, ASPM L1, Exit Latency L0s <64ns, L1 <1us
                ClockPM+ Surprise- LLActRep- BwNot- ASPMOptComp+
            LnkCtl:    ASPM Disabled; RCB 64 bytes Disabled- CommClk+
                ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
            LnkSta:    Speed 8GT/s, Width x16, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
            DevCap2: Completion Timeout: Not Supported, TimeoutDis-, LTR+, OBFF Not Supported
            DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, OBFF Disabled
            LnkCtl2: Target Link Speed: 8GT/s, EnterCompliance- SpeedDis-
                 Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
                 Compliance De-emphasis: -6dB
            LnkSta2: Current De-emphasis Level: -3.5dB, EqualizationComplete+, EqualizationPhase1+
                 EqualizationPhase2+, EqualizationPhase3+, LinkEqualizationRequest-
        Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
            Address: 00000000fee00000  Data: 0000
        Capabilities: [100 v1] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
        Capabilities: [150 v2] Advanced Error Reporting
            UESta:    DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
            UEMsk:    DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
            UESvrt:    DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
            CESta:    RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr-
            CEMsk:    RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
            AERCap:    First Error Pointer: 00, GenCap+ CGenEn- ChkCap+ ChkEn-
        Capabilities: [200 v1] #15
        Capabilities: [270 v1] #19
        Capabilities: [2b0 v1] Address Translation Service (ATS)
            ATSCap:    Invalidate Queue Depth: 00
            ATSCtl:    Enable+, Smallest Translation Unit: 00
        Capabilities: [2c0 v1] Page Request Interface (PRI)
            PRICtl: Enable- Reset-
            PRISta: RF- UPRGI- Stopped+
            Page Request Capacity: 00000020, Page Request Allocation: 00000000
        Capabilities: [2d0 v1] Process Address Space ID (PASID)
            PASIDCap: Exec+ Priv+, Max PASID Width: 10
            PASIDCtl: Enable- Exec- Priv-
        Capabilities: [320 v1] Latency Tolerance Reporting
            Max snoop latency: 0ns
            Max no snoop latency: 0ns
        Capabilities: [328 v1] Alternative Routing-ID Interpretation (ARI)
            ARICap:    MFVC- ACS-, Next Function: 1
            ARICtl:    MFVC- ACS-, Function Group: 0
        Capabilities: [370 v1] L1 PM Substates
            L1SubCap: PCI-PM_L1.2+ PCI-PM_L1.1+ ASPM_L1.2+ ASPM_L1.1+ L1_PM_Substates+
                  PortCommonModeRestoreTime=0us PortTPowerOnTime=170us
            L1SubCtl1: PCI-PM_L1.2- PCI-PM_L1.1- ASPM_L1.2- ASPM_L1.1-
                   T_CommonMode=0us LTR1.2_Threshold=0ns
            L1SubCtl2: T_PwrOn=10us
        Kernel driver in use: amdgpu
        Kernel modules: amdgpu
     
    0c:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 580]
        Subsystem: ASUSTeK Computer Inc. Ellesmere [Radeon RX 580]
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 64 bytes
        Interrupt: pin B routed to IRQ 72
        Region 0: Memory at fe960000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [48] Vendor Specific Information: Len=08 <?>
        Capabilities: [50] Power Management version 3
            Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
            Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [58] Express (v2) Legacy Endpoint, MSI 00
            DevCap:    MaxPayload 256 bytes, PhantFunc 0, Latency L0s <4us, L1 unlimited
                ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
            DevCtl:    Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
                RlxdOrd+ ExtTag+ PhantFunc- AuxPwr- NoSnoop+
                MaxPayload 256 bytes, MaxReadReq 512 bytes
            DevSta:    CorrErr+ UncorrErr- FatalErr- UnsuppReq+ AuxPwr- TransPend-
            LnkCap:    Port #0, Speed 8GT/s, Width x16, ASPM L1, Exit Latency L0s <64ns, L1 <1us
                ClockPM+ Surprise- LLActRep- BwNot- ASPMOptComp+
            LnkCtl:    ASPM Disabled; RCB 64 bytes Disabled- CommClk+
                ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
            LnkSta:    Speed 8GT/s, Width x16, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
            DevCap2: Completion Timeout: Not Supported, TimeoutDis-, LTR+, OBFF Not Supported
            DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, OBFF Disabled
            LnkSta2: Current De-emphasis Level: -3.5dB, EqualizationComplete-, EqualizationPhase1-
                 EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-
        Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
            Address: 00000000fee00000  Data: 0000
        Capabilities: [100 v1] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
        Capabilities: [150 v2] Advanced Error Reporting
            UESta:    DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
            UEMsk:    DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
            UESvrt:    DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
            CESta:    RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr-
            CEMsk:    RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
            AERCap:    First Error Pointer: 00, GenCap+ CGenEn- ChkCap+ ChkEn-
        Capabilities: [328 v1] Alternative Routing-ID Interpretation (ARI)
            ARICap:    MFVC- ACS-, Next Function: 0
            ARICtl:    MFVC- ACS-, Function Group: 0
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel
    dpkg -l|grep amdgpu:
    Code:
    amdgpu    17.50-511655    amd64
    amdgpu-core    17.50-511655    all
    amdgpu-dkms    17.50-511655    all
    amdgpu-lib32    17.50-511655    amd64
    glamor-amdgpu:amd64    1.19.0-511655    amd64
    gst-omx-amdgpu    1.0.0.1-511655    amd64
    ids-amdgpu    1.0.0-511655    all
    libdrm-amdgpu-amdgpu1:amd64    1:2.4.82-511655    amd64
    libdrm-amdgpu-amdgpu1:i386    1:2.4.82-511655    i386
    libdrm-amdgpu1:amd64    2.4.91+git1803151830.dff690~oibaf~b    amd64
    libdrm-amdgpu1:i386    2.4.91+git1803151830.dff690~oibaf~b    i386
    libdrm2-amdgpu:amd64    1:2.4.82-511655    amd64
    libdrm2-amdgpu:i386    1:2.4.82-511655    i386
    libegl1-amdgpu-mesa:amd64    1:17.2.4-511655    amd64
    libegl1-amdgpu-mesa:i386    1:17.2.4-511655    i386
    libegl1-amdgpu-mesa-drivers:amd64    1:17.2.4-511655    amd64
    libegl1-amdgpu-mesa-drivers:i386    1:17.2.4-511655    i386
    libgbm1-amdgpu:amd64    1:17.2.4-511655    amd64
    libgbm1-amdgpu:i386    1:17.2.4-511655    i386
    libgl1-amdgpu-mesa-dri:amd64    1:17.2.4-511655    amd64
    libgl1-amdgpu-mesa-dri:i386    1:17.2.4-511655    i386
    libgl1-amdgpu-mesa-glx:amd64    1:17.2.4-511655    amd64
    libgl1-amdgpu-mesa-glx:i386    1:17.2.4-511655    i386
    libglapi-amdgpu-mesa:amd64    1:17.2.4-511655    amd64
    libglapi-amdgpu-mesa:i386    1:17.2.4-511655    i386
    libgles1-amdgpu-mesa:amd64    1:17.2.4-511655    amd64
    libgles1-amdgpu-mesa:i386    1:17.2.4-511655    i386
    libgles2-amdgpu-mesa:amd64    1:17.2.4-511655    amd64
    libgles2-amdgpu-mesa:i386    1:17.2.4-511655    i386
    libllvm5.0-amdgpu:amd64    1:5.0-511655    amd64
    libllvm5.0-amdgpu:i386    1:5.0-511655    i386
    libosmesa6-amdgpu:amd64    1:17.2.4-511655    amd64
    libosmesa6-amdgpu:i386    1:17.2.4-511655    i386
    libwayland-amdgpu-client0:amd64    1.14.90-511655    amd64
    libwayland-amdgpu-client0:i386    1.14.90-511655    i386
    libwayland-amdgpu-egl1-mesa:amd64    1:17.2.4-511655    amd64
    libwayland-amdgpu-egl1-mesa:i386    1:17.2.4-511655    i386
    libwayland-amdgpu-server0:amd64    1.14.90-511655    amd64
    libwayland-amdgpu-server0:i386    1.14.90-511655    i386
    libxatracker2-amdgpu:amd64    1:17.2.4-511655    amd64
    libxatracker2-amdgpu:i386    1:17.2.4-511655    i386
    mesa-amdgpu-omx-drivers:amd64    1:17.2.4-511655    amd64
    mesa-amdgpu-vdpau-drivers:amd64    1:17.2.4-511655    amd64
    mesa-amdgpu-vdpau-drivers:i386    1:17.2.4-511655    i386
    xserver-xorg-amdgpu-video-amdgpu    1:1.4.0-511655    amd64
    xserver-xorg-video-amdgpu    1.4.0-1    amd64
    xserver-xorg-video-amdgpu-hwe-16.04    3:14.1    amd64
    glxinfo:
    Code:
    name of display: :0
    display: :0  screen: 0
    direct rendering: Yes
    server glx vendor string: SGI
    server glx version string: 1.4
    server glx extensions:
        GLX_ARB_create_context, GLX_ARB_create_context_profile,  
        GLX_ARB_fbconfig_float, GLX_ARB_framebuffer_sRGB, GLX_ARB_multisample,  
        GLX_EXT_create_context_es2_profile, GLX_EXT_create_context_es_profile,  
        GLX_EXT_fbconfig_packed_float, GLX_EXT_framebuffer_sRGB,  
        GLX_EXT_import_context, GLX_EXT_libglvnd, GLX_EXT_texture_from_pixmap,  
        GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,  
        GLX_OML_swap_method, GLX_SGIS_multisample, GLX_SGIX_fbconfig,  
        GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group, GLX_SGI_make_current_read
    client glx vendor string: Mesa Project and SGI
    client glx version string: 1.4
    client glx extensions:
        GLX_ARB_create_context, GLX_ARB_create_context_profile,  
        GLX_ARB_create_context_robustness, GLX_ARB_fbconfig_float,  
        GLX_ARB_framebuffer_sRGB, GLX_ARB_get_proc_address, GLX_ARB_multisample,  
        GLX_EXT_buffer_age, GLX_EXT_create_context_es2_profile,  
        GLX_EXT_create_context_es_profile, GLX_EXT_fbconfig_packed_float,  
        GLX_EXT_framebuffer_sRGB, GLX_EXT_import_context,  
        GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info, GLX_EXT_visual_rating,  
        GLX_INTEL_swap_event, GLX_MESA_copy_sub_buffer,  
        GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer,  
        GLX_MESA_swap_control, GLX_OML_swap_method, GLX_OML_sync_control,  
        GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,  
        GLX_SGIX_visual_select_group, GLX_SGI_make_current_read,  
        GLX_SGI_swap_control, GLX_SGI_video_sync
    GLX version: 1.4
    GLX extensions:
        GLX_ARB_create_context, GLX_ARB_create_context_profile,  
        GLX_ARB_fbconfig_float, GLX_ARB_framebuffer_sRGB,  
        GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_buffer_age,  
        GLX_EXT_create_context_es2_profile, GLX_EXT_create_context_es_profile,  
        GLX_EXT_fbconfig_packed_float, GLX_EXT_framebuffer_sRGB,  
        GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info,  
        GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,  
        GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer,  
        GLX_MESA_swap_control, GLX_OML_swap_method, GLX_OML_sync_control,  
        GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,  
        GLX_SGIX_visual_select_group, GLX_SGI_make_current_read,  
        GLX_SGI_video_sync
    Extended renderer info (GLX_MESA_query_renderer):
        Vendor: X.Org (0x1002)
        Device: Radeon RX 580 Series (AMD POLARIS10 / DRM 3.23.0 / 4.15.0-12-generic, LLVM 5.0.1) (0x67df)
        Version: 17.2.4
        Accelerated: yes
        Video memory: 4075MB
        Unified memory: no
        Preferred profile: core (0x1)
        Max core profile version: 4.5
        Max compat profile version: 3.0
        Max GLES1 profile version: 1.1
        Max GLES[23] profile version: 3.1
    Memory info (GL_ATI_meminfo):
        VBO free memory - total: 4074 MB, largest block: 4074 MB
        VBO free aux. memory - total: 4092 MB, largest block: 4092 MB
        Texture free memory - total: 4074 MB, largest block: 4074 MB
        Texture free aux. memory - total: 4092 MB, largest block: 4092 MB
        Renderbuffer free memory - total: 4074 MB, largest block: 4074 MB
        Renderbuffer free aux. memory - total: 4092 MB, largest block: 4092 MB
    Memory info (GL_NVX_gpu_memory_info):
        Dedicated video memory: 4075 MB
        Total available memory: 8168 MB
        Currently available dedicated video memory: 4074 MB
    OpenGL vendor string: X.Org
    OpenGL renderer string: Radeon RX 580 Series (AMD POLARIS10 / DRM 3.23.0 / 4.15.0-12-generic, LLVM 5.0.1)
    OpenGL core profile version string: 4.5 (Core Profile) Mesa 17.2.4-AMD_17.50
    OpenGL core profile shading language version string: 4.50
    OpenGL core profile context flags: (none)
    OpenGL core profile profile mask: core profile
    Last edited by FastCode; 19 March 2018, 05:14 PM.
Working...
X