Page 1 of 6 123 ... LastLast
Results 1 to 10 of 52

Thread: HOWTO: install drivers and set up widescreen res. with Intel 945 vga card and Ubuntu

  1. #1
    Join Date
    Dec 2006
    Beans
    Hidden!

    Post HOWTO: install drivers and set up widescreen res. with Intel 945 vga card and Ubuntu

    I searched the internet for two whole days in order to get together the information needed to install the drivers for my Intel 945GM graphics card in my laptop, and so I thought I should post a guide just for the case somebody else has the same problem

    This guide has been written by my own and has only been tested on my Fujitsu Siemens Amilo Pi1505 laptop with Ubuntu, so I cannot guarantee that it works always. (although I don't know why it shouldn't work on other laptops with the same vga card )
    The guide has 2 parts. 1. Install the drivers. 2. Set up the resolution
    The second part doesn't depend on the first, so you can do the second part even if you didn't do the first part, and also if you have another graphics card.

    If you intend to install the latest 64bit version of Ubuntu edgy:
    Don't follow this guide. I've recently installed 64 bit Ubuntu and the driver was already installed. I just had to add the videoram section in the xorg.conf file. Search this guide to see how to do this.

    1. Install the drivers.
    There's an explanation on how to install the drivers at
    http://yogharp.wordpress.com/2006/12...lcd-notebooks/
    I followed the guide there (and the instructions following are based on the guide there), but the author says that the widescreen resolution will work immediately after installing the drivers, which was not true for my laptop.

    -download the driver package for SuSE Linux from
    http://downloadmirror.intel.com/df-s...51209.i386.rpm

    -install the alien package from the Ubuntu CD/DVD or from the web via the Synaptic Package Manager

    -as su (or via sudo), do
    Code:
    alien dri-Intel-3.4.3006-20051209.i386.rpm
    what you get is a converted .deb-package, which can be easily installed with dpkg

    -install the package: again, as su, do
    Code:
    dpkg -i dri-Intel-3.4.3006-20051209.i386.deb
    -the drivers are now installed, so all you have to do now is to put them into the xorg.conf file:
    as su, edit
    Code:
    /etc/X11/xorg.conf
    , and search for the
    Code:
    [device]
    -section, where your graphics card is described. now change the
    Code:
    Driver
    from
    Code:
    vesa
    to
    Code:
    i810
    Hint: On my laptop, which is able to give the vga card up to 128MB of memory as video RAM, Ubuntu only gives 12MB away (you can see this in /var/log/Xorg.0.log). To give the vga card its 128MB memory, add this line to the end of the "Device"-section where you changed the driver:
    Code:
    VideoRam        131072
    Now if you reboot and look at the /var/log/Xorg.0.log file, you should see something like:
    Code:
    (II) I810(0): BIOS now sees 12288 kB VideoRAM
    (--) I810(0): Pre-allocated VideoRAM: 7932 kByte
    (**) I810(0): VideoRAM: 131072 kByte
    [...]
    (--) I810(0): Maximum frambuffer space: 130904 kByte
    That's it, you finished installing the drivers! Reboot or just restart the X server (logout and Ctrl-Alt-Backspace) to check if it works.
    If it doesn't work or if you wanna undo everything you just did, do the following:
    as su, do dpkg -r dri-Intel
    as su, change the Driver in the device-section of your /etc/X11/xorg.conf file back to vesa (or whatever was there before you changed it to i810) and remove the videoram line

    2. Set the widescreen resolution
    There's a tool called 915resolution, which hacks the vga BIOS to change the available resolutions. The changes are only temporary (until you reboot) and so there's no risk of messing up your card.

    News: I've noticed, that there is a 915resolution package in the synaptics package manager (at least if you have all available sources activated, like universe and multiverse). Thus, you don't need to download 915resolution by yourself. You can just install it with apt-get or the synaptics package manager.

    -download 915resolution for Debian:
    http://www.freshnet.org/debian/hoary...0.5-2_i386.deb

    -as su, do
    Code:
    dpkg -i 915resolution_0.5-2_i386.deb
    you now have 915resolution installed

    -again, as su, do
    Code:
    915resolution -l
    to list the modes of your graphics card

    -choose a mode (i recommend the highest resolution, since your laptop screen will probably be unable to use that resolution at all) and set the resolution to the resolution of your choice with
    Code:
    915resolution <mode> <width> <height>
    , for example
    Code:
    915resolution 54 1280 800
    to set mode 54 to 1280x800

    -now that your vga card has the mode (for this session), you need to tell X that your monitor supports that mode, too. So you have to add a "Modeline" to your /etc/X11/xorg.conf file.

    -generate a Modeline for the desired resolution and frequency, for example with the program xorg-edit, or somehow else.
    If you use xorg-edit, don't edit your xorg.conf with it! It just messes everything up by setting your keyboard layout to
    Code:
    us
    and such things! just generate the modeline and quit without saving!

    -insert the Modeline into your /etc/X11/xorg.conf file:
    as su, edit
    Code:
    /etc/X11/xorg.conf
    in your
    Code:
    [Monitor]
    section, add the Modeline to the end of the section. My Monitor section, for example, looks like this now:

    Code:
    Section "Monitor"
            Identifier      "Generic Monitor"
            Option          "DPMS"
            HorizSync       28-64
            VertRefresh     43-60
            Modeline "1280x800" 83.46 1280 1344 1480 1680 800 801 804 828 -HSync +Vsync
    EndSection
    -basically, you're done. The problem is, that after a reboot, your video BIOS is resetted, and you have to execute 915resolution again. Fortunately, 915resolution provides startup scripts (in /etc/rc*.d). Unfortunately, they are at the wrong place there.
    So, if you want 915resolution to be executed each time you boot Ubuntu and BEFORE gdm is started, you have to do as follows:

    -first, remove the old scripts from the rc*.d directories:
    as su, do
    Code:
    update-rc.d 915resolution remove
    then, insert the scripts before gdm:
    usually, Ubuntu goes to runlevel 2 and gdm is started by
    Code:
    /etc/rc2.d/S13gdm
    so if you want 915resolution to start before gdm:
    as su, do
    Code:
    update-rc.d 915resolution defaults 12
    you can check if you've done it correctly by looking into
    Code:
    /etc/rc2.d
    if there's a file called
    Code:
    S12915resolution
    , everything is fine. If not, go through the steps again and try to find the problem

    -now the last thing you have to do is to tell the script what resolution to add to the video BIOS:
    as su, edit
    Code:
    /etc/default/915resolution
    and insert the values you want 915resolution to set.

    The next time you start your laptop, you should have the desired resolution.

    Oh, and while we're at it:
    If you boot without a splash screen (so if you have the text scrolling while Ubuntu boots up:
    you may want to set the vga mode to a useful value in grub's menu.lst
    as su, edit
    Code:
    /boot/grub/menu.lst
    and in the first line starting with
    Code:
    kernel     /boot/vmlinuz........
    , append:
    Code:
    vga=771
    This makes the text look nice, but it doesn't work with a splash screen! (at least it didn't work for me, but I hate the splash screen anyway )


    Beware! I am new to Ubuntu and I'm no Linux expert, so if you have problems, I might not be able to help you! Feel free to ask, though.
    Last edited by J.Vega; February 15th, 2007 at 03:06 PM. Reason: added 64-bit hint at the beginning, videoram section and 915resolution package hint

  2. #2
    Join Date
    Dec 2006
    Beans
    3

    Re: HOWTO: install drivers and set up widescreen res. with Intel 945 vga card and Ubu

    Thank you so much! This worked perfectly, and started up as soon as I booted. I love not having a smudgy display anymore.

  3. #3
    Join Date
    Dec 2006
    Beans
    Hidden!

    Re: HOWTO: install drivers and set up widescreen res. with Intel 945 vga card and Ubu

    I added a small piece of text for the ones that don't use a splash screen while booting and want the text to be displayed as nice as possible

  4. #4
    Join Date
    Nov 2005
    Location
    Finland, Oulu
    Beans
    1,501
    Distro
    Ubuntu 9.10 Karmic Koala

    Smile Re: HOWTO: install drivers and set up widescreen res. with Intel 945 vga card and Ubu

    I have everything setup the way you have said... but I don't think I can log out and back in again without losing the resolution.
    It keeps jumping back to my old resolution 1024x768 when I logout or jump to the console and back again.
    I understand the resolution with the console and back, no wide screen is supported in console mode so the resolutions could get scrambled.
    But what about the login screen. Is there a way to have it run a resolution script to reset it when ever my session is closed. Or perhaps when I press cntrl alt backspace I could configure that to run the script and then start gdm again. Hmmm...
    Any ideas on that?
    Have you noticed your resolution changes after logging out?
    Like my avatar? Help us make more and your own! http://launchpad.net/memaker
    Book of Mormon-MP3 or BOOK
    "Microsoft is open-source friendly in the same way that a butcher is friendly to a cow." -- This Guy

  5. #5
    Join Date
    Oct 2006
    Location
    Portugal - Coimbra
    Beans
    52
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: HOWTO: install drivers and set up widescreen res. with Intel 945 vga card and Ubu

    Code:
    Go to the folder where u put the rpm file then do the alien :D :
    #sudo alien dri-Intel-3.4.3006-20051209.i386.rpm
    gives the error:
    Code:
    qaz@blue:~/Desktop$ sudo alien dri-Intel-3.4.3006-20051209.i386.rpm
    sudo: alien: command not found
    what's the problem ???

  6. #6
    Join Date
    May 2005
    Location
    Portugal
    Beans
    33
    Distro
    The Feisty Fawn Testing

    Re: HOWTO: install drivers and set up widescreen res. with Intel 945 vga card and Ubu

    You need to install alien

    sudo apt-get install alien
    Just keep on moving
    Ubuntu Guide PT

  7. #7
    Join Date
    Oct 2006
    Location
    Portugal - Coimbra
    Beans
    52
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: HOWTO: install drivers and set up widescreen res. with Intel 945 vga card and Ubu

    Thanks... it's my first day !!
    already installed!

    another problem:
    Code:
    Go to the folder where u put the rpm file then do the alien :D :
    #sudo alien dri-Intel-3.4.3006-20051209.i386.rpm
    this ouput:
    Code:
    qaz@blue:~/Desktop$ sudo alien dri-Intel-3.4.3006-20051209.i386.rpm
    Warning: Skipping conversion of scripts in package dri-Intel: postinst prerm
    Warning: Use the --scripts parameter to include the scripts.
    dri-intel_3.4.3006-20051210_i386.deb generated
    then:
    Code:
    qaz@blue:~/Desktop$ sudo dpkg -i dri-Intel-3.4.3006-20051209.i386.deb
    dpkg: erro processando dri-Intel-3.4.3006-20051209.i386.deb (--install):
     não pode aceder ao arquivo: Arquivo ou diretório inexistente
    Foram encontrados erros enquanto processava:
     dri-Intel-3.4.3006-20051209.i386.deb
    qaz@blue:~/Desktop$
    "Skipping conversion of scripts in package dri-Intel: postinst prerm" ???
    what's the problem?

  8. #8
    Join Date
    Dec 2006
    Beans
    Hidden!

    Re: HOWTO: install drivers and set up widescreen res. with Intel 945 vga card and Ubu

    encompass: sorry, but I can't reconstruct the problem. When I log out and or kill the X server, my resolution remains unchanged. Are you sure you have 915resolution and not the old 815resolution? Do you run 915resolution via the scripts in rc*.d? and do they have the correct number? (i.e. 12, so at least 1 before gdm in Ubuntu edgy)
    I can't find a reason why your X behaves like that...
    Or does your VGA card reset the BIOS when you change the tty or log out?
    Maybe you can try
    sudo 915resolution -l
    to see if the modes were resettet during the logout/console switch

    uterrorista:
    if my Spanish hasn't completely left me, it says that it can't find the file dri-intel.....deb
    make sure it's there (in the directory you're in), and maybe try this alien --scripts it suggested.
    I suppose something went wrong during the "alienation" and the .deb file wasn't created at all.

  9. #9
    Join Date
    Jan 2007
    Beans
    33

    Re: HOWTO: install drivers and set up widescreen res. with Intel 945 vga card and Ubu

    It seems like you're just typing the wrong .deb filename. You can try command completion using the Tab key - type "sudo dpkg -i dri<Tab>" and it should complete the filename for you if it's in that directory.

    Good luck!
    -Val

  10. #10
    Join Date
    Oct 2006
    Location
    Portugal - Coimbra
    Beans
    52
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: HOWTO: install drivers and set up widescreen res. with Intel 945 vga card and Ubu

    i already solved the problem. i followed other tutorial. thanks anyway

Page 1 of 6 123 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •