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

Mark Vojkovich <[email protected]>
Newsgroups gmane.comp.xfree86.expert
Message-ID <[email protected]>
On Sun, 24 Nov 2002, Pierre Lombard wrote:

> * 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...)

   It's more likely something strange that the combination
system/video bios is doing, and probably only a problem on
laptops by specific vendors.  The patch seems harmless though,
so I'll apply it (or a modification of it).

Thanks,  Mark.

> 
> 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
> 
>
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.