You are not logged in.

#3276 2018-02-20 08:58:24

pr0dukter
Member
Registered: 2017-08-24
Posts: 34

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

linux-ck-bulldozer 4.15.4-1-ck-bulldozer third monitor no longer works aldo schanged from DVI-I-1 to DVI-D-1

Offline

#3277 2018-02-20 10:07:20

graysky
Member
From: :wq
Registered: 2008-12-01
Posts: 9,361
Website

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

pr0dukter wrote:

linux-ck-bulldozer 4.15.4-1-ck-bulldozer third monitor no longer works aldo schanged from DVI-I-1 to DVI-D-1


Does 4.15.4-1-ARCH?


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs • 1.21 JIGOWATTS!

Offline

#3278 2018-02-20 11:51:08

pr0dukter
Member
Registered: 2017-08-24
Posts: 34

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

also llvm greater than 5.0 doesnt allow for rotating, tried llvm-svn, just downgraded back to llvm-5 clang-5 so i could rotate monitor, rebootin to try ARCH, linux-ck-zen freezes after grub first screen
brb check

Last edited by pr0dukter (2018-02-20 11:51:39)

Offline

#3279 2018-02-20 11:57:20

pr0dukter
Member
Registered: 2017-08-24
Posts: 34

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

graysky wrote:
pr0dukter wrote:

linux-ck-bulldozer 4.15.4-1-ck-bulldozer third monitor no longer works aldo schanged from DVI-I-1 to DVI-D-1


Does 4.15.4-1-ARCH?

4.15.4-1-ARCH doesnt load 3rd monitor either....

also had to reconfigure muh fancontrol for both

also tried libdrm-git

Last edited by pr0dukter (2018-02-20 12:07:22)

Offline

#3280 2018-02-20 20:22:03

graysky
Member
From: :wq
Registered: 2008-12-01
Posts: 9,361
Website

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

pr0dukter wrote:
graysky wrote:
pr0dukter wrote:

linux-ck-bulldozer 4.15.4-1-ck-bulldozer third monitor no longer works aldo schanged from DVI-I-1 to DVI-D-1


Does 4.15.4-1-ARCH?

4.15.4-1-ARCH doesnt load 3rd monitor either....

OK... not related to the CK patchset or to the repo...


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs • 1.21 JIGOWATTS!

Offline

#3281 2018-02-20 20:55:26

pr0dukter
Member
Registered: 2017-08-24
Posts: 34

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

right, if i was the one applying the ck patches (which i have tried before with success and not so much success depending on kernel...)
what would i look for in upstream to let me know this issue was fixed

should i be looking at commits from cgit.freedesktop.org

or github?

just looking for any other source of info so i can know myself so i dont have to bother you waiting for fix everytime

Offline

#3282 Yesterday 01:46:19

pr0dukter
Member
Registered: 2017-08-24
Posts: 34

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

plugged in a dvi-vga adapter with a chip in it instead of just a staight adapter to get 3rd monitor for time being, but no edid or L x W mm dimensions so no resolution big_smile  did some fake ones for time being,  man i want to know the exact lines of code for this or the exact area because it happens with every kernel sooner or later, AND its the reason i cant use certain kernels to this day

Offline

#3283 Yesterday 16:06:29

pr0dukter
Member
Registered: 2017-08-24
Posts: 34

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

just to follow up, build mesa-git from aur with this PKGBUILD, got 3 monitors back with correct resolution, but im still using the adapter with a chip in it instead of the previous cord, almost there, hdmi audio FINALLY!! maybe this will help someone else in same situation.

also here are my grub settings for 4.15+ amdgpu

GRUB_CMDLINE_LINUX_DEFAULT="amd_iommu=on iommu=pt ipv6.disable=1 amdgpu.si_support=1 radeon.si_support=0 amdgpu.cik_support=1 radeon.cik_support=0 amdgpu.dc=1 amdgpu.lockup_timeout=6000 amdgpu.audio=1 sysrq_always_enabled=1 nosplash noquiet cryptdevice=


pkgname=mesa-full-intel-amd
pkgver=20180221
_realver=11.0
pkgrel=1
pkgdesc="Full Mesa 3D graphics library with all its components, built from the git master branch. Compiles mesa for r600g (gallium) and i965 (mesa classic)"
arch=('i686' 'x86_64')
url="http://mesa3d.org/"
license=('LGPL')
depends=('libdrm' 'dri2proto' 'glproto' 'libxxf86vm' 'libxdamage' 'expat>=2.0.1' 'libxmu' 'talloc' 'llvm' 'wayland') # 'libclc')
makedepends=('pkgconfig' 'imake' 'xorg-server-devel')
provides=("'mesa-git' 'opencl-mesa'  mesa-libgl=${_realver}" "libgl=${_realver}" "mesa=${_realver}" "intel-dri=${_realver}" 'ati-dri' 'libglapi' 'libegl' 'libgles' 'libgbm' 'intel-dri' 'khrplatform-devel' 'ati-dri-git' 'intel-dri-git' 'vulkan-driver') # only with --enable-opencl 'opencl-headers')
conflicts=('libgl' 'mesa' 'intel-dri' 'ati-dri' 'mesa-full-i915g' 'libglapi' 'libegl' 'libgles' 'khrplatform-devel' 'vulkan-radeon' 'vulkan-radeon-git' 'opencl-mesa' 'opencl-mesa-git')
source=("git://anongit.freedesktop.org/mesa/mesa")
_gitname="mesa"
md5sums=('SKIP')
#options=('!strip') # for debugging

#export CFLAGS="-g" #$CFLAGS"
#export CXXFLAGS="-g" #$CXXFLAGS"
#export CFLAGS="$CFLAGS -O3 -flto=9 -ffat-lto-objects -flto-odr-type-merging"
#export CXXFLAGS="$CFLAGS"
#export LDFLAGS=" -flto=9"

#export CFLAGS="$CFLAGS -fno-omit-frame-pointer -g"
#export CXXFLAGS="$CXXFLAGS -fno-omit-frame-pointer -g"

#export CFLAGS="$CFLAGS -O3 -flto=9 -ffat-lto-objects -flto-odr-type-merging"
#AR="gcc-ar" 
#NM="gcc-nm"
#RANLIB="gcc-ranlib"

#CFLAGS="-O3 -march=native -pipe -floop-interchange -ftree-loop-distribution -floop-strip-mine -floop-block -Wno-narrowing" #-flto=8 
#CXXFLAGS="${CFLAGS} -fno-delete-null-pointer-checks -flifetime-dse=1 -fpermissive"
#LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed" # -Wl,-flto=8"

#export CXXFLAGS="-g" #$CXXFLAGS"
#export CXXFLAGS="-g" #$CXXFLAGS"


prepare() {

  cd ${_gitname}

# git apply -vvv --ignore-space-change --ignore-whitespace ~/mesa.patch
 ./autogen.sh \
    --prefix=/usr \
    --with-dri-driverdir=/usr/lib/xorg/modules/dri \
    --with-dri-drivers=i965 \
    --with-egl-platforms=x11,drm,wayland \
    --with-gallium-drivers=radeonsi,r600,swrast \
    --enable-glx-tls \
    --enable-egl \
    --enable-llvm \
    --enable-gles1 \
    --enable-gles2 \
    --enable-texture-float \
    --enable-vdpau \
    --enable-va \
    --enable-gbm \
    --enable-shared-glapi \
    --enable-gallium-osmesa \
    --enable-dri3 \
    --enable-nine \
    --enable-omx-bellagio \
    --enable-opencl \
    --enable-opencl-icd \
    --with-vulkan-drivers=intel,radeon \
    --with-vulkan-icddir=/etc/vulkan/icd.d \
    --enable-gallium-extra-hud --enable-lmsensors \
#    --with-sha1=libgcrypt

##,swrast,ilo,swr --enable-swr-native \
    
#--disable-llvm-shared-libs
}

build() {
  msg "Starting make..."
  cd ${_gitname}
  #also for debugging
  make
}

package() {
  cd ${_gitname}
  make DESTDIR="${pkgdir}" install

  install -m755 -d "${pkgdir}/usr/lib/xorg/modules/extensions"
  #ln -sf libglx.xorg ${pkgdir}/usr/lib/xorg/modules/extensions/libglx.so

#  install -m755 -d "${pkgdir}"/etc
#  mv -v "${srcdir}"/etc/vulkan "${pkgdir}"/etc/

#  mv -v "$pkgdir"/usr/share/vulkan "$pkgdir"/etc/
  rm -f "$pkgdir"/usr/include/vulkan/vk_platform.h
  rm -f "$pkgdir"/usr/include/vulkan/vulkan.h

  install -d ${pkgdir}/etc/profile.d
  echo '#!/bin/bash
export LIBGL_DRIVERS_PATH=/usr/lib/xorg/modules/dri:$LIBGL_DRIVERS_PATH
#export R600_ENABLE_S3TC=1
' > ${pkgdir}/etc/profile.d/mesa.sh
  chmod +x ${pkgdir}/etc/profile.d/mesa.sh
}

pkgver() {
  date +%Y%m%d
}

i did not write this PKGBUILD

Last edited by pr0dukter (Yesterday 16:08:16)

Offline

Board footer

Powered by FluxBB