[Help][RS780E][mipsel]Screen corruption sometimes
Chen Jie
chenj at lemote.com
Sun Aug 7 01:35:40 PDT 2011
Hi,
2011/8/4 Michel Dänzer <michel at daenzer.net>:
> You can try booting with radeon.test=1 and see in dmesg if the transfer
> tests triggered by that succeed.
Seems has some test failure, see attachment radeon.test.log
>
>> >> Any idea? (BTW, don't know if related, but the bandwidth of separated
>> >> video ram is really low, about 14MB/s for write op)
>> >
>> > How do you measure it?
>> mmap the VRAM and write to it. Attachment is the test code.
>
> I wonder if memset might use byte-sized writes, but anyway direct CPU
> access to VRAM is known to be slow with discrete GPUs, especially
> without write combining. The userspace drivers mostly avoid it in favour
> of GPU transfers. You can try x11perf -shmput500 -shmget500 or booting
> with radeon.benchmark=1 to get some numbers for those.
radeon.benchmark=1:
[ 5.738281] radeon: dma 1024 bo moves of 1024kb from 2 to 4 in
5117ms (204kb/ms 204000kb/s 199M/s)
[ 10.851562] radeon: blit 1024 bo moves of 1024kb from 2 to 4 in
5113ms (205kb/ms 205000kb/s 200M/s)
[ 12.976562] radeon: dma 1024 bo moves of 1024kb from 4 to 2 in
2121ms (494kb/ms 494000kb/s 482M/s)
[ 15.093750] radeon: blit 1024 bo moves of 1024kb from 4 to 2 in
2117ms (495kb/ms 495000kb/s 483M/s)
Details see attachment: radeon.benchmark.log
----
x11perf -shmput500 -shmget500:
Sync time adjustment is 0.0000 msecs.
800 reps @ 0.0017 msec (603000.0/sec): ShmPutImage 500x500 square
800 reps @ 5.8503 msec ( 171.0/sec): ShmPutImage 500x500 square
800 reps @ 12.5863 msec ( 79.5/sec): ShmPutImage 500x500 square
800 reps @ 12.6590 msec ( 79.0/sec): ShmPutImage 500x500 square
800 reps @ 12.7442 msec ( 78.5/sec): ShmPutImage 500x500 square
4000 trep @ 8.7683 msec ( 114.0/sec): ShmPutImage 500x500 square
2800 reps @ 1.8089 msec ( 553.0/sec): ShmGetImage 500x500 square
2800 reps @ 1.7870 msec ( 560.0/sec): ShmGetImage 500x500 square
2800 reps @ 1.7864 msec ( 560.0/sec): ShmGetImage 500x500 square
2800 reps @ 1.7951 msec ( 557.0/sec): ShmGetImage 500x500 square
2800 reps @ 1.7771 msec ( 563.0/sec): ShmGetImage 500x500 square
14000 trep @ 1.7909 msec ( 558.0/sec): ShmGetImage 500x500 square
Regards,
- Chen Jie
-------------- next part --------------
A non-text attachment was scrubbed...
Name: radeon.test.log
Type: text/x-log
Size: 10181 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-driver-ati/attachments/20110807/8dbe6f7f/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: radeon.benchmark.log
Type: text/x-log
Size: 2800 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-driver-ati/attachments/20110807/8dbe6f7f/attachment-0001.bin>
More information about the xorg-driver-ati
mailing list