Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Tearing
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Charles Goyard  
View profile  
 More options Oct 9 2012, 8:29 am
From: Charles Goyard <c...@fsck.fr>
Date: Tue, 9 Oct 2012 14:26:30 +0200
Local: Tues, Oct 9 2012 8:26 am
Subject: Tearing
Hi all,

yesterday the guy I work with said : "see, there are horizontal bars
when it plays the video".

He was right: it's video tearing. I looked on the driver setup, there
are stuff like "Option tearfree", vblank syncing and stuff. It also
seems that it's ultimately the choice of the software to decide if it
adapts to vsync.

The SDL FAQ says "switch to fullscreen mode"
(http://sdl.beuc.net/sdl.wiki/FAQ_Double_Buffering_is_Tearing).

I did not try the fullscreen mode, because that's not exactly an option
at the moment (I need to hide the top of the window). Maybe with
shmout/shmin I can achieve something.

At the end of the day, I had nothing improved.

How does/can veejay deal with that ? Any clues welcome.

The setup:
- pc running archlinux
- video card is intel/nvidia hybrid, but I only use the Intel one. So
  the Xorg driver is intel.

Thanks,

--
Charles


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Niels Elburg  
View profile  
 More options Oct 9 2012, 9:59 am
From: Niels Elburg <nwelb...@gmail.com>
Date: Tue, 9 Oct 2012 15:59:36 +0200
Local: Tues, Oct 9 2012 9:59 am
Subject: Re: Tearing

Hi Charles,

What does veejay say about the SDL configuration ? Perhaps it is running in
software emulation mode instead of hardware accelerated ?

You could try these environment settings:

export SDL_VIDEO_YUV_DIRECT=1
export SDL_VIDEO_HWACCEL=1

and you can select another driver for SDL with

export SDL_VIDEODRIVER=dga|x11|etc

If the problem is gone in fullscreen, then shmin/out maybe a solution

Meanwhile, I reviewed SDL_VIDEO_GEOMETRY and _RESIZE,
there indeed is some confusement; GEOM is actually screen POSITION of the
video window, intended to be used with Twinview setups (single large
desktop)

I will implement a video clipping feature in the SDL video driver, but as
SDL can only display images this routine has to be done in software, once
that's done Fullscreen should be workable

Cheers,
Niels


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Charles Goyard  
View profile  
 More options Oct 9 2012, 1:00 pm
From: Charles Goyard <c...@fsck.fr>
Date: Tue, 9 Oct 2012 18:58:12 +0200
Local: Tues, Oct 9 2012 12:58 pm
Subject: Re: Tearing
Hi,

Niels Elburg wrote:
> What does veejay say about the SDL configuration ? Perhaps it is
> running in software emulation mode instead of hardware accelerated ?

I don't know what to think:

I:  Using output driver SDL
I:  Setting up SDL with Hardware Acceleration
W:   hw_surface = No
W:   BLIT acceleration: No
I:  Initialized YUYV SDL video overlay (1024x880), using Hardware Acceleration

This is on my dev computer. I'll look on the production one tomorrow.

I get this whatever SDL tweaking I use. Same in full screen.

It's not that easy to see tearing when you look at it :) so I'll have to
do longer tests.

> I will implement a video clipping feature in the SDL video driver, but as
> SDL can only display images this routine has to be done in software, once
> that's done Fullscreen should be workable

Well, it seems opengl/mesa/dri are good at syncing to screen. Maybe
I can make a simple shm reader that puts the pixels on a 3D texture ?

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Niels Elburg  
View profile  
 More options Oct 31 2012, 3:59 pm
From: Niels Elburg <nwelb...@gmail.com>
Date: Wed, 31 Oct 2012 20:59:09 +0100
Local: Wed, Oct 31 2012 3:59 pm
Subject: Re: Tearing

 Hi Charles,

Did you find out more about the display problem ?

Meanwhile, I committed a patch for VEEJAY_GET_IMAGE
If you export VEEJAY_ORIGINAL_FRAME=1,
the original video frame is kept in a temporary buffer,
which is returned from veejay_get_image_part,
It should be possible now to use the viewport.cfg for clipping

If you want to make a standalone gl display driver, that would be great!
You can look at lvd_shmin.c to see how you can read from veejay's shared
memory


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Charles Goyard  
View profile  
 More options Oct 31 2012, 5:55 pm
From: Charles Goyard <c...@fsck.fr>
Date: Wed, 31 Oct 2012 22:52:29 +0100
Local: Wed, Oct 31 2012 5:52 pm
Subject: Re: Tearing

Niels Elburg wrote:
>  Hi Charles,

> Did you find out more about the display problem ?

Not yet, I am focused on other (mechanical/electronics) problems with
the installation (opening December 6th).

> Meanwhile, I committed a patch for VEEJAY_GET_IMAGE
> If you export VEEJAY_ORIGINAL_FRAME=1,
> the original video frame is kept in a temporary buffer,
> which is returned from veejay_get_image_part,
> It should be possible now to use the viewport.cfg for clipping

Great, thanks a lot. I'll try that.

> If you want to make a standalone gl display driver, that would be great!
> You can look at lvd_shmin.c to see how you can read from veejay's shared
> memory

I'll see if this is needed or not, hopefully soon !

Cheers,

--
Charles


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »