No OpenGL on Windows with Java 6...

Anything related to a beta release of JPatch: Bugs, enhancements, general discussion...

No OpenGL on Windows with Java 6...

Postby pndragon » Wed Jan 31, 2007 7:56 pm

I don't know if it means anything or not... I realize that you are not planning to fix any bugs in 0.5.x but this info could help for the next update and maybe prevent some problems before they happen.

As a side note... Jpatch flies on Suse 10.0 under Java 6!!!

--- Jim
"We're so sorry, Uncle Albert,
But we haven't done a bloody thing all day."
--- Paul McCartney
pndragon
 
Posts: 591
Joined: Sun Dec 05, 2004 1:27 am
Location: North Carolina

Postby sascha » Sun Feb 04, 2007 11:49 am

On XP? I haven't tried it with Java 6, but I'll do. I don't have any access to a Vista box though.
It might be a driver issue: Some drivers don't like simultanous access through Direct3D and OpenGL - you could try to disable Java2D hardware acceleration on Windows by using some of the settings below:
Code: Select all
A.2 Properties on Windows

The following list describes some useful properties on Windows platforms.
      The DirectDraw/GDI pipeline is the default pipeline for Windows. Change this default as follows:
            -Dsun.java2d.noddraw=true -- Disable the use of DirectDraw pipeline. GDI will be used instead.
            -Dsun.java2d.noddraw=false -- Enable the use of DirectDraw pipeline.
            -Dsun.java2d.d3d=false -- Disable the use of Direct3D pipeline.
            J2D_D3D=false -- Disable the use of Direct3D pipeline.
            -Dsun.java2d.d3d=true -- Enable the use of Direct3D pipeline.
            J2D_D3D=true -- Enable the use of Direct3D pipeline.
      Control the use of the built-in surface punting mechanism as follows:
            -Dsun.java2d.ddforcedram=true -- Keep volatile images in VRAM.
      Control the use of DirectDraw blit operations as follows:
            -Dsun.java2d.ddblit=false -- Disable the use of DirectDraw blit operations. GDI blits will be used instead.

I realize that you are not planning to fix any bugs in 0.5.x but this info could help for the next update

Sure. I migrated from JOGL to JSR231, but I guess the issues are the same.
sascha
Site Admin
 
Posts: 2792
Joined: Thu May 20, 2004 9:16 am
Location: Austria

Postby pndragon » Sun Feb 04, 2007 5:15 pm

sascha wrote:On XP?


Sorry about that. Yes, WindowsXP.

--- Jim
"We're so sorry, Uncle Albert,
But we haven't done a bloody thing all day."
--- Paul McCartney
pndragon
 
Posts: 591
Joined: Sun Dec 05, 2004 1:27 am
Location: North Carolina


Return to Beta

Who is online

Users browsing this forum: No registered users and 1 guest

cron