Announcement

Collapse
No announcement yet.

Ryzen 5 Mobile / Raven Ridge no direct rendering

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

  • Ryzen 5 Mobile / Raven Ridge no direct rendering

    I recently purchased a Ryzen 5 mobile system with raven ridge gpu.
    In X I don´t get direct rendering, KDE is hardly usable that way.....

    Below I´d like to post some information about my system and pastebin some logs.
    I would be very happy, if anyone has some hints!

    lscpi detection
    Code:
    VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Device [1002:15dd] (rev c4)
            Subsystem: Acer Incorporated [ALI] Device [1025:1233]
            Kernel driver in use: amdgpu
    Kernel: 4.15.0 no options passed to amdgpu, amdgpu.dc=1 amdgpu.ngg=1 cause system to hang at boot

    /lib/firmware/amdgpu/raven* is on the system

    Output from dmesg | grep -i raven


    Code:
    [    4.895388] [drm] initializing kernel modesetting (RAVEN 0x1002:0x15DD 0x1025:0x1233 0xC4).
    [    4.895640] ATOM BIOS: 113-RAVEN-102
    Some important lines from Xorg.0.log:

    Code:
    (==) AMDGPU(0): DRI3 disabled
    [    17.956] (II) AIGLX: Screen 0 is not DRI2 capable
    [    17.958] (II) GLX: Initialized DRISWRAST GL provider for screen 0
    (II) glamor: EGL version 1.4 (DRI2):
    [    17.941] EGL_MESA_drm_image required.
    [    17.941] (EE) AMDGPU(0): glamor detected, failed to initialize EGL.
     (EE) AMDGPU(0): glamor detected, failed to initialize EGL.
    [    17.956] (EE) AIGLX: reverting to software rendering
    Output from LIBGL_DEBUG=verbose glxgears

    Code:
    libGL: screen 0 does not appear to be DRI2 capable
    libGL: OpenDriver: trying /usr/lib64/dri/tls/swrast_dri.so
    libGL: OpenDriver: trying /usr/lib64/dri/swrast_dri.so
    3974 frames in 5.0 seconds = 794.729 FPS
    4112 frames in 5.0 seconds = 822.258 FPS
    XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
          after 26358 requests (26356 known processed) with 0 events remaining.
    Software versions used

    Code:
    Kernel 4.15.0
    xorg-x11-server-1.19.6-519.4.x86_64
    Mesa-17.1.6-720.1.x86_64
    (libGL and libEGL also 17.1.6)
    libdrm_amdgpu1-2.4.89-230.1.x86_64
    libdrm_amdgpu1-32bit-2.4.89-230.1.x86_64
    xf86-video-amdgpu-1.4.0-45.2.x86_64
    opensuse 42.3

  • #2
    Thanks for this hint.

    I have these egl packages installed:

    ~$ rpm -qa | grep -i egl
    libwayland-egl1-17.1.6-720.1.x86_64
    Mesa-libEGL1-17.1.6-720.1.x86_64
    libva-egl1-1.8.3-1.1.x86_64
    libgegl-0_2-0-0.2.0-16.23.x86_64
    Mesa-libEGL-devel-17.1.6-720.1.x86_64
    Mesa-libEGL1-32bit-17.1.6-720.1.x86_64

    But, removing Mesa-libEGL would kill virtually my whole KDE setup.... RPM wants to remove more than 1000 packages, when trying to remove Mesa-libEGL, it does not look like good idea.....
    Do I understand correctly, EGL is the root of trouble here? It seems almost the complete KDE5 setup seem to depend on it?!

    Comment


    • #3
      Just another dude her with no AIGLX success with AMDGPU on Ryzen 2500u

      built kernels til i puked blood - currently 4.16.0-rc1+ #3

      X.Org X Server 1.19.6
      [ 809.936] (II) AMDGPU(0): Front buffer pitch: 15360 bytes
      [ 809.937] (==) AMDGPU(0): DRI3 disabled
      [ 809.937] (==) AMDGPU(0): Backing store enabled
      [ 809.937] (WW) AMDGPU(0): Direct rendering disabled
      [ 809.943] (II) AIGLX: Screen 0 is not DRI2 capable
      [ 809.943] (EE) AIGLX: reverting to software rendering


      libegl-mesa0 is already the newest version (17.3.7-1)
      libgl1-mesa-dri is already the newest version (17.3.7-1)

      /usr/lib/firmware/amdgpu/raven*.bin is from Feb 5


      System: Host: blappageddon Kernel: 4.16.0-rc1+ x86_64 bits: 64
      Console: tty 3 Distro: Devuan GNU/Linux ascii/ceres
      Machine: Device: laptop System: Acer product: Swift SF315-41 v: V1.03 serial: N/A
      Mobo: RR model: Becks_RR v: V1.03 serial: N/A
      UEFI: Insyde v: V1.03 date: 12/15/2017
      CPU: Quad core AMD Ryzen 5 2500U with Radeon Vega Mobile Gfx (-MT-MCP-)

      speed/max: 1432/2000 MHz
      Graphics: Card: Advanced Micro Devices [AMD/ATI] Device 15dd
      Display Server: N/A
      drivers: amdgpu (unloaded: modesetting,fbdev)
      tty size: 75x60 Advanced Data: N/A out of X
      Network: Card: Failed to Detect Network Card!
      Drives: HDD Total Size: 256.1GB (42.9% used)
      Info: Processes: 172 Uptime: 35 min Memory: 393.8/7691.7MB
      Init: SysVinit runlevel: 2 Client: Shell (bash) inxi: 2.3.56


      Anyone have GLX + AMDGPU working on Ryzen 2500u etc?

      Comment


      • #4
        Originally posted by blap View Post
        Anyone have GLX + AMDGPU working on Ryzen 2500u etc?
        well i assume debianxfce does. If I follow his instructions and type: apt-get remove libegl i get:

        The following packages will be REMOVED:
        clearlooks-phenix-darkpurpy-theme dizzy ffmpeg firefox firefox-esr galculator geany
        libavdevice57 libdirectfb-1.7-7 libegl1 libegl1-mesa-dev libgl1-mesa-dev libgles2-mesa-dev
        libglew-dev libglu1-mesa-dev libglvnd-dev libgtk-3-0 libmikmod3 libpanel-applet3 libsdl-mixer1.2
        libsdl-perl libsdl1.2-dev libsdl2-2.0-0 libvte-2.91-0 libwayland-egl1-mesa links2 lxterminal
        obconf qemu qemu-kvm qemu-system qemu-system-arm qemu-system-mips qemu-system-misc
        qemu-system-ppc qemu-system-sparc qemu-system-x86 qemuctl refractainstaller-gui sensors-applet
        xarchiver xorg xscreensaver-screensaver-dizzy xserver-xorg xserver-xorg-core
        xserver-xorg-input-all xserver-xorg-input-evdev xserver-xorg-input-libinput
        xserver-xorg-input-mouse xserver-xorg-video-amdgpu xserver-xorg-video-fbdev
        xserver-xorg-video-intel xserver-xorg-video-nouveau xserver-xorg-video-vesa
        xserver-xorg-video-vmware yad

        And i think i need some of those packages.

        Also do i want the 4.17-wip or non-wip kernel?

        Comment


        • #5
          Originally posted by debianxfce View Post

          Devuan uses very old software, for example Mesa and you have latest hardware. Use my distribution , it has latest everything. Or use Debian testing/sid, Oibaf ppa bionic version and https://cgit.freedesktop.org/~agd5f/...m-next-4.17-wip

          kernel.
          https://www.youtube.com/watch?v=fKJ-IatUfis
          Thank you for your response. I am on devuan ceres which tracks sid packages.

          I already watched your wideo. I have built mesa 18. Which mesa are you using?

          Comment

          Working...
          X