=== kees_ is now known as kees | ||
furkan | is there any reason why i shouldn't be able to build Mesa from git on Ubuntu 14.04? i narrowed down my bug to between Mesa 10.1.3 and 10.3.2 | 07:38 |
---|---|---|
furkan | and i'm using the instructions from here to build Mesa from git: http://wiki.x.org/wiki/radeonBuildHowTo/ | 07:39 |
furkan | it builds fine and i'm able to install it to /opt/xorg and point my LIBGL_DRIVERS_PATH environment variable to it | 07:39 |
furkan | but then when i try to log in, unity fails to launch and i just get kicked back to the lightdm greeter | 07:40 |
furkan | i couldn't really find anything useful in the logs that i looked at | 07:40 |
furkan | i thought maybe i need to apply the ubuntu patches, but i'm not sure how to go about doing that | 07:41 |
=== mck182|afk is now known as mck182 | ||
tjaalton | shouldn't need anything special | 11:24 |
furkan | based on that guide, i did "./autogen.sh --prefix=/opt/xorg --with-dri-drivers="radeon" --with-gallium-drivers="radeonsi,swrast" --with-dri-driverdir=/opt/xorg/lib/dri/" | 16:22 |
furkan | and then make, followed by make install | 16:23 |
furkan | and when i try "ldconfig -p | grep libGL.so" the libraries from /opt/xorg show up first | 16:23 |
furkan | but when i try glxinfo i get "glxinfo: symbol lookup error: /opt/xorg/lib/libGL.so.1: undefined symbol: __glX_tls_Context" | 16:24 |
furkan | i also tried adding --enable-glx-tls to the autogen script, but no difference | 16:24 |
furkan | googling the error gives me 2 results from #dri-devel IRC logs lol | 16:26 |
tjaalton | ldd /opt/xorg/lib/libGL.so.1 | 16:53 |
tjaalton | xorg log too | 16:55 |
furkan | tjaalton: here's the first http://pastebin.com/hMvbyz14 | 17:05 |
furkan | and the second: http://pastebin.com/2jDmFhTk | 17:06 |
furkan | i get the same __glX_tls_Context error in the xorg log | 17:06 |
tjaalton | --enable-glx-tls for mesa | 17:24 |
tjaalton | since the xserver is built with it | 17:27 |
furkan | tjaalton: yeah, i included that, you mean with autogen.sh right? | 17:33 |
furkan | (mentioned above) | 17:33 |
tjaalton | yes | 17:34 |
tjaalton | oh, I see | 17:35 |
tjaalton | forgot to run make install perhaps | 17:39 |
furkan | can't be, i ran that too, and i can verify that it copies everything into /opt/xorg | 17:39 |
furkan | yeah i just tried it again to make sure it was putting everything in the right place, it's all going straight in /opt/xorg | 17:42 |
furkan | is it possible that ubuntu just ignores those? | 17:42 |
tjaalton | no | 17:43 |
furkan | and the configuration in that guide is still up to date? | 17:44 |
furkan | i created the file /etc/ld.so.conf.d/a-local-xorg.conf | 17:44 |
furkan | put "/opt/xorg/lib" in it, and ran ldconfig | 17:44 |
furkan | and setting the LIBGL_DRIVERS_PATH=/opt/xorg/lib/dri/ environment variable | 17:45 |
furkan | but if i'm understanding right, that part may be unnecessary if using the --enable-glx-tls flag | 17:46 |
furkan | "Problem with this configuration is that AIGLX doesn't respect it. This means that compiz doesn't get advantage of new driver. | 17:46 |
furkan | It is possible to get the new libGL and dri drivers used without setting LIBGL_DRIVERS_PATH:" | 17:46 |
tjaalton | dunno | 17:52 |
tjaalton | you probably need to remove /etc/ld.so.conf.d/x86_64-linux-gnu_GL.conf | 17:59 |
tjaalton | or at least try with that elsewhere | 17:59 |
furkan | tjaalton: i'll give that a shot | 18:05 |
furkan | i've got it narrowed down to between 10.2 and 10.3.2 now | 18:05 |
furkan | since i just noticed Maarten had a 10.2 build in trusty-proposed | 18:06 |
furkan | tjaalton: i think that fixed it dude... | 18:22 |
furkan | glxinfo doesn't throw the error anymore | 18:22 |
* furkan tries restarting X | 18:22 | |
furkan | this is so weird | 18:26 |
furkan | when i put that file in ld.so.conf.d, X starts in low graphics mode | 18:27 |
furkan | i removed it, but left the LIBGL_DRIVERS_PATH environment variable intact | 18:27 |
furkan | now it runs fine | 18:27 |
furkan | and: | 18:27 |
furkan | furkan@furkan-trusty:~$ LIBGL_DEBUG=verbose glxinfo 2>&1 >/dev/null | grep so$ | 18:28 |
furkan | libGL: OpenDriver: trying /opt/xorg/lib/dri//tls/radeonsi_dri.so | 18:28 |
furkan | libGL: OpenDriver: trying /opt/xorg/lib/dri//radeonsi_dri.so | 18:28 |
furkan | that double-slash looks weird | 18:28 |
furkan | but i also get "OpenGL ES profile version string: OpenGL ES 2.0 Mesa 10.2.1 (git-1b69ea1)" | 18:28 |
furkan | which is what i just built | 18:28 |
tjaalton | nice | 18:47 |
furkan | tjaalton: i think i found the bad commit | 20:42 |
furkan | "4a5519f1e019dbf1103e4f3abe0a695637a87518 is the first bad commit" | 20:42 |
furkan | r600g,radeonsi: set correct initial domain for shared resources | 20:42 |
furkan | i've got a but report filed @ freedesktop and was asked to do the bisect, so we'll see if it gets fixed | 20:44 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!