Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 12-09-08, 01:23 PM   #1
Vortex
Registered User
 
Vortex's Avatar
 
Join Date: Jan 2005
Posts: 20
Default Unable to play full-screen video when too many windows are open

Hi,

using the latest nvidia driver (180.11) and compiz the video window of video players turns black once you resize it past a certain size or put the video in full screen. This only happens when there are too many open windows.
I tried mplayer and gstreamer using the "xv" and "gl" output drivers for mplayer and "xvimagesink" for gstreamer.

While the video window remains black, the application logs the following:
Code:
X Error: BadAlloc (insufficient resources for operation) 11
  Extension:    141 (Uknown extension)
  Minor opcode: 19 (Unknown request)
  Resource id:  0x160000a
Closing or minimizing some windows restores video playback. Large and complex windows like firefox seem to take up more resources, but the problem usually occurs as soon as there are more than 3 or 4 windows showing.

This only happens while running compiz. The kde4 compositing manager, for example, does not suffer from this problem. However, this problem did not occur in older nvidia driver versions (pre 177.xx if I remember correctly).

I have attached an nvidia-bug-report.

Does anyone else suffer from this problem? Is it possible to tweak my compiz or nvidia settings to make it work again?
Attached Files
File Type: zip nvidia-bug-report.log.zip (30.2 KB, 86 views)
Vortex is offline   Reply With Quote
Old 12-09-08, 09:20 PM   #2
Dâniel Fraga
Registered User
 
Join Date: Oct 2006
Location: Brazil
Posts: 42
Send a message via ICQ to Dâniel Fraga Send a message via MSN to Dâniel Fraga Send a message via Yahoo to Dâniel Fraga Send a message via Skype™ to Dâniel Fraga
Default Re: Unable to play full-screen video when too many windows are open

I have the same issue and guess what: I use a 7600GT too!
Dâniel Fraga is offline   Reply With Quote
Old 12-10-08, 10:35 AM   #3
LostinSpacetime
Registered User
 
LostinSpacetime's Avatar
 
Join Date: Mar 2007
Posts: 53
Default Re: Unable to play full-screen video when too many windows are open

This might be related to the famous "black window bug" which is probably not solved entirely. If you have 128MB VRAM, then it's pretty sure the case.
LostinSpacetime is offline   Reply With Quote
Old 12-10-08, 01:29 PM   #4
Vortex
Registered User
 
Vortex's Avatar
 
Join Date: Jan 2005
Posts: 20
Default Re: Unable to play full-screen video when too many windows are open

The card has 256MB of VRAM. I don't have any other problems with black windows either. It seems to be just video playback that is not working.
Vortex is offline   Reply With Quote
Old 12-11-08, 03:56 AM   #5
LostinSpacetime
Registered User
 
LostinSpacetime's Avatar
 
Join Date: Mar 2007
Posts: 53
Default Re: Unable to play full-screen video when too many windows are open

If you turn the blur plugin on in compiz, is it getting worse? You also have to add "any" in the field for "Alpha blur windows".
LostinSpacetime is offline   Reply With Quote
Old 12-11-08, 10:46 AM   #6
AaronP
NVIDIA Corporation
 
AaronP's Avatar
 
Join Date: Mar 2005
Posts: 2,487
Default Re: Unable to play full-screen video when too many windows are open

Unlike other X rendering, there are no software fallbacks for Xv (you probably wouldn't want them anyway, they'd be too slow) so the driver has to do its best to make sure your window is in memory that the GPU can render to. However, if your memory is chock-full of other windows, Compiz's blur buffers, etc., it can't do that and you get BadAlloc.
AaronP is offline   Reply With Quote
Old 12-11-08, 02:29 PM   #7
LostinSpacetime
Registered User
 
LostinSpacetime's Avatar
 
Join Date: Mar 2007
Posts: 53
Default Re: Unable to play full-screen video when too many windows are open

OK, then this is it. For the case you have turned on triple buffering, I believe it might help if you turn it off or even turn off the driver sync to vblank entirely. The compiz sync to vblank does a pretty good job in most situation I think.
LostinSpacetime is offline   Reply With Quote
Old 06-23-09, 08:06 PM   #8
dap
Registered User
 
Join Date: Jun 2009
Posts: 1
Default Re: Unable to play full-screen video when too many windows are open

This is my problem too on my GeForce 7600 GS (256M RAM).

Is there a way to see what consume the texture memory?

If I switch to another VT and back / restart compiz with --replace / kill some windows, then I can play videos with XV for a while (about 5 minutes). ALT+TAB in compiz is much slower when the XV doesn't work (mipmap disabled). KDE 4.2, 5 firefox window (2-3 tabs in each of them), 1 xchat, 1 kwrite, 5-10 terminals and no XV video.

I'm running Fedora 11 (Xorg 1.6.1.901, Nvidia driver 85.18.14), I have never seen this problem before on my Fedora 9 (Xorg 1.5.2, Nvidia driver 177.82). Something big has been changed about video memory management or some application eats much more? (I mostly using the same apps)

Last edited by dap; 06-23-09 at 08:25 PM. Reason: version fix
dap is offline   Reply With Quote

Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hands-on with Microsoft Surface, a tablet targeting the iPadâ?¦and Ultrabooks News Archived News Items 0 06-19-12 12:00 AM
Why Windows 8 could be the next Vista News Archived News Items 0 06-15-12 10:30 AM
Like XP or Vista: how will businesses treat Windows 8? News Archived News Items 0 06-06-12 09:10 AM
NVIDIA Brings 18 Years of Experience to Windows 8 News Archived News Items 0 06-03-12 06:20 AM

All times are GMT -5. The time now is 10:03 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright ©1998 - 2014, nV News.