Subscribe: Comments on Ubuntu Linux Tips & Tricks: Having issues with an i945 & Compiz on Hardy?
http://ubuntulinuxtipstricks.blogspot.com/feeds/298057628029370912/comments/default
Added By: Feedage Forager Feedage Grade B rated
Language: English
Tags:
>pci device  >pci  awk  define dev  define  dev >pci  dev dev  dev  device  drivers  hardy  intel  jschroeder tmp  script  sed 
Rate this Feed
Rate this feedRate this feedRate this feedRate this feedRate this feed
Rate this feed 1 starRate this feed 2 starRate this feed 3 starRate this feed 4 starRate this feed 5 star

Comments (0)

Feed Details and Statistics Feed Statistics
Preview: Comments on Ubuntu Linux Tips & Tricks: Having issues with an i945 & Compiz on Hardy?

Comments on Ubuntu Linux Tips & Tricks: Having issues with an i945 & Compiz on Hardy?





Updated: 2014-05-12T00:39:47.890-04:00

 



i810 is not the default in Hardy. In both Gutsy a...

2008-07-10T10:02:00.000-04:00

i810 is not the default in Hardy. In both Gutsy and Hardy, intel is the default. If yours was using i810, it's because you had your xorg.conf set for i810 back in Feisty or earlier and you've just been upgrading. On a fresh install, it would've been intel. I manually switched to the intel driver in Gutsy to get the advantages of the intel driver (like having a resolution above 1024x768 without using 915resolution)



hey mackenzienifty script.i tried ur script. it sa...

2008-07-10T05:30:00.000-04:00

hey mackenzie

nifty script.

i tried ur script. it said my i945 h/w wouldn't create any issues but it still was freezing on compiz.

turns out this is a problem with the i810 drivers which come with hardy by default.

in my case because the i810 drivers were present, it was using them instead of the intel drivers.

so i did a sudo apt-get remove xserver-xorg-video-i810

the problem was solved!! :)



This is an old post. That script is just for the ...

2008-06-30T15:03:00.000-04:00

This is an old post. That script is just for the -16 kernel. A working -17 was in someone's PPA (mentioned in a later post), and -19 (which was in the Proposed official repo a couple weeks ago and might be standard now) has it fixed. Just install your updates if you've got the problematic version of 945.



HI, man I Tried to download your script but the li...

2008-06-30T14:59:00.000-04:00

HI, man I Tried to download your script but the link seems to be broken. I would like to try to fix the compiz with mY i945. Can you upload again the link please.

tHx



oh no !!it seems that i don't need ur script:resul...

2008-04-30T17:35:00.000-04:00

oh no !!
it seems that i don't need ur script:
result of ur command
lspci -vn | awk '/VGA/{ print $3 }'

----
8086:27a2



Guebre, can you run this in a terminal?lspci -vn |...

2008-04-30T17:12:00.000-04:00

Guebre, can you run this in a terminal?
lspci -vn | awk '/VGA/{ print $3 }'

What's the output? Is it
8086:27ae

If so, you need this script.



hi all!can't enable visual effects with a intel 95...

2008-04-30T16:49:00.000-04:00

hi all!
can't enable visual effects with a intel 950 GMA on a vaio (fresh hardy) ..
any idea ?
thanks alot



Thanks! Awk apparently has more magic than I thou...

2008-04-30T09:14:00.000-04:00

Thanks! Awk apparently has more magic than I thought it did O_O And thanks for the tip on sed thinking its a backup. I just edited it to match the changes you suggested.



grep + awk are redundant, use awk '/pattern/{comma...

2008-04-30T09:06:00.000-04:00

grep + awk are redundant, use awk '/pattern/{commands}'.

Also... gnu sed supports -i, but anything immediately following -i becomes the backup file. This leaves you with files like:
drivers/char/drm/i915_drv.he. Here is an example:
jeff@jschroeder2:/tmp$ ls file*
ls: cannot access file*: No such file or directory
jeff@jschroeder2:/tmp$ echo foobarbaz > file
jeff@jschroeder2:/tmp$ sed -ie 's/bar/bunny/' file
jeff@jschroeder2:/tmp$ ls file*
file filee
jeff@jschroeder2:/tmp$

You might also look into creating a temp directory using mktemp instead of mkdir -p ~/src. Just a thought.

Try this patch if blogger doesn't shred it too badly


--- 945correct.sh 2008-04-30 05:59:04.000000000 -0700
+++ 945correct.sh.new 2008-04-30 06:01:01.000000000 -0700
@@ -16,7 +16,7 @@
echo "5. Install the kernel"

# Check to see if they have an i945GME
-VGADEV=$(lspci -vn | grep VGA | awk '{ print $3 }')
+VGADEV=$(lspci -vn | awk '/VGA/{ print $3 }')
if [ "$VGADEV" != "8086:27ae" ]
then
echo "You don't need this. Exiting."
@@ -55,10 +55,10 @@
# -#define IS_I945GM(dev) ((dev)->pci_device == 0x27A2)
# +#define IS_I945GM(dev) ((dev)->pci_device == 0x27A2 ||\
# + (dev)->pci_device == 0x27AE)
-sed -ie 's/#define IS_I945GM(dev) ((dev)->pci_device == 0x27A2)/#define IS_I945GM(dev) ((dev)->pci_device == 0x27A2 || \\ \n (dev)->pci_device == 0x27AE)/' drivers/char/drm/i915_drv.h
+sed -i -e 's/#define IS_I945GM(dev) ((dev)->pci_device == 0x27A2)/#define IS_I945GM(dev) ((dev)->pci_device == 0x27A2 || \\ \n (dev)->pci_device == 0x27AE)/' drivers/char/drm/i915_drv.h

# bump version so update manager isn't confused
-sed -ie '1ilinux (2.6.24-16.30+1) hardy; urgency=low\n\n * Make kernel aware that pci device 0x27AE is Intel i945GME\n\n -- Mackenzie Morgan maco.m@ubuntu.com Tue, 29 Apr 2008 15:48:34 -0400\n' debian/changelog
+sed -i -e '1ilinux (2.6.24-16.30+1) hardy; urgency=low\n\n * Make kernel aware that pci device 0x27AE is Intel i945GME\n\n -- Mackenzie Morgan maco.m@ubuntu.com Tue, 29 Apr 2008 15:48:34 -0400\n' debian/changelog