-
Notifications
You must be signed in to change notification settings - Fork 0
Update graphic #1600
Update graphic #1600
Changes from all commits
ceb27ea
a3523ed
e35cb65
c7b375c
d58b6d6
ca55884
1e148c4
3612433
e36861b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
#!/usr/bin/env beesh | ||
|
||
# BEE_VERSION libglvnd-1.3.0-0 | ||
|
||
SRCURL[0]="https://github.com/NVIDIA/libglvnd/archive/v${PKGVERSION}.tar.gz libglvnd-${PKGVERSION}.tar.gz" | ||
|
||
# PATCHURL+=() | ||
|
||
# build_in_sourcedir | ||
|
||
# sourcesubdir_append src | ||
|
||
BEE_BUILDTYPE=meson | ||
|
||
#mee_extract() { | ||
# bee_extract "${@}" | ||
#} | ||
|
||
#mee_patch() { | ||
# bee_patch "${@}" | ||
#} | ||
|
||
#mee_configure() { | ||
# bee_configure | ||
#} | ||
|
||
#mee_build() { | ||
# bee_build | ||
#} | ||
|
||
#mee_install() { | ||
# bee_install | ||
#} | ||
## by default this may be 'make install DESTDIR="${D}"' |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#!/usr/bin/env beesh | ||
|
||
# BEE_VERSION mesalib-19.3.1-0 | ||
# BEE_VERSION mesalib-19.3.2-0 | ||
|
||
## this file was created by bee init and should be executed to build a | ||
## bee-package. (Additional hints are located at the end of this file.) | ||
|
@@ -56,10 +56,11 @@ SRCURL[0]="https://mesa.freedesktop.org/archive/mesa-${PKGVERSION}.tar.xz" | |
mee_configure() { | ||
bee_configure \ | ||
-Dbuildtype=release \ | ||
-Dgallium-drivers="nouveau,r600,radeonsi,svga,swrast" \ | ||
-Dgallium-drivers="nouveau,r600,radeonsi,svga,swrast,swr" \ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why do we need the OpenSWR Gallium driver?
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @david told me, it’s supposedly better than swrast, and it’s for testing. |
||
-Dvulkan-drivers="amd,intel" \ | ||
-Dosmesa=gallium \ | ||
-Dvalgrind=false | ||
-Dvalgrind=false \ | ||
-Dglvnd=true | ||
} | ||
|
||
#mee_build() { | ||
|
@@ -70,14 +71,6 @@ mee_configure() { | |
# bee_install | ||
#} | ||
|
||
mee_install_post() { | ||
mkdir -p ${D}${DATAROOTDIR}/mxgfx-generic/lib | ||
ln -sf ${LIBDIR}/libGL.so.1.2.0 ${D}${DATAROOTDIR}/mxgfx-generic/lib/libGL.so.1 | ||
|
||
rm ${D}${LIBDIR}/libGL.so.1 | ||
ln -sf ${DATAROOTDIR}/mxgfx/lib/libGL.so.1 ${D}${LIBDIR}/libGL.so.1 | ||
} | ||
|
||
## by default this may be 'make install DESTDIR="${D}"' | ||
|
||
############################################################################### | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -63,7 +63,13 @@ mee_install() { | |
# libglxserver_nvidia.so should reside in /usr/lib/xorg/modules/extensions, | ||
# here we cheat away and stay in line with the /node/usr_share_mxgfx mechanism. | ||
# Additional note: don't put/link libglx.so into /usr/lib. | ||
ln -sv libglxserver_nvidia.so.$PKGVERSION ${D}${LIBDIR}/libglx.so | ||
ln -sv libglxserver_nvidia.so.$PKGVERSION ${D}${LIBDIR}/libglxserver_nvidia.so | ||
mkdir -vp ${D}/usr/lib/xorg/modules/extensions | ||
|
||
#Zusatz | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What do you mean? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. working comment |
||
cd ${D}/usr/lib/xorg/modules/extensions | ||
ln -sv /usr/share/mxgfx/lib/libglxserver_nvidia.so libglxserver_nvidia.so | ||
cd $B | ||
|
||
echo "installing ${NVDRV} as drivers/$(basename ${NVDRV})"; | ||
install -c -v ${NVDRV} ${D}${PREFIX}/drivers | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/usr/bin/bash | ||
|
||
UP=("libglvnd" "mesa-demos" "mesalib" "nvidia-mxlinks") | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Update mesalib first to avoid warning messages?
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this files comes now from glvnd. |
||
|
||
for i in ${UP[@]}; do | ||
bee update $i | ||
done | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. No need to use this array syntax. Next time, the below is shorter.
|
||
|
||
bee remove nvidia_current-440.44-0.x86_64 | ||
bee install -f nvidia_current-440.44-1 | ||
bee remove nvidia_current-418.56-1.x86_64 | ||
bee install -f nvidia_current-418.56-2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it not detected automatically?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes