Programming :: Pygame Slow Or Just Programmers Are Inefficient?

Mar 22, 2010

Why are all of the Pygame games so slow? Even a simple platform-hopping game moves like a snail. Other enourmously more complicated games, not Python in origin, don't seem to have such a problem on the same hardware. Is it that the programmers are (just like me), too inexperienced? Or can I just not expect to get good performance from Pygame?

View 5 Replies


ADVERTISEMENT

Programming :: Programmers And People That Understand The OS?

Apr 24, 2011

Well I get my other 2 questions answered , I have one last question that has been buggy me.Anyone know why windows use so many files just to keep the OS going and so bloated? The under line of files of windows is messy and loads self every where and very bloated with windows and windows vista and windows 7 very much so.I'm not sure if Linux /Mac OS X is like this or not .

I know windows needs to support alot more software and hardwar but is that not where drivers come in for the hardware.And programmers need to write the software for windows or Linux / Mac OS X.

View 14 Replies View Related

Programming :: Can Not Import Pygame

Jan 17, 2011

I am new to pygame and Linux and I am using Red Hat Linux and I cannot import pygame. I thought I installed it but when I open up Python IDLE It says "No module named pygame". Does anyone know what is wrong?? I downloaded pygame1.9.1.release.tar.gz from URL...I might not have installed it or maybe I need something else too, I don't know.

View 6 Replies View Related

Ubuntu :: Does 10.04 Come Default With Pygame

Oct 9, 2010

Does Ubuntu 10.04 come default with pygame installed?

View 2 Replies View Related

OpenSUSE :: Pygame Installation For Python3 Missing Some Dependencies

Aug 31, 2010

I am trying to install pygame(from source) for python3 on my openSUSE 11.3. From repos pygame is only available for python2 and not for python 3. While running the installation scripts I am getting this:

Code:
linux-eeow:/home/vivek/Projects/codes/python/pygame-1.9.1release # python3 setup.py
No Arguments Given, Perform Default Install? [Y/n]Y
WARNING, No "Setup" File Exists, Running "config.py"
Using UNIX configuration...

Hunting dependencies...
SDL : found 1.2.14
FONT : not found
IMAGE : not found
MIXER : not found
SMPEG : found 0.4.5
PNG : found
JPEG : found
SCRAP : found
PORTMIDI: not found
PORTTIME: not found

Warning, some of the pygame dependencies were not found. Pygame can still compile and install, but games that depend on those missing dependencies will not run.
Would you like to continue the configuration? [Y/n]:
What these dependencies are. What all do I need to install...

View 2 Replies View Related

Programming :: Slow Shell Script / Make It Up?

Mar 1, 2010

I'm a truly ordinary shell scripter (and unfortunately I know nothing about any higher-level language), but I have an important script to run to count the number of files in our client directories.

Problem is that while we've not got a lot of clients (circa 100), they might have a LOT (> 1000s) of files.

And my script is REALLY slow code...

PS How slow? Well I started a cron job at 0005 yesterday, and as of 0930 today its only a little over half-way through all our clients.

View 9 Replies View Related

Programming :: Installed Eclipse From The Repositories And Found It Is Very Slow?

Jul 11, 2010

I installed Eclipse from the repositories and found it is very slow. It takes about 5 minutes to start up. Is that normal?

View 5 Replies View Related

Ubuntu :: Slow Startup, Plymouth Not Showing, Slow Desktop Load?

May 3, 2010

I'm an Ubuntu user since Jaunty, and I've always upgraded my system (NOT fresh install). Everything went fine, but yesterday I upgraded to Lucid. My only concern -for now- deals with startup time. I'm a desktop user (Core2@3GHz) so I think I should boot in less than 10 seconds. Anyway, boot time is 30 seconds - not too much, but there is definetly something wrong with tools I don't know (ureadahead, plymouth, etc.). Attached is my bootchart: can anyone explain me what's wrong?

Also, I don't even see a plymouth Ubuntu themed bootsplash: I only see a blank (black) screen standing for seconds, then I see the bootsplash for less then half a second, then GDM appears :S Not crucial -I know- but how can I fix it? (I don't know if it's related, but I can see the animation at shutdown)Finally, GNOME desktop takes too long to load. I don't know why, but there are 15/30 seconds in between login sound and a usable desktop (with panels and icons, I mean).Please help me, I don't want to do a fresh install. Boot speed is not a dial with desktops - I know - but it can be a symptom that my system is a bit a messy (and I don't like it, since I installed Jaunty less then 1 year ago). (!Forgot! I also installed grub2 by hand

View 6 Replies View Related

Ubuntu :: How To Deal With My Slow Computer - Runs Desperately Slow ?

Jan 22, 2010

I just want to know how to easily speed up my computer because it runs desperately slow. I am running windows Xp which is about two years old.

View 9 Replies View Related

Ubuntu :: USB Disk - Slow Transfer Speeds And Slow System?

Apr 17, 2011

Whenever I transfer a movie into my 16GB USB flash disk, my whole system becomes windows-like and unusable!

When i drag the file(s) into the USB disk folder, it starts out fine and pretty darn fast (25mb/sec) then slowly decreases until it's unbearably slow (3m/sec) and as a side effect my whole system starts deteriorating. I basically have to wait for the file to finish transferring before i can use my desktop again!

This has been happening with every version since Karmic (all 64bit)- I put up with it because I don't use the USB stick that much.. but lately it's been my go to source for transfering large files to/from work.

View 3 Replies View Related

General :: Slow Very Slow File Download On Platform?

Jan 11, 2010

I have good experience in microsoft enviroment, now tiring to use linux, i tried Ubuntu 9.10, OpenSuse on different computers bur there is same big problem: Very slow download speed compared to microsoft.same file at same time downloaded by microsoft winxp toke incomparable short time. for example file 5.5MB attached to e-mail on Yahoo toke ~1minute to download on winxp computer,same file at same computer but with Ubuntu takes more thane 30minutes!

View 3 Replies View Related

Ubuntu Networking :: Wifi Is Fast Then Slow Then Fast Then Slow Connect Disconnect ?

May 7, 2010

My wireless seems to be fast for a good 30secs then bang takes good while to load the next page almost as if it's disconnecting and then reconnecting/scanning reconnecting. Why cant it stay connected. I have WAP PSK security here is my network setting please let me know if I should change any of them:(side not is there a way to fix this problem occuring so frequently it says on the wiki that it should only occur once in a whilce https:[url].....

View 2 Replies View Related

Programming :: 3D Programming - Difference Between JOGL And C++ OpenGL Programming?

Aug 27, 2010

I am interested in learning 3D programming. The thing is, I would hate to put too much effort to learn something that doesn't have future and is dying. My favorite language at the time is Java. My goal is professional programming.

So I have several questions:
1. Should I learn JOGL or start learning C++ and do C++ openGL programming?
2. Is there a big difference between JOGL and C++ openGL programming?
3. Is it worth to learn openGL? Does it have a future?
4. Is it a big difference between openGL and directX coding?
5. If choosing Java, then JOGL or LWJGL?

Why and what is the main difference between them?

View 4 Replies View Related

Fedora :: Slow VNC On 10?

Mar 19, 2010

When I use VNC to log into my Fedora 10 machine from my windows laptop, the VNC session is veerrry slow. I have a 30/20mbps downstream/upstream connection.

I am using the default VNC server in fedora 10 (Vino i think it is). I am using the tight vnc client.

Are there any settings that I should change on my server / client to speed things up?

View 2 Replies View Related

Fedora :: 15 Is Very Slow But Does Not Use All CPU

Jul 17, 2011

Fedora 15 is very slow (shaking) when I do just about anything (drag and drop, text editor, chat, web ...) but the CPU is not being used up.

I keep Fedora update to the latest version with the current time. I don't know how to view log system in Fedora so can't log log to it.

View 6 Replies View Related

Ubuntu :: Gets Slow After A While?

Sep 21, 2010

When my computer have runned for some time (10-20 minutes maybe, not sure) it gets very sluggish and slow. It's like everything gets much slower to render. The fading effect when clicking Quit is like 2-3x slower. If I restart, everything gets as fast as it should but gets slow after a while like I told. It is not that it gets slower and slower. It is either normal or slow.The problem started a few days ago and I don't think I have done anything special except automatic updates. I am using Ubuntu 8.04 (64bit).I noticed now that all programs that uses OpenGL crashes. glxgears just shows an empty window for some seconds and then close with the text "Aborted". I don't really know what's causing the problem but I guess it has something to do with graphics stuff.

View 5 Replies View Related

Debian :: Slow Su Since 6.0 Upgrade?

Apr 24, 2011

This is my first post here. Since upgrading to Squeeze from Lenny, I've noticed that authentication is quite a bit slower when running the command "su -" and sometimes "sudo" as well. Is anyone else having this issue?

View 9 Replies View Related

Fedora :: Sudo Is Slow In F11?

Jul 17, 2009

fter using Ubuntu and finding it way too unstable, Opensuse and finding it bloated, Arch and finding it confusing, I have finally settled on Fedora 11.The problem that I am having is a minor annoyance. I found that my default user couldn't use Sudo, so I added the following to the sudoers file:Quote:USER_NAME ALL=(ALL) ALL -- Where User_Name is the the name of my default user.The problem is that I can now use sudo but it is incredibly slow. For example if I type sudo yum install _____It'll ask me for my password and then pause for a minute or two literally before proceeding. It isn't the network causing this problem because it does the same thing if I issue commands that are specific to files only on my computer. Interestingly enough I don't have this problem if I use tty, only in Konsole.

View 6 Replies View Related

Fedora :: 11 Xorg Is Very Slow ?

Sep 1, 2009

Why is X in F11 so slow. I have worked with fedora laptop since spring 2006. The first one was F5 and then F7. The X ran always very quickly,. well, at least quick enough. I did not feel any need to upgrade to F8 F9 or F10. I heard from my friend that new F11 is awsome. So I decided to change form F7 to F11. Result was quite big disappointment. The only good things were speed of Firefox and Opera. Specialliy Opera was like like greased lightning. But raw X applications were like snails. I mean applications compiled with lesstif or motif for example.

My machine is Acer TravelMate 2410. 1.5GHz and 512 MB RAM. Yes its old, but not too old. Can I tweak F11 somehow to make it work ?

View 1 Replies View Related

Fedora :: Compiz Slow On 12

Mar 4, 2010

I am having this problem of slow response when I enable the desktop effects that uses compiz.

View 9 Replies View Related

Fedora :: 12 Netbeans IDE Very Slow?

Apr 28, 2010

i installed Netbeans on Fedora 12 (Gnome - 64bit) and its very slow. I get same poor performance with OpenJRE and SunJRE. My pc specs are : HD3870 ATI, AMD x2 5000+ @ 3.2ghz, 3gb DDR2 800++mhz RAM.

View 7 Replies View Related

Fedora :: F13 - Some GTK Function Seems Very Slow

Aug 13, 2010

Yesterday I installed F13 onto a somewhat older machine of mine, to test out some software that I've been developing, and while it works quite well in general, there's a couple of situations where gtk+ seems to be incredibly slow. Most notably, that app lets the user click-and-drag a large map inside a scrolled window; the app updates the scrollbars appropriately. On F13, the click-and-drag starts to lag behind the mouse almost immediately. I had been developing this app on another distro (Gentoo) prior to installing F13 on the machine, and never had this issue then - I've even doublechecked by booting that box onto a Gentoo LiveCD and trying from there, and the speed of click-and-drag is totally fine.

Additionally, and possibly-related: the highlighting which follows the mouse around as you mouseover the map seems to lag behind as well. Otherwise, the system responds quite quickly. Now, the box is an Athlon XP 2100+ (1.73GHz) with an nVidia 7600GS (AGP) - I've tried using all three of nv, nouveau, and the binary nVidia drivers (both from rpmfusion, and compiled from nvidia.com), and I get the same lag using any of those X drivers. I've tried changing the desktop theme (in Preferences->Appearance) to some more "basic" themes, but that hasn't affected anything. I've also tried hopping into a very basic WM outside of Gnome (icewm) but the problem persists there.

Is there some kind of global "smooth scrolling" gtk+ option I could turn off somewhere, perhaps? Run into this kind of weird, selective gtk+ slowness before? I hadn't thought to try before, but I've just verified that I get the same behavior with the "vesa" driver. The system is otherwise snappy, but that click-and-drag is still horribly slow. I just tried it out on an Ubuntu LiveCD, and the speed is also totally fine on there. Just, you know, as one more datapoint. So I went ahead and put together a simple test-case which is removed from the actual application, and it still exhibits the same behavior for me. On Fedora 13 it's quite laggy, on other distros on the same hardware it's totally fine. [URL]

View 3 Replies View Related

Fedora :: X11 Slow On Boot

Sep 21, 2010

when boot is done and switched to X11 I get major time delays due to graphic init (as far as I can tell).

Here is the relevant part from Xorg.0.log:

Code:
63.420] (--) SynPS/2 Synaptics TouchPad: touchpad found
[ 63.420] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse0)

[Code].....

View 2 Replies View Related

Fedora :: GlxGears Slow Down The Pc

Dec 6, 2010

I've a Toshiba M40-282, with an ati mobility x700. I tried Ubuntu and now Fedora and I'm having the same problem..The pc is fast in anything except videos (like megavideo)..running glxgears the pc starts slowing down as when i watch videos. What can I do? try another distribution? try something else?

View 9 Replies View Related

OpenSUSE :: Overall Slow Performance Of 11.2?

Dec 22, 2009

First of all, apologies if this is not the correct place to post this. I recently installed openSUSE 11.2 (Gnome, 32bit) on my newish PC. It is an Acer Aspire X3200 (AMD Phenom X4 Quad-Core, 1.8 GHz, 4096 MB, NVIDIA GeForce 8200 Integrated, can provide detailed specifications if needed). I've to say I am very disappointed with the results so far! Sorry to say this but I'm having a whole load of problems that I never had when I had Vista or with current Win 7. Here are the issues:

1. Slow network performance. I've disabled ipv6 but it is still the same. Not only when I use Firefox, it is also slow when I use console based programs. 2. Instability - Gnome system monitor crashed 6 (or more) out of 10 times I use it. System Monitor users more CPU resources than anything else! Also when I started the PC this morning, I only had the desktop wallpaper. No icons, no taskbar, no mouse movements or menus, nothing. I had to force shut down it after a while. I'm sure we all are familiar with this on XP but I've never seen something like that on Linux!

3. Annoying noise coming every time I move mouse (mainly when scrolling) and even if I'm not doing anything. I suspect it is coming from my HDD indicator as it always blink even when nothing is running. This can't be a hardware issue as I've never had this on Vista or Win 7 (it is virtually silent on Vista and XP but not on SuSE) This noise is driving me totally mad.

4. Slow performance in general. No matter what I do, even typing this on this text window, it seems everything is running so slow. I never had this problem when I was running 10.x on my 6 year old PC. CPU is always running around 20%-30%, when I don't run any other applications but just Firefox (I have Foxclocks, Delicious and FEBE as add-ons and I don't have any problem using them on Vista or Win 7). I am using Compiz, not sure if this has got anything to do with that.

View 9 Replies View Related

OpenSUSE :: USB HDD Suddenly Run Slow / Why Is So?

Jul 12, 2010

I run a set scripts running under cron which make tar backups to an external
USB HDD.

Wednesday (7 July) night backup 22GiB took about 15min
Thursday (8 July) night backup 22GiB took 5hours 44min :-o

Nothing changed between these runs, the machine wasn't rebooted, the USB
device wasn't unmounted and remounted.

This has been a basic speed change - everything prior to 7 July runs at a
similar speed and everything since then is dead slow.

I've googled around and come up with things like ...
* Make sure the device is mounted async - I believe it is (options:
rw,defaults) but it wasn't remounted in between.
* Make sure that ehc1_hcd is loaded before uhc1_hcd - the entry in
/etc/modprobe.conf looks like it is and anyway there wasn't a reboot
between.

I dread to think how long a full
backup is going to take so I could definitely do with getting back to the
sort of speeds I used to get.

View 9 Replies View Related

General :: Top Causes Of Slow Ssh Logins

Jul 22, 2010

there are 2 spots where I see a range from instantaneous to multi-second delays.Between issuing the ssh command and getting a login prompt and between entering the passphrase and having the shell load.Now, specifically I'm looking at ssh details only here. Obviously network latency, speed of the hardware and OSes involved, complex login scripts, etc can cause delays. For context I ssh to a vast multitude of linux distributions and some Solaris hosts using mostly Ubuntu, CentOS, and MacOS X as my client systems. Almost all of the time, the ssh server configuration is unchanged from the OS's default settings.

What ssh server configurations should I be interested in? Are there OS/kernel parameters that can be tuned? Login shell tricks? Etc?

View 6 Replies View Related

General :: Which Distro To Run On A Slow SSD?

Aug 7, 2010

I bought an Eee PC 1000, the Linux SSD model, a couple years ago. I ended up putting Easy Peasy (then called Ubuntu Eee) onto it, only to be dissatisfied with the speed. Then I put Windows XP on it, and with a LOT of tweaking it ran sort of okay. Now I pulled it out and dusted it off but I want it to run Linux.

It has the Intel Atom 1.6ghz processor and 2gb of RAM (I upgraded it) so there's no lack of power there, but the SSD is extremely slow; it has a small write buffer, but when you do anything slightly significant you can feel the system stutter every second or two as the SSD halts everything while it dumps its full cache to disk. I'm talking serious stutters, and the cache isn't very big; to get Firefox to not stutter I had to move all caching into RAM and disable history (even just writing the history log to disk froze the system with every webpage).

Anyway, I hope I've given you a decent idea of just how slow this SSD is. With that said, is there a Linux distro that is optimized for an extremely slow hard drive but decent powered system? I'm not looking for something underpowered because the processor and RAM are plenty powerful, I just want something that perhaps is optimized for not writing to disk often.

View 4 Replies View Related

Ubuntu :: Slow Startup / Why Is So?

Feb 15, 2010

An other general question,

I have installed ubuntu the same day on 2 PCs, my laptop with an athlon 64 x2 and 4Gb of RAM DDR3 and my very old PC, athlon XP2400 with 1Gb of DDR2 memory (if i remember well)

It starts in 20 seconde on the old PC and around 1 minute on my laptop, honestly it bugs me, any ideas why it is so slow on my laptop? I do have a 2 seconds for grubs, but still...

View 4 Replies View Related

Ubuntu :: NAS Access Is Very Slow (but Not On XP)?

Mar 11, 2010

I have this sitecom MD-253 NAS disk using Raid-1 and equipped with two 1TB WD hdd's. The NAS firmware is Linux of some cind and I use the, pr. today, latest firmware.However, as mounting the NAS server was not any challenge, the response time is in the most shamefully end of the scale. Even listing folder content is deadly slow, beeing from one to three second before list is shown. Both the linux laptop and the NAS is connected through cable via the router, the XP however, is wireless but access is no problem here.I found a few tutorials around dealing with mounting the NAS drive but few which dealt with the speed issues and none solving my problems. I saw one post in another forum though discussing if the problem could be caching but they had no solution.

I have used different commands mounting, but at the moment i use this one in fstab:Code://192.168.0.190/Projects /mnt/nas cifssername=zainka,password=********,_netdev,uid=zainka,gid=users 0 0Response time is not affected though. That is, for FTP the responce time is actually higher but then I run into other issues like that mounting it like a disk is difficult and the link must be keept alive constantly I also seen some comments about using NFS but isn't this a proprietary MS protocol for file access?

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved