LWJGL Forum

Programming => Lightweight Java Gaming Library => Topic started by: sir_wojciech on June 29, 2005, 17:20:05

Title: Strange sound from graphics card
Post by: sir_wojciech on June 29, 2005, 17:20:05
When I set my application (using LWJGL 0.97) into fullscreen mode, a strange constant sound comes from graphics card (X800XL) like a silent and long beep. The sound is different, when the resolution is changed.  :shock:
Title: Strange sound from graphics card
Post by: Matzon on June 29, 2005, 18:16:24
err - you might want to RMA that card... - no one has *ever* complained about such a thing  :shock:
Title: Strange sound from graphics card
Post by: sir_wojciech on June 29, 2005, 20:21:51
Or maybe it's my program, because it happens ONLY when i run it  with LWJGL. Strange....
Title: Strange sound from graphics card
Post by: elias4444 on June 29, 2005, 20:27:04
It could be that your program is running the graphic card's processing up, making its fan spin faster to cool it down (it doesn't need to be a graphically intensive engine to do that necessarily). You might want to run some more experiments.

Also, are you sure the sound is coming from the graphics card? Could it be your monitor? Or your sound card?
Title: Strange sound from graphics card
Post by: sir_wojciech on June 29, 2005, 20:30:14
It can't be the monitor, but it can be the sounds card who now all of this is strange. Never had such problem even with the earlier versions of LWJGL.
Title: Strange sound from graphics card
Post by: elias4444 on June 29, 2005, 20:32:50
Are you using lwjgl for your sound?
Title: Strange sound from graphics card
Post by: sir_wojciech on June 29, 2005, 20:35:38
No not yet. But I will!
Title: Strange sound from graphics card
Post by: elias4444 on June 29, 2005, 20:37:36
I was just wondering if you had initialized openAL in some way that was causing the sound. Could you try to track down exactly where the sound is coming from?
Title: Strange sound from graphics card
Post by: sir_wojciech on June 29, 2005, 20:40:59
ok! wait a second!
Title: Strange sound from graphics card
Post by: sir_wojciech on June 29, 2005, 20:45:22
Yes it's the graphics card!
Title: Strange sound from graphics card
Post by: sir_wojciech on June 29, 2005, 20:55:45
Ok so now I checked other LWJGL programs and it can be only LWJGL (0.97) or my graphics card!
Title: Strange sound from graphics card
Post by: sir_wojciech on June 30, 2005, 16:18:40
Ok so I did some tests and on LWJGL 0.97, 0.96, 0.95, 0.94 I hear the sound.
When other application (non LWJGL) run in fullscreen mode there's no sound. When JOGL application runs in fullscreen mode there's no sound. So.... I'm sorry to say, but it's the fault of LWJGL. :(
Title: Strange sound from graphics card
Post by: sir_wojciech on June 30, 2005, 16:20:55
BTW. My graphics card is X800Xl 256 and processor AMD64 3000+ and I use windows XP 64-bit Professional
Title: Strange sound from graphics card
Post by: gimbal on June 30, 2005, 17:28:31
Did you try Doom 3 with high settings? That is another application using OpenGL that should stress your videocard. It just has to be the fan on the videocard that is making the noise.
Title: Strange sound from graphics card
Post by: WiESi on June 30, 2005, 17:50:43
Maybe it's because LWJGL is for Win32 and not for Win64?

WiEsi
Title: Strange sound from graphics card
Post by: sir_wojciech on June 30, 2005, 17:57:10
Yeah, but I read there is a plugin, but i don't know how to install it
Title: Strange sound from graphics card
Post by: sir_wojciech on July 02, 2005, 20:36:34
Ok Matzon I know what causes this sound, it's setting the multisampling through PixelFormat
like:
Display.create(new PixelFormat(8,24,0,6));
when I change it to:
Display.create(new PixelFormat(8,24,0,0));
there's no sound.
So I would be happy if you could fix that or make a patch or something
Title: Strange sound from graphics card
Post by: Matzon on July 02, 2005, 21:41:21
you're kidding right ? - there is no way on earth - even this galaxy - that LWJGL is responsible for any of those issues. You should talk to ATI instead.

Try locating some other NON-LWJGL app that can render with 6 samples, and you should get the *exact* same issue.
Title: Strange sound from graphics card
Post by: sir_wojciech on July 03, 2005, 10:00:25
As I said it's LWJGL and I tried other application (non-lwjgl and even jogl) with multisamling turned on and there's no sound. BTW. maybe I have to use a patch for Windows (64-bit).
Title: Strange sound from graphics card
Post by: Matzon on July 03, 2005, 11:57:51
and you're sure your using same frequency when testing ?
Title: Strange sound from graphics card
Post by: Orangy Tang on July 03, 2005, 13:08:02
I have no idea why, but no game I've played ever lets me choose x6 multisampling, neither do nvidia's driver panel. Given that AA typically needs a symetrical grid of samples (or near symetrical, for quinqux) I don't think 6 samples is actually a valid configuration.