[Bug 26887] fence errors with rs785 and kernel 2.6.33

2010-03-13 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=26887





--- Comment #9 from Marc marvi...@gmx.de  2010-03-13 08:52:17 PST ---
Created an attachment (id=34022)
 -- (http://bugs.freedesktop.org/attachment.cgi?id=34022)
backported patch

This bug report looks like a soliloquy. Anyway, I backported drm/radeon/kms:
fence cleanup + more reliable GPU lockup detection V4 myself to 2.6.33 and it
fixes this problem. Can this be forwarded to upstream-stable?


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

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 26887] fence errors with rs785 and kernel 2.6.33

2010-03-12 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=26887





--- Comment #7 from Marc marvi...@gmx.de  2010-03-12 12:11:32 PST ---
tried with nosmp, mem=2G (out of 4) and NO_HZ, NO_PREEMPT - no change. below is
the log with glisse drm-radeon-next tree (grr - again slow chip clock default):


[7.940041] [drm] Initialized drm 1.1.0 20060810
[8.479532] [drm] radeon defaulting to kernel modesetting.
[8.482583] [drm] radeon kernel modesetting enabled.
[8.492371] radeon :01:05.0: PCI INT A - Link[LNKC] - GSI 10 (level,
low) - IRQ 10
[8.495381] radeon :01:05.0: setting latency timer to 64
[8.496445] [drm] radeon: Initializing kernel modesetting.
[8.499493] [drm] register mmio base: 0xFE9F
[8.502432] [drm] register mmio size: 65536
[8.505857] ATOM BIOS: 113
[8.508694] [drm] Clocks initialized !
[8.511485] [drm] 3 Power State(s)
[8.514250] [drm] State 0 Default (default)
[8.517008] [drm]1 Clock Mode(s)
[8.519743] [drm]0 engine: 30
[8.522456] [drm] State 1 Performance 
[8.525133] [drm]1 Clock Mode(s)
[8.527734] [drm]0 engine: 20
[8.530262] [drm] State 2 Default 
[8.532758] [drm]1 Clock Mode(s)
[8.535239] [drm]0 engine: 50
[8.537706] [drm] radeon: power management initialized
[8.540196] radeon :01:05.0: VRAM: 128M 0xC000 - 0xC7FF (128M
used)
[8.542724] radeon :01:05.0: GTT: 512M 0xA000 - 0xBFFF
[8.545807] [drm] Detected VRAM RAM=128M, BAR=128M
[8.546508] [drm] RAM width 32bits DDR
[8.550749] [TTM] Zone  kernel: Available graphics memory: 1029488 kiB.
[8.551439] [drm] radeon: 128M of VRAM memory ready
[8.552113] [drm] radeon: 512M of GTT memory ready.
[8.552785] [drm] radeon: irq initialized.
[8.553447] [drm] GART: num cpu pages 131072, num gpu pages 131072
[8.554599] [drm] Loading RS780 Microcode
[8.555252] platform radeon_cp.0: firmware: requesting radeon/RS780_pfp.bin
[8.615296] platform radeon_cp.0: firmware: requesting radeon/RS780_me.bin
[8.643581] platform radeon_cp.0: firmware: requesting radeon/R600_rlc.bin
[8.688448] [drm] ring test succeeded in 1 usecs
[8.689138] [drm] radeon: ib pool ready.
[   14.190109] radeon :01:05.0: GPU lockup CP stall for more than 1000msec
[   14.190738] [ cut here ]
[   14.191396] WARNING: at drivers/gpu/drm/radeon/radeon_fence.c:234
radeon_fence_wait+0x35d/0x3c0 [radeon]()
[   14.192044] Hardware name: System Product Name
[   14.192671] GPU lockup (waiting for 0x0001 last fence id 0x)
[   14.193314] Modules linked in: snd_hda_intel(+) radeon(+) snd_emu10k1
snd_rawmidi ttm snd_hda_codec snd_ac97_codec ac97_bus drm_kms_helper snd_pcm
snd_seq_device drm snd_util_mem amd64_edac_mod emu10k1_gp snd_timer
i2c_algo_bit snd_hwdep firewire_ohci snd kobil_sct edac_core firewire_core
shpchp gameport crc_itu_t asus_atk0110 pcspkr soundcore snd_page_alloc button
usbserial k10temp edac_mce_amd i2c_piix4 pci_hotplug sr_mod sg cdrom sd_mod
ahci fan processor pata_atiixp libata scsi_mod thermal thermal_sys
[   14.196212] Pid: 691, comm: work_for_cpu Not tainted 2.6.33 #3
[   14.196888] Call Trace:
[   14.197575]  [810466a8] warn_slowpath_common+0x78/0xb0
[   14.198260]  [8104673c] warn_slowpath_fmt+0x3c/0x40
[   14.198937]  [a033a5fd] radeon_fence_wait+0x35d/0x3c0 [radeon]
[   14.199616]  [81064070] ? autoremove_wake_function+0x0/0x40
[   14.200299]  [a0375569] r600_ib_test+0x189/0x300 [radeon]
[   14.200961]  [a037d6e0] r600_init+0x2e0/0x360 [radeon]
[   14.201627]  [a03293ad] radeon_device_init+0x29d/0x370 [radeon]
[   14.202297]  [a032a1ee] radeon_driver_load_kms+0x9e/0x1d0 [radeon]
[   14.202945]  [a020140e] drm_get_dev+0x34e/0x560 [drm]
[   14.203593]  [8103c86d] ? default_wake_function+0xd/0x10
[   14.204227]  [8105f7f0] ? do_work_for_cpu+0x0/0x30
[   14.204851]  [a0397012] radeon_pci_probe+0x10/0x270 [radeon]
[   14.205479]  [81225d72] local_pci_probe+0x12/0x20
[   14.206100]  [8105f803] do_work_for_cpu+0x13/0x30
[   14.206704]  [81063b7e] kthread+0x8e/0xa0
[   14.207314]  [81003b94] kernel_thread_helper+0x4/0x10
[   14.207902]  [81063af0] ? kthread+0x0/0xa0
[   14.208503]  [81003b90] ? kernel_thread_helper+0x0/0x10
[   14.209100] ---[ end trace 48fab13bc7a5b259 ]---
[   14.209681] [drm] Disabling audio support
[   14.209708] radeon :01:05.0: GPU softreset 
[   14.210855] radeon :01:05.0:   R_008010_GRBM_STATUS=0xA0003030
[   14.211443] radeon :01:05.0:   R_008014_GRBM_STATUS2=0x0003
[   14.212028] radeon :01:05.0:   R_000E50_SRBM_STATUS=0x20002040
[   14.339731] radeon :01:05.0: Wait for MC idle timedout !
[   14.340318] radeon :01:05.0:   R_008020_GRBM_SOFT_RESET=0x7FEE
[   14.355896] radeon :01:05.0: R_008020_GRBM_SOFT_RESET=0x0001
[   

[Bug 26887] fence errors with rs785 and kernel 2.6.33

2010-03-12 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=26887





--- Comment #8 from Marc marvi...@gmx.de  2010-03-12 12:40:44 PST ---
ok - turned out that the oops where pm related. When started with
radeon.{dynpm,dynclks}=0 everything works fine!
Unfortunately, I cannot test the GPU reset patches alone, as they do not apply
to 2.6.33. Jérôme, could you please supply something relative to 2.6.33?

Thanks!


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 26887] fence errors with rs785 and kernel 2.6.33

2010-03-10 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=26887


Marc marvi...@gmx.de changed:

   What|Removed |Added

   Severity|normal  |critical




--- Comment #6 from Marc marvi...@gmx.de  2010-03-10 01:27:35 PST ---
I also tested the kernel from fredora 13a to see if I have a problem with my
config, but it also shows fence errors. Other failed tests: Sideport - UMA,
limit memory from 4G to 2G. As this bug happens on a released kernel and also 
crashes X sometimes, I changed the severity to critical.


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

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 26887] fence errors with rs785 and kernel 2.6.33

2010-03-08 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=26887





--- Comment #5 from Marc marvi...@gmx.de  2010-03-08 00:57:40 PST ---
I tried to bisect this and found that 2.6.32 also has this issue (I got this
system a few weeks ago only). 2.6.31 shows ring test failed and I guess
support for rs785 was not added earlier. So this chip seems to never have
worked with KMS. 


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

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 26887] fence errors with rs785 and kernel 2.6.33

2010-03-05 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=26887





--- Comment #2 from Jerome Glisse gli...@freedesktop.org  2010-03-05 03:07:44 
PST ---
Does this happen all the time ?


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

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 26887] fence errors with rs785 and kernel 2.6.33

2010-03-05 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=26887


Marc marvi...@gmx.de changed:

   What|Removed |Added

 CC||marvi...@gmx.de




--- Comment #3 from Marc marvi...@gmx.de  2010-03-05 03:41:22 PST ---
yes - could this be sideport related?


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

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 26887] fence errors with rs785 and kernel 2.6.33

2010-03-05 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=26887





--- Comment #4 from Alex Deucher ag...@yahoo.com  2010-03-05 07:37:28 PST ---
(In reply to comment #3)
 yes - could this be sideport related?
 

Not likely.


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

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 26887] fence errors with rs785 and kernel 2.6.33

2010-03-04 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=26887





--- Comment #1 from Marc marvi...@gmx.de  2010-03-04 07:53:12 PST ---
Created an attachment (id=33759)
 -- (http://bugs.freedesktop.org/attachment.cgi?id=33759)
full dmesg output


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

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel