[Bug 728737] New: radeon driver crashes for RV350 (ATI Radeon 9600 Pro) at startx
https://bugzilla.novell.com/show_bug.cgi?id=728737 https://bugzilla.novell.com/show_bug.cgi?id=728737#c0 Summary: radeon driver crashes for RV350 (ATI Radeon 9600 Pro) at startx Classification: openSUSE Product: openSUSE 12.1 Version: RC 2 Platform: i686 OS/Version: SuSE Other Status: NEW Severity: Normal Priority: P5 - None Component: X.Org AssignedTo: bnc-team-xorg-bugs@forge.provo.novell.com ReportedBy: nikita.kravets@gmail.com QAContact: xorg-maintainer-bugs@forge.provo.novell.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux i686; rv:7.0.1) Gecko/20100101 Firefox/7.0.1 logfile is attached Reproducible: Always Steps to Reproduce: 1. 2. 3. Expected Results: Normal X window system startup. vesa driver works well -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=728737
https://bugzilla.novell.com/show_bug.cgi?id=728737#c1
--- Comment #1 from Nikita Kravets
https://bugzilla.novell.com/show_bug.cgi?id=728737
https://bugzilla.novell.com/show_bug.cgi?id=728737#c2
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=728737
https://bugzilla.novell.com/show_bug.cgi?id=728737#c3
--- Comment #3 from Nikita Kravets
https://bugzilla.novell.com/show_bug.cgi?id=728737
https://bugzilla.novell.com/show_bug.cgi?id=728737#c4
--- Comment #4 from Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=728737
https://bugzilla.novell.com/show_bug.cgi?id=728737#c5
--- Comment #5 from Nikita Kravets
https://bugzilla.novell.com/show_bug.cgi?id=728737
https://bugzilla.novell.com/show_bug.cgi?id=728737#c6
--- Comment #6 from Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=728737
https://bugzilla.novell.com/show_bug.cgi?id=728737#c
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=728737
https://bugzilla.novell.com/show_bug.cgi?id=728737#c
Achim Gratz
https://bugzilla.novell.com/show_bug.cgi?id=728737
https://bugzilla.novell.com/show_bug.cgi?id=728737#c7
Achim Gratz
https://bugzilla.novell.com/show_bug.cgi?id=728737
https://bugzilla.novell.com/show_bug.cgi?id=728737#c8
--- Comment #8 from Serg Zergus
https://bugzilla.novell.com/show_bug.cgi?id=728737
https://bugzilla.novell.com/show_bug.cgi?id=728737#c9
--- Comment #9 from Serg Zergus
https://bugzilla.novell.com/show_bug.cgi?id=728737
https://bugzilla.novell.com/show_bug.cgi?id=728737#c10
--- Comment #10 from Serg Zergus
https://bugzilla.novell.com/show_bug.cgi?id=728737
https://bugzilla.novell.com/show_bug.cgi?id=728737#c11
Serg Zergus
https://bugzilla.novell.com/show_bug.cgi?id=728737
https://bugzilla.novell.com/show_bug.cgi?id=728737#c12
--- Comment #12 from Serg Zergus
https://bugzilla.novell.com/show_bug.cgi?id=728737
https://bugzilla.novell.com/show_bug.cgi?id=728737#c13
--- Comment #13 from Serg Zergus
https://bugzilla.novell.com/show_bug.cgi?id=728737
https://bugzilla.novell.com/show_bug.cgi?id=728737#c14
Hans-Stefan Suhle
https://bugzilla.novell.com/show_bug.cgi?id=728737
https://bugzilla.novell.com/show_bug.cgi?id=728737#c15
Andriy Trotsenko
https://bugzilla.novell.com/show_bug.cgi?id=728737
https://bugzilla.novell.com/show_bug.cgi?id=728737#c16
Andrei Nevar
https://bugzilla.novell.com/show_bug.cgi?id=728737
https://bugzilla.novell.com/show_bug.cgi?id=728737#c
Andriy Trotsenko
https://bugzilla.novell.com/show_bug.cgi?id=728737
https://bugzilla.novell.com/show_bug.cgi?id=728737#c18
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=728737
https://bugzilla.novell.com/show_bug.cgi?id=728737#c19
Jiri Slaby
https://bugzilla.novell.com/show_bug.cgi?id=728737
https://bugzilla.novell.com/show_bug.cgi?id=728737#c20
--- Comment #20 from Jiri Slaby
I believe this is an LLVM _configuration_ error:
Or even Mesa build configuration might be invalid. (Inherited from build host.) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=728737
https://bugzilla.novell.com/show_bug.cgi?id=728737#c21
--- Comment #21 from Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=728737
https://bugzilla.novell.com/show_bug.cgi?id=728737#c22
--- Comment #22 from Jiri Slaby
Ok. Then this git commit looks promising: .. gallium/rtasm: properly detect SSE and SSE2
It doesn't help at this phase (maybe later). llvm-devel is full of libraries with SSE2 instructions: objdump -d libLLVM*|grep movsd.*eax.*xmm0|wc -l 5279 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=728737
https://bugzilla.novell.com/show_bug.cgi?id=728737#c23
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=728737
https://bugzilla.novell.com/show_bug.cgi?id=728737#c
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=728737
https://bugzilla.novell.com/show_bug.cgi?id=728737#c24
--- Comment #24 from Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=728737
https://bugzilla.novell.com/show_bug.cgi?id=728737#c25
--- Comment #25 from Jiri Slaby
Thinking about it again. Maybe in llvm we have a better CPU detection. ;-)
Ok, I tried obs build of X11:XOrg llvm on the affected machine, but llvm
doesn't build there. During the stage2, bin/llvm-tblgen says "Illegal
instruction" and the build indeed terminates.
The binary dies at (guess where):
movsd (%eax),%xmm0
of
llvm::SmallVectorImpl
https://bugzilla.novell.com/show_bug.cgi?id=728737
https://bugzilla.novell.com/show_bug.cgi?id=728737#c26
--- Comment #26 from Jiri Slaby
Ok, I tried obs build of X11:XOrg llvm
"osc build" of course. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=728737
https://bugzilla.novell.com/show_bug.cgi?id=728737#c27
--- Comment #27 from Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=728737
https://bugzilla.novell.com/show_bug.cgi?id=728737#c
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=728737
https://bugzilla.novell.com/show_bug.cgi?id=728737#c28
--- Comment #28 from Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=728737
https://bugzilla.novell.com/show_bug.cgi?id=728737#c29
--- Comment #29 from Ismail Donmez
https://bugzilla.novell.com/show_bug.cgi?id=728737
https://bugzilla.novell.com/show_bug.cgi?id=728737#c30
Jiri Slaby
https://bugzilla.novell.com/show_bug.cgi?id=728737
https://bugzilla.novell.com/show_bug.cgi?id=728737#c31
Ismail Donmez
I still cannot build llvm on that machine: [ 8%] Building Intrinsics.gen... /bin/sh: line 1: 24966 Illegal instruction ../../bin/llvm-tblgen -gen-intrinsic -I /home/abuild/rpmbuild/BUILD/llvm-3.0/include/llvm -I /home/abuild/rpmbuild/BUILD/llvm-3.0/lib/Target -I /home/abuild/rpmbuild/BUILD/llvm-3.0/include /home/abuild/rpmbuild/BUILD/llvm-3.0/include/llvm/Intrinsics.td -o /home/abuild/rpmbuild/BUILD/llvm-3.0/stage2/include/llvm/Intrinsics.gen.tmp make[2]: *** [include/llvm/Intrinsics.gen.tmp] Error 132 make[1]: *** [include/llvm/CMakeFiles/intrinsics_gen.dir/all] Error 2 make: *** [all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.7mtdUJ (%build)
Is it expected to work?
The topmost change: ------------------------------------------------------------------- Tue Mar 20 12:40:27 UTC 2012 - idonmez@suse.com
- Target i586-linux for 32bit builds
Can you check if libLLVM* still contains SSE2 instructions? I tried the grep line you gave in comment #22 and it returned empty as expected. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=728737
https://bugzilla.novell.com/show_bug.cgi?id=728737#c32
--- Comment #32 from Jiri Slaby
Can you check if libLLVM* still contains SSE2 instructions? I tried the grep line you gave in comment #22 and it returned empty as expected.
I cannot build LLVM proper. It builds tblgen which the processors cannot execute and dies at build stage2. So there are no libraries yet. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=728737
https://bugzilla.novell.com/show_bug.cgi?id=728737#c33
--- Comment #33 from Ismail Donmez
(In reply to comment #31)
Can you check if libLLVM* still contains SSE2 instructions? I tried the grep line you gave in comment #22 and it returned empty as expected.
I cannot build LLVM proper. It builds tblgen which the processors cannot execute and dies at build stage2.
So there are no libraries yet.
Well then objdump tblgen to see if it contains SSE2 instructions. I am assuming you are doing a 32bit build right? Which openSUSE version? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=728737
https://bugzilla.novell.com/show_bug.cgi?id=728737#c34
--- Comment #34 from Jiri Slaby
Well then objdump tblgen to see if it contains SSE2 instructions.
Yes, it does.
I am assuming you are doing a 32bit build right? Which openSUSE version?
Yes, 12.1. But, you know what? I don't care that I cannot build LLVM on that machine :). I guess it is because you set target and not host for stage2. But if target is set properly, llvm should run there perfectly even though it doesn't build there. Now, let's concentrate if Mesa with patch from Marek works with fixed LLVM. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=728737
https://bugzilla.novell.com/show_bug.cgi?id=728737#c35
Jiri Slaby
Can you check if libLLVM* still contains SSE2 instructions? I tried the grep line you gave in comment #22 and it returned empty as expected.
Really? I just checked with llvm-devel from devel:tools:compiler and it's the same. And Mesa got rebuilt, but there is no change in code since Mar 8th: Retried build at Tue Mar 20 19:50:41 2012 returned same result, skipped -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=728737
https://bugzilla.novell.com/show_bug.cgi?id=728737#c36
Ismail Donmez
https://bugzilla.novell.com/show_bug.cgi?id=728737
https://bugzilla.novell.com/show_bug.cgi?id=728737#c37
--- Comment #37 from Stefan Dirsch
Ok. Then this git commit looks promising:
commit 74d303521e6ba41d1cbeb75edb2f834ebbe8c550 Author: Marek Olšák
Date: Fri Feb 24 19:29:48 2012 +0100 gallium/rtasm: properly detect SSE and SSE2
This should fix crashes on ancient processors.
http://cgit.freedesktop.org/mesa/mesa/commit/?id=74d303521e6ba41d1cbeb75edb2...
Just added this patch to obs://X11:XOrg/Mesa, but it will take some time until it gets rebuilt. So please check for RPM changelog entry: Wed Mar 21 14:55:19 UTC 2012 - sndirsch@suse.com - U_gallium-rtasm-properly-detect-SSE-and-SSE2.patch * gallium/rtasm: properly detect SSE and SSE2; this should fix crashes on ancient processors. (bnc#728737) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=728737
https://bugzilla.novell.com/show_bug.cgi?id=728737#c38
--- Comment #38 from Ismail Donmez
https://bugzilla.novell.com/show_bug.cgi?id=728737
https://bugzilla.novell.com/show_bug.cgi?id=728737#c39
--- Comment #39 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=728737
https://bugzilla.novell.com/show_bug.cgi?id=728737#c40
--- Comment #40 from Jiri Slaby
I committed a proper fix to llvm so that it'll assume i586 on 32bit by default. Still building though.
In the last 10 minutes I have been playing warmux in full HD on that machine if that suffices as an answer ;). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=728737
https://bugzilla.novell.com/show_bug.cgi?id=728737#c41
--- Comment #41 from Ismail Donmez
(In reply to comment #38)
I committed a proper fix to llvm so that it'll assume i586 on 32bit by default. Still building though.
In the last 10 minutes I have been playing warmux in full HD on that machine if that suffices as an answer ;).
Great! Thanks for the SSE2 grep tip. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=728737
https://bugzilla.novell.com/show_bug.cgi?id=728737#c42
--- Comment #42 from Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=728737
https://bugzilla.novell.com/show_bug.cgi?id=728737#c43
--- Comment #43 from Ismail Donmez
So the issue can be considered now in llvm and Mesa?
I submitted llvm fix to Factory, should be good to go. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=728737
https://bugzilla.novell.com/show_bug.cgi?id=728737#c44
--- Comment #44 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=728737
https://bugzilla.novell.com/show_bug.cgi?id=728737#c45
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=728737
https://bugzilla.novell.com/show_bug.cgi?id=728737#c46
Jiri Slaby
Same applies to Mesa, so let's close it as fixed for openSUSE 12.2.
Err, but this was reported against 12.1. Mesa fix is easy to be backported, isn't it? And what about llvm, is that possible? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=728737
https://bugzilla.novell.com/show_bug.cgi?id=728737#c47
--- Comment #47 from Ismail Donmez
https://bugzilla.novell.com/show_bug.cgi?id=728737
https://bugzilla.novell.com/show_bug.cgi?id=728737#c48
Stefan Dirsch
(In reply to comment #45)
Same applies to Mesa, so let's close it as fixed for openSUSE 12.2.
Err, but this was reported against 12.1.
Mesa fix is easy to be backported, isn't it?
I would assume so. Luckily you've just volunteered to do the Mesa update for 12.1 by reopening this bugreport. Reassigning. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=728737
https://bugzilla.novell.com/show_bug.cgi?id=728737#c49
--- Comment #49 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=728737
https://bugzilla.novell.com/show_bug.cgi?id=728737#c50
Ismail Donmez
https://bugzilla.novell.com/show_bug.cgi?id=728737
https://bugzilla.novell.com/show_bug.cgi?id=728737#c51
Marcus Meissner
https://bugzilla.novell.com/show_bug.cgi?id=728737
https://bugzilla.novell.com/show_bug.cgi?id=728737#c52
--- Comment #52 from Ismail Donmez
https://bugzilla.novell.com/show_bug.cgi?id=728737
https://bugzilla.novell.com/show_bug.cgi?id=728737#c53
Marcus Meissner
https://bugzilla.novell.com/show_bug.cgi?id=728737
https://bugzilla.novell.com/show_bug.cgi?id=728737#c54
--- Comment #54 from Ismail Donmez
https://bugzilla.novell.com/show_bug.cgi?id=728737
https://bugzilla.novell.com/show_bug.cgi?id=728737#c55
Ismail Donmez
https://bugzilla.novell.com/show_bug.cgi?id=728737
https://bugzilla.novell.com/show_bug.cgi?id=728737#c56
Marcus Meissner
https://bugzilla.novell.com/show_bug.cgi?id=728737
https://bugzilla.novell.com/show_bug.cgi?id=728737#c57
Ismail Donmez
osc mr home:namtrac:branches:openSUSE:12.1:Update llvm.openSUSE_12.1 Mesa.openSUSE_12.1 openSUSE:Maintenance
Using target project 'openSUSE:Maintenance' Server returned an error: HTTP Error 404: Not Found home:namtrac:branches:openSUSE:12.1:Update/llvm.openSUSE_12.1
osc mr home:namtrac:branches:openSUSE:12.1:Update llvm.openSUSE_12.1_Update Mesa.openSUSE_12.1_Update openSUSE:Maintenance
Using target project 'openSUSE:Maintenance' Server returned an error: HTTP Error 400: Bad Request Maintenance incident request contains release target project openSUSE:Maintenance with invalid type maintenance for package llvm.openSUSE_12.1_Update Doesn't seem to work? :/ -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=728737
https://bugzilla.novell.com/show_bug.cgi?id=728737#c58
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=728737
https://bugzilla.novell.com/show_bug.cgi?id=728737#c59
Benjamin Brunner
https://bugzilla.novell.com/show_bug.cgi?id=728737
https://bugzilla.novell.com/show_bug.cgi?id=728737#c60
Jiri Slaby
Thanks for the fix.
I think we can close now. Thanks to all. BTW this was not fair:
Luckily you've just volunteered to do the Mesa update for 12.1 by reopening this bugreport. Reassigning.
-- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=728737
https://bugzilla.novell.com/show_bug.cgi?id=728737#c61
--- Comment #61 from Stefan Dirsch
(In reply to comment #59)
Thanks for the fix.
I think we can close now. Thanks to all.
Well, I didn't see an updated Mesa package yet.
BTW this was not fair:
Luckily you've just volunteered to do the Mesa update for 12.1 by reopening this bugreport. Reassigning.
Life is not fair neither I ever claimed to be fair. ;-) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=728737
https://bugzilla.novell.com/show_bug.cgi?id=728737#c62
--- Comment #62 from Ismail Donmez
(In reply to comment #60)
(In reply to comment #59)
Thanks for the fix.
I think we can close now. Thanks to all.
Well, I didn't see an updated Mesa package yet.
sr#110817 contains both llvm & Mesa fixes. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=728737
https://bugzilla.novell.com/show_bug.cgi?id=728737#c63
--- Comment #63 from Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=728737
https://bugzilla.novell.com/show_bug.cgi?id=728737#c64
--- Comment #64 from Marcus Meissner
https://bugzilla.novell.com/show_bug.cgi?id=728737
https://bugzilla.novell.com/show_bug.cgi?id=728737#c65
--- Comment #65 from Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=728737
https://bugzilla.novell.com/show_bug.cgi?id=728737#c66
--- Comment #66 from Swamp Workflow Management
participants (1)
-
bugzilla_noreply@novell.com