Showing posts with label linux. Show all posts
Showing posts with label linux. Show all posts

Apr 10, 2009

X-FI Xtreme Gamer

Posted by Luke the Nuke: Fri Apr 10, 2009 7:07 am Post subject: X-FI Xtreme Gamer

I got my overpriced and obviously overpackaged X-FI gamer, I installed it and configured it, then I fired up IL2 and I must say that it sounds WAY better than it did with the on-board Realtek. I've also been able to raise the combined antialiasing setting up one notch in nHancer (16xS instead of 8xS) without getting any stuttering in the game, this may be caused by the sound card or maybe by the fact that I have reinstalled the 9800GT #2 in SLI as an experiment. I'll be able to tell more when I'm done with the testing.

Right now I'm fairly happy with the new video card, I guess that's because I haven't used it long enough to see the bad stuff yet.
On Lunux (Ubuntu 8.10 x86_64) I had to switch the default ALSA audio system for OSS4 (piece of cake: install a .deb package and copy-paste a bunch of text commands from a step-by-step guide that I found using Google). I was kind of disappointed at first, because I'm so used with the "real plug an play" with the latest Linux distributions that having to actually install a driver "Windows style" made me think stuff like "and they wonder why the masses still use Windows", but I was kind of unfair on that one, people _are_ used to install drivers for every piece of hardware they buy (it is like that on Windows), the real reason why they don't switch is [insert your own explanation here].

On Windows the installation went smoothly except having to use Driver Sweeper to get rid of the usual 'leftovers', then I installed the drivers using the 'Custom install' to select only the bare minimum: one configuration program that comes in a 'straight' version (looks like Windows Classic) or in a 'gay' edition with the same functionalities in a fancy look, the "on-line" manual that is actually stored on HDD, and that's it. None of the useless junk that the default install wanted to include.

It took some time to learn how to balance the sound, especially because there are no separate volumes for front, rear, center, and subwoofer: the balance is done with a front-rear balance slider and using the equalizer... Well, I still have separate volume knobs on the amp, so I use those, (I used to set relative volumes using software, using only the master volume on the amp)

The in game sounds are much more realistic and detailed (and louder), the placement of sounds in 3d is better but it was already kind of good with the on-board Realtek, the real difference is that now I can hear 'smaller' sounds, like another plane's engine at a greater distance, which combined with 3-D placement gives a better overall experience.

Feb 24, 2009

Make Flash work on Ubuntu 8.10 64bit, the easy way

Yes, yet another Linux post. Sorry. I'll be back to IL2 posts soon, I guess.
By the way, this is not a crosspost of a Skies Of Fire forums entry. I reinstalled my systems (both Linux and Windows) an for some reason Flash wouldn't work. I installed and uninstalled it from repos a number of times, then I finally searched 'ubuntu 8.10 howto flash' (no quotes) and this page popped up. Go there for the full version of this howto, with screenshots.

Or, here;s a quick version that you can save as a text file:
-Get the Flash Plugin x86_64 from Softpedia at http://linux.softpedia.com/get/Internet/HTTP-WWW-/Adobe-Flash-Player-for-64-bit-Linux-42958.shtml
-Close all Firefox windows
-Start Synaptic and search for 'nsplugin'
-Completely remove nsplugin.
-Synaptic will tell you that you need to uninstall flashplugin-nonfree as well. Do that (unless you have done it already)
-Go to your home directory and select 'view hidden files and folders' from the 'view' menu
-Go to the folder .mozilla (invisible by default)
-Create a directory called plugins
-Extract libflashplayer (blah blah).tar.gz. You'll get a file called libflashplugin.so
-Drop libflashplayer.so into /home//.mozilla/plugins/
-Start Firefox and test that Flash works.

Feb 22, 2009

Small distros and Live CDs

That's called a Live CD (I guess at least some of you know that) and just like the Linux that you install on HDD, there are a sh**tload of different distributions.
A live CD is an operating system that loads straight into RAM, directly from the DC with no HDD installation needed.
In other words, a live CD doesn't use any hard disk. It can read and write to hard disk, but it doesnt need one for the system. .


The system is stored on a CD and loaded to RAM. This means that using a Live CD you can experiment with Linux without need to actually install anything on your hard disk. Pop the CD in the tray (make sure that the CD is the first boot device), start your PC, and it will load the OS from the live CD without touching your Windows installation. When you're done with Linux and want to go back to Windows, just reboot your PC without the CD in the tray, and Windows will load as usual.

It is also possible to have both systems installed on one hard disk and choose the one you want to load each time the pc boots. That's the system I use: Windows for games, Linux for anything else. But this thread is about live CD's:
One of the smallest live distributions around is called DSL (Damn Small Linux), only 50MB in size. I read about other very small live distributions but right now I can't remember any names and I dont feel like researching.

There are also a whole bunch of 'regular sized' live CD (400 to 650MB) available as ISO images that you can burn on a CD, including the popular Ubuntu, that comes in a 'combo' edition: you can use it as a live CD selecting 'try Ubuntu without installing', or install it to HDD... still selecting 'try Ubuntu without installing'!
Here's the trick: if you select 'install ubuntu' from the start menu, only the installation program runs, and you'll have to wairt while files are copied etc. But if you choose 'try ubuntu without installing', you can still install it by clicking on the 'install' desktop icon: the difference is that now the whole live OS is loaded and you can browse the web, chat, play games, etc, while your OS is being installed. Take that, Windows.

Back to live CDs:
Live CD's are based on different Linux distributions, which means that they are the 'live version' of an HDD installable distro (well, kinda. But I have to make stuff easy).
For instance, Knoppix is based on Debian, a very popular and relatively easy to use ditribution; Slax is based on Slackware, a powerful OS, but for serious geeks only, and so on.

There are also purpose build live CD's, built for diagnostics, penetration testing... even gaming, and of course different versions of the same liveCD, such as one particular live distribution available in both KDE and Gnome 'flavors'.

Enough. I have linked only a small fraction of the interesting stuff. Use Google.


______________________________
______________________________

02/22
Assuming that you have actually downloaded the right .iso image, a very common n00b mistake is to simply drop the file into the CD. That isn not going to work.
Also, as Winrar and many similar programs (archive managers) associate .iso with themselves by default (an .iso is a file that contains many files after all), people see an .iso file showing up with the WinRAR icon and assumes that the way to use it is to extract the archive and burn the resulting files to CD.
That wont work either.
You will get the files on CD but the boot sector wont be written and the PC won;t recognize that CD as bootable.

In order to presrve bootability you have to use the 'burn image' feature available on most CD/DVD burning software (in Nero it's under the 'Recorder' menu).
Select 'Burn Image', browse to the iso, click OK (Open, or whatever), select a low burning speed*, burn.

Try different Live CD's such as Knoppix, Slax, and why not Ubuntu (all of them linked in my previous post). Ubuntu will work as a live CD, with the extra feature of being able to install to HDD. Consider building a 'junkware' box out of discarded pieces offering "disposal free of charge" to neighbors Wink and use it to experiment.



*Use low burning speeds. I use 4x for bootable CD's and for DVD's and 8x for non-bootable CD's. Slightly faster speeds are known to work in most cases (but not always). Burning at high speeds may cause loss of data during the burning process, resulting in unusable CD's

Feb 19, 2009

Just dual boot!

Posted: Wed Feb 04, 2009 5:20 pm Post subject: Re: So virus scanners and spyware scanners are useless....
Well, OK, let's skip the distro war. Linux distros are a bit like euro football teams, each supports his 'team' no matter what.
I find ubuntu very good for unexperienced users, so that's the distro I install for the few who accept to switch, often in dual boot with WinXp because having the good old Windows always available make them feel better.
All the Windows that I install for clients have Avast home edition, but not Ghostwall, instead I give them Comodo, which is kinda like Zone Alarm without the constant requests for money (some people seem to like the annoying Cancel or Allow pop-up. To those who 'look' a bit less incompetent, I suggest Ghostwall (Joe User wouldn't understand how to use it anyway), and to those who don't expressly request the annoying pop up questions, I simply leave the stock Windows firewall enabled.

_______________________________
_______________________________

Posted: Thu Feb 05, 2009 12:04 pm Post subject: Re: So virus scanners and spyware scanners are useless....
Not even discussing Cedega's LONG list of suckness, I'll only mention it's pay-for-play policy: $5 a month sounds like little? Well, you're a fool. It makes $60 a year for the first year alone. We complain all the time about overpriced games, remember?. And BTW, Wine works way better.

Back to the serious stuff, I can run IL2 on Wine right off the game partition (Ubuntu comes with NTFS drivers capable of writing, preinstalled by default) with the command 'wine /path/to/games/il2/il2fb.exe' (no quotes of course) and the sound does work. It should work for you too... Did you run winecfg? It doesnt sound exactly like it does in Windows but sound does work for me (Ubuntu 8.10 x86_64 and Wine 1.0...something. The one from repos).

Looks arent really as good as they are in Windows, especially LandGeom=3 keeps switching back to =2, but the real problems with Wine + IL2 are that some keyboard commands and ALL the joystick buttons refuse to work and the 3-monitor view doesnt work either. I can run IL2 in a window and move it across all 3 screens, but if I try a size that is wider than a standard 4:3 ratio the two sides stay black. IF I use SaveAspect=1, that is. Using SaveAspect=0 I can make the window any ratio and it will be all used (no black stripes) BUT the max FoV won't be any wider than 90 degree (I get a really really wide widescreen instead of 3 screens side by side)

I suspect that the keyboard and stick problem can be fixed relatively easily, but the 3-monitor problem would be much more difficult (if possible at all), so I simply reboot into Windows to play games. I use Ghostwall to close all ports except outbound traffic only for 21000 UDP that only allows SoV's IP and only if remote port is 21040, so I theoretically don't need any antivirus, but I let Avast's web protection run in the background (mail protection and other stuff are disabled) because sometimes I visit a website or two between sorties (temporarily allowing outbound TCP on GhostWall, and yes, I have a special rule to let Avast update its virus database), download and install a mod or two, etc. I guess I could do without but what the hell, it's just a couple extra processes, on a 2.93MhZ dual core box with 4GB of memory, it's definitely no biggie (the complete list shown in Task Manager doesnt reach 25 running processes)

I don't have Wine installed because I'm kind of paranoid and I'm afraid that having an application capable of running most Windows software on my Linux system, it would make it possible for (at least some) malware to happily run under Wine. SO, when I need Wine (e.g. to build or edit missions on FMB) i apt-get install wine, then do all I want to do, and finally apt-get remove wine. Just 2 extra command lines that help me feel better (like the probably useless antivirus)

And I stop it here, before I write another treaty about how awesome Linux is and how much Windows sucks (guess you all know that already)

A better Windows emulator for Linux? Better than Wine? Wine works pretty well except for 3d graphics, but who needs 3d graphics in a Windows emulator for Linux? Running Windows games in Wine/Linux you get bad looks and bad performance in exchange for the satisfaction of being able to run your game under Linux. Not a great deal imho.

I said that before and I'll keep saying it: dual boot!
Installing a dual boot is easy, these days: just make a partition for Windows and one for your games, install Windows in its dedicated 10GB partition and install games in their dedicated partition (I run IL2 only, and a 20GB games partition is more than enough. For more games you need a bigger games partition). Now your Windows system reads the Windows partition as C: and the games partition as D:, and the rest of your HDD is free space (unpartitioned). Now install Linux. If you can't set up a dual boot manually, go for Ubuntu and it will set it up for you automatically. Install Linux in the free space, and you're done. At every startup the system will ask you what OS you want to boot. Select Windows or Linix using the arrow keys, and hit enter to boot.
THIS is the way to use Linux and also play games. WinXP as a dedicated gaming OS.

Also, if more Linuxers made their voice heard, software companies would probably start releasing Linux versions of their games. That would be great. If BoB came in both Windows and Linux version, I would probabaly give the Linux version a try, but as long as games only come in Windows version, running them in emulators under Linux (or Mac, BSD, whatever) gives you sucky performance and sucky looks. Dual boot instead. Set up your dedicated gaming-only WinXP and tweak it for best gaming experience. When you're done playing, reboot into Linux and do all the non-gaming stuff. (and in the meantime, keep telling software companies that we want Linux and Mac versions)

'Junkware', software, and alternate OSs

Posted: Wed Feb 04, 2009 6:53 am Post subject: Re: So virus scanners and spyware scanners are useless....
Yes, CPU affect processing time, not distro, but saying 'Gentoo = some of us want to use rather than compile....' he was refering to the way Gentoo works.
You have to compile your own kernel and the whole OS, and then compile every single app that you want to install. On one hand this kind of approach does teach you a lot about *nix systems, but I don't think that running Gentoo on my main desktop would be practical. I run all kind of distros on my spare boxes, just to have fun with them, but when it comes to main desktop there's only one possible solution, and that's also what I install for the few of my clients that let me talk them into doing 'Teh Switch'. I'm talking of course of Ubuntu, which is obviously not a real geek choice but it isn't supposed to either. It's about ease of use. Some need a main desktop that 'just works' (and a spare box to play with all kinds of distributions, of course Smile )
BTW, Gentoo should be outlawed because it contributes to global warming (all that compiling takes power)

Anyways, running our favorite game on Linux is not a good idea because there is no emulator good enough to make Il2 look as good as work as smoothy as it does on Windows. So even for us 'linuxers', the best choice is to dual boot Linux (main desktop) and Windows (dedicated gaming OS)
I run Windows myself for playing games (winXP x64)

Back to that malware problem, the point is that the bad stuff happened while 'facebooking' on Windows, that wouldnt happen if you ran games only on Windows, and everything else on Linux.
On the other hand, if the bad stuff happened when you installed a Facebook application, odds are that there's no Linux version for it, and therefore you may have to install an emulator to run it (Wine runs most Windows software on Linux), the problem is that some of those malware apps would probably run under Wine, and you'd need an antivirus. (OR, don't run that sh**, FFS!!!)

My solution:
Using Windows for games only, I can disable most of the stuff that runs in the background, e.g. services that may be exploited by malware; and I have the added bonus that I can brutally tweak Windows for best gaming performance without fear of interfering with other functions, because there are no other functions.

BUT
Even if you minimize your Windows use to basically games and nothing more, you still need an antivirus and a firewall.
I have disabled the stock Windows firewall and replaced it with Ghostwall, a nice LIGHT firewall that lets you manually set rules about what protocols to allow or block on what ports and what direction (inbound/outbound). No annoying 'Allow or Deny' questions and only ONE process running (as opposed to the tens of processes run by the most common 'security suites')

Antivirus: Avast Home Edition is free as in free beer and does the job. You download and install it, register with an e-mail address to the Avast website and you get a one-year license key. When the key expires, you can request a new one for free.

Also, here's some old news that someone may have missed: According to the opinion of a bunch of geeks that I know from IRC, the most popular Windows security applications are also the most sucky. They're popular because they;re good at marketing, not because their software is any good.
Yes, I'm talking mostly about Norton and Zone Alarm, but also PCcillin, McAfee, and all those overblown, intrusive, annoying, and 99% useless security apps.

Registry cleaners are a nice thing, but the best way to keep your registry clean is NOT to install lots of software. The fewer apps you use on Windows, the better. Don't install programs because they're cool; only install what you actually need and only if you can't possibly skip them. And no, 'online applications' are not a good idea. Use light apps instead of mainstream ones (One example for all, Foxit instead of Adobe reader)

I use the registry cleaner that comes with CCleaner, and sometime RegSeeker when I need to search the registry. RegSeeker features a very good registry cleaning option, but it's actually too good, you may end up deleting too many entries. The solution is to run the cleaning several times deleting only one kind of entries each time, and backing up the registry before doing so. Reboot after every run, and when Windows starts acting funny, restore the lastest backup (both backup and restore options are available in RegSeeker)