Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Users

OpenGL trouble

 

 

MythTV users RSS feed   Index | Next | Previous | View Threaded


dbadia at gmail

Oct 24, 2005, 9:15 PM

Post #1 of 9 (1736 views)
Permalink
OpenGL trouble

I'm having trouble getting Myth 18.1 to run with OpenGL VSync enabled.
My frontend log shows RTC timing method. I've tried:
1. Recompiling (a few times) with the option enabled,
2. Looked in Myth setup for the enable flag (didn't see it)
3. Couldn't find anything in the settings table reffering to OpenGL

Any ideas what I'm doing wrong?

Thanks
Dave
_______________________________________________
mythtv-users mailing list
mythtv-users[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


mtdean at thirdcontact

Oct 25, 2005, 12:28 AM

Post #2 of 9 (1674 views)
Permalink
Re: OpenGL trouble [In reply to]

Dave wrote:

>I'm having trouble getting Myth 18.1 to run with OpenGL VSync enabled.
> My frontend log shows RTC timing method. I've tried:
>1. Recompiling (a few times) with the option enabled,
>2. Looked in Myth setup for the enable flag (didn't see it)
>3. Couldn't find anything in the settings table reffering to OpenGL
>
>Any ideas what I'm doing wrong?
>
>
There's no setting in 0.18.1. If it's compiled in, Myth attempts to use
it. Check your frontend log file for mention of OpenGL vsync.

Mike
_______________________________________________
mythtv-users mailing list
mythtv-users[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


dbadia at gmail

Oct 25, 2005, 8:00 AM

Post #3 of 9 (1665 views)
Permalink
Re: OpenGL trouble [In reply to]

On 10/25/05, Michael T. Dean <mtdean[at]thirdcontact.com> wrote:
>
> Dave wrote:
>
> >I'm having trouble getting Myth 18.1 to run with OpenGL VSync enabled.
> > My frontend log shows RTC timing method. I've tried:
> >1. Recompiling (a few times) with the option enabled,
> >2. Looked in Myth setup for the enable flag (didn't see it)
> >3. Couldn't find anything in the settings table reffering to OpenGL
> >
> >Any ideas what I'm doing wrong?
> >
> >
> There's no setting in 0.18.1. If it's compiled in, Myth attempts to use
> it. Check your frontend log file for mention of OpenGL vsync.
>
> Mike
> _______________________________________________
> mythtv-users mailing list
> mythtv-users[at]mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>


Hmm, frontend log shows:
nVidiaVideoSync: VBlank ioctl did not work, unimplemented in this driver?
Could not open device /dev/dri/card0, No such file or directory
Video timing method: RTC

I've reinstalled the nvidia drivers (7667), and I can run glxgears
sucessfully.
I'm on an AMD 64 3000+ w/2.6.12.3 running gentoo

What else can I do to troubleshoot the VBlank ioctrl error?
Thanks
Dave


jondz at dca

Oct 25, 2005, 8:27 AM

Post #4 of 9 (1667 views)
Permalink
Re: OpenGL trouble [In reply to]

On Tue, 2005-10-25 at 11:00 -0400, Dave wrote:
>
>
> On 10/25/05, Michael T. Dean <mtdean[at]thirdcontact.com> wrote:
> Dave wrote:
>
> >I'm having trouble getting Myth 18.1 to run with OpenGL VSync
> enabled.
> > My frontend log shows RTC timing method. I've tried:
> >1. Recompiling (a few times) with the option enabled,
> >2. Looked in Myth setup for the enable flag (didn't see it)
> >3. Couldn't find anything in the settings table reffering to
> OpenGL
> >
> >Any ideas what I'm doing wrong?
> >
> >
> There's no setting in 0.18.1. If it's compiled in, Myth
> attempts to use
> it. Check your frontend log file for mention of OpenGL
> vsync.
>
> Mike
> _______________________________________________
> mythtv-users mailing list
> mythtv-users[at]mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
>
> Hmm, frontend log shows:
> nVidiaVideoSync: VBlank ioctl did not work, unimplemented in this
> driver?
> Could not open device /dev/dri/card0, No such file or directory
> Video timing method: RTC
>
> I've reinstalled the nvidia drivers (7667), and I can run glxgears
> sucessfully.
> I'm on an AMD 64 3000+ w/2.6.12.3 running gentoo
>
> What else can I do to troubleshoot the VBlank ioctrl error?
> Thanks
> Dave


I have the same problem....the latest 2.6 kernel in debian unstable.
I'm even worse off, I dont even have /dev/rtc. Anybody has any idea
how to proceed?

mythtv says:

nVidiaVideoSync: VBlank ioctl did not work, unimplemented in this
driver?
DRMVideoSync: Could not open device /dev/dri/card0, No such file or
directory
RTCVideoSync: Could not open /dev/rtc, No such file or directory.


jondz


joevph at yahoo

Oct 25, 2005, 9:24 AM

Post #5 of 9 (1667 views)
Permalink
Re: OpenGL trouble [In reply to]

That is (partially) incorrect.

If OpenGL support is compiled into MythTV in 0.18.1,
then there is a checkbox present that allows you to
enable/disable it. (I'd know, I put it there).

The main reason on my part for wanting this
functionality was so that ATrpms could distribute an
OpenGL capable version of MythTV, but not have to
worry about people who can't use the OpenGL capable
version.

If no OpenGL for VSync option is present (it's in the
same setup screen as for the PVR-350 MPEG decoder),
then the build was never compiled with OpenGL support.
I can't comment for anything but ATrpms, but ATrpms
(32-bit) has this in there, short of a configuration
error.

-- Joe

--- "Michael T. Dean" <mtdean[at]thirdcontact.com> wrote:

> Dave wrote:
>
> >I'm having trouble getting Myth 18.1 to run with
> OpenGL VSync enabled.
> > My frontend log shows RTC timing method. I've
> tried:
> >1. Recompiling (a few times) with the option
> enabled,
> >2. Looked in Myth setup for the enable flag (didn't
> see it)
> >3. Couldn't find anything in the settings table
> reffering to OpenGL
> >
> >Any ideas what I'm doing wrong?
> >
> >
> There's no setting in 0.18.1. If it's compiled in,
> Myth attempts to use
> it. Check your frontend log file for mention of
> OpenGL vsync.
>
> Mike
> _______________________________________________
> mythtv-users mailing list
> mythtv-users[at]mythtv.org
>
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>




__________________________________
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com
_______________________________________________
mythtv-users mailing list
mythtv-users[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


mtdean at thirdcontact

Oct 25, 2005, 10:56 AM

Post #6 of 9 (1664 views)
Permalink
Re: OpenGL trouble [In reply to]

Joe Votour wrote:

>--- "Michael T. Dean" <mtdean[at]thirdcontact.com> wrote:
>
>>Dave wrote:
>>
>>>I'm having trouble getting Myth 18.1 to run with OpenGL VSync enabled.
>>>
>>>3. Couldn't find anything in the settings table reffering to OpenGL
>>>
>>There's no setting in 0.18.1. If it's compiled in, Myth attempts to use it. Check your frontend log file for mention of OpenGL vsync.
>>
>>
>That is (partially) incorrect.
>
>
If by "(partially) incorrect," you mean that /all/ the information I
gave is correct, but that information does not apply if not using the
specific version I quoted, I completely agree.

>If OpenGL support is compiled into MythTV in 0.18.1,
>then there is a checkbox present that allows you to
>enable/disable it. (I'd know, I put it there).
>
>
Current SVN, see around line 2227-2239 and lines 2944-2946
(case-insentitive search for OpenGL)
http://svn.mythtv.org/trac/browser/trunk/mythtv/programs/mythfrontend/globalsettings.cpp
- Definitely has a setting

0.18.1, no mention of OpenGL anywhere in the settings...
http://svn.mythtv.org/trac/browser/tags/release-0-18-1/mythtv/programs/mythfrontend/globalsettings.cpp
- Definitely does /not/ have a setting

0.18-fixes, see around lines 2095-2106 and 2151-2154 and note that the
last commit was the commit of your patch
http://svn.mythtv.org/trac/browser/branches/release-0-18-fixes/mythtv/programs/mythfrontend/globalsettings.cpp
- Definitely has a setting

And, the changesets that included the patch:
http://svn.mythtv.org/trac/changeset/6509
http://svn.mythtv.org/trac/changeset/6526

So, it seems it's in the branch post 0.18.1--in 0.18-fixes, which might
one day become 0.18.2. However, I assumed when the OP said he was using
0.18.1, he meant he was using 0.18.1...

We have waaaaaayyyyyyyy too many versions of "0.18.1" out there...

Mike
_______________________________________________
mythtv-users mailing list
mythtv-users[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


dbadia at gmail

Oct 26, 2005, 5:21 PM

Post #7 of 9 (1651 views)
Permalink
Re: OpenGL trouble [In reply to]

Ok, I still can't get myth to use OpenGL with my nvidia 5200 video
card. In the frontend log, I'm getting:
2005-10-26 20:12:32.506 nVidiaVideoSync: VBlank ioctl did not work,
unimplemented in this driver?
2005-10-26 20:12:32.506 DRMVideoSync: Could not open device
/dev/dri/card0, No such file or directory
2005-10-26 20:12:32.507 Video timing method: RTC

I'm sure OpenGL is installed and working b/c:
* nvidia-settings shows OpenGL Settings
* glxgears (~1200 fps) & tuxracer work ok
* /var/log/Xorg.0.log:
(II) LoadModule: "glx"
(II) Loading /usr/lib/modules/extensions/libglx.so
(II) Module glx: vendor="NVIDIA Corporation"
(II) Loading extension GLX
(II) Loading extension NV-GLX
(II) Initializing extension GLX

I've recompiled 18.1 many times with the enable opengl flag, with no luck.

I've search the mailing list and I am now out of ideas. Any
suggestions are greatly appreciated!

Dave
_______________________________________________
mythtv-users mailing list
mythtv-users[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


dbadia at gmail

Oct 26, 2005, 7:57 PM

Post #8 of 9 (1642 views)
Permalink
Re: OpenGL trouble [In reply to]

Ok, I did some poking around in the configure script and vsync.cpp, and it
looks like USING_OPENGL_VSYNC is not being set.

Then I found this thread, which says the same thing:
http://www.gossamer-threads.com/lists/mythtv/users/131589?search_string=OpenGL%20vsync%20problem%20with%200.18.1;#131589

I'll give it a shot and post how it goes.....


dbadia at gmail

Oct 26, 2005, 9:20 PM

Post #9 of 9 (1656 views)
Permalink
Re: OpenGL trouble [In reply to]

Yup, that was it:
Video timing method: SGI OpenGL

Dave

MythTV users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.