Digital Paint Discussion Board

Development => Bugs, Feature Requests, and Feedback => Topic started by: Zorchenhimer on May 27, 2008, 06:49:41 PM

Title: Feature Request: First Start on Linux Notification (explained inside)
Post by: Zorchenhimer on May 27, 2008, 06:49:41 PM
I think it would help those who use linux to have a "Loading" dialog pop up when the game loads for the first time.  Or at least some notification when launched from the command line when the random number generation thing is taking place.  That way, you would be able to see if the game is in fact doing something and not just hanging there.
Title: Re: Feature Request: First Start on Linux Notification (explained inside)
Post by: Cameron on May 27, 2008, 08:30:59 PM
That's a good Idea.  I remember loading about 10 paintball's until 1 loaded and got stuck and didn't know which window i was in :P.
Title: Re: Feature Request: First Start on Linux Notification (explained inside)
Post by: jitspoe on May 28, 2008, 11:14:59 AM
I think this might be the better solution:

http://dplogin.com/dplogin/featurevote/feature.php?id=10105
Title: Re: Feature Request: First Start on Linux Notification (explained inside)
Post by: Zorchenhimer on May 28, 2008, 06:18:09 PM
Haha, forgot about that one.
Title: Re: Feature Request: First Start on Linux Notification (explained inside)
Post by: Krizdo4 on May 28, 2008, 09:03:31 PM
I think this might be the better solution:

http://dplogin.com/dplogin/featurevote/feature.php?id=10105

On linux, the /dev/urandom provides non-blocking pseudo-random data. If the quality of that is better than the windows random source being used or at least good enough then I don't see any need for using the high-quality random random generator /dev/random.
It would seem to speed up generating the key saving you the trouble of setting up it's own thread.
Title: Re: Feature Request: First Start on Linux Notification (explained inside)
Post by: jitspoe on May 29, 2008, 10:48:46 AM
On linux, the /dev/urandom provides non-blocking pseudo-random data. If the quality of that is better than the windows random source being used or at least good enough then I don't see any need for using the high-quality random random generator /dev/random.
It would seem to speed up generating the key saving you the trouble of setting up it's own thread.
Problem is, gcrypt uses the super-incredibly-painfully-slow random number generation, even when you tell it to use the fast.  I'm tempted to hardcode the source to use the fast and compile it into the binary.
Title: Re: Feature Request: First Start on Linux Notification (explained inside)
Post by: Krizdo4 on May 29, 2008, 09:25:11 PM
Problem is, gcrypt uses the super-incredibly-painfully-slow random number generation, even when you tell it to use the fast.  I'm tempted to hardcode the source to use the fast and compile it into the binary.

Is this what you're refering to when you say you're telling it to use fast.
GCRYCTL_ENABLE_QUICK_RANDOM; (http://www.gnupg.org/documentation/manuals/gcrypt/Controlling-the-library.html)
Title: Re: Feature Request: First Start on Linux Notification (explained inside)
Post by: jitspoe on May 30, 2008, 11:08:29 AM
I can't remember if that was it specifically, but I traced through the source and it used the slow random every time.