[Bug 28314] New: XVideo output and 3D stops working with kernel patched for r600 tiling support

2010-05-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=28314

   Summary: XVideo output and 3D stops working with kernel patched
for r600 tiling support
   Product: DRI
   Version: unspecified
  Platform: Other
OS/Version: All
Status: NEW
  Severity: normal
  Priority: medium
 Component: DRM/Radeon
AssignedTo: dri-devel@lists.freedesktop.org
ReportedBy: mag...@jensenligan.se


I have an HD3650 AGP video card.
dmesg and Xorg.0.log seems fine. but VLC and Mplayer cannot output in XVideo.
VLC says no suitable XVideo adapter found.
I patched both drm-next and drm-radeon-testing (which worked fine before) with
the 5 patches Alex posted on dri-devel.
And also patched latest mesa and ddx with tiling patches.
3D locks up screen after a few seconds but i can reboot with REISUB.
If you want me to test some things to make the driver better i'd be happy to.

-- 
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
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 27937] SEGV in r700_assembler.c next_ins() with RV670 kms

2010-05-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=27937

--- Comment #4 from Török Edwin  2010-05-29 08:31:52 PDT 
---
Happens on rv730 too, see backtrace below.
OpenGL vendor string: Advanced Micro Devices, Inc.
OpenGL renderer string: Mesa DRI R600 (RV730 9498) 20090101  TCL DRI2
OpenGL version string: 2.1 Mesa 7.9-devel
OpenGL shading language version string: 1.20

Mesa is latest git master, built like this:
./configure --prefix=/opt/xorg --with-dri-drivers=r600,swrast --disable-gallium
--with-dri-driverdir=/opt/xorg/lib/dri --enable-glx-tls
PKG_CONFIG_PATH=/opt/xorg/lib/pkgconfig/

Steps to reproduce:
1. download sources and data from here:
http://trac.wildfiregames.com/wiki/LatestRelease
2. follow the Linux build instructions
http://trac.wildfiregames.com/wiki/BuildInstructions#Unix
3. launch pyrogenesis_dbg
4. a warning about missing S3TC pops up, ignore it.
5. select 'single player game', press start game
6. when loading screen is near 100% the game crashes. everytime.

Backtrace:
(gdb) bt
#0  0x7fffee697ce3 in next_ins (pAsm=0x27537c0) at r700_assembler.c:2619
#1  0x7fffee69854b in assemble_MOV (pAsm=0x27537c0) at
r700_assembler.c:3874
#2  0x7fffee69d14d in AssembleInstr (uiFirstInst=1, uiIL_Shift=256,
uiNumberInsts=4, pILInst=0x2755690, 
pR700AsmCode=0x27537c0) at r700_assembler.c:5622
#3  0x7fffee69ec78 in r700TranslateFragmentShader (fp=0x274f510,
mesa_fp=0x274f510, ctx=0x7fffe8162360)
at r700_fragprog.c:412
#4  0x7fffee6aa0c7 in r700UpdateShaders (ctx=0x27537c0) at r700_state.c:73
#5  0x7fffee6ab697 in r700TryDrawPrims (ctx=0x7fffe8162360, arrays=, prim=, 
nr_prims=, ib=0x7fffdaf0,
index_bounds_valid=, min_index=0, max_index=90)
at r700_render.c:904
#6  r700DrawPrims (ctx=0x7fffe8162360, arrays=,
prim=, 
nr_prims=, ib=0x7fffdaf0,
index_bounds_valid=, min_index=0, max_index=90)
at r700_render.c:993
#7  0x7fffee76fefc in vbo_validated_drawrangeelements (ctx=0x7fffe8162360,
mode=4, 
index_bounds_valid=, start=0, end=90, count=90,
type=5123, indices=0x26c76a0, basevertex=0, 
primcount=1) at vbo/vbo_exec_array.c:732
#8  0x7fffee77018d in vbo_exec_DrawRangeElementsBaseVertex (mode=, start=0, end=90, count=90, 
type=5123, indices=0x26c76a0, basevertex=0) at vbo/vbo_exec_array.c:844
#9  0x7fffee770280 in vbo_exec_DrawRangeElements (mode=41236416, start=256,
end=7, count=41244304, type=256, indices=0x3)
at vbo/vbo_exec_array.c:864
#10 0x00937fd3 in HWLightingModelRenderer::RenderModel (this=0xff1c30,
streamflags=9, model=0x7fffe89951e0, 
data=0x26c77a0) at ../../../source/renderer/HWLightingModelRenderer.cpp:323
#11 0x00925c13 in SortModelRenderer::Render (this=0xff7900,
modifier=..., flags=1)
at ../../../source/renderer/TransparencyRenderer.cpp:574
#12 0x009104f8 in CRenderer::RenderShadowMap (this=0xf70340) at
../../../source/renderer/Renderer.cpp:863
#13 0x00911f38 in CRenderer::RenderSubmissions (this=0xf70340) at
../../../source/renderer/Renderer.cpp:1228
#14 0x00912aab in CRenderer::RenderScene (this=0xf70340,
scene=0x17a1310)
at ../../../source/renderer/Renderer.cpp:1454
#15 0x008e535a in CGameView::Render (this=0x17a1310) at
../../../source/graphics/GameView.cpp:320
#16 0x0077f7f0 in Render () at
../../../source/ps/GameSetup/GameSetup.cpp:245
#17 0x0061f226 in Frame () at ../../../source/main.cpp:331
#18 0x0061f48b in RunGameOrAtlas (argc=1, argv=0x7fffe1b8) at
../../../source/main.cpp:411
#19 0x0061f530 in main (argc=1, argv=0x7fffe1b8) at
../../../source/main.cpp:424

-- 
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
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 27937] SEGV in r700_assembler.c next_ins() with RV670 kms

2010-05-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=27937

--- Comment #5 from Török Edwin  2010-05-29 08:35:30 PDT 
---
Created an attachment (id=35943)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=35943)
Xorg.0.log

-- 
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
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 27937] SEGV in r700_assembler.c next_ins() with RV670 kms

2010-05-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=27937

--- Comment #6 from Török Edwin  2010-05-29 08:35:52 PDT 
---
Created an attachment (id=35944)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=35944)
dmesg

-- 
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
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 28314] XVideo output and 3D stops working with kernel patched for r600 tiling support

2010-05-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=28314

--- Comment #1 from Magnus Jensen  2010-05-29 09:45:16 
PDT ---
Well it seems i did something wrong before since XV now works in mplayer.
And 3D do work now, i probably shouldn't put compile the mesa 32-bit libraries
with patches for tiling.

The only thing that IS broken after tiling is introduced is if i use vlc
compiled with the --enable-xcb option. 
Then XVideo is broken, without that configure switch i get a quite nice picture
with something called Hardware YUV SDL output.

-- 
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
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 28314] New: XVideo output and 3D stops working with kernel patched for r600 tiling support

2010-05-29 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=28314

   Summary: XVideo output and 3D stops working with kernel patched
for r600 tiling support
   Product: DRI
   Version: unspecified
  Platform: Other
OS/Version: All
Status: NEW
  Severity: normal
  Priority: medium
 Component: DRM/Radeon
AssignedTo: dri-devel at lists.freedesktop.org
ReportedBy: magnus at jensenligan.se


I have an HD3650 AGP video card.
dmesg and Xorg.0.log seems fine. but VLC and Mplayer cannot output in XVideo.
VLC says no suitable XVideo adapter found.
I patched both drm-next and drm-radeon-testing (which worked fine before) with
the 5 patches Alex posted on dri-devel.
And also patched latest mesa and ddx with tiling patches.
3D locks up screen after a few seconds but i can reboot with REISUB.
If you want me to test some things to make the driver better i'd be happy to.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


[Bug 27937] SEGV in r700_assembler.c next_ins() with RV670 kms

2010-05-29 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=27937

--- Comment #4 from T?r?k Edwin  2010-05-29 08:31:52 
PDT ---
Happens on rv730 too, see backtrace below.
OpenGL vendor string: Advanced Micro Devices, Inc.
OpenGL renderer string: Mesa DRI R600 (RV730 9498) 20090101  TCL DRI2
OpenGL version string: 2.1 Mesa 7.9-devel
OpenGL shading language version string: 1.20

Mesa is latest git master, built like this:
./configure --prefix=/opt/xorg --with-dri-drivers=r600,swrast --disable-gallium
--with-dri-driverdir=/opt/xorg/lib/dri --enable-glx-tls
PKG_CONFIG_PATH=/opt/xorg/lib/pkgconfig/

Steps to reproduce:
1. download sources and data from here:
http://trac.wildfiregames.com/wiki/LatestRelease
2. follow the Linux build instructions
http://trac.wildfiregames.com/wiki/BuildInstructions#Unix
3. launch pyrogenesis_dbg
4. a warning about missing S3TC pops up, ignore it.
5. select 'single player game', press start game
6. when loading screen is near 100% the game crashes. everytime.

Backtrace:
(gdb) bt
#0  0x7fffee697ce3 in next_ins (pAsm=0x27537c0) at r700_assembler.c:2619
#1  0x7fffee69854b in assemble_MOV (pAsm=0x27537c0) at
r700_assembler.c:3874
#2  0x7fffee69d14d in AssembleInstr (uiFirstInst=1, uiIL_Shift=256,
uiNumberInsts=4, pILInst=0x2755690, 
pR700AsmCode=0x27537c0) at r700_assembler.c:5622
#3  0x7fffee69ec78 in r700TranslateFragmentShader (fp=0x274f510,
mesa_fp=0x274f510, ctx=0x7fffe8162360)
at r700_fragprog.c:412
#4  0x7fffee6aa0c7 in r700UpdateShaders (ctx=0x27537c0) at r700_state.c:73
#5  0x7fffee6ab697 in r700TryDrawPrims (ctx=0x7fffe8162360, arrays=, prim=, 
nr_prims=, ib=0x7fffdaf0,
index_bounds_valid=, min_index=0, max_index=90)
at r700_render.c:904
#6  r700DrawPrims (ctx=0x7fffe8162360, arrays=,
prim=, 
nr_prims=, ib=0x7fffdaf0,
index_bounds_valid=, min_index=0, max_index=90)
at r700_render.c:993
#7  0x7fffee76fefc in vbo_validated_drawrangeelements (ctx=0x7fffe8162360,
mode=4, 
index_bounds_valid=, start=0, end=90, count=90,
type=5123, indices=0x26c76a0, basevertex=0, 
primcount=1) at vbo/vbo_exec_array.c:732
#8  0x7fffee77018d in vbo_exec_DrawRangeElementsBaseVertex (mode=, start=0, end=90, count=90, 
type=5123, indices=0x26c76a0, basevertex=0) at vbo/vbo_exec_array.c:844
#9  0x7fffee770280 in vbo_exec_DrawRangeElements (mode=41236416, start=256,
end=7, count=41244304, type=256, indices=0x3)
at vbo/vbo_exec_array.c:864
#10 0x00937fd3 in HWLightingModelRenderer::RenderModel (this=0xff1c30,
streamflags=9, model=0x7fffe89951e0, 
data=0x26c77a0) at ../../../source/renderer/HWLightingModelRenderer.cpp:323
#11 0x00925c13 in SortModelRenderer::Render (this=0xff7900,
modifier=..., flags=1)
at ../../../source/renderer/TransparencyRenderer.cpp:574
#12 0x009104f8 in CRenderer::RenderShadowMap (this=0xf70340) at
../../../source/renderer/Renderer.cpp:863
#13 0x00911f38 in CRenderer::RenderSubmissions (this=0xf70340) at
../../../source/renderer/Renderer.cpp:1228
#14 0x00912aab in CRenderer::RenderScene (this=0xf70340,
scene=0x17a1310)
at ../../../source/renderer/Renderer.cpp:1454
#15 0x008e535a in CGameView::Render (this=0x17a1310) at
../../../source/graphics/GameView.cpp:320
#16 0x0077f7f0 in Render () at
../../../source/ps/GameSetup/GameSetup.cpp:245
#17 0x0061f226 in Frame () at ../../../source/main.cpp:331
#18 0x0061f48b in RunGameOrAtlas (argc=1, argv=0x7fffe1b8) at
../../../source/main.cpp:411
#19 0x0061f530 in main (argc=1, argv=0x7fffe1b8) at
../../../source/main.cpp:424

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


[Bug 27937] SEGV in r700_assembler.c next_ins() with RV670 kms

2010-05-29 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=27937

--- Comment #5 from T?r?k Edwin  2010-05-29 08:35:30 
PDT ---
Created an attachment (id=35943)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=35943)
Xorg.0.log

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


[Bug 27937] SEGV in r700_assembler.c next_ins() with RV670 kms

2010-05-29 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=27937

--- Comment #6 from T?r?k Edwin  2010-05-29 08:35:52 
PDT ---
Created an attachment (id=35944)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=35944)
dmesg

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


[Bug 28314] XVideo output and 3D stops working with kernel patched for r600 tiling support

2010-05-29 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=28314

--- Comment #1 from Magnus Jensen  2010-05-29 
09:45:16 PDT ---
Well it seems i did something wrong before since XV now works in mplayer.
And 3D do work now, i probably shouldn't put compile the mesa 32-bit libraries
with patches for tiling.

The only thing that IS broken after tiling is introduced is if i use vlc
compiled with the --enable-xcb option. 
Then XVideo is broken, without that configure switch i get a quite nice picture
with something called Hardware YUV SDL output.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.