Monday, March 4, 2013

Fix Low Resolution on Boot/Splash Screen with nVidia driver (Ubuntu 12.04.2 / 12.04.3 / 12.04.4 / 13.04 / 14.04 / Mint 15)

I currently use Ubuntu 13.04 64bit, but it worked fine with 12.04.2 64bit, 12.04.3 64bit, 13.04 32bit and Mint 15 64bit ( ** additional tasks should be done with 12.04.4 64bit and nVidia 331.20 and with 14.04 64bit and nVidia 331.38)

Easiest way to solve this problem is to:

1. check supported resolutions is by typing in terminal
sudo apt-get install hwinfo
after that you type
sudo hwinfo --framebuffer
(hwinfo package does not exist in 14.04, you can use resolutions:

GRUB_GFXMODE=1280x1024        # is best solution for 4:3 displays
GRUB_GFXMODE=1280x1024x32  # this one works best for me at the moment
GRUB_GFXMODE=1280x800          # is good solution for 16:9 and 16:10 displays )

2. in terminal type
sudo gedit /etc/default/grub

find these lines
...

# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480
...

change it to look like this

...
# you can see them in real GRUB with the command `vbeinfo'
GRUB_GFXMODE=1280x1024
GRUB_GFXPAYLOAD_LINUX=keep
...

close gedit and save changes
after that type in terminal
sudo update-grub

3. after next reboot the boot/splash screen should be with some better resolution


GRUB_GFXMODE=1280x1024   # is best solution for 4:3 displays
GRUB_GFXMODE=1280x800     # is good solution for 16:9 and 16:10 displays

**  additional tasks with 12.04.4 64bit and nVidia 331.20 and with 14.04 64bit and nVidia 331.38

create/edit file /etc/initramfs-tools/conf.d/splash
add one line in /etc/initramfs-tools/conf.d/splash
FRAMEBUFFER=y
save file and execute both
sudo update-initramfs -u
sudo update-grub2

Adobe Flash and Steam for Linux (Ubuntu 12.04.2 64bit)


I'm using Ubuntu 12.04.2 x64

first of all
1. after OS install check and install all official updates
2. if you have nVidia based GPU activate "NVIDIA accelerated graphics driver (**experimental** beta) (version experimental-310)" in "Additional Drivers" application which can be easily found with ubuntu dash (12.04 versions only, for 12.10 it's a bit different)
3. reboot
4. open terminal and type:
wget http://repo.steampowered.com/steam/signature.gpg && sudo apt-key add signature.gpg
5. also type:
sudo gedit /etc/apt/sources.list
at the end of file add two lines:
## steam
deb http://repo.steampowered.com/steam/ precise steam

save the file and close gedit
6. in terminal type:
sudo apt-get update
sudo apt-get install steam

if u get some dependency error mentioning libgl... (this comes with early version of ubuntu 12.04.2 x64)
type:
sudo apt-get install libgl1-mesa-dri
and after that you should be able to install steam
sudo apt-get install steam

after installing steam start it from desktop or from ubuntu dash
it will start some download from repo
after that you will be prompted to type steam username and pass.
7. after successful loging in steam quit steam application

8. download latest 32-bit tar.gz package of adobe flash for linux from adobe official download location

9. extract only one file from tar.gz
libflashplayer.so
copy it to
/home/<username>/.steam/steam/ubuntu12_32/plugins/

<username> is your home directory

10. start steam again and you should have videos in steam store.
if you have some problem with sound in steam store first check if these videos are muted if its not you will have to quit steam again and in terminal type:
sudo apt-get install libasound2-plugins:i386

11. start steam again and you should have videos with sound in steam store.

hope this will help anyone :)