White Screen Error

Started by rtrind, November 10, 2004, 12:16:41

Previous topic - Next topic

rtrind

Hello,

   I am from Brazil and I was looking for a project just like LWJGL. It's very cool and it looks like it has great advantages over other projects (and a clear goal I apreciate). But I tried to install version 0.93 and all I can get is a white screen. No error log, no exception, no output of any kind. Just a white screen. I already saw a post concerning this error but it's kinda old, so I started a new one.

   The same problem is reported when using the 0.92 version. Only in version 0.9 (when the class Window still existed) the screen is perfectly visible. The code I'm using is the same used in the Nehe's lessons, already converted to LWJGL 0.93, I just had to adjust the particularities of Java 1.5 to 1.4 and I know the error isn't in the code.

   I downloaded (via Java Web Start) the project Space Invaders 104 and it runs perfectly on my machine. But the Tetris project (I don't remember where I found it) on JWS too, presents the same white screen error. The same Space Invaders, converted to 0.93 presents the white screen. But it is still playable (except for the white screen), because the sounds of the game remain working...

   In 0.93 and 0.92, everytime I change to a fullscreen mode, the screen becomes fuzzy, with color completely mixed, making an horrible image. It's always moving and when I change back to windowed mode, I get the white screen again.

   I would like to know if this is really a issue or there is a common workaround to prevent this. I don't know the exact specifications of this computer (it's from my work) but if you need to know I can give ya. Any information you need to correct this just ask, ok? Versions I am using:

j2sdk: 1.4.2_06
LWJGL: 0.93/0.92 (white screen)
           0.9 (perfect)

Tks in advance,
Ricardo

PS.: Sorry for the bad English.

elias

Are you by any chance running win9x? I fixed a bug recently regarding a blank screen in fullscreen.

- elias

rtrind

No, I am using Windows 2000 Professional, Windows Update complete, all SP's and security patches applied.

princec

What graphics card and driver version?

Cas :)

rtrind

Here is a profile generated by a tool called Everest with every information I think it may be interesting to you:

------[ CPU ]-----------------------------------------------------------------------------------

  CPU Properties:
    CPU Type                    AMD Athlon XP, 1666 MHz (12.5 x 133) 2000+
    CPU Alias                   Thoroughbred-A
    CPU Stepping                A0
    Instruction Set             x86, MMX, 3DNow!, SSE
    L1 Code Cache               64 KB
    L1 Data Cache               64 KB
    L2 Cache                    256 KB  (On-Die, Full-Speed)

------[ Motherboard ]---------------------------------------------------------------------------

  Motherboard Properties:
    Motherboard ID              62-0410-001131-00101111-040201-SiS740$K7SOM+_K7SOM+ Release 04/10/2003 S
    Motherboard Name            ECS K7SOM+

------[ Operating System ]----------------------------------------------------------------------

  Operating System Properties:
    OS Name                     Microsoft Windows 2000 Professional
    OS Code Name                Cairo
    OS Language                 Português (Brasil)
    OS Kernel Type              Uniprocessor Free
    OS Version                  5.0.2195 (Win2000 Retail)

  Components Version:
    OpenGL                      5.00.2195.6611

------[ Windows Video ]-------------------------------------------------------------------------

[ SiS 650_651_M650_740 ]

  Video Adapter Properties:
    Device Description          SiS 650_651_M650_740
    Adapter String              SiS Compatible VGA
    BIOS String                 1.05.00
    Chip Type                   SiS 740 Rev 00Y
    DAC Type                    Internal
    Installed Drivers           SiSGRV (5.13.01.2120)
    Memory Size                 16 MB

------[ PCI / AGP Video ]-----------------------------------------------------------------------

  SiS 315 Integrated                                          Video Adapter
  SiS 315 Integrated                                          3D Accelerator

------[ Monitor ]-------------------------------------------------------------------------------

[ Philips 105S (CM1300) ]

  Monitor Properties:
    Monitor Name                Philips 105S (CM1300)
    Monitor ID                  PHL105C
    Monitor Type                15" CRT

  Supported Video Modes:
    640 x 480                   105 Hz
    800 x 600                   85 Hz
    1024 x 768                  65 Hz

------[ Desktop ]-------------------------------------------------------------------------------

  Desktop Properties:
    Device Technology           Raster Display
    Resolution                  1024 x 768
    Color Depth                 16-bit
    Color Planes                1
    Font Resolution             96 dpi
    Pixel Width / Height        36 / 36
    Pixel Diagonal              51
    Vertical Refresh Rate       60 Hz

------[ Windows Devices ]-----------------------------------------------------------------------

[ Devices ]

  Video Adapters:
    SiS 650_651_M650_740        5.13.1.2120

[ Adaptadores de vídeo / SiS 6550_651_M650_740 ]

  Device Properties:
    Driver Description          SiS 650_651_M650_740
    Driver Date                 28/11/2002
    Driver Version              5.13.1.2120
    Driver Provider             SiS
    INF File                    oem0.inf
    Hardware ID                 PCI\VEN_1039&DEV_6325&SUBSYS_63251039&REV_00

  Device Resources:
    Memory                      000A0000-000BFFFF
    Memory                      C0000000-C7FFFFFF
    Memory                      CFEE0000-CFEFFFFF
    Port                        03B0-03BB
    Port                        03C0-03DF
    Port                        AC00-AC7F

princec

If only everyone did that for us :/
SiS - very unlikely to work properly. Very naff graphics chipset, very very naff drivers. Possibly we've done something wrong, but more likely that they have :( Does any other GL stuff work ok currently? I know it used to work in LWJGL 0.9 so there's a chance we've screwed up something but it's also possible that we've fixed it already in CVS ;)

Cas :)

rtrind

Every GL function results in a white screen. Even the simple opening of a OpenGL window (NeHe lesson 01) doesn't show anything but a white window (even if I set a different color for the background...)

I never worked with CVS but I can try to download the latest version, build with Ant and try to use. If I'm not succesful I report you guys later.

Tks...

rtrind

Hello,

   I installed all the tools suggested in the thread that shows how to compile the LWJGL. All the paths are correctly setted and I managed to decompile the CVS tarball and installed in my local CVS to extract the latest versions. When I try to run my build.bat file I get the following message:

Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.10.3077 for 80x86
Copyright (C) Microsoft Corporation 1984-2002. All rights reserved.

Microsoft (R) Incremental Linker Version 7.10.3077
Copyright (C) Microsoft Corporation.  All rights reserved.

/dll
/implib:lwjgl.lib
/out:lwjgl.dll
"/LIBPATH:C:\Arquivos de programas\OpenAL 1.0 Software Development Kit"
\libs
"/LIBPATH:C:\Arquivos de programas\Creative Labs\EAX 2.0 Extensions SDK"
\Libs
/LIBPATH:C:\DXSDK
\Lib
"/LIBPATH:C:\Arquivos de programas\Microsoft SDK"
\Lib
dinput.lib
dxguid.lib
OpenAL32.lib
alut.lib
eaxguid.lib
OpenGL32.Lib
Version.lib
user32.lib
Gdi32.lib
Advapi32.lib
*.obj
LINK : fatal error LNK1181: cannot open input file '\libs.obj'


I tried to locate this file but I couldn't. Do you know exactly what this means? Did I do something wrong?

rtrind

Just an UP. It looks like no one sees this topic anymore...

princec

I'm really not holding out any hope for SiS cards actually working :/

If you like, grab the latest build of LWJGL from Super Elvis (http://67.18.194.226/downloads/shared/lwjgl-windows.jar - unzip the dll that's inside the jar) and see if that works.

Cas :)

rtrind

Now I am having this error:

java.lang.UnsatisfiedLinkError: init
   at org.lwjgl.opengl.Display.init(Native Method)
   at org.lwjgl.opengl.Display.<clinit>(Unknown Source)
   at Lesson01.createWindow(Lesson01.java:113)
   at Lesson01.init(Lesson01.java:133)
   at Lesson01.run(Lesson01.java:54)
   at Lesson01.main(Lesson01.java:44)

It's really sad this isn't working for me, because the project:
1) Already worked in an early version and now don't work anymore
2) The goal of the project it's exactly what I've looking for in the Java world
3) Project's like Espresso3d that use version 0.92 or above won't run in my machine, and I really wanted to see all of this working.

I don't know what to wait from you, a new version, or some way to fix this, mainly because this looks like a bug in the merge process of the Window class. Until I find a solution for this I will stick to version 0.9, hoping that any future version of the project won't have this problem.

Tks anyway for the help and good luck.

PS.: I will still follow the forums for some time and I really hope you guys continue on this track and have success on the project.

PS2.: English is not my first language, sorry if I said anything wrong...

elias

Yes, you will need a new lwjgl.jar that fits the dll too. Try to snatch the lwjgl.jar from the same dir (Cas doesn't mind, I'm sure).

- elias

elias

And yes, a new release is imminent where a blank screen error has been fixed (assuming the new lwjgl.jar won't work for you).

- elias

rtrind

The exception is gone and the white window is back. :-(

Tks...

indiana

Looks like you have exactly the same problems I have with any LWJGL version since 0.9 (I guess) on this particular machine. It also has a SiS 650 graphics chipset. It worked in an older LWJGL version, but for months now it doesnt. Just a white screen.

My thread concerning that topic was: http://lwjgl.org/forum/viewtopic.php?t=639

I'm sorry I didn't investigate on this problem any further, I just stopped testing my code on that machine, I had to get done with the project...

I sincerely hope a solution will be found somehow, but I see its difficult for the devs to restore that functionality if the drivers are that bad!