[Bug 64503] audio glitches when running at 24hz/24p

2013-08-03 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=64503 Christian K?nig changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug 64503] audio glitches when running at 24hz/24p

2013-08-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=64503 Christian König changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug 64503] audio glitches when running at 24hz/24p

2013-08-02 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=64503 --- Comment #22 from Pierre Ossman --- Argh! Problem found... It was actually the mode that was incorrect. xrandr rounds things off, so it looked like it was the same as the working case, but actually wasn't. Proper modeline: Modeline "1920x10

[Bug 64503] audio glitches when running at 24hz/24p

2013-08-02 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=64503 --- Comment #21 from Pierre Ossman --- Just to confirm this is a driver problem, I tried two things: - Hooked up a Windows machine (also with a radeon card, although a different one) - Installed fglrx on my Linux machine. In both cases the p

[Bug 64503] audio glitches when running at 24hz/24p

2013-08-02 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=64503 --- Comment #20 from Pierre Ossman --- First off, I've upgraded to Fedora 19 and kernel-3.10.3-300.fc19.x86_64. That in itself had no effect on the bug, good or bad. (In reply to comment #19) > does this patch help: > http://cgit.freedesktop.org

[Bug 64503] audio glitches when running at 24hz/24p

2013-08-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=64503 --- Comment #22 from Pierre Ossman --- Argh! Problem found... It was actually the mode that was incorrect. xrandr rounds things off, so it looked like it was the same as the working case, but actually wasn't. Proper modeline: Modeline "1920x10

[Bug 64503] audio glitches when running at 24hz/24p

2013-08-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=64503 --- Comment #21 from Pierre Ossman --- Just to confirm this is a driver problem, I tried two things: - Hooked up a Windows machine (also with a radeon card, although a different one) - Installed fglrx on my Linux machine. In both cases the p

[Bug 64503] audio glitches when running at 24hz/24p

2013-08-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=64503 --- Comment #20 from Pierre Ossman --- First off, I've upgraded to Fedora 19 and kernel-3.10.3-300.fc19.x86_64. That in itself had no effect on the bug, good or bad. (In reply to comment #19) > does this patch help: > http://cgit.freedesktop.org

[Bug 64503] audio glitches when running at 24hz/24p

2013-08-01 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=64503 --- Comment #19 from Alex Deucher --- does this patch help: http://cgit.freedesktop.org/~agd5f/linux/commit/?h=drm-fixes-3.11&id=dffd4b65ca8989acb914da3c685c798ca5fcf99c -- You are receiving this mail because: You are the assignee for the bug.

[Bug 64503] audio glitches when running at 24hz/24p

2013-08-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=64503 --- Comment #19 from Alex Deucher --- does this patch help: http://cgit.freedesktop.org/~agd5f/linux/commit/?h=drm-fixes-3.11&id=dffd4b65ca8989acb914da3c685c798ca5fcf99c -- You are receiving this mail because: You are the assignee for the bug.

[Bug 64503] audio glitches when running at 24hz/24p

2013-07-07 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=64503 --- Comment #18 from Pierre Ossman --- (In reply to comment #17) > maybe this patch will help? > > http://cgit.freedesktop.org/~airlied/linux/commit/?h=drm- > next&id=f100380ecd8287b0909d3c5694784adc46e78a4a > > Some monitors are picky about th

[Bug 64503] audio glitches when running at 24hz/24p

2013-07-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=64503 --- Comment #18 from Pierre Ossman --- (In reply to comment #17) > maybe this patch will help? > > http://cgit.freedesktop.org/~airlied/linux/commit/?h=drm- > next&id=f100380ecd8287b0909d3c5694784adc46e78a4a > > Some monitors are picky about th

[Bug 64503] audio glitches when running at 24hz/24p

2013-07-04 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=64503 --- Comment #17 from Alex Deucher --- maybe this patch will help? http://cgit.freedesktop.org/~airlied/linux/commit/?h=drm-next&id=f100380ecd8287b0909d3c5694784adc46e78a4a Some monitors are picky about the checksum or hdmi version. -- You are

[Bug 64503] audio glitches when running at 24hz/24p

2013-07-04 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=64503 --- Comment #16 from Pierre Ossman --- Does anyone have any more ideas as to what I can test? -- You are receiving this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... U

[Bug 64503] audio glitches when running at 24hz/24p

2013-07-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=64503 --- Comment #17 from Alex Deucher --- maybe this patch will help? http://cgit.freedesktop.org/~airlied/linux/commit/?h=drm-next&id=f100380ecd8287b0909d3c5694784adc46e78a4a Some monitors are picky about the checksum or hdmi version. -- You are

[Bug 64503] audio glitches when running at 24hz/24p

2013-07-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=64503 --- Comment #16 from Pierre Ossman --- Does anyone have any more ideas as to what I can test? -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-d

[Bug 64503] audio glitches when running at 24hz/24p

2013-05-17 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=64503 --- Comment #15 from Pierre Ossman --- (In reply to comment #14) > > FWIW this is my 24Hz line as shown by xrandr --verbose, maybe yours is > different? > > 1920x1080 (0x2cd) 74.2MHz +HSync +VSync > h: width 1920 start 2558 end 2602

[Bug 64503] audio glitches when running at 24hz/24p

2013-05-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=64503 --- Comment #15 from Pierre Ossman --- (In reply to comment #14) > > FWIW this is my 24Hz line as shown by xrandr --verbose, maybe yours is > different? > > 1920x1080 (0x2cd) 74.2MHz +HSync +VSync > h: width 1920 start 2558 end 2602

[Bug 64503] audio glitches when running at 24hz/24p

2013-05-16 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=64503 --- Comment #14 from Andy Furniss --- (In reply to comment #0) > (originally reported to Fedora: > https://bugzilla.redhat.com/show_bug.cgi?id=954009) > > I've recently started trying out 24 Hz again as my TV handles it better, and > XBMC is fin

[Bug 64503] audio glitches when running at 24hz/24p

2013-05-16 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=64503 --- Comment #13 from Pierre Ossman --- Also tried upping packets per line to 8, and the glitch is still in the same place. More ideas? =/ -- You are receiving this mail because: You are the assignee for the bug. -- next part --

[Bug 64503] audio glitches when running at 24hz/24p

2013-05-16 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=64503 --- Comment #12 from Pierre Ossman --- So I tried that, and things are now back to ~110 seconds before a glitch. This is the code in case anyone's curious: base_bits = fls(24000); clock_bits = fls(clock); shift = min(32 - base_bits,

[Bug 64503] audio glitches when running at 24hz/24p

2013-05-16 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=64503 --- Comment #11 from Pierre Ossman --- Test results: 3.9.2 (Fedora): Glitches at around 110 seconds plus upstream DTO stuff patched in: Dito. plus Alex' patch: Glitches after about 20 seconds So the suggested modification makes things much wors

[Bug 64503] audio glitches when running at 24hz/24p

2013-05-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=64503 --- Comment #14 from Andy Furniss --- (In reply to comment #0) > (originally reported to Fedora: > https://bugzilla.redhat.com/show_bug.cgi?id=954009) > > I've recently started trying out 24 Hz again as my TV handles it better, and > XBMC is fin

[Bug 64503] audio glitches when running at 24hz/24p

2013-05-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=64503 --- Comment #12 from Pierre Ossman --- So I tried that, and things are now back to ~110 seconds before a glitch. This is the code in case anyone's curious: base_bits = fls(24000); clock_bits = fls(clock); shift = min(32 - base_bits,

[Bug 64503] audio glitches when running at 24hz/24p

2013-05-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=64503 --- Comment #13 from Pierre Ossman --- Also tried upping packets per line to 8, and the glitch is still in the same place. More ideas? =/ -- You are receiving this mail because: You are the assignee for the bug. ___

[Bug 64503] audio glitches when running at 24hz/24p

2013-05-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=64503 --- Comment #11 from Pierre Ossman --- Test results: 3.9.2 (Fedora): Glitches at around 110 seconds plus upstream DTO stuff patched in: Dito. plus Alex' patch: Glitches after about 20 seconds So the suggested modification makes things much wors

[Bug 64503] audio glitches when running at 24hz/24p

2013-05-13 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=64503 --- Comment #10 from Alex Deucher --- Created attachment 79258 --> https://bugs.freedesktop.org/attachment.cgi?id=79258&action=edit use 10khz units for dto E.g., something like this. -- You are receiving this mail because: You are the assign

[Bug 64503] audio glitches when running at 24hz/24p

2013-05-13 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=64503 --- Comment #9 from Alex Deucher --- Yeah, I'm just wondering if there is perhaps a sweet spot in the dividers (e.g., using 10 or 1 khz units rather than mhz . Also the DTO_PHASE and and DTO_MODULE fields are 16 bits on DCE2.x, 24 bits on DCE3.x

[Bug 64503] audio glitches when running at 24hz/24p

2013-05-13 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=64503 --- Comment #8 from Christian K?nig --- (In reply to comment #7) > What is the issue? I simply assume the clocks get more stable with smaller numbers, and we haven't implemented reducing the fractions yet. Alex comment is quite valid, that woul

[Bug 64503] audio glitches when running at 24hz/24p

2013-05-13 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=64503 --- Comment #7 from Pierre Ossman --- What is the issue? The raw ratio should be: 24 * 10^6 - c And the code is putting in: 24 * 10^5 - c * 10^-1 which is the same thing. -- You are receiving this mail because: You are t

[Bug 64503] audio glitches when running at 24hz/24p

2013-05-13 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=64503 --- Comment #6 from Alex Deucher --- The DTO divider calculation is incorrect. See r600_audio_set_dto() and evergreen_audio_set_dto(). Express [24MHz / target pixel clock] as an exact rational number (coefficient of two integer numbers. DCCG_A

[Bug 64503] audio glitches when running at 24hz/24p

2013-05-13 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=64503 --- Comment #5 from Christian K?nig --- The other possibility is that we are doing something wrong with the audio clock recovery, but that's usually directly controlled by the hw. -- You are receiving this mail because: You are the assignee for

[Bug 64503] audio glitches when running at 24hz/24p

2013-05-13 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=64503 --- Comment #4 from Pierre Ossman --- I'll try changing as soon as I can find some time to play around with things. Although my rough calculation indicates that 3 packets per line should suffice: 1 frame/packet * 3 packets/line * 1080 lines * 2

[Bug 64503] audio glitches when running at 24hz/24p

2013-05-13 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=64503 Christian K?nig changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #3 from Christian

[Bug 64503] audio glitches when running at 24hz/24p

2013-05-13 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=64503 --- Comment #2 from Pierre Ossman --- Is that something that's very complex to do? -- You are receiving this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL:

[Bug 64503] audio glitches when running at 24hz/24p

2013-05-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=64503 --- Comment #10 from Alex Deucher --- Created attachment 79258 --> https://bugs.freedesktop.org/attachment.cgi?id=79258&action=edit use 10khz units for dto E.g., something like this. -- You are receiving this mail because: You are the assign

[Bug 64503] audio glitches when running at 24hz/24p

2013-05-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=64503 --- Comment #9 from Alex Deucher --- Yeah, I'm just wondering if there is perhaps a sweet spot in the dividers (e.g., using 10 or 1 khz units rather than mhz . Also the DTO_PHASE and and DTO_MODULE fields are 16 bits on DCE2.x, 24 bits on DCE3.x

[Bug 64503] audio glitches when running at 24hz/24p

2013-05-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=64503 --- Comment #8 from Christian König --- (In reply to comment #7) > What is the issue? I simply assume the clocks get more stable with smaller numbers, and we haven't implemented reducing the fractions yet. Alex comment is quite valid, that woul

[Bug 64503] audio glitches when running at 24hz/24p

2013-05-13 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=64503 Christian K?nig changed: What|Removed |Added Severity|normal |enhancement --- Comment #1 from Christ

[Bug 64503] audio glitches when running at 24hz/24p

2013-05-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=64503 --- Comment #7 from Pierre Ossman --- What is the issue? The raw ratio should be: 24 * 10^6 - c And the code is putting in: 24 * 10^5 - c * 10^-1 which is the same thing. -- You are receiving this mail because: You are t

[Bug 64503] audio glitches when running at 24hz/24p

2013-05-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=64503 --- Comment #6 from Alex Deucher --- The DTO divider calculation is incorrect. See r600_audio_set_dto() and evergreen_audio_set_dto(). Express [24MHz / target pixel clock] as an exact rational number (coefficient of two integer numbers. DCCG_A

[Bug 64503] audio glitches when running at 24hz/24p

2013-05-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=64503 --- Comment #5 from Christian König --- The other possibility is that we are doing something wrong with the audio clock recovery, but that's usually directly controlled by the hw. -- You are receiving this mail because: You are the assignee for

[Bug 64503] audio glitches when running at 24hz/24p

2013-05-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=64503 --- Comment #4 from Pierre Ossman --- I'll try changing as soon as I can find some time to play around with things. Although my rough calculation indicates that 3 packets per line should suffice: 1 frame/packet * 3 packets/line * 1080 lines * 2

[Bug 64503] audio glitches when running at 24hz/24p

2013-05-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=64503 Christian König changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #3 from Christian

[Bug 64503] audio glitches when running at 24hz/24p

2013-05-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=64503 --- Comment #2 from Pierre Ossman --- Is that something that's very complex to do? -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.

[Bug 64503] audio glitches when running at 24hz/24p

2013-05-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=64503 Christian König changed: What|Removed |Added Severity|normal |enhancement --- Comment #1 from Christ