<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On 17 April 2013 06:42, George Nassas <span dir="ltr">&lt;<a href="mailto:gnassas@mac.com" target="_blank">gnassas@mac.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br><div style="word-wrap:break-word"><div>[ new title to avoid more thread hijacking ]</div><br><div><div>On 2013-04-15, at 12:37 AM, Jean-Yves Avenard wrote:</div>
<br><blockquote type="cite"><div dir="ltr"><div><div class="gmail_extra"><div class="gmail_quote">On 15 April 2013 14:25, George Nassas <span dir="ltr">&lt;<a href="mailto:gnassas@mac.com" target="_blank">gnassas@mac.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div style="word-wrap:break-word">
Sorry, brief side question: so driving your TV at 24p depends on having an nVidia card? I&#39;m using intel graphics which, of course, doesn&#39;t have NVctl and I&#39;ve been trying to figure out how to get myth to switch to 24p on material encoded that way. Where would I look if I wanted to have a go at using xrandr for intel cards?</div>
</blockquote><div><br></div><div>Problem  with xrandr is that the frequency rate is stored as a short. So you&#39;ll have 24, 50, 60 and that&#39;s about it.</div><div>NVCtrl allows much finer control: 23.976Hz (US) vs 24.00Hz (PAL), 59.976Hz vs 60Hz etc... as what NVCtrl reports is the full ModeLine so you can calculate the frequency from there.</div>
<div>
<br></div><div>But the instructions for getting myth to switch the refresh rate to follow the content being played are the same across the board.<br></div><div>Just that with xrandr only (Intel, AMD and others), miss will use 24Hz no matter if the video is 24 or 23.976Hz.</div>
</div></div></div></div></blockquote></div><div><br></div><div>I have the correct modeline setup as described in the wiki and it did work with my nvidia card but now that I&#39;m on intel myth doesn&#39;t switch the refresh rate. The playback info for Big Buck Bunny says it&#39;s 24Hz and xrandr shows 24 as a valid refresh rate but the TV stays at 60Hz. I can switch the mode to 24Hz or 23.97 using xrandr and the TV status display does show 24p so it&#39;s clearly possible to get 24p going.</div>
<div><br></div><div>The modes you put in the wiki all have @xxxHz in their name so I suppose one could extend DisplayResX::SwitchToVideoMode to take rates from the right of an @ rather than XRR&#39;s rate integer and also to switch modes based on mode name instead of XRRSetScreenConfigAndRate&#39; integer parameters. That would accomplish the same thing as a command line xrandr.</div>
<div><br></div><div>Based on a quick perusal of the source I didn&#39;t see a clean way to do this so it would probably be ugly and hacky and introduce a new option but, should I come up with something, is that something that would be accepted into myth as an enhancement?</div>
<span class="HOEnZb"></span></div></blockquote><div><br></div><div>Did you configure myth to change the refresh rate though?<br>this is all explained in the wiki. You need to set different GUI / Playback mode, and set the resolution to use (set there the resolution of your display) and set the refresh rate to &quot;Auto&quot;.<br>
<br></div><div>If you can change using xrandr, then myth can change, it pretty much does exactly what xrandr does internally.<br></div><div><br></div><div>the solution you suggest isn&#39;t feasible. There&#39;s no standard way of questioning X for the available modelines, and you can&#39;t even know then what the name of the modeline is.<br>
</div><div>you have to rely on xrandr or NVCtrl on linux to query which modes are available.<br><br>Which is what myth is doing. <br><br></div><div>Plus parsing the name of a mode given by a user is totally unpractical... <br>
<br></div></div></div></div>