[Touch-packages] [Bug 1549849] Re: 11.2.0-rc1: llvmpipe tests fail if built on skylake
fixed by llvm update in xenial, yakkety fixed it in mesa ** Changed in: mesa (Ubuntu) Status: Triaged => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to mesa in Ubuntu. https://bugs.launchpad.net/bugs/1549849 Title: 11.2.0-rc1: llvmpipe tests fail if built on skylake Status in Mesa: Confirmed Status in mesa package in Ubuntu: Fix Released Bug description: if built on broadwell all is well. 11.1 was fine, so it's a regression in 11.2.x To manage notifications about this bug go to: https://bugs.launchpad.net/mesa/+bug/1549849/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1549849]
Oh, I didn't know they were subvariants :) I've dropped them from our llvm-3.8 for now at least.. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to mesa in Ubuntu. https://bugs.launchpad.net/bugs/1549849 Title: 11.2.0-rc1: llvmpipe tests fail if built on skylake Status in Mesa: Confirmed Status in mesa package in Ubuntu: Triaged Bug description: if built on broadwell all is well. 11.1 was fine, so it's a regression in 11.2.x To manage notifications about this bug go to: https://bugs.launchpad.net/mesa/+bug/1549849/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1549849]
(In reply to Jose Fonseca from comment #6) > It's not the first time LLVM misidentifies modern CPUs. > > I thought that all the logic in > src/gallium/auxiliary/gallivm/lp_bld_misc.cpp for setting +/-foo mattrs > would save us from this sort of grief. For features we already know about (I think I even mentioned that back then, hoping it wouldn't be a problem)... If I look at the list of skylake features, I'd nearly bet the winner is avx512 (and/or any subvariant). -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to mesa in Ubuntu. https://bugs.launchpad.net/bugs/1549849 Title: 11.2.0-rc1: llvmpipe tests fail if built on skylake Status in Mesa: Confirmed Status in mesa package in Ubuntu: Triaged Bug description: if built on broadwell all is well. 11.1 was fine, so it's a regression in 11.2.x To manage notifications about this bug go to: https://bugs.launchpad.net/mesa/+bug/1549849/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1549849]
llvm-3.8 misdetects skylake features, this is fixed in 3.9-snapshot.. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to mesa in Ubuntu. https://bugs.launchpad.net/bugs/1549849 Title: 11.2.0-rc1: llvmpipe tests fail if built on skylake Status in Mesa: Confirmed Status in mesa package in Ubuntu: Triaged Bug description: if built on broadwell all is well. 11.1 was fine, so it's a regression in 11.2.x To manage notifications about this bug go to: https://bugs.launchpad.net/mesa/+bug/1549849/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1549849]
(In reply to Timo Aaltonen from comment #8) > Actually it wasn't avx512, that was the first one I tried :) It's enabled > also on 3.7 and that version works fine. Only one that was added in 3.8 is > PKU, but dropping just that didn't help. > > I did try dropping all non-client features (AVX512, CDI, DQI, BWI, VLX, PKU) > and that worked. Maybe one of CDI/DQI/BWI/VLX is somewhat broken on 3.8? Which is why I said "or any subvariant" ;-). ERI, CDI, PFI, DQI, BWI, VLX are all avx512 variants (omg naming???), though that skylake in the llvm 3.8 list doesn't suport ERI and PFI. I'm not sure, but probably dropping avx512 manually when a enhanced variant still gets enabled won't do anything. I don't think PKU would matter (but no guarantee...). I suppose we should explicitly disable all of them via mattrs too (not that it's a battle we can win, there will be some extensions at some point...). -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to mesa in Ubuntu. https://bugs.launchpad.net/bugs/1549849 Title: 11.2.0-rc1: llvmpipe tests fail if built on skylake Status in Mesa: Confirmed Status in mesa package in Ubuntu: Triaged Bug description: if built on broadwell all is well. 11.1 was fine, so it's a regression in 11.2.x To manage notifications about this bug go to: https://bugs.launchpad.net/mesa/+bug/1549849/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1549849]
Actually it wasn't avx512, that was the first one I tried :) It's enabled also on 3.7 and that version works fine. Only one that was added in 3.8 is PKU, but dropping just that didn't help. I did try dropping all non-client features (AVX512, CDI, DQI, BWI, VLX, PKU) and that worked. Maybe one of CDI/DQI/BWI/VLX is somewhat broken on 3.8? -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to mesa in Ubuntu. https://bugs.launchpad.net/bugs/1549849 Title: 11.2.0-rc1: llvmpipe tests fail if built on skylake Status in Mesa: Confirmed Status in mesa package in Ubuntu: Triaged Bug description: if built on broadwell all is well. 11.1 was fine, so it's a regression in 11.2.x To manage notifications about this bug go to: https://bugs.launchpad.net/mesa/+bug/1549849/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1549849]
It's not the first time LLVM misidentifies modern CPUs. I thought that all the logic in src/gallium/auxiliary/gallivm/lp_bld_misc.cpp for setting +/-foo mattrs would save us from this sort of grief. On the other hand, I suppose that actually knowing the exact CPU model allows it to better model instruction latency/throughput. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to mesa in Ubuntu. https://bugs.launchpad.net/bugs/1549849 Title: 11.2.0-rc1: llvmpipe tests fail if built on skylake Status in Mesa: Confirmed Status in mesa package in Ubuntu: Triaged Bug description: if built on broadwell all is well. 11.1 was fine, so it's a regression in 11.2.x To manage notifications about this bug go to: https://bugs.launchpad.net/mesa/+bug/1549849/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1549849]
(In reply to Timo Aaltonen from comment #2) > how exactly? I've tried gdb: Usually you could use x/i if it's in jit code when gcc can't figure out the function (or just follow up to the caller and disassemble from there). But it looks like the stack got smashed so I don't know if that really would provide much insight. Is that a debug build? -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to mesa in Ubuntu. https://bugs.launchpad.net/bugs/1549849 Title: 11.2.0-rc1: llvmpipe tests fail if built on skylake Status in Mesa: Confirmed Status in mesa package in Ubuntu: Triaged Bug description: if built on broadwell all is well. 11.1 was fine, so it's a regression in 11.2.x To manage notifications about this bug go to: https://bugs.launchpad.net/mesa/+bug/1549849/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1549849]
Also, compiz doesn't run on SKL/KBL when using llvmpipe, it keeps restarting with 'trap: invalid opcode'. I guess these are related. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to mesa in Ubuntu. https://bugs.launchpad.net/bugs/1549849 Title: 11.2.0-rc1: llvmpipe tests fail if built on skylake Status in Mesa: Confirmed Status in mesa package in Ubuntu: Triaged Bug description: if built on broadwell all is well. 11.1 was fine, so it's a regression in 11.2.x To manage notifications about this bug go to: https://bugs.launchpad.net/mesa/+bug/1549849/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1549849]
how exactly? I've tried gdb: (gdb) run Starting program: /home/tjaalton/src/pkg-xorg/lib/mesa.git/build/src/gallium/drivers/llvmpipe/lp_test_format [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Testing PIPE_FORMAT_B8G8R8A8_UNORM (float) ... Program received signal SIGILL, Illegal instruction. 0x77ff5004 in ?? () (gdb) bt #0 0x77ff5004 in ?? () #1 0x in ?? () (gdb) bt full #0 0x77ff5004 in ?? () No symbol table info available. #1 0x in ?? () No symbol table info available. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to mesa in Ubuntu. https://bugs.launchpad.net/bugs/1549849 Title: 11.2.0-rc1: llvmpipe tests fail if built on skylake Status in Mesa: Confirmed Status in mesa package in Ubuntu: Triaged Bug description: if built on broadwell all is well. 11.1 was fine, so it's a regression in 11.2.x To manage notifications about this bug go to: https://bugs.launchpad.net/mesa/+bug/1549849/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1549849]
Could you show the instruction where it crashed (and the disassembly)? -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to mesa in Ubuntu. https://bugs.launchpad.net/bugs/1549849 Title: 11.2.0-rc1: llvmpipe tests fail if built on skylake Status in Mesa: Confirmed Status in mesa package in Ubuntu: Triaged Bug description: if built on broadwell all is well. 11.1 was fine, so it's a regression in 11.2.x To manage notifications about this bug go to: https://bugs.launchpad.net/mesa/+bug/1549849/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1549849] Re: 11.2.0-rc1: llvmpipe tests fail if built on skylake
Launchpad has imported 1 comments from the remote bug at https://bugs.freedesktop.org/show_bug.cgi?id=94291. If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://help.launchpad.net/InterBugTracking. On 2016-02-25T15:14:52+00:00 Timo Aaltonen wrote: building on skylake will fail on llvmpipe tests: make check-TESTS make[5]: Entering directory '/«PKGBUILDDIR»/build/src/gallium/drivers/llvmpipe' make[6]: Entering directory '/«PKGBUILDDIR»/build/src/gallium/drivers/llvmpipe' PASS: lp_test_printf ../../../../../bin/test-driver: line 107: 32508 Illegal instruction (core dumped) "$@" > $log_file 2>&1 FAIL: lp_test_conv ../../../../../bin/test-driver: line 107: 32509 Illegal instruction (core dumped) "$@" > $log_file 2>&1 FAIL: lp_test_blend ../../../../../bin/test-driver: line 107: 32513 Illegal instruction (core dumped) "$@" > $log_file 2>&1 ../../../../../bin/test-driver: line 107: 32511 Illegal instruction (core dumped) "$@" > $log_file 2>&1 FAIL: lp_test_arit FAIL: lp_test_format broadwell is fine, and using the same llvm version (3.8-rc) on 11.1.x works fine, so this is a regression in the 11.2 branch Reply at: https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1549849/comments/1 ** Changed in: mesa Status: Unknown => Confirmed ** Changed in: mesa Importance: Unknown => Medium -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to mesa in Ubuntu. https://bugs.launchpad.net/bugs/1549849 Title: 11.2.0-rc1: llvmpipe tests fail if built on skylake Status in Mesa: Confirmed Status in mesa package in Ubuntu: Triaged Bug description: if built on broadwell all is well. 11.1 was fine, so it's a regression in 11.2.x To manage notifications about this bug go to: https://bugs.launchpad.net/mesa/+bug/1549849/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1549849] Re: 11.2.0-rc1: llvmpipe tests fail if built on skylake
** Bug watch added: freedesktop.org Bugzilla #94291 https://bugs.freedesktop.org/show_bug.cgi?id=94291 ** Also affects: mesa via https://bugs.freedesktop.org/show_bug.cgi?id=94291 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to mesa in Ubuntu. https://bugs.launchpad.net/bugs/1549849 Title: 11.2.0-rc1: llvmpipe tests fail if built on skylake Status in Mesa: Unknown Status in mesa package in Ubuntu: Triaged Bug description: if built on broadwell all is well. 11.1 was fine, so it's a regression in 11.2.x To manage notifications about this bug go to: https://bugs.launchpad.net/mesa/+bug/1549849/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1549849] [NEW] 11.2.0-rc1: llvmpipe tests fail if built on skylake
Public bug reported: if built on broadwell all is well. 11.1 was fine, so it's a regression in 11.2.x ** Affects: mesa (Ubuntu) Importance: Undecided Assignee: Timo Aaltonen (tjaalton) Status: Triaged ** Changed in: mesa (Ubuntu) Status: New => Triaged ** Changed in: mesa (Ubuntu) Assignee: (unassigned) => Timo Aaltonen (tjaalton) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to mesa in Ubuntu. https://bugs.launchpad.net/bugs/1549849 Title: 11.2.0-rc1: llvmpipe tests fail if built on skylake Status in mesa package in Ubuntu: Triaged Bug description: if built on broadwell all is well. 11.1 was fine, so it's a regression in 11.2.x To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1549849/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp