Announcement

Collapse
No announcement yet.

Debian + radeonsi

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

  • lorenzoz
    replied
    Originally posted by dungeon View Post
    Looks OK, but i don't checked those replaces ... that is yours, you can make it there how you like it .
    Ok. It works now, I've compiled lidrm, mesa, ati-driver and xserver.
    There is only a problem with xserver. When I install my self-compiled version I can't build xf86-video-ati because can't find libglamor.

    Code:
    git fetch git://anongit.freedesktop.org/xorg/xserver
    ./autogen.sh --prefix=/usr --enable-xorg --enable-glamor --disable-dmx --disable-xvfb --disable-xnest --disable-xwin
    Code:
    $locate glamor
    /usr/lib/xorg/modules/libglamoregl.so
    Do I miss any option?
    Last edited by lorenzoz; 29 July 2014, 05:59 AM.

    Leave a comment:


  • dungeon
    replied
    Looks OK, but i don't checked those replaces ... that is yours, you can make it there how you like it .

    Leave a comment:


  • lorenzoz
    replied
    Originally posted by dungeon View Post
    You don't need that separate glamor lib anymore, it is part of xserver .
    Oh ok, I understand only debian has glamor in xserver (not git one), my fault.

    About 2 others packages? what do you think, right or wrong?

    Leave a comment:


  • dungeon
    replied
    You don't need that separate glamor lib anymore, it is part of xserver .

    Leave a comment:


  • lorenzoz
    replied
    Mmm sorry.

    I found this guide.

    I'd like to compile also drm/xserver/glamor. But don't know how to properly build .deb, especially in "replaces" field.

    drm
    Code:
    #!/bin/bash
    fakeroot checkinstall --install=no --replaces libdrm2,libdrm-intel1,libdrm-nouveau2,libdrm-radeon1 --pkgname=libdrm --pkgversion=`cat VERSION` --pkgarch=amd64 --backup=no --default
    xserver
    Code:
    #!/bin/bash
    fakeroot checkinstall --install=no --replaces  xserver-xorg-core,xserver-common ---pkgname=xserver --pkgversion=`cat VERSION` --pkgarch=amd64 --backup=no --default
    glamor
    Code:
    #!/bin/bash
    fakeroot checkinstall --install=no --replaces  ??? ---pkgname=xserver --pkgversion=`cat VERSION` --pkgarch=amd64 --backup=no --default
    Can you help me?

    Leave a comment:


  • lorenzoz
    replied
    Originally posted by dungeon View Post
    In last post i said and i will said again



    That means, DO NOT INSTALL PACKAGES WHICH CONTAINS I386 BINARIES!!! llvm-3.5:i386 contain binaries.

    You only need libllvm3.5:i386 package, that is installable as i see
    LOL, sorry I'm noob, I will never forget from now on.
    Now is working fine.
    I will set up 2 chroot for compiling both mesa (32 and 64bit) and xf86-video-ati, so I can take my main system clean.

    Leave a comment:


  • dungeon
    replied
    Originally posted by lorenzoz View Post
    [CODE]
    I miss LLVM-3.5:i386.
    But I can't install both LLVM-3.5:amd64 and LLVM-3.5:i386, they conflict each other.
    And without LLVM-3.5:amd64 I don't have OpenGL in my desktop.
    Hell.

    I have to manually recompile LLVM-3.5:i386?
    In last post i said and i will said again

    Just keep in mind that only libraries and headers are multiarched in Debian, but not binaries
    That means, DO NOT INSTALL PACKAGES WHICH CONTAINS I386 BINARIES!!! llvm-3.5:i386 contain binaries.

    You only need libllvm3.5:i386 package, that is installable as i see
    Last edited by dungeon; 27 July 2014, 05:19 AM.

    Leave a comment:


  • lorenzoz
    replied
    Originally posted by dungeon View Post
    Code:
    LIBGL_DEBUG=verbose glxinfo
    That may say you what is wrong .

    Just keep in mind that only libraries and headers are multiarched in Debian, but not binaries
    Code:
    $ LIBGL_DEBUG=verbose glxinfo
    name of display: :0
    libGL: OpenDriver: trying /usr/lib/i386-linux-gnu/dri/tls/radeonsi_dri.so
    libGL: OpenDriver: trying /usr/lib/i386-linux-gnu/dri/radeonsi_dri.so
    libGL: dlopen /usr/lib/i386-linux-gnu/dri/radeonsi_dri.so failed (libLLVM-3.5.so.1: cannot open shared object file: No such file or directory)
    libGL error: unable to load driver: radeonsi_dri.so
    libGL error: driver pointer missing
    libGL error: failed to load driver: radeonsi
    libGL: OpenDriver: trying /usr/lib/i386-linux-gnu/dri/tls/swrast_dri.so
    libGL: OpenDriver: trying /usr/lib/i386-linux-gnu/dri/swrast_dri.so
    libGL: dlopen /usr/lib/i386-linux-gnu/dri/swrast_dri.so failed (libLLVM-3.5.so.1: cannot open shared object file: No such file or directory)
    libGL error: unable to load driver: swrast_dri.so
    libGL error: failed to load driver: swrast
    I miss LLVM-3.5:i386.
    But I can't install both LLVM-3.5:amd64 and LLVM-3.5:i386, they conflict each other.
    And without LLVM-3.5:amd64 I don't have OpenGL in my desktop.
    Hell.

    I have to manually recompile LLVM-3.5:i386?

    Leave a comment:


  • dungeon
    replied
    Code:
    LIBGL_DEBUG=verbose glxinfo
    That may say you what is wrong .

    Just keep in mind that only libraries and headers are multiarched in Debian, but not binaries
    Last edited by dungeon; 26 July 2014, 05:17 PM.

    Leave a comment:


  • lorenzoz
    replied
    Originally posted by dungeon View Post
    That can be because steam shipped libraries , if some other 32bit game works fine, then problem is with that .
    I've installed mesa-utils:i386.

    Code:
    $ glxinfo
    name of display: :0
    libGL error: unable to load driver: radeonsi_dri.so
    libGL error: driver pointer missing
    libGL error: failed to load driver: radeonsi
    libGL error: unable to load driver: swrast_dri.so
    libGL error: failed to load driver: swrast
    Not a steam issue I think.


    Edit:
    Code:
    locate radeonsi
    /usr/lib/i386-linux-gnu/dri/radeonsi_dri.so
    /usr/lib/i386-linux-gnu/gallium-pipe/pipe_radeonsi.la
    /usr/lib/i386-linux-gnu/gallium-pipe/pipe_radeonsi.so
    /usr/lib/i386-linux-gnu/vdpau/libvdpau_radeonsi.so
    /usr/lib/i386-linux-gnu/vdpau/libvdpau_radeonsi.so.1
    /usr/lib/i386-linux-gnu/vdpau/libvdpau_radeonsi.so.1.0
    /usr/lib/i386-linux-gnu/vdpau/libvdpau_radeonsi.so.1.0.0
    /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
    /usr/lib/x86_64-linux-gnu/gallium-pipe/pipe_radeonsi.la
    /usr/lib/x86_64-linux-gnu/gallium-pipe/pipe_radeonsi.so
    /usr/lib/x86_64-linux-gnu/vdpau/libvdpau_radeonsi.so
    /usr/lib/x86_64-linux-gnu/vdpau/libvdpau_radeonsi.so.1
    /usr/lib/x86_64-linux-gnu/vdpau/libvdpau_radeonsi.so.1.0
    /usr/lib/x86_64-linux-gnu/vdpau/libvdpau_radeonsi.so.1.0.0

    Leave a comment:

Working...
X