Sponsored Content
Top Forums Programming Trying to sync X11 application with vertical retrace. Post 302229216 by Danny.Chouinard on Tuesday 26th of August 2008 12:29:13 PM
Old 08-26-2008
Trying to sync X11 application with vertical retrace.

Hi!

I'm trying to write an X11 application with the Xext extension and I'd like to update window content during/after the vertical retrace so they appear smoothly and don't shear.

I've found xsync-flip.c at Index of /xorgsync which should do the trick but that produces:

X Error of failed request: XSyncBadCounter
Major opcode of failed request: 132 (SYNC)
Minor opcode of failed request: 5 (X_SyncQueryCounter)
Counter in failed request: 0x2400001
Serial number of failed request: 17
Current serial number in output stream: 17

Does anyone have a working example using XSyncAwait & company?

Thanks.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

access windows titles of a X11 application

Hi, Do you think there a way to get the windows titles of an X11 application with multiple windows on AIX? I have only the application's process id, but I can use shell and C++ programming. I am looking for a hint/links to explore. Thanks! (0 Replies)
Discussion started by: lolal500
0 Replies

2. Windows & DOS: Issues & Discussions

cygwin-x/can't install xorg-x11-f100 & xorg-x11-fnts

Hello All. Really a newbie to Linux/Unix. Trying to get into Linux. Using XP PE currently. Installed cygwin and trying to intall cygwin-x. Everything else is setup nice but i can't seem to install these two packages (without whom xwin won't start) 1. xorg-x11-f100 2. xorg-x11-fnts Tried the... (1 Reply)
Discussion started by: binodbdrchand
1 Replies

3. Solaris

Sync to Green vs. Separate Sync

Hi all....I have a Sun Ultra2 that I want to use with my PC monitor. I have purchased an adapter that does not work and I was told I need to change my video card setting (if I can) to Separate Sync.....my Monitor product number ends in 1343......I am running SunOS 5.7 ......anyone have any ideas? ... (0 Replies)
Discussion started by: psantinello
0 Replies

4. Solaris

Invalid configuration for instance svc:/application/x11/xvnc-inetd:default, placing i

I am not able to connect Solaris 10 through X Manager from Windows machine. I found the below errors in Solaris 10 , can anybody check the errors and please help me. Property 'name' of instance svc:/application/x11/xvnc-inetd:default is missing, inconsistent or invalid Property... (2 Replies)
Discussion started by: durgaprasadr13
2 Replies

5. UNIX for Dummies Questions & Answers

vertical tabs

I am trying to get this to display vertically like in a table but it keeps jumping to a new line dev=$(df -h | grep ^/dev | cut -d " " -f1) dev1=$(df -h | grep ^/dev | cut -f 2 -d "%") dev2=$(df -h | grep ^/dev | cut -f 14-16 -d " ") dev3=$(df -h | grep ^/dev | cut -f 18-20 -d " ")... (1 Reply)
Discussion started by: gjanisse
1 Replies

6. UNIX for Dummies Questions & Answers

Horizontal to vertical

Hi, Silly question, if I have an excel file that looks something like this: ................. Subject 1 Subject 2 Subject 3 Subject 4 Fever..............13...........9.............23..........14 Headache.........2............12...........18..........23... (3 Replies)
Discussion started by: Xterra
3 Replies

7. UNIX for Dummies Questions & Answers

vertical to horizontal

dear all, i'm new to unix and i try to figure out the best case for making list of vertical text to become horizontal and skip the line 1 and 2. example text : Data DATE XXXXX MAX 47 53 49 51 48 48 7 46 51 8 25 (6 Replies)
Discussion started by: andrisetia
6 Replies

8. UNIX for Advanced & Expert Users

[Solved] putty+x11:How do I pass X11 display rights to "su"?

I can log into a unix system with Putty. I've set the "X11 forwarding" checkbox, and I've verified that I can display an X11 window back on my laptop. What I need to be able to do is "su" to another uid after logging in and then run something which display a window back on my laptop, with the... (2 Replies)
Discussion started by: dkarr
2 Replies

9. Shell Programming and Scripting

How do i do the vertical to horizontal??

51009 8746 8912 17986 20315 24998 5368 38934 7805 8566 (4 Replies)
Discussion started by: nikhil jain
4 Replies
XErrorEvent(3)							  XLIB FUNCTIONS						    XErrorEvent(3)

NAME
XErrorEvent - X error event structure STRUCTURES
The XErrorEvent structure contains: typedef struct { int type; Display *display; /* Display the event was read from */ unsigned long serial;/* serial number of failed request */ unsigned char error_code;/* error code of failed request */ unsigned char request_code;/* Major op-code of failed request */ unsigned char minor_code;/* Minor op-code of failed request */ XID resourceid; /* resource id */ } XErrorEvent; When you receive this event, the structure members are set as follows. The serial member is the number of requests, starting from one, sent over the network connection since it was opened. It is the number that was the value of NextRequest immediately before the failing call was made. The request_code member is a protocol request of the pro- cedure that failed, as defined in <X11/Xproto.h>. SEE ALSO
AllPlanes(3), XAnyEvent(3), XButtonEvent(3), XCreateWindowEvent(3), XCirculateEvent(3), XCirculateRequestEvent(3), XColormapEvent(3), XCon- figureEvent(3), XConfigureRequestEvent(3), XCrossingEvent(3), XDestroyWindowEvent(3), XExposeEvent(3), XFocusChangeEvent(3), XGraphicsEx- poseEvent(3), XGravityEvent(3), XKeymapEvent(3), XMapEvent(3), XMapRequestEvent(3), XPropertyEvent(3), XReparentEvent(3), XResiz- eRequestEvent(3), XSelectionClearEvent(3), XSelectionEvent(3), XSelectionRequestEvent(3), XUnmapEvent(3), XVisibilityEvent(3) Xlib - C Language X Interface X Version 11 libX11 1.5.0 XErrorEvent(3)
All times are GMT -4. The time now is 10:34 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy