Skip to contentSkip to conversation

New: [r300g] Wine d3d9 tests hardlock

Bug 29020 [email protected] 1 participant 10 messages Jul 12, 2010 – Aug 2, 2010

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=29020

Summary: [r300g] Wine d3d9 tests hardlock
Product: Mesa
Version: git
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/DRI/r300
AssignedTo: [email protected]
ReportedBy: [email protected]

When running d3d9 tests from Wine-1.2-rc7 it lock up my computer. Surprisingly it works with r300c but I suppose some tests are being skipped because r300c doesn't advertise as much as r300g. I don't know how to obtain more debug info, since its completely dead and I'm not even able to ssh in.

wine: 1.2-rc7
GPU: rv530
mesa: cd629c28d73703a44f4b74ba0e8eb87c51eee32a
kernel: 2.6.33.6-147.fc13

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#1 lore raw

[Bug 29020] [r300g] Wine d3d9 tests hardlock

https://bugs.freedesktop.org/show_bug.cgi?id=29020

Pavel Ondračka <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

                URL|                            |http://sourceforge.net/proj
                   |                            |ects/wine/files/Source/wine
                   |                            |-1.2-rc7.tar.bz2/download
Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#2 lore raw

[Bug 29020] [r300g] Wine d3d9 tests hardlock

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=29020

--- Comment #1 from Marek Olšák <[email protected]> 2010-07-12 12:08:43 PDT --- Does it help if you go before the commit 78e8a8765f435bf0902d62afbcb3b8d68a0b716f?

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#3 lore raw

[Bug 29020] [r300g] Wine d3d9 tests hardlock

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=29020

--- Comment #2 from Marek Olšák <[email protected]> 2010-07-12 16:40:31 PDT --- I've committed some fixes, is it any better now?

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#4 lore raw

[Bug 29020] [r300g] Wine d3d9 tests hardlock

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=29020

--- Comment #3 from Pavel Ondračka <[email protected]> 2010-07-12 16:51:05 PDT --- Created an attachment (id=36975)
--> (https://bugs.freedesktop.org/attachment.cgi?id=36975)
make test output with mesa 0864851e2763291ff1ea2ceaa3c6f16b14abd362

(In reply to comment #1)

Quoted 2 lines

Does it help if you go before the commit
78e8a8765f435bf0902d62afbcb3b8d68a0b716f?

Hm, it helps a little bit...
With mesa 0864851e2763291ff1ea2ceaa3c6f16b14abd362 it doesn't hardlock, just X is frozen. This is probably different test which is failing now. Not sure if it fails earlier or later, but when it freezes the test picture is different that when it hardlocks.

dmesg is full of:
[drm:radeon_cs_ioctl] *ERROR* Faild to schedule IB ! [drm:radeon_ib_schedule] *ERROR* radeon: couldn't schedule IB(0). [drm:radeon_cs_ioctl] *ERROR* Faild to schedule IB ! [drm:radeon_ib_schedule] *ERROR* radeon: couldn't schedule IB(1).
...
repeating with numbers from 0 to 15.

Attaching whole terminal output, there are many failed tests, probably many other problems, some of them may be a wine issue, but they should just fail not take system or X down with them...

(In reply to comment #2)

Quoted 1 line

I've committed some fixes, is it any better now?

No

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#5 lore raw

[Bug 29020] [r300g] Wine d3d9 tests hardlock

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=29020

--- Comment #4 from Marek Olšák <[email protected]> 2010-07-12 17:01:11 PDT --- I think the problem is r300g doesn't currently support multiple rendering contexts.

Have those tests ever worked? If yes, could you bisect this regression?

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#6 lore raw

[Bug 29020] [r300g] Wine d3d9 tests hardlock

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=29020

--- Comment #5 from Pavel Ondračka <[email protected]> 2010-07-12 17:30:05 PDT --- (In reply to comment #4)

Quoted 1 line

Have those tests ever worked? If yes, could you bisect this regression?

I don't know, I run them today for a first time. However quick testing showed that it doesn't work with b939f83eb7af8f818c638453b2d2522b2362a831 (10 days old) and 9be40de0871980ca541f0682aef6c1c507c1610f (month old) so probably not a regression. I'll try to ask tomorrow some Wine people how to find out which exact test is failing and what is it supposed to do.

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#7 lore raw

[Bug 29020] [r300g] Wine d3d9 tests hardlock

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=29020

--- Comment #6 from Marek Olšák <[email protected]> 2010-07-12 19:17:04 PDT --- Multiple simultaneously running contexts are most probably the cause of these hardlocks, because this way the driver may generate pretty much a random command stream which has valid register writes, meaning that the CS checker doesn't notice anything, and the hardware goes crazy.

Wine uses multiple contexts quite often, if not all the time.

Soon I am going to rewrite winsys for it to support multiple command streams, and then we'll see if it resolves this issue...

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#8 lore raw

[Bug 29020] [r300g] Wine d3d9 tests hardlock

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=29020

--- Comment #7 from Marek Olšák <[email protected]> 2010-07-15 23:55:13 PDT --- Pushed the multi-context stuff.

The only test which currently locks up is d3d9/visual/pointsize_test/the second subtest.

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#9 lore raw

[Bug 29020] [r300g] Wine d3d9 tests hardlock

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=29020

Marek Olšák <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #8 from Marek Olšák <[email protected]> 2010-08-02 08:40:36 PDT --- Fixed by commit afa925066c158ac49e3b0f883f67debd8545bf26.

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel