hi all,
i'm currently fighting with gem's font rendering:
my goal should be pretty easy ... i'm rendering a couple of text lines on a screen (text2d) ... these text lines are moving synchronized from the bottom to the top.
but to my eyes it seems, that these lines are not in sync ... but that they are jittering ...
all text2d objects are scheduled by the same gemhead, the movement is done by separate translateXYZ objects, that are fed by a line (realizing the movement by a single translate XYZ object didn't help, either).
is there any way to improve the font rendering to avoid these problems?
thanks in advance ... tim
Did you try text3d?
One line is connected to both translate XYZ's and offset by some value I guess (the distance between the lines).
What gfx card are you using?
I think Ettienne D. did complain about this happening on a titanium 667 some time back, I think the machine was just not up to the processing.
I can take a look at a patch and let you know if it works ok on my machine.
PS: Any ideas about debugging my pthread crashes Tim? :)
B.
Tim Blechmann wrote:
hi all,
i'm currently fighting with gem's font rendering:
my goal should be pretty easy ... i'm rendering a couple of text lines on a screen (text2d) ... these text lines are moving synchronized from the bottom to the top.
but to my eyes it seems, that these lines are not in sync ... but that they are jittering ...
all text2d objects are scheduled by the same gemhead, the movement is done by separate translateXYZ objects, that are fed by a line (realizing the movement by a single translate XYZ object didn't help, either).
is there any way to improve the font rendering to avoid these problems?
thanks in advance ... tim
Did you try text3d?
yes
One line is connected to both translate XYZ's and offset by some value I guess (the distance between the lines).
i tried two versions ... one with two translateXYZ (one for movement, one for offset) and one with only one translateXYZ (triggered by the same line + offset)
What gfx card are you using?
I think Ettienne D. did complain about this happening on a titanium 667 some time back, I think the machine was just not up to the processing.
0000:01:00.0 VGA compatible controller: nVidia Corporation GeForce Go 6200 TurboCache (rev a1)
i'm using the nvidia binary driver on an 1.87 ghz pentium-m ... should be fast enough for that ...
PS: Any ideas about debugging my pthread crashes Tim? :)
no clue, but i'm not really familiar with the gem internals, so i'm not really a big help with this ...
cheers ... tim
Hi Tim,
Feel free to send me a patch if you want me to take a look at it. The machine sounds very much fast enough for it...
As for the pthread crash its nothing specific to Gem it seems, since pdp_v4l is doing the same thing.
I thought perhaps your experience would see something in the trace that is meaningful, pthread_join() freezes in both gem and pdp, even with a source compile of pd.
I'm looking at pd, gem, the kernel and libc6 is there anything else related to pthreads I should look at? I already upgraded my libc to a newer version (with "linux threads 0.10" rather than "POSIX threads")
Just thought your knowledge of threads would help me out, any pthread code you have laying around I can test with you do understand?
Thanks!
b.
Tim Blechmann wrote:
Did you try text3d?
yes
One line is connected to both translate XYZ's and offset by some value I guess (the distance between the lines).
i tried two versions ... one with two translateXYZ (one for movement, one for offset) and one with only one translateXYZ (triggered by the same line + offset)
What gfx card are you using?
I think Ettienne D. did complain about this happening on a titanium 667 some time back, I think the machine was just not up to the processing.
0000:01:00.0 VGA compatible controller: nVidia Corporation GeForce Go 6200 TurboCache (rev a1)
i'm using the nvidia binary driver on an 1.87 ghz pentium-m ... should be fast enough for that ...
PS: Any ideas about debugging my pthread crashes Tim? :)
no clue, but i'm not really familiar with the gem internals, so i'm not really a big help with this ...
cheers ... tim
Hallo!
my goal should be pretty easy ... i'm rendering a couple of text lines on a screen (text2d) ... these text lines are moving synchronized from the bottom to the top.
I cannot reproduce your behaviour ... I use the same here (1-3 lines of text) and they are synchronized ...
all text2d objects are scheduled by the same gemhead, the movement is done by separate translateXYZ objects, that are fed by a line (realizing the movement by a single translate XYZ object didn't help, either).
hm - which kind of text are you trying to display? I use 1 text2d object (with 1 translateXYZ) with multiple lines ... (in cvs) ... don't know if this is possible in your situation ...
LG Georg
is there any way to improve the font rendering to avoid these problems?
thanks in advance ... tim