Opened 12 years ago

Closed 10 years ago

#6514 closed patch (Won't Fix)

video output on X11

Reported by: wm_anderer@… Owned by: markk
Priority: minor Milestone: 0.25
Component: MythTV - General Version: 0.21-fixes
Severity: medium Keywords:
Cc: Ticket locked: no


MythTV Version : 20376M MythTV Branch : branches/release-0-21-fixes Library API : 0.21.20080304-1 (Ubuntu 8.10 with v4l-dvb updates)

(previously sent to dev list but never showed up)

Remote X display does not worked when logged into backend via xdmcp.

Smaller patch allows Xlib to function.

Larger patch (includes smaller patch) permits Xv without Xshm.

Probably not 100% correct, but has been working even for HD, if somewhat stuttering. Should be readily added to 0.22 as well.

Attachments (4)

mythtv-simple-xv-video-fix.patch (1.5 KB) - added by anonymous 12 years ago.
Xlib create buffer fix
myth-direct-xv.patch (10.6 KB) - added by anonymous 12 years ago.
Allow Xv without XShm
mythtv.diff (11.6 KB) - added by wm_anderer@… 11 years ago.
0.23 simplified larger patch
xvideo_noshm_v3.diff (9.0 KB) - added by markk 11 years ago.

Download all attachments as: .zip

Change History (11)

Changed 12 years ago by anonymous

Xlib create buffer fix

Changed 12 years ago by anonymous

Attachment: myth-direct-xv.patch added

Allow Xv without XShm

comment:1 Changed 11 years ago by stuartm

Owner: changed from Isaac Richards to markk
Status: newassigned

Mark maybe you can look at this since it's in the area you are currently working on.

comment:2 Changed 11 years ago by markk

(In [25530]) Small fix to allow the creation of X images when using a remote connection. Refs #6514

comment:3 Changed 11 years ago by anonymous

I have a simplified version of the larger patch for 0.23 that seems to be working properly.

Changed 11 years ago by wm_anderer@…

Attachment: mythtv.diff added

0.23 simplified larger patch

Changed 11 years ago by markk

Attachment: xvideo_noshm_v3.diff added

comment:4 Changed 11 years ago by markk

Milestone: unknown0.24
Status: assignedaccepted

I've added the version of the patch I've been testing here. Currently this just uses the existing, shared memory approach but when finished will fallback to xvideo without shared memory (I'm uncomfortable with the changes to myhxdisplay).

Unfortunaly if I force the non-shm approach in the contructor, then it crashes. Not had a chance to dig into it but it looks like an alignment/buffer size problem. If you can test, that would be much appreciated.



comment:5 Changed 10 years ago by markk

Milestone: 0.240.25

comment:6 Changed 10 years ago by stuartm

Milestone: 0.25

Milestone 0.25 deleted

comment:7 Changed 10 years ago by markk

Resolution: Won't Fix
Status: acceptedclosed

Remote X server video display is working and is only intended for limited testing etc. The additional functionality (XVideo without shared memory) would be nice but I cannot get it working and I doubt anyone is really 'missing' it.

If someone wants to create a clean, working patch, then please re-open.

Note: See TracTickets for help on using tickets.