Opened 13 years ago

Closed 13 years ago

#3033 closed defect (invalid)

Nvidia 8800 GTS/GTX does not play back Video or live TV

Reported by: subconsciousrx@… Owned by: danielk
Priority: trivial Milestone: unknown
Component: mythtv Version: head
Severity: low Keywords:
Cc: Ticket locked: no

Description

Using the latest driver 9746 video will not playback in Myth. The same recorded video will playback when using mplayer.

This is part of the log from mythfrontend

X Error: BadMatch? (invalid parameter attributes) 8 Major opcode: 140 Minor opcode: 14 Resource id: 0x197

Opcode 140 for me is XVideo. If Idisabled XVideo in xorg.conf then Myth was able to play back video. Albeit a very slow rate.

Attachments (1)

3033-test-1.patch (644 bytes) - added by danielk 13 years ago.
Debugging patch

Download all attachments as: .zip

Change History (14)

comment:1 Changed 13 years ago by danielk

Owner: changed from Isaac Richards to danielk

Does XVideo work if you turn off Xv picture attributes in the Playback config?

comment:2 Changed 13 years ago by luitjens

I also get this error however playback is not effected. I while ago when researching this error message I came across a post saying this error message is harmless and due to some development being done in the openGL renderer. This may be a red herring to your playback problems.

Here is the error message I get:

X Error: BadMatch? (invalid parameter attributes) 8

Major opcode: 140 Minor opcode: 14 Resource id: 0x1a2

What is your video card?

comment:3 Changed 13 years ago by anonymous

EVGA 8800 GTX

comment:4 in reply to:  1 Changed 13 years ago by subconsciousrx@…

Replying to danielk:

Does XVideo work if you turn off Xv picture attributes in the Playback config?

I believe XV picture attributes is off. I do not have Xv Picture controls checked off in Playback config.

comment:5 in reply to:  2 Changed 13 years ago by anonymous

Replying to luitjens:

across a post saying this error message is harmless and due to some development being done in the openGL renderer.

I am not using the Opengl vsync timimg.

comment:6 Changed 13 years ago by luitjens

Sorry I was wrong about this being related to development. That was the message 'VideoOutputXv?: XvMCTex: Init failed'

comment:7 Changed 13 years ago by anonymous

It's not the driver - it's the driver and the card combo - if you use the same driver with a 6800GT (as in my case) myth plays video fine.

Changed 13 years ago by danielk

Attachment: 3033-test-1.patch added

Debugging patch

comment:8 Changed 13 years ago by danielk

Can someone experiencing this problem tell me if the attached patch makes things work for you?

comment:9 Changed 13 years ago by luitjens

This gets rid of the error message for me. I wasn't having any playback problems so I cannot comment on that.

comment:10 in reply to:  9 Changed 13 years ago by subconsciousrx@…

No more error message. The preview window shows the video, as it did before. It still also shows a black screen with audio on playback.

There was this error message. I am not sure if this helps.

2007-02-04 11:57:13.667 VideoOutputXv?: XvMCTex: Init failed

comment:11 Changed 13 years ago by danielk

Priority: minortrivial
Severity: mediumlow

The XvMC OpenGL renderer message is not an error message, it just means you can't use the OpenGL OSD. If it were an error message "Error" would appear somewhere in the text. You can't use this OSD renderer anyway since XvMC is broken for the 8800 with the released drivers.

Can you try uncommenting this line in videoout_xv.cpp:

#define USE_HACK_FOR_BROKEN_I420_SUPPORT_IN_DRIVER

This will force MythTV to use an alternate color format for the XVideo buffers.

comment:12 in reply to:  11 Changed 13 years ago by subconsciousrx@…

It Works. Thank You.

comment:13 Changed 13 years ago by danielk

Resolution: invalid
Status: newclosed

Ok, this indicates a driver problem, please report this to linux-bugs@…. Tell them that XVideo does not display video when you use the I420 planar image format in the latest drivers for your video card.

You can point them to MythTV and this ticket for a sample program.

Marking as invalid: driver bug.

Note: See TracTickets for help on using tickets.