2.6.37-rc2-git7 regression: wine fails to start

Alex Deucher alexdeucher at gmail.com
Sun Nov 21 16:57:23 PST 2010


On Sun, Nov 21, 2010 at 1:51 PM, Jean Delvare <khali at linux-fr.org> wrote:
> Hi Alex,
>
> Thanks for your fast answer.
>
> On Sun, 21 Nov 2010 11:12:32 -0500, Alex Deucher wrote:
>> On Sun, Nov 21, 2010 at 9:38 AM, Jean Delvare <khali at linux-fr.org> wrote:
>> > Running 2.6.37-rc2-git7 on x86_64, wine fails to start. I get the
>> > following error in the kernel logs:
>> >
>> > radeon 0000:07:00.0: r600_cs_track_validate_cb offset[0] 0 2095360 4096 too big
>> > radeon 0000:07:00.0: r600_packet3_check:1331 invalid cmd stream 484
>> > [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !
>> >
>> > Hardware is:
>> > 07:00.0 VGA compatible controller: ATI Technologies Inc RV710 [Radeon HD 4350]
>> > 07:00.1 Audio device: ATI Technologies Inc RV710/730
>> >
>> > X.org version is 7.5.
>> >
>> > With kernel 2.6.36, wine works just fine on the same system. Does it
>> > ring a bell to anyone? Any clue how to investigate this bug? If not, I
>> > can start a bisection.
>> >
>> > I can also provide any additional data you need for investigation.
>>
>> It's probably this patch:
>> http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=f30df2fad0c901e74ac9a52a488a54c69a373a41
>
> Your guess was correct: after applying the above patch to kernel
> 2.6.36, I get the same problem.
>
>> Which exposes a bug in the 3D driver in certain cases.  For some
>> reason we get a cb height of 8192 or greater in some cases in the 3D
>> driver.  I haven't had time to look into why.  You might try r600g for
>> comparison.
>
> Not sure how to "try r600g"?

It's a newer driver for r6xx+ hardware.  Configure mesa
(http://cgit.freedesktop.org/mesa/mesa) with --enable-gallium-r600.

I actually talked to Dave earlier today, and the problem is more
likely a command buffer getting flushed at the wrong time leading to a
buffer without cb info in it.

Alex

>
> --
> Jean Delvare
>


More information about the dri-devel mailing list