PDA

View Full Version : [ubuntu] installing xserver-xorg-video-intel



willow370
May 13th, 2009, 04:32 AM
hi all, im new to these parts, just installed the new ubunto and im having trouble with the intel graphics drivers, now i am aware that they are blacklisted but i think i might have it with these drivers, though as an ultra noob at linux, i dont know how to isntall this thing.

the file i have is

xserver-xorg-video-intel_2.7.0.orig.tar.gz

probably the easiest of tasks but i dont know it lol, so if someone can give me a hand that would be super!

cheers

tommcd
May 13th, 2009, 06:31 AM
The xserver-xorg-video-intel driver is already installed by default. Open a terminal (applications > accessories > terminal) and run:

aptitude search xserver-xorg-video-intel
You will see the xserver-xorg-video-intel with an "i" in front of it. The "i" means installed. If it were not installed there would be a "p" in front of it.
There is a bit of a problem with the intel drivers in Jaunty:
http://www.phoronix.com/scan.php?page=article&item=ubuntu_904_intel&num=1
As far as I know, this will only bother you if you use compiz. I don't use compiz, and I have composite disabled, and I have no problems with the intel 945GM graphcs on my laptop.

What problems are you having, if any?
For graphics problems with intel drivers in Ubuntu Jaunty some people have had luck with using UXA:
https://wiki.ubuntu.com/X/UxaTesting

And welcome to the Ubuntu forums!

willow370
May 13th, 2009, 11:45 PM
thanks for the helpful reply, the problems im having are

slow scrolling of pages
unable to use the extra effects of the desktop


ok it says its installed
but the above problems still remain

cheers

tommcd
May 14th, 2009, 12:03 AM
What intel graphics do you have? Post the output of:

lspci | grep -i vga
Also post the output of:

cat /etc/X11/xorg.conf
Note: Your xorg.conf may be blank.

Your options are probably limited to:
1) Disable compiz and composite, then reboot and see if the problems go away.
2) Try the UXA option I linked to in my last post.
I would choose option 1.
To disable composite, put this at the bottom of your xorg.conf:


Section "Extensions"
Option "Composite" "Disable"
EndSection

If xorg.conf is blank then just put that in there. Then reboot.
Backup your xorg.conf before editing the file:

sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.bak

pro003
May 14th, 2009, 12:07 AM
sorry to bump in, but am pretty sure you have to add under section Module in your xorg.con file

Load "glx"
Load "dri"


in order to enable visual effects...

willow370
May 14th, 2009, 12:15 AM
1st
00:02.0 VGA compatible controller: intel Corporation Mobile GM965/GL960 Intergrated Graphics Controller (rev 03)
2nd
# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# Note that some configuration settings that could be done previously
# in this file, now are automatically configured by the server and settings
# here are ignored.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg
Section "Device"
Identifier "Configured Video Device"
EndSection
Section "Monitor"
Identifier "Configured Monitor"
EndSection
Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
EndSection





i dont know anything about editing config files so if u still think i need to can you give me a step by step thingo

cheers

willow370
May 14th, 2009, 01:02 AM
ok i dont use compiz or uxa i dont even know what it is.

and where is the config file and how do i edit it?

tommcd
May 14th, 2009, 01:06 AM
Try making these changes to xorg.conf:
First, open a terminal (applications > accessories > terminal) and backup your xorg.conf:

sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.bak
Then to edit xorg.conf run:

gksudo gedit /etc/X11/xorg.conf
This will open xorg.conf in the gedit text editor in a root session. Above the Section "Device" line in xorg.conf put this:


Section "Module"
Load "glx"
Load "dri"
EndSection

Then in the Device section, right after the line: Identifier "Configured Video Device", put this:

Driver "intel"
Then, at the bottom of the file put this:


Section "dri"
Mode 0666
EndSection

Leave a space after each EndSection line if there is not one already. Then reboot and see if this helps.
If things don't improve, or get worse, you can restore the original xorg.conf by running this in the terminal:

sudo cp /etc/X11/xorg.conf.bak /etc/X11xorg.conf
Then reboot.

willow370
May 14th, 2009, 01:22 AM
ok I am unable to backup the file because it requires a destination, in theory this is realy easy to work out but I realy don’t know what to type in to get it to work lol

tommcd
May 14th, 2009, 01:42 AM
ok I am unable to backup the file because it requires a destination, in theory this is realy easy to work out but I realy don’t know what to type in to get it to work lol
What did you do to attempt to backup the file? Post the exact command you used.
You should use the command I gave in my last 2 posts:

sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.bak
That is an uppercase X and the number 11 in /etc/X11/xorg.conf.

willow370
May 14th, 2009, 01:53 AM
i am using that exact code, and when i hit enter it just goes to the next line. it doesnt say backed up or anything

willow370
May 14th, 2009, 02:07 AM
ok I had a look in the X11 folder and found a xorg.conf file and a xorg.conf.bak file, im asuming these are the backed up files...

tommcd
May 14th, 2009, 02:29 AM
i am using that exact code, and when i hit enter it just goes to the next line. it doesnt say backed up or anything
That is the normal behavior. If there was a problem it would output an error.

tommcd
May 14th, 2009, 02:30 AM
ok I had a look in the X11 folder and found a xorg.conf file and a xorg.conf.bak file, im asuming these are the backed up files...
The xorg.conf is the file yor system is using. The xorg.conf.bak is the back up you created.
So try editing the file as I descrived in post #8 in this thread. Then reboot.

willow370
May 14th, 2009, 02:35 AM
ok I tried all the config edits, and I still cant change the desktop visual effects, so I might go try opensuse

thanks for your help

pluckypigeon
May 14th, 2009, 03:17 AM
ok I tried all the config edits, and I still cant change the desktop visual effects, so I might go try opensuse

thanks for your help

And so the Intel/Linux saga continues

](*,)

pro003
May 14th, 2009, 07:08 AM
1. Open the file /usr/bin/compiz with root permissions in a text editor
2. Go to the section “# blacklist based on the pci ids”
3. Add a # before the PCI ID of your graphics card (Commenting the line excludies it from processing)
4. Save, Close, Restart
5. Desktop RightClick>Change Desktop Background>Visual effects and choose your favourite mode.

How to find PCI ID of your card? Use the following command:


$lspci -nn | grep VGA

pluckypigeon
May 14th, 2009, 06:02 PM
1. Open the file /usr/bin/compiz with root permissions in a text editor
2. Go to the section “# blacklist based on the pci ids”
3. Add a # before the PCI ID of your graphics card (Commenting the line excludies it from processing)
4. Save, Close, Restart
5. Desktop RightClick>Change Desktop Background>Visual effects and choose your favourite mode.

How to find PCI ID of your card? Use the following command:


$lspci -nn | grep VGA

And then your computer will freeze