Showing posts with label Ubuntu. Show all posts
Showing posts with label Ubuntu. Show all posts

2015-10-10

Update Linux Kernel on Mint or Ubuntu


for upgrade you need three packages, depending on you architecture:

linux-headers ... ... ... amd64.deb
linux-headers ... ... ... all.deb
linux-image   ... ... ... amd64.deb

if you use Ubuntu based Linux distro, you can pick one of these: 


for example:

$ sudo update-grub


If for some reason you want to downgrade the kernel, it loads the newest kernel by default, so just uninstall new one (three packages that I mentioned) and it will load second on the list after reboot. Make sure you have at least one kernel installed! :)




2015-01-17

Linux Mint 17 on Laptop Acer Aspire-E5-571G PART2

Linux Mint 17 on Laptop Acer Aspire-E5-571G PART1
  • Nvidia driver

I added this PPA
https://launchpad.net/~xorg-edgers/+archive/ubuntu/ppa
And install Nvidia-343 driver
I find out that prismusrun is alternative to optirun
  • Avoiding Video tearing while watching 60 fps video

VLC useless
Mplayer works only with Intel vaapi
$ export VDPAU_DRIVER=va_gl &&  mplayer -cache 8192 file.mkv 
XBMC kodi can use both Nvidia or Intel vaapi (default)
$ prismusrun kodi
$ kodi
Totem works with Nvidia
$ prismusrun totem
  • Gaming

I Instaled Wine1.7 and using prismus StartCraft II works!
$ prismusrun wine /path/to/StarCraft-II-Setup-enGB.exe
  • Resource

http://askubuntu.com/questions/305305/running-xbmc-on-bumblebee-nvidia
http://ubuntuforums.org/showthread.php?t=2121749
  • Note

Hard drive on this laptop is large 1TB, but not very fast. Thats why mplayer better works with bigger cache option. I came to conclusion that most of the lag is hard drive retailed. So I made a few more settings. Set swappiness to 1 (how to) ant added "noatime" to FSTAB.


2013-04-16

Favorite Linux applications


Video Player: mplayer
               without skin 

Media Center: xbmc  (PC video on TV)
            This is the reason for baying HTPC not a player with embedded software inside...

Music Player: deadbeef
         Preferred  lossless audio (flac)

Mail Client: gnome evolution mail
          on Debian works better then on Mint or Ubuntu

Internet Browser: Firefox

Text Editor: Medit
          For those how like notepad++ on Windows, I think, Medit is the best choice on Linux

Torrent Client: Deluge

Calculator: Galculator
         for hex to bin & dec to hex ...


Disk & Partition Tools: Gnome disk utility
        Debian squeeze version only (bad update for Ubuntu or Mint)


Home server: lighttpd,proftpd


Communication: skype 2.2.0.35 beta
        I gonna use skype until this version works (updates not welcome!)
        Now tying to find free & so-so working voip client, no success jet.

USB Boot disk creator: unetboot

Development: Qt-SDK, Codelite-IDE





2013-01-24

UBUNTU VS MINT!

I use Debian squeeze by default.
Form time to time I search for brand new Linux distro with latest packege versions,
for Multimedia or gameing (using wine).

Ubuntu is closest to Debian cause it's Debian underneath!
There is a lot of good things on Ubuntu... 
Bud I rely struggle with Ubuntu... I did not like new Gnome style, it's clearly made for touch screens.
I use simple Desktop PC so I don't need that.
I tried to use "Ubuntu classic (no effects)" - my opinion: it's broken! 
Nautilus on sartup thinking too much...
Auto login is non functional yet... 
Somehow disappearing notification area...
Even on default apprentice of Ubuntu - a lot of buggy Gnome configuration...

Recently i got tip from a Friend - "Try Linux Mint"!
Mint is Ubuntu underneath... Repositories are the same...
Bud the result is amazingly different!!!
Performance is great! Strangely it's much faster than Ubuntu!
I came to conclusion, that the graphical interface is what dragged down Ubuntu...

There is all types of graphical interfaces for LINUX MINT.
I tied two of them (GNOME based MATE and KDE), both works amazing!

So I switching from UBUNTU to MINT!






http://www.linuxmint.com/

For a server I stay with Debian squeeze! :)



http://www.debian.org/


2013-01-12

StarCraft II: Wings of Liberty on Ubuntu **UPDATED**





Installation (How to):
StarCraft II: Wings of Liberty on Ubuntu



I am very Happy to Post This!!!


Performance Issue resolved on Ubuntu!

I did update, and now it is:

Ubuntu 12.10
Wine version: 1.5.20

Linux P5QCUbuntu64 3.5.0-17-generic #28-Ubuntu SMP Tue Oct 9 19:31:23 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux


Nvidia:



In my frost post I dod not write the version of Nvidia driver, I believe it also updated so as Nvidia Settings Tool , cause in the previous version I do not remember option "Prefer Maximum Performance" (Pict. below). I definitely
recommend to set this before starting the game!




I set Game Graphics on Medium!



I really enjoy the Game!
Comparing performance it my some difference with Windows XP. Windows may perform slightly better.... Bud I don't care! Now on Ubuntu + Wine it's good enough!
By by Windows!!!


     




2012-10-24

StarCraft II: Wings of Liberty on Ubuntu

Hardware:

   Intel Core 2 Duo CPU E7500 @ 2.93 GHz x 2
   RAM  8 GB
   GeForce GT 630 PCI-E 2.0  2048MB

OS:

    Ubuntu amd64 12.10  Kernel Linux 3.5.0-17-generic
    Gnome 3.6.0


Back to simple panel Desktop meniu:
sudo apt-get install gnome-panel
Before login, click circle and select "Gnome Classic , No effects"

Set custom time format for the clock in the right top corner,
 Default is just not right!
gsettings set com.canonical.indicator.datetime time-format custom
gsettings set com.canonical.indicator.datetime custom-time-format "%Y-%m-%d  %A <b>%H:%M</b>"


Install Nvidia driver:

Nvidia module should be build during installation, so it needs:

sudo apt-get linux-source-3.5.0
sudo apt-get linux-headers-3.5.0-17-generic
sudo apt-get build-essential

If this part is skipped (install driver without building tools), it result (poor resolution) and nevidia-settings:




sudo apt-add-repository ppa:ubuntu-x-swat/x-updates
sudo apt-get update
sudo apt-get install nvidia-current


Install wine:
sudo apt-add-repository ppa:ubuntu-wine/ppa
sudo apt-get update
sudo apt-get install wine
(wine-1.5.15)

Set graphic memory size, to prevent, related crashes:

run regedit
got to
 HKEY_CURRENT_USERS create a "Direct3D" key under "HKEY_CURRENT_USER/Software/Wine".
 Within "Direct3D", create a string value "VideoMemorySize" and set the value, in my case 2048 (2 gb)

And Now! The Most Important part Install StarCraft-II-Setup-enGB.exe :)


Summary:

Unfortunately It not perform as well as I would want...
At the beginning of the game it works almost perfect, problem begins at the fight moments!
Generally You can not properly organize Your army during The fight, cause the view is freezing.
I like everything else on Linux better, bud for this game a have to use Windows XP .
From time to time I will check performance with software updates...
The day when the Issue will be resolved, it will be the same day when Windows XP no longer on my PC... =)
P.S. graphics settings on both systems was equal 

StarCraft II: Wings of Liberty on Ubuntu **UPDATED**


Terran techtree...