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

Newegg Daily Deals

Reply
 
Thread Tools
Old 03-18-09, 04:57 PM   #1
rlespinola
Registered User
 
Join Date: Mar 2009
Posts: 4
Post Java Page Flipping

I am running a NVIDIA Driver 180.22 on RHELinux.

"Allow Flipping" is checked in the nvidia-settings console and "Option "NoFlip" "False"" is in my /etc/X11/xorg.conf file.

However, when I run the following Java code, page flipping is always returned as "false".

GraphicsEnvironment ge = GraphicsEnvironment.getLocalGraphicsEnvironment();
GraphicsDevice[] gs = ge.getScreenDevices();
BufferCapabilities[] bufCap = new BufferCapabilities[gs.length];
GraphicsConfiguration[] gc = new GraphicsConfiguration[gs.length];

for ( int displayIdx = 0; displayIdx < gs.length; displayIdx++ ) {
gc[displayIdx] = gs[displayIdx].getDefaultConfiguration();
bufCap[displayIdx] = gc[displayIdx].getBufferCapabilities();

System.out.println("DISPLAY[" + displayIdx + "] - isPageFlipping: " + bufCap[displayIdx].isPageFlipping());
}

Any ideas on how to have Java acknowledge that page flipping is enabled?
rlespinola is offline   Reply With Quote
Old 03-18-09, 07:26 PM   #2
AaronP
NVIDIA Corporation
 
AaronP's Avatar
 
Join Date: Mar 2005
Posts: 2,487
Default Re: Java Page Flipping

Applications don't really have a reliable way of knowing whether flipping is enabled or not. Your application should be written to work correctly whether flipping is enabled or not. That said, there are a number of reasons why the driver would be unable to flip, such as not having a Quadro FX, having Composite enabled, etc. See the README for more details. Check Xorg.0.log for messages stating that the unified back buffer (UBB) is being disabled.

In the future, please always generate and attach a bug report to requests for help.
AaronP is offline   Reply With Quote
Old 03-19-09, 11:09 AM   #3
rlespinola
Registered User
 
Join Date: Mar 2009
Posts: 4
Default Re: Java Page Flipping

I've attached my Xorg.0.log and it does indeed state that:

...
(II) NVIDIA(0): Support for GLX with the Damage and Composite X extensions is
(II) NVIDIA(0): enabled.
...
(WW) NVIDIA(0): UBB is incompatible with the Composite extension. Disabling
(WW) NVIDIA(0): UBB.
...
(WW) Disabling Composite since Xinerama is enabled

The full log is attached.

Is disabling Composite a valid option that could enable page flipping?
Attached Files
File Type: log Xorg.0.log (35.3 KB, 81 views)
rlespinola is offline   Reply With Quote
Old 03-19-09, 12:40 PM   #4
rlespinola
Registered User
 
Join Date: Mar 2009
Posts: 4
Default Re: Java Page Flipping

I disabled Composite:

...
(**) Extension "Composite" is disabled
...

But I am still receiving isPageFlipping=false.
Attached Files
File Type: log Xorg.0.1.log (35.0 KB, 78 views)
rlespinola is offline   Reply With Quote
Old 03-19-09, 12:52 PM   #5
rlespinola
Registered User
 
Join Date: Mar 2009
Posts: 4
Default Re: Java Page Flipping

FYI, the card is a Quardo FX 5500.
rlespinola is offline   Reply With Quote
Old 03-19-09, 02:06 PM   #6
Linuxhippy
Registered User
 
Join Date: Feb 2004
Posts: 585
Default Re: Java Page Flipping

As far as I know that API is geard toward the D3D (and maybe OpenGL backends), and therefor always returns false when running on X11.

- Clemens
Linuxhippy 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
Google (partially) loses suit to Oracle over use of Java API's ViN86 Mobile Devices And Smartphones 3 05-17-12 10:25 AM
Judge Declines To Rule That Google Pillaged Java News Archived News Items 0 05-10-12 07:00 AM
Main page posts: PCarr78 Feedback Forum 11 10-03-02 09:03 PM
BAH! I'm being driven insane by Java Virtual Machine Kruno General Software 9 09-01-02 09:59 PM
Forum not linked on main page SnakeEyes Feedback Forum 2 07-29-02 10:18 AM

All times are GMT -5. The time now is 05:56 PM.


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