/srv/irclogs.ubuntu.com/2013/10/07/#ubuntu-x.txt

=== tomreyn_ is now known as tomreyn
=== psivaa-afk is now known as psivaa
tjaaltonnice, xserver loading both radeon and vesa for a radeon/radeon hybrid.. that'll fail12:06
tjaaltonwhen -ati doesn't support the other chip12:06
=== psivaa is now known as psivaa-afk
tjaaltonuds @ crazy hours again12:23
tjaaltonno-go12:23
mlankhorstmeh we need a session for x, but it will pretty much be ship whatever is needed for hardware support, ship 1.15 if possible, and ship newest mesa branch possible12:36
tjaaltonright12:36
tjaaltonno news there12:36
=== psivaa-afk is now known as psivaa
DandelSarvatt, it appears all of the ubuntu fglrx packages ( since 12.104 ) on precise have a broken direct rendering capabilities. 13:02
mlankhorst*direct* rendering? >:O13:02
Dandelya.13:02
tjaaltonhow so?13:03
Dandeland it was fixed by running... env LD_LIBRARY_PATH=/usr/lib/fglrx:/usr/lib32/fglrx:$LD_LIBRARY_PATH glxinfo13:03
mlankhorstDandel: what if you run ldconfig?13:03
Dandelshouldn't need to.13:04
DandelI installed the packages from the ubuntu repositories.13:04
mlankhorsttry update-alternatives --display x86_64-linux-gnu_gl_conf13:04
Dandelstep to reproduce problem... sudo apt-get install fglrx_package_goes_here && sudo aticonfig --initial && sudo reboot13:04
Dandelfglrx 9.010 package was not effected13:05
Dandelbut catalyst 13.8 beta ( 13.200 aka 13.20.5 ), catalyst 13.10 ( fglrx 13.20.11 ), and fglrx 12.104 are all effected13:06
mlankhorstDandel: can you do those steps for me?13:06
Dandelwill do, but it'll take a few min... i switched that pc over to an nvidia card to check some stuff out on an the nvidia drivers... funny thing is that none of the nvidia drivers had this issue.13:07
mlankhorstsure13:07
tjaaltonDandel: i guess you need to enable it from jockey or what's it called..13:07
Dandeltjaalton, i did  not use jockey13:08
tjaaltonexactly13:08
Dandelthe steps I said is equivalent of using that13:08
tjaaltonyou need to13:08
tjaaltonno it isn't13:08
mlankhorstand you don't need a aticonfig --initial13:08
tjaaltonit won't touch alternatives13:08
Dandelno... the ubuntu package should automatically set alternatives.13:08
tjaaltonnope13:08
mlankhorstUNLESS it's in manual mode13:08
tjaaltonyou need to enable the driver..13:09
tjaaltonif you just install it, it isn't enabled13:09
Dandelwith nvidia it was install package and then run nvidia-xconfig.13:09
tjaaltontseliot: ^13:09
Dandeland it never gave me any problems going back to mesa ><; ( just uninstall relevant packages and remove /etc/X11/xorg.conf )13:10
mlankhorstDandel: I've noticed the same and I think it was just ldconfig was missing after switching alternatives13:10
mlankhorstand xorg.conf is not needed for fglrx13:10
tjaaltonok then13:10
tjaaltonmaybe I was wrong, has been a while since I tried either13:10
Dandelthe latest amd driver *does* survive the most recent revisions of piglit.13:11
mlankhorst:o13:11
Dandelactually the ubuntu ppa is woefully out of date due to the fact the piglit devs have trouble integrating patches :/13:11
Dandeloverzelous devs who don't want to fix the whole building the source code from out of tree.13:12
mlankhorstlol13:12
mlankhorstI can just push any fixes, as long as they don't break in-tree builds :P13:12
Dandelsee piglit mailing list.13:13
Dandelthere is a couple of patch queues13:13
Dandelsome of em fix outright improper piglit behavior13:13
Dandelif you change contexts, using the old glgetstring is a seriously bad idea13:13
mlankhorstwhat patches exactly?13:14
Dandelhttp://lists.freedesktop.org/archives/piglit/2013-September/007571.html13:15
Dandelit's incomplete ><; noticed some other stuff in packages that are missing.13:15
Dandelpatch 7 and 8 are fixing poor glgetstring behaior.13:17
Dandelpatch 6 *should* fix the strndup build bug found in piglit right now13:18
Dandelpatches 1 to 4 are general fixes to  packaging (and installation ) involving cmake in general.13:18
Dandeland of course patch 5 is a version bump involving cmake for piglit seeing as how they already essentially force cmake 2.8 as is ( via waffle )13:19
Dandelactually I did notice that on fglrx that aiglx is a little buggy after install on those effected versions.13:20
Dandelnamely that it failed to load /usr/X11R6/lib64/modules/dri/fglrx_dri.so :/13:21
mlankhorstDandel: oh, dandel sent a reply to it, you need to reply to that first :P13:22
mlankhorsts/dandel/idr/13:23
mlankhorsthttp://lists.freedesktop.org/archives/piglit/2013-October/007585.html13:23
mlankhorsthm I'll ping him myself13:23
DandelI always build the source out of tree ><;13:23
Dandelso these fixes are key13:24
tseliotDandel: there's no need to run nvidia-xconfig or aticonfig13:24
Dandeltseliot, it's out of habbit... I've been using the proprietary driver that way for more than 4 years13:24
DandelI almost always build the package, and then install said package13:25
tseliotDandel: also can you pastebin your /var/log/Xorg.0.log please?13:25
Dandel1 sec.13:25
Dandelhttp://paste.ubuntu.com/6204912/13:27
mlankhorst.dpkg-tmp?13:28
mlankhorstwhy do you have a /usr/lib/x86_64-linux-gnu/xorg/extra-modules/extra-modules.dpkg-tmp/ ?13:28
Dandelno13:29
mlankhorstit's there in your log13:29
Dandelat least not with nvidia 325.15 driver13:29
Dandeli have not shut the pc down yet ><;13:29
mlankhorstlook at your own Xorg.0.log :P13:29
Dandelthat is an copy of the log i had from atigetsysteminfo.sh13:29
tselioterr... we need a current log13:31
Dandelthat error only started appearing in 13.20.5 ( catalyst 13.8 beta )13:33
Dandelit did not exist in the 13.101 release13:33
tseliotalso we do provide a file for ldconfig with the driver, so you shouldn't really need to export the path to the libraries13:33
tseliotDandel: please reboot, and paste the output of "ldconfig -p | grep GL" (do not set the LD_LIBRARY_PATH)13:35
Dandelk... 1 sec restoring the system takes a a bit ( haft to make sure i don't leave the nvidia drivers in when i switch to the ati card )13:36
Dandelusing the fglrx-12 package ( from edgers ppa )13:44
Dandeltseliot, linker issue13:48
tseliotDandel: so it's not my problem13:48
Dandelpaste.ubuntu.com/620499413:50
Dandeland... ( this is ldconfig -p | grep  GL ) paste.ubuntu.com/620499913:51
Dandelodd... i do not see a libgl.so ( 32-bit ) for fglrx 0o'13:52
tseliotDandel: what does "ldconfig -p | grep dri" say?13:55
tseliotBTW I don't maintain the drivers in edgers, only the ones in the Ubuntu repository13:56
Dandeli do not see the fglrx dri in the output for that command13:56
Dandelpaste.ubuntu.com/620501813:58
tseliotDandel: what about "update-alternatives --display x86_64-linux-gnu_gl_conf" ?13:59
Dandelpaste.ubuntu.com/620502414:00
mlankhorstwhat if you just run ldconfig, then ldd /usr/bin/glxgears again?14:01
mlankhorstwell, ldconfig with sudo14:01
Dandelactually on ubuntu 12.04 lts it's wrather annoying that the opencl driver icd and headers are unavailable ><; ( it's in quantal tho and up tho... that's on the list of stuff needed for current versions of piglit ) 14:02
Dandelpaste.ubuntu.com/620504314:03
Dandelmlankhorst, i have no idea why i have  /usr/lib/x86_64-linux-gnu/xorg/extra-modules/extra-modules.dpkg-tmp/14:05
mlankhorstrm -rf it14:05
Dandelbut it does link to /etc/alternatives/x86_64-linux-gnu_xorg_extra_modules14:05
mlankhorstoh just rm it then :p14:06
mlankhorstanyway that looks better, try again now?14:06
Dandelrming that link did not fix the direct rendering.14:06
Dandelodd...14:07
Dandeladding just this path to LD_LIBRARY_PATH fixed it... /usr/lib32/fglrx14:07
Dandeldid i forget to mention i'm on amd64 ><;14:07
mlankhorstthat should not exist14:08
Dandeli do not think that is entirely the issue.14:08
tjaaltonthe package does install stuff there14:08
mlankhorstoh14:08
tjaaltontoo14:09
Dandelthat solves it.14:09
Dandel1 sec while i get a console output of ldconfig -p :)14:09
Dandelpaste.ubuntu.com/620506514:11
Dandelthat is *before* and after adding usr/lib32/fglrx to the ld_library_path14:11
mlankhorstok so I guess you just didn14:11
Dandelack ><;14:11
mlankhorstrun ldconfig then :p14:11
Dandelsomething else is missing ><;14:12
mlankhorstjust restart xorg i guess14:19
Dandelhmm... xorg failure14:21
Dandelundefined symbol firegl_getuefisupported in /usr/lib/xorg/modules/drivers/fglrx_drv.so14:21
Dandel0o' is there ever a reason for update-alternatives to complain during install?14:26
Dandeloh well... reinstalling the package fixed xorg :/14:26
Dandelsteam still complains about a lack of direct contexts 14:27
Dandelhmm... tjaalton, do you know why there is no 32-bit glxinfo ? ( i think there is a need to have this because there is a slight issue where libGL.so is overwitten for 64-bit binaries but 32-bit binaries are ignored.14:32
tjaaltonwhat 32bit binaries?14:35
mlankhorstDandel: apt-get install mesa-utils:i38614:35
tjaaltonno14:35
tjaaltonit's not multiarch14:35
tjaaltonoh14:35
mlankhorst:P14:35
tjaaltonwell you can install either or14:35
tjaaltoni guess14:35
mlankhorstit's what i do14:35
Dandel0o' and it messes up other packages to boot14:39
Dandelnow i have 4 other packages to reinstall ><;14:39
Dandelthe 32-bit glxinfo has that issue :)14:40
Dandeli honestly wonder why this line is not in ldconfig -p | grep fglrx output...14:41
DandellibGL.so (libc6) => /usr/lib/fglrx/libGL.so14:41
Dandelerr... lib32... but still the point is sound.14:42
mlankhorstyou probably messed up your system in an interesting way14:42
mlankhorstjust wipe it and start over? :p14:42
Dandelthat's a bit difficult... there is problems on another system where uefi and dual boot is a nightmare.14:43
Dandeli own two uefi compatible amd systems and the hitch on both of em is that win7 + linux do not play nicely on multiple levels ( for example hybernate on windows is lost )14:44
Dandelmlankhorst, i doubt that i screwed it up that bad... when I remove fglrx i always run the following set of commands. paste.ubuntu.com/620520514:47
tjaaltonwhere do you paster these links from? they are lacking http:// and terminator doesn't understand them ;)14:48
Dandeltjaalton, it's called typing it in.14:49
tjaaltonright, isn't that a lot of work?14:49
tjaaltonand *paste14:49
Dandelnot when your on two different computers.14:50
tjaaltonk14:50
mlankhorstand another thing you really really do not need to run aticonfig, just another way to mess things up14:55
Dandelfixed it... had some stray fixes from one of the times the ati installer/uninstaller screwed up :/14:57
Dandeli had to wipe out /usr/lib/i386-linux-gnu/libati*14:58
Dandeland then reinstall the driver14:58
Dandelnow steam does not complain either.14:59
mlankhorstDandel: hm do you have the piglit changes in a branch?15:45
pepeetjaalton, tyvm, it's fixed now :)17:25
tjaaltonpepee: good to hear :)18:00
=== RAOF_ is now known as RAOF
=== JanC_ is now known as JanC

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!