Re: [PATCH] let Xv work again with "nv" after a swsusp restore

Pierre Lombard <[email protected]>
Newsgroups gmane.comp.xfree86.expert
Message-ID <[email protected]>
* Mark Vojkovich <[email protected]> [2002-11-24 01:02]:
> On Wed, 13 Nov 2002, Pierre Lombard wrote:

> > The attached patch lets Xv work again after restoring a swsusp-frozen
> > system.
> > 
> > Please Cc if necessary as I am not subscribed to Xpert mailing list.

>    I'm not sure I understand the point of this patch.  NVResetVideo
> doesn't really do anything other than reset the brightness and
> contrast of the video overlay.  Is this an early revision NV11 you
> have?  A laptop maybe?

It's a laptop video card:
01:00.0 VGA compatible controller: nVidia Corporation NV17 [GeForce4 440
Go] (rev a3)

It's just a port of http://cpbotha.net/dri_resume.html.
I only have a vague idea of what's happening but it has just worked for
me (maybe it simply workarounds some swsusp bug indeed...)

Without this patch xv does not work after you resume from a
swsusp'ended: the application are still able to use xv but the display
is no longer correct (for instance, mplayer only shows a blue window
after a swsusp restore, till I restart X).

Some problems with nv driver and swsusp were reported there too:
http://lister.fornax.hu/pipermail/swsusp/2002-October/001003.html
http://lister.fornax.hu/pipermail/swsusp/2002-October/001021.html

-- 
Best regards,
  Pierre Lombard
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.