[mythtv-users] Video timing permissions problem
John P Poet
jppoet at gmail.com
Fri Dec 12 04:26:00 UTC 2008
On Sun, Nov 16, 2008 at 4:04 PM, Miguel Yarza <miguel.yarza at gmail.com> wrote:
> Hi all,
>
> I have an ATI IGP 9100 integrated video card using xorg radeon driver
> and can't get DRM Video timing.
> I think DRI is working properly:
> $ glxinfo
> direct rendering: Yes
> OpenGL renderer string: Mesa DRI R200 20060602 AGP 8x x86/MMX/SSE2 NO-TCL
> OpenGL version string: 1.3 Mesa 7.2
> Xorg.0.log
> (II) RADEON(0): [dri] Found DRI library version 1.3.0 and kernel
> module version 1.29.0
>
> RTC timing doesn't work too, but permissions and user freq are OK, note
> "hpet" below, there is no /proc/sys/dev/rtc in my system.
>
> What I can't understand is:
> 1.- If I execute mythfrontend with sudo it gets RTC timing, then this
> is a permission problem but I have 777 permission on /dev/rtc, /dev/rtc0.
>
> 2.- If I run mythfrontend through gdb DRM timing works, with the same
> config, no changes.
> does gdb get some extra permissions?, if yes where do I change that
> permissions?
>
> This is the relevant information from the tests, I have complete logs if
> more info is needed but the lists message limit is 40 kb.
>
> $ lsb_release -a
> Distributor ID: Ubuntu
> Description: Ubuntu 8.10
> Release: 8.10
> Codename: intrepid
>
> $ sudo chmod a+rwx /dev/rtc*
>
> $ ls -al /dev/rtc*
> lrwxrwxrwx 1 root root 4 2008-11-16 10:05 /dev/rtc -> rtc0
> crwxrwxrwx 1 root root 254, 0 2008-11-16 10:05 /dev/rtc0
>
> $ cat /proc/sys/dev/hpet/max-user-freq
> 1024
>
> $ mythfrontend.real -v important,general,playback -l
> ./mythfrontendlog_plain.txt
> DRMVideoSync: VBlank ioctl did not work, unimplemented in this driver?
> RTCVideoSync: Could not set RTC frequency, Permission denied.
> Video timing method: USleep with busy wait
>
> $ sudo mythfrontend.real -v important,general,playback -l
> ./mythfrontendlog_sudo.txt
> DRMVideoSync: VBlank ioctl did not work, unimplemented in this driver?
> Video timing method: RTC
>
> $ gdb --args mythfrontend.real -v important,general,playback -l
> ./mythfrontendlog_gdb.txt
> Video timing method: DRM
>
> If I activate OpenGLVsync I get a segfault, that's why I tried gdb, but
> the segfault does not happen if I run mythfrontend with openglvsync
> through gdb.
>
> Thanks for your help
I have the same problem under Fedora 9. Did you come up with a solution?
Thanks,
John
--
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
More information about the mythtv-users
mailing list