View Single Post
Old 05-23-10, 06:27 AM   #9
sophana
Registered User
 
Join Date: Feb 2006
Posts: 10
Default Re: Automatic VDPAU V-sync in TwinView

Quote:
sophana, I'm not sure why rebooting would affect sync-to-vblank in any way.
Sorry I reconfirm this bug as reproductible
My system has twinview configured on 2 different monitors with different resolutions and frequency.
With fedora 10, there had always been tearing on the second monitor.
After upgrading to fedora12 (and using vdpau), It was resolved. Very cool.
But everytime I logout, then log back in, tearing reappears on the second monitor.
I found no other workaround than rebooting to make it disappear.

Can anyone try this?

Attached is the bug report (after logout/login when the tearing bug occurs)

here is a part of the vdpau debug log (at the end, because I have to move the window on the second screen to see tearing)
Code:
vdp_presentation_queue_block_until_surface_idle(3, 5, -)
    -> 0, 1274604516911477184
vdp_video_mixer_render(4, 4294967295, NULL, 2, 2, {11, 11}, 9, 1, {9}, {0, 0, 1920, 1078}, 5, NULL, {0, 61, 1920, 1139}, 0, NULL)
    -> 0
vdp_presentation_queue_display(3, 5, 1920, 1200, 0)
    -> 0
vdp_video_surface_put_bits_y_cb_cr(10, 1, {0xb27aaa30, 0xb2698ea8, 0xb271eea8}, {1952, 976, 976}, )
    -> 0
vdp_presentation_queue_block_until_surface_idle(3, 6, -)
    -> 0, 1274604516944790848
vdp_video_mixer_render(4, 4294967295, NULL, 2, 2, {9, 9}, 10, 1, {10}, {0, 0, 1920, 1078}, 6, NULL, {0, 61, 1920, 1139}, 0, NULL)
    -> 0
vdp_presentation_queue_display(3, 6, 1920, 1200, 0)
    -> 0
vdp_video_surface_put_bits_y_cb_cr(11, 1, {0xb2ff0a30, 0xb2edeea8, 0xb2f64ea8}, {1952, 976, 976}, )
    -> 0
vdp_presentation_queue_block_until_surface_idle(3, 7, -)
    -> 0, 1274604516994819104
vdp_video_mixer_render(4, 4294967295, NULL, 2, 2, {10, 10}, 11, 1, {11}, {0, 0, 1920, 1078}, 7, NULL, {0, 61, 1920, 1139}, 0, NULL)
    -> 0
vdp_presentation_queue_display(3, 7, 1920, 1200, 0)
    -> 0
vdp_video_surface_put_bits_y_cb_cr(9, 1, {0xb1c6da30, 0xb1b5bea8, 0xb1be1ea8}, {1952, 976, 976}, )
    -> 0
vdp_presentation_queue_block_until_surface_idle(3, 5, -)
    -> 0, 1274604517028095616
vdp_video_mixer_render(4, 4294967295, NULL, 2, 2, {11, 11}, 9, 1, {9}, {0, 0, 1920, 1078}, 5, NULL, {0, 61, 1920, 1139}, 0, NULL)
    -> 0
vdp_presentation_queue_display(3, 5, 1920, 1200, 0)
    -> 0
vdp_video_surface_put_bits_y_cb_cr(10, 1, {0xb2bcda30, 0xb2abbea8, 0xb2b41ea8}, {1952, 976, 976}, )
    -> 0
vdp_presentation_queue_block_until_surface_idle(3, 6, -)
    -> 0, 1274604517078070816
vdp_video_mixer_render(4, 4294967295, NULL, 2, 2, {9, 9}, 10, 1, {10}, {0, 0, 1920, 1078}, 6, NULL, {0, 61, 1920, 1139}, 0, NULL)
    -> 0
vdp_presentation_queue_display(3, 6, 1920, 1200, 0)
    -> 0
vdp_video_surface_destroy(9)
    -> 0
vdp_video_surface_destroy(10)
    -> 0
vdp_video_surface_destroy(11)
    -> 0
vdp_video_mixer_destroy(4)
    -> 0
vdp_presentation_queue_destroy(3)
    -> 0
vdp_presentation_queue_target_destroy(2)
    -> 0
vdp_output_surface_destroy(5)
    -> 0
vdp_output_surface_destroy(6)
    -> 0
vdp_output_surface_destroy(7)
    -> 0
vdp_output_surface_destroy(8)
    -> 0
vdp_device_destroy(1)
    -> 0
Attached Files
File Type: gz nvidia-bug-report.log.gz (69.4 KB, 76 views)

Last edited by sophana; 05-23-10 at 07:35 AM. Reason: attached bug report
sophana is offline   Reply With Quote