Archive for the ‘ATI’ Category

Script to install NVIDIA drivers on Linux

Saturday, July 16th, 2011

If you ever struggled with the installation of the NVIDIA drivers on Linux (or Debian using this) then you should definitely check this out!

Really interesting, simple and useful script to install proper NVIDIA drivers on your Linux box.

http://smxi.org/docs/sgfxi-manual.htm

Simply run:

cd /usr/local/bin && wget -Nc smxi.org/sgfxi && chmod +x sgfxi && sgfxi

as root user (or with sudo) and the script will automatically decide which version to install and will set up the xorg.conf file for you. It also works with other graphics cards manufacturers.

watch-movies: TV-Out & Display manager

Wednesday, June 25th, 2008

Continuing with my need of watching movies on my TV using my notebook and Ubuntu easily, I developed this mini-app in Python to turn on/off the TV output and the LCD display.

watch-movie.tar.gz

I hope you find this useful.

Note: you need python-gtk installed on your Ubuntu box.

ATI M6 LY TV-Out with (X)(K)(U)buntu Gutsy and xrandr.

Saturday, January 12th, 2008

I finally got my tv-out working on Xubuntu, I had already made it work but I re-installed my OS and did not remember what I did, so I had to start from scratch.

Just follow these steps to make it work:

Note:  output, set and off options are precedeed with two hyphens (i.e. – - output). I don’t know why, in this post, it seems like they have just one.

1) Plug your TV output to your TV.

2) Run the following command on a terminal window:

xrandr –output S-video –set load_detection 1

This will scan and detect the TV connection. If you run:

xrandr -q

it will return something like this:

Screen 0: minimum 320 x 200, current 1024 x 768, maximum 1024 x 1024
VGA-0 disconnected (normal left inverted right)
LVDS connected 1024×768+0+0 (normal left inverted right) 0mm x 0mm
1024×768 60.0*+ 60.0
800×600 60.3
640×480 59.9
S-video connected (normal left inverted right)
800×600 59.9 + 60.3

If you look at the last two lines you will see that the TV (named S-video) is “connected”. If you see that you S-video output is “disconnected”, try rebooting your computer leaving the TV cable plugged. After reboot, repeat this step in order to ensure that the TV has been detected.

3) This video card only supports 800×600 for the S-video output and 1024×768 for the monitor. So to avoid resolution problems (this means seeing the entire desktop on your TV), change the resolution to 800×600, before turning the TV output on:

xrandr -s 800×600

4) Now that you have the proper resolution, you can turn the TV output on. Just run the following command:

xrandr –output S-video –auto

You should see your desktop on your TV now!

Here is a list of other useful commands.

Turn off TV output: xrandr –output S-video –off

Turn monitor off (I do this when I see movies): xrandr –output lvds –off

Turn monitor on: xrandr –output lvds –auto

Turn resolution back to 1024×768: xrandr -s 1024×768

Hope this helps!