Skip to content
This repository has been archived by the owner on Aug 22, 2022. It is now read-only.

mesa: meson build bug #4

Closed
attuska opened this issue Jun 26, 2018 · 5 comments
Closed

mesa: meson build bug #4

attuska opened this issue Jun 26, 2018 · 5 comments
Labels
enhancement New feature or request

Comments

@attuska
Copy link
Contributor

attuska commented Jun 26, 2018

Az nvidia GPU-val a mesa nouveau az X-ben illegális utasítással elszáll, a sima configure make módszerrel létrejövő mesa használható csak.
https://bugs.freedesktop.org/show_bug.cgi?id=106410

@attuska attuska added the enhancement New feature or request label Jun 26, 2018
@attuska
Copy link
Contributor Author

attuska commented Jun 26, 2018

Egyelőre így jó csak:
d2f7e0e

@attuska
Copy link
Contributor Author

attuska commented Jun 27, 2018

A mesa-18.1.2 a d2f7e0e előtti ubével fordítva szintén illegális utasítást produkál az X -ben a próba telepítményen.

[ 187.302] (II) glamor: OpenGL accelerated X.org driver based.
[ 187.386] (EE)
[ 187.386] (EE) Backtrace:
[ 187.386] (EE) 0: /usr/bin/X (OsLookupColor+0x139) [0x58f2d9]
[ 187.387] (EE) 1: /lib/libpthread.so.0 (funlockfile+0x50) [0x7fa291218acf]
[ 187.388] (EE) 2: /usr/lib/dri/nouveau_dri.so (nouveau_drm_screen_create+0x1970fb) [0x7fa28be4713b]
[ 187.389] (EE) unw_get_proc_name failed: no unwind info found [-10]
[ 187.389] (EE) 3: /usr/lib/dri/nouveau_dri.so (?+0x1970fb) [0x7fa28b8e836b]
[ 187.390] (EE) 4: /lib64/ld-linux-x86-64.so.2 (_dl_rtld_di_serinfo+0x641a) [0x7fa29340d9aa]
[ 187.391] (EE) 5: /lib64/ld-linux-x86-64.so.2 (_dl_rtld_di_serinfo+0x6516) [0x7fa29340dbc6]
[ 187.392] (EE) 6: /lib64/ld-linux-x86-64.so.2 (_dl_find_dso_for_object+0x995) [0x7fa29340c1f5]
[ 187.393] (EE) 7: /lib/libc.so.6 (_dl_catch_error+0x71) [0x7fa290f7fe21]
[ 187.393] (EE) 8: /lib64/ld-linux-x86-64.so.2 (_dl_find_dso_for_object+0x187) [0x7fa29340b4d7]
[ 187.394] (EE) unw_get_proc_name failed: no unwind info found [-10]
[ 187.394] (EE) 9: /lib/libdl.so.2 (?+0x187) [0x7fa292b2e007]
[ 187.395] (EE) 10: /lib/libc.so.6 (_dl_catch_error+0x71) [0x7fa290f7fe21]
[ 187.396] (EE) 11: /lib/libdl.so.2 (dlerror+0x2b5) [0x7fa292b2e735]
[ 187.397] (EE) 12: /lib/libdl.so.2 (dlopen+0x31) [0x7fa292b2df51]
[ 187.398] (EE) 13: /usr/lib/libgbm.so.1 (gbm_surface_has_free_buffers+0x1c23) [0x7fa28d5eec33]
[ 187.399] (EE) 14: /usr/lib/libgbm.so.1 (gbm_surface_has_free_buffers+0x1d4c) [0x7fa28d5eefcc]
[ 187.399] (EE) 15: /usr/lib/libgbm.so.1 (gbm_surface_has_free_buffers+0x21f3) [0x7fa28d5ef763]
[ 187.400] (EE) 16: /usr/lib/libgbm.so.1 (gbm_create_device+0x44) [0x7fa28d5eaea4]
[ 187.401] (EE) 17: /usr/lib/xorg/modules/libglamoregl.so (glamor_egl_init+0x75) [0x7fa28d7ff2b5]
[ 187.402] (EE) 18: /usr/lib/xorg/modules/drivers/modesetting_drv.so (_init+0x4a69) [0x7fa28e04a099]
[ 187.402] (EE) 19: /usr/bin/X (InitOutput+0xa9c) [0x47ab4c]
[ 187.402] (EE) 20: /usr/bin/X (InitFonts+0x1f5) [0x43adb5]
[ 187.403] (EE) 21: /lib/libc.so.6 (__libc_start_main+0xee) [0x7fa290e775be]
[ 187.403] (EE) 22: /usr/bin/X (_start+0x2a) [0x425d1a]
[ 187.403] (EE)
[ 187.403] (EE) Illegal instruction at address 0x7fa28bcb120b
[ 187.403] (EE)
Fatal server error:
[ 187.403] (EE) Caught signal 4 (Illegal instruction). Server aborting
[ 187.403] (EE)
[ 187.403] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 187.403] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 187.403] (EE)
[ 187.418] (EE) Server terminated with error (1). Closing log file.

Arch-Linux PKGBULD módján is.
https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/mesa

És nekik ez nyilván jó így.

Fedora, Gentoo, Debian ellenben még mindig nem meson -al készíti a mostani 18.1.2 -t, nyilván nem véletlen.

Lehet, hogy a linker csak Arch-linuxnál jó?
https://bugs.freedesktop.org/show_bug.cgi?id=106410#c7
Nem értem, hogy a mesa karbantartók miért nem ügyködnek rajta.

@attuska
Copy link
Contributor Author

attuska commented Jun 27, 2018

Ügyködtek a mesa upstream karbantartói.
A mesa git forrása lefordítva, feltelepítve a próba telepítményre már jó.
git://anongit.freedesktop.org/mesa/mesa.git@e9a77c3e96dab313f3bb85fe271d41f3bade01fa

A compile fájl opciók:

ub_compile
-Dplatforms=x11,drm,wayland,surfaceless
-Dswr-arches=avx,avx2
-Dri3=true
-Dgallium-extra-hud=true
-Dgallium-nine=true
-Dgallium-opencl=icd
-Dgallium-va=true
-Dgallium-vdpau=true
-Dgallium-xa=true
-Dgallium-xvmc=false
-Dgbm=true
-Dglvnd=true
-Dglx=dri
-Dlibunwind=true
-Dllvm=true
-Dlmsensors=true
-Dtexture-float=true
-Dtools=all

@attuska
Copy link
Contributor Author

attuska commented Jun 28, 2018

workaround: 643a501

@attuska attuska mentioned this issue Jun 28, 2018
@attuska
Copy link
Contributor Author

attuska commented Jul 23, 2018

Fullrebuild és mesa update megoldotta.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Development

No branches or pull requests

1 participant