You are not logged in.

#1 2009-02-23 02:39:25

mutlu_inek
Member
From: all over the place
Registered: 2006-11-18
Posts: 676
Website

Pre-965 intel chipsets: user repository for old i810 and intel drivers

Edit 1: Warning: It seems that the packages provided in my repository do not work with 855GM and 915GM chipsets. karabaja4 has created a slightly different set of packages which work (for him) with the 915 chipset and uploaded them to a custom repository. To install his packages, have a look at the following post on page 2 of this thread: http://bbs.archlinux.org/viewtopic.php? … 10#p518210

Edit 2: The repo is down (but packages are still available, read on). I don't have adequate hosting to provide for it. If anyone has the space and bandwidth and would like to upload it, please let me know. The individual packages are still available on my site. You have to visit the website http://archlinux.freevar.com with a browser and download the packages individually. If you want to avoid that pacman upgrades the packages when you issue the command pacman -Syu, you need to download the repository database file to your computer and link to in it /etc/pacman.conf. for example, if your download it to your home directory, add the following entry to pacman.conf

[i810-repo]Server=file:///home/$USER/

Of course, this replaces the entry mentioned in "How to install the packages" below.

=============

Many here have noted the significant decrease of speed in direct rendering with pre-965 Intel chipsets. Over the last couple of months I have repeatedly experimented with beta- and git-versions of X, mesa and the intel drivers. However, I have never experienced anything even remotely similar to the direct rendering of the old i810 driver. Downgrading seems to be a somewhat broken way of deal with this issue, but I my hope for change in the near future has eroded. Surely, the new stack is conceptually superior and will eventually get where we once where, but why waste so much time on playing with unstable software, if it was working previously?

In any case, I have gotten my act together and created a repository with old packages. They work well on my system with an Intel 945G: I have ~1000 fps again. smile This should probably work about as well for any i810, GMA 900 and GMA 950 chipsets.

This is in the repo:

intel-dri 7.0.4
libdrm 2.3.0
libgl 7.0.4
libxfont 1.3.4
mesa 7.0.4
xf86-input-evdev 2.0.1
xf86-input-keyboard 1.2.2
xf86-video-i810 1.7.4
xf86-video-intel 2.3.2
xf86-video-vesa 1.3.0
xorg-server 1.4.2

The packages are largely identical to those use on Arch several months ago.


====================
How to install the packages
====================

I have created two package groups, "i810-repo" and "intel-repo," since the i810 and the intel drivers conflict. All packages belong to both groups, the drivers themselves, however, only to their respective group.

In both cases, you need to edit your /etc/pacman.conf and add

[i810-repo]
Server=http://archlinux.freevar.com/i810-repo/

as the first repository entry.

If you want to use the i810 driver, you also need to add xf86-video-intel to the IgnorePkg line (i.e. "IgnorePkg=xf86-video-intel").

Then, uninstall the xf86-video-intel driver, update the pacman database and install one of the package groups from the i810 repo. If you want i810, do

sudo pacman -R xf86-video-intel
sudo pacman -Sy
sudo pacman -S i810-repo

If you want intel, do

sudo pacman -R xf86-video-intel
sudo pacman -Sy
sudo pacman -S intel-repo

Then, add xorg-server to the IgnorePkg line (i.e. "IgnorePkg=xorg-server").

To go back to the Arch packages, delete the [i810-repo] entry and the xorg-server entry in the IgnorePkg line from /etc/pacman.conf. If you used the i810 driver, you also need to remove xf86-video-intel from the IgnorePkg line. Then, update your system. Make sure that all packages have been updated correctly, compare with the list given above; all should have newer version numbers after the upgrade. I had to manually upgrade libxfont xf86-input-evdev and xf86-video-intel.

Please keep in mind that the changes you made to xorg.conf during the past ca. 10 months, especially those from xaa to exa or uxa need to be reverted. Also, those changes made with regard to input hotplugging in xorg-server 1.5.x are not supported by Xorg 1.4. That means that you need to re-add the appropriate input devices to the ServerLayout Section and reintroduce an InputDevice Section for each of them.

For easy comparison, my xorg.conf looks like this; I use the i810 driver:

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
    Option         "AIGLX" "true"
EndSection

Section "Files"
    RgbPath      "/usr/share/X11/rgb"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/misc"
    FontPath     "/usr/share/fonts/75dpi"
    FontPath     "/usr/share/fonts/100dpi"
    FontPath     "/usr/share/fonts/TTF"
    FontPath     "/usr/share/fonts/Type1"
    FontPath     "/usr/local/share/fonts"
EndSection

Section "Module"
        Load  "bitmap"
        Load  "ddc"
        Load  "int10"
        Load  "vbe"
    Load  "xtrap"
    Load  "record"
    Load  "dri"
    Load  "dbe"
    Load  "extmod"
    Load  "glx"
    Load  "freetype"
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "kbd"
EndSection

Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "mouse"
    Option        "Protocol" "auto"
    Option        "Device" "/dev/input/mice"
    Option        "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
    Identifier   "Monitor0"
    Option         "DPMS"
EndSection

Section "Device"
    Identifier  "Card0"
    Driver      "i810"
        Option      "DRI"                    "true"
    Option      "XAANoOffscreenPixmaps"    "true"
        Option      "DevicePresence"            "true"
        Option      "CheckLid"                  "false"
    VendorName  "Intel Corporation"
    BoardName   "Mobile Integrated Graphics Controller"
    BusID       "PCI:0:2:0"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    DefaultDepth 24
    SubSection "Display"
        Viewport   0 0
        Depth     1
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     4
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     8
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     15
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     16
    EndSubSection
    SubSection "Display"
        Depth     24
    EndSubSection
EndSection

Section "DRI"
        Mode 0666
EndSection

Section "Extensions"
        Option "Composite" "Enable"
EndSection

If you try the packages, please give me some feedback on any issues you ran into, I would like any use of this repo to be as smooth an experience as possible.

Also, please keep in mind that, even if these packages do not break your system now, keeping a set of packages behind the rolling ecosystem that is Arch is not a good idea; things are bound to break at some point.

Last edited by mutlu_inek (2009-03-19 00:52:49)

Offline

#2 2009-02-23 04:23:48

Ronin-Sage
Member
Registered: 2008-10-24
Posts: 153
Website

Re: Pre-965 intel chipsets: user repository for old i810 and intel drivers

Nice, but two issues:

1) I don't think "pacman -S i810-repo" works as I presume you want it to. It doesn't install everything from that repo and returns invalid, at least for me(maybe I did something wrong).

2) Why not use the "intel" driver rather than "i810"? I'm using xf86-video-intel-2.3.1-1 in combination with your repo's packages, and seem to be doing well(~1400fps in glxgears; UrT and pSX run smoothly again). It also saves people the trouble of using the old 915resolution hack.

Also, sort of a third issue, but w/e: would it be best to use the latest-possible packages for this Xorg branch, or would something like xf86-video-intel-2.4x not work?

Thanks.

Last edited by Ronin-Sage (2009-02-23 04:24:42)

Offline

#3 2009-02-23 05:42:00

mutlu_inek
Member
From: all over the place
Registered: 2006-11-18
Posts: 676
Website

Re: Pre-965 intel chipsets: user repository for old i810 and intel drivers

Ronin-Sage wrote:

1) I don't think "pacman -S i810-repo" works as I presume you want it to. It doesn't install everything from that repo and returns invalid, at least for me(maybe I did something wrong).

All the packages in the repo belong to the group "i810-repo." Attempting to install it should make pacman install the whole group after not finding any package with that name. Here it says

$ sudo pacman -S i810-repo
i810-repo package not found, searching for group...
:: group i810-repo (including ignored packages):
    intel-dri  libdrm  libgl  libxfont  mesa  xf86-input-evdev  xf86-input-keyboard  xf86-video-i810  xf86-video-intel  xf86-video-vesa
    xorg-server
:: Install whole content? [Y/n]
Ronin-Sage wrote:

2) Why not use the "intel" driver rather than "i810"? I'm using xf86-video-intel-2.3.1-1 in combination with your repo's packages, and seem to be doing well(~1400fps in glxgears; UrT and pSX run smoothly again). It also saves people the trouble of using the old 915resolution hack.

Also, sort of a third issue, but w/e: would it be best to use the latest-possible packages for this Xorg branch, or would something like xf86-video-intel-2.4x not work?

Good question(s). I had the best results with the i810 driver. It always outperformed intel and the forced move to the latter was - for me - the first in a series of steps downhill. But this may be different for others. Since you are interested in the intel driver, I have compiled xf86-video-intel-2.3.2 and added it to the repo. I will check out later versions when I get the time. But I doubt that there will be any gains.

I will also change the first post to reflect the changes - I added the intel driver and split the repo into two package groups for easier installation.

Let me know if it works for you.

Last edited by mutlu_inek (2009-02-23 06:14:24)

Offline

#4 2009-02-23 05:46:02

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,931

Re: Pre-965 intel chipsets: user repository for old i810 and intel drivers

***Scratch that***

You rock! This solved a dilemma that I've wasted a surreal amount of time on. Thank you.

Offline

#5 2009-02-23 06:02:28

mutlu_inek
Member
From: all over the place
Registered: 2006-11-18
Posts: 676
Website

Re: Pre-965 intel chipsets: user repository for old i810 and intel drivers

skottish wrote:

What happens with this with libdrm? The Arch version has the 'force' switch enabled which I believe should override IgnorePkg.

It indeed has the 'force' switch enabled, but I have no problems... pacman -Syu does not complain.

Offline

#6 2009-02-23 13:18:24

Ronin-Sage
Member
Registered: 2008-10-24
Posts: 153
Website

Re: Pre-965 intel chipsets: user repository for old i810 and intel drivers

Finally, I can actually boot into Linux and use 3D apps again(or compositing, for that matter)! Thanks a lot.

Last edited by Ronin-Sage (2009-02-23 13:18:59)

Offline

#7 2009-02-23 19:13:16

pano
Member
From: Stuttgart, Germany
Registered: 2008-09-08
Posts: 118

Re: Pre-965 intel chipsets: user repository for old i810 and intel drivers

thanks for these packages!
I now have ~870 FPS in glxgears (I know, I know this is no benchmarking application:D), instead of ~160 with the packages in [extra].
I still got a problem activating compositing effects though (KWin's to be more specific). I just can't get them working, no matter if I select OpenGL or XRender.

I don't know where the problem could be (but the WW concerning AIGLX might give a hint:D)...

glxinfo says that direct rendering is activated

cat /var/log/Xorg.0.log | grep -E WW

says:
(I removed some lines concerning some font paths)

(WW) Warning, couldn't open module type1                                         
(WW) intel: No matching Device section for instance (BusID PCI:0:2:1) found      
(WW) intel(0): Bad V_BIOS checksum                                               
(WW) intel(0): Register 0x61200 (PP_STATUS) changed from 0xc0000008 to 0xd0000009
(WW) intel(0): PP_STATUS before: on, ready, sequencing idle                      
(WW) intel(0): PP_STATUS after: on, ready, sequencing on                         
(WW) intel(0): Register 0x61114 (PORT_HOTPLUG_STAT) changed from 0x00000000 to 0x00000400
(WW) intel(0): Register 0x70024 (PIPEASTAT) changed from 0x80000207 to 0x80000237        
(WW) intel(0): PIPEASTAT before: status: FIFO_UNDERRUN VSYNC_INT_STATUS SVBLANK_INT_STATUS VBLANK_INT_STATUS OREG_UPDATE_STATUS                                                                               
(WW) intel(0): PIPEASTAT after: status: FIFO_UNDERRUN VSYNC_INT_STATUS OFIELD_INT_STATUS EFIELD_INT_STATUS SVBLANK_INT_STATUS VBLANK_INT_STATUS OREG_UPDATE_STATUS                                            
(WW) intel(0): Register 0x71024 (PIPEBSTAT) changed from 0x00000206 to 0x80000206                      
(WW) intel(0): PIPEBSTAT before: status: VSYNC_INT_STATUS SVBLANK_INT_STATUS VBLANK_INT_STATUS         
(WW) intel(0): PIPEBSTAT after: status: FIFO_UNDERRUN VSYNC_INT_STATUS SVBLANK_INT_STATUS VBLANK_INT_STATUS                                                                                                   
(WW) intel(0): Register 0x68000 (TV_CTL) changed from 0x00000000 to 0x000c0000                         
(WW) intel(0): Register 0x68010 (TV_CSC_Y) changed from 0x00000000 to 0x0332012d                       
(WW) intel(0): Register 0x68014 (TV_CSC_Y2) changed from 0x00000000 to 0x07d30104                      
(WW) intel(0): Register 0x68018 (TV_CSC_U) changed from 0x00000000 to 0x0733052d                       
(WW) intel(0): Register 0x6801c (TV_CSC_U2) changed from 0x00000000 to 0x05c70200                      
(WW) intel(0): Register 0x68020 (TV_CSC_V) changed from 0x00000000 to 0x0340030c                       
(WW) intel(0): Register 0x68024 (TV_CSC_V2) changed from 0x00000000 to 0x06d00200                      
(WW) intel(0): Register 0x68028 (TV_CLR_KNOBS) changed from 0x00000000 to 0x00606000                   
(WW) intel(0): Register 0x6802c (TV_CLR_LEVEL) changed from 0x00000000 to 0x010b00e1                   
(WW) intel(0): Register 0x68030 (TV_H_CTL_1) changed from 0x00000000 to 0x00400359                     
(WW) intel(0): Register 0x68034 (TV_H_CTL_2) changed from 0x00000000 to 0x80480022                     
(WW) intel(0): Register 0x68038 (TV_H_CTL_3) changed from 0x00000000 to 0x007c0344                     
(WW) intel(0): Register 0x6803c (TV_V_CTL_1) changed from 0x00000000 to 0x00f01415                     
(WW) intel(0): Register 0x68040 (TV_V_CTL_2) changed from 0x00000000 to 0x00060607                     
(WW) intel(0): Register 0x68044 (TV_V_CTL_3) changed from 0x00000000 to 0x80120001                     
(WW) intel(0): Register 0x68048 (TV_V_CTL_4) changed from 0x00000000 to 0x000900f0                     
(WW) intel(0): Register 0x6804c (TV_V_CTL_5) changed from 0x00000000 to 0x000a00f0                     
(WW) intel(0): Register 0x68050 (TV_V_CTL_6) changed from 0x00000000 to 0x000900f0                     
(WW) intel(0): Register 0x68054 (TV_V_CTL_7) changed from 0x00000000 to 0x000a00f0                     
(WW) intel(0): Register 0x68060 (TV_SC_CTL_1) changed from 0x00000000 to 0xc1710088                    
(WW) intel(0): Register 0x68064 (TV_SC_CTL_2) changed from 0x00000000 to 0x4e2d1dc8                    
(WW) intel(0): Register 0x68070 (TV_WIN_POS) changed from 0x00000000 to 0x00360024                     
(WW) intel(0): Register 0x68074 (TV_WIN_SIZE) changed from 0x00000000 to 0x02640198                    
(WW) intel(0): Register 0x68080 (TV_FILTER_CTL_1) changed from 0x00000000 to 0x8000085e                
(WW) intel(0): Register 0x68084 (TV_FILTER_CTL_2) changed from 0x00000000 to 0x00028283                
(WW) intel(0): Register 0x68088 (TV_FILTER_CTL_3) changed from 0x00000000 to 0x00014141                
(WW) intel(0): Register 0x68100 (TV_H_LUMA_0) changed from 0x00000000 to 0xb1403000                    
(WW) intel(0): Register 0x681ec (TV_H_LUMA_59) changed from 0x00000000 to 0x0000b060                   
(WW) intel(0): Register 0x68200 (TV_H_CHROMA_0) changed from 0x00000000 to 0xb1403000
(WW) intel(0): Register 0x682ec (TV_H_CHROMA_59) changed from 0x00000000 to 0x0000b060
(WW) intel(0): Option "XAANoOffscreenPixmaps" is not used
(WW) intel(0): Option "DevicePresence" is not used
(WW) intel(0): Option "CheckLid" is not used
(WW) AIGLX: 3D driver claims to not support visual 0x23
(WW) AIGLX: 3D driver claims to not support visual 0x24
(WW) AIGLX: 3D driver claims to not support visual 0x25
(WW) AIGLX: 3D driver claims to not support visual 0x26
(WW) AIGLX: 3D driver claims to not support visual 0x27
(WW) AIGLX: 3D driver claims to not support visual 0x28
(WW) AIGLX: 3D driver claims to not support visual 0x29
(WW) AIGLX: 3D driver claims to not support visual 0x2a
(WW) AIGLX: 3D driver claims to not support visual 0x2b
(WW) AIGLX: 3D driver claims to not support visual 0x2c
(WW) AIGLX: 3D driver claims to not support visual 0x2d
(WW) AIGLX: 3D driver claims to not support visual 0x2e
(WW) AIGLX: 3D driver claims to not support visual 0x2f
(WW) AIGLX: 3D driver claims to not support visual 0x30
(WW) AIGLX: 3D driver claims to not support visual 0x31
(WW) AIGLX: 3D driver claims to not support visual 0x32

Also I don't have any EE entries that are important for this subject (only one is Failed to load module "type1" (module does not exist, 0))


my xorg.conf (I removed several sections like the modelines and font paths sections for this example, also took some lines from your xorg.conf)

Section "ServerLayout"             
        Identifier     "Xorg Configured"
        Screen      0  "Screen0" 0 0    
        InputDevice    "Keyboard0" "CoreKeyboard"
        Option         "AIGLX" "true"            
# PS/2 Mouse not detected                        
# Serial Mouse not detected                      
        InputDevice    "USB Mouse" "CorePointer" 
EndSection                                       

Section "ServerFlags"
        Option "AllowMouseOpenFail"  "true"

EndSection

Section "Module"
        Load  "ddc"  # ddc probing of monitor
        Load  "dbe"                          
        Load  "dri"                          
        Load  "extmod"                       
        Load  "glx"                          
        Load  "bitmap" # bitmap-fonts        
        Load  "type1"                        
        Load  "freetype"                     
        Load  "record"                       
        #   Load  "synaptics"                
EndSection                                   

Section "Monitor"
        Identifier "Monitor0"
                Option "DPMS" "true"
#       HorizSync    28.0 - 78.0 # Warning: This may fry very old Monitors
        HorizSync    28.0 - 96.0 # Warning: This may fry old Monitors     
        VertRefresh  50.0 - 75.0 # Very conservative. May flicker.        

Section "Device"
        Identifier  "Card0"
        Driver      "intel"
        Option      "DRI"                    "true"
        Option      "XAANoOffscreenPixmaps"    "true"
        Option      "DevicePresence"            "true"
        Option      "CheckLid"                  "false"
        VendorName  "All"                              
        BoardName   "All"                              
        BusID       "PCI:0:2:0"                        
EndSection                                             


Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultColorDepth 24
        SubSection "Display"
                Depth     24
                Modes "1280x800" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth     32
                Modes "1280x800" "800x600" "640x480"
        EndSubSection
EndSection

Section "DRI"
        Mode 0666
EndSection

Section "Extensions"
        Option "Composite" "Enable"
EndSection

I hope this is the right topic to post

thank you a lot

pano

Last edited by pano (2009-02-23 19:16:24)

Offline

#8 2009-02-24 01:16:46

Ronin-Sage
Member
Registered: 2008-10-24
Posts: 153
Website

Re: Pre-965 intel chipsets: user repository for old i810 and intel drivers

I can get around 2000fps in glxgears and everything runs normally(including Kwin+compositing). There's still some alternations to be made, I suppose, but here's my [experimental] config:

/etc/X11/xorg.conf

Section "Module"
    Load  "bitmap"
    Load  "ddc"   
    Load  "int10" 
    Load  "vbe"   
    Load  "xtrap" 
    Load  "record"
    Load  "dri"   
    Load  "dbe"   
    Load  "extmod"
    Load  "glx"   
    Load  "freetype"
    Load  "synaptics"
EndSection           

Section "InputDevice"
        Identifier      "Generic Keyboard"
        Driver          "kbd"             
        Option          "XkbRules"      "xorg"
        Option          "XkbModel"      "pc105"
        Option          "XkbLayout"     "us"   
EndSection                                     

Section "InputDevice"
        Identifier      "Configured Mouse"
        Driver          "mouse"           
        Option          "CorePointer"     
        Option          "Emulate3Buttons"       "true"
EndSection                                            

Section "InputDevice"
        Identifier  "Synaptics Touchpad"
        Driver      "synaptics"         
        Option      "SendCoreEvents" "true"
        Option      "Device" "/dev/psaux"  
        Option      "Protocol" "auto-dev"  
        Option      "HorizEdgeScroll" "1"  
        Option      "LeftEdge"     "1700"  
        Option      "RightEdge"    "5300"  
        Option      "TopEdge"      "1700"  
        Option      "BottomEdge"   "4200"  
        Option      "FingerLow"    "25"    
        Option      "FingerHigh"   "30"    
        Option      "MaxTapTime"   "180"   
        Option      "MaxTapMove"   "220"   
        Option      "VertScrollDelta" "100"
        Option      "MinSpeed"     "0.06"  
        Option      "MaxSpeed"     "0.12"  
        Option      "AccelFactor"  "0.0010"
        Option      "SHMConfig"    "on"    
        #Option     "Repeater"  "/dev/ps2mouse"
EndSection                                     

Section "Device"
        Identifier      "Optimized Video Device"
        Driver          "intel"                 
        #VideoRam       131072                  
        #Option                 "RenderAccel" "true"
        #Option         "BackingStore" "true"       
        #Option                 "AccelMethod" "exa" 
        #Option                 "ExaNoComposite" "false"
        Option          "DRI"     "true"                
EndSection                                              

Section "Monitor"
        Identifier      "Configured Monitor"
        HorizSync       28-60               
        VertRefresh     43-60               
        Option          "DPMS"              
EndSection                                  

Section "Screen"
        Identifier      "Default Screen"
        Monitor         "Configured Monitor"
        Device          "Optimized Video Device"
        SubSection "Display"                    
                Depth     16                    
                Modes     "1280x800" "1024x768" "800x600"
        EndSubSection                                    
        SubSection "Display"                             
                Depth     24                             
                Modes     "1280x800" "1024x768" "800x600"
        EndSubSection                                    
EndSection                                               

Section "ServerLayout"
        Identifier      "Default Layout"
        Screen          "Default Screen"
        InputDevice     "Synaptics Touchpad"
EndSection

Section "ServerFlags"
        Option "AIGLX" "true"
EndSection

Section "DRI"
        Mode 0666
EndSection

Using:

libx11 1.1.99.2-1
libxcb 1.1.93-1
mesa 7.0.3-5
intel-dri 7.0.3-3
xf86-video-intel 2.3.2-4
xorg-server 1.4.2-5
libdrm 2.3.0-3
libgl 7.0.3-5

It may or may not work properly for you, but it works on my Acer 5610-4610(Intel 945GM/950 GMA).

Offline

#9 2009-02-24 18:04:30

pano
Member
From: Stuttgart, Germany
Registered: 2008-09-08
Posts: 118

Re: Pre-965 intel chipsets: user repository for old i810 and intel drivers

Can you tell me where you found
libx11 1.1.99.2-1
libxcb 1.1.93-1
these two packages?

I have them in version 1.2-1, so maybe thats the reason I can't get compositing working, no matter which xorg.conf I try

Offline

#10 2009-02-24 19:45:00

Ronin-Sage
Member
Registered: 2008-10-24
Posts: 153
Website

Re: Pre-965 intel chipsets: user repository for old i810 and intel drivers

I made some custom local packages, but you should be able to just use the ones from the libx11 and libxcb Arch repos.

Just grab the files with SVN entries of the appropriate dates/versions and you should be good.

Offline

#11 2009-02-24 21:10:02

mutlu_inek
Member
From: all over the place
Registered: 2006-11-18
Posts: 676
Website

Re: Pre-965 intel chipsets: user repository for old i810 and intel drivers

pano wrote:

Can you tell me where you found
libx11 1.1.99.2-1
libxcb 1.1.93-1
these two packages?

I have them in version 1.2-1, so maybe thats the reason I can't get compositing working, no matter which xorg.conf I try

This shouldn't be the problem. Have you tried whether using xaa or exa in xorg.conf makes a difference?

Offline

#12 2009-02-25 16:16:09

OpenBSD
Member
Registered: 2009-02-04
Posts: 43

Re: Pre-965 intel chipsets: user repository for old i810 and intel drivers

Thank you.
Awesome work - saved me a lot of time.


glxgears -info:

current intel: 35fps
current vesa: 95fps
old intel: 245 fps

945express chip in a notebook

Last edited by OpenBSD (2009-02-25 16:16:29)

Offline

#13 2009-02-25 22:31:36

RobF
Member
Registered: 2006-10-10
Posts: 157

Re: Pre-965 intel chipsets: user repository for old i810 and intel drivers

Thank you, mutlu_inek, for all your work.  I tried to use your procedure for downgrading the intel video software (using the "intel" driver) to the earlier versions but the process failed with the following error message:

checking package integrity...
(10/10) checking for file conflicts       
error: could not prepare transaction
error: failed to commit transaction (conflicting files)
xorg-server: /usr/lib/xorg/modules/extensions/libdri.so exists in filesystem
Errors occurred, no packages were upgraded.

What do I do now?

Dell Inspiron 6400, i686 Intel dual core, Intel i945GM video chipset, up-to-date Arch (2.6.28-7), glxgears 500 fps, Google Earth text overlays corrupted (missing letters and numbers, important info is unreadable).

Up-to-date sidux 2009.01 (using "intel" driver) with pretty much the same software versions as in your repo gives glxgears 1160 fps on this machine and Google Earth runs very smoothly in it with uncorrupted overlays.

Offline

#14 2009-02-25 23:01:40

Ronin-Sage
Member
Registered: 2008-10-24
Posts: 153
Website

Re: Pre-965 intel chipsets: user repository for old i810 and intel drivers

You would have to force and overwrite with the "f" option(as in: sudo pacman -Sf [package]). Note that this is considered a dodgy method, but it should be safe as far as individual packages go(just make sure *NOT* to do it for a system-wide upgrade).

Offline

#15 2009-02-26 01:38:59

RobF
Member
Registered: 2006-10-10
Posts: 157

Re: Pre-965 intel chipsets: user repository for old i810 and intel drivers

Thanks, Ronin-Sage.  Forcing the install of intel-repo (i.e. pacman -Sf intel-repo) did manage to install everything.

However, I'm principally interested in getting Google Earth (GE) to work in Arch the way it did a few months ago, i.e. with smooth animation and complete text overlays.

After I installed the older intel driver and kindred Xorg and mesa software (the group intel-repo), glxgears jumped from 500 to 980 fps and text overlays in GE were complete again.  However, moving the globe in GE was extremely sluggish and jerky, much worse than in current Arch..

I then wiped out the older "intel" install, refreshed the system to current status and then installed the "old" i810 driver and kindred software.  With that configuration, the system never even booted into the X window system.  I thought the older i810 driver is now completely incompatible with kernel 2.6.28, so I wasn't surprised.

So I went back to the current Arch video configuration, which gives me 500 fps in glxgears and somewhat jerky animation in GE, with corrupted text overlays (many letters and most numbers missing).

Two days ago, I installed sidux 2009.01 on another partition of this laptop, followed by a full system upgrade.  GE works beautifully in that distro and glxgears gives 1160 fps, with the intel driver.  The versions of the X system/video packages used in that sidux install are very close to the ones that mutlu_inek chose to put in his repo.  I don't understand why the constellation of Intel video and Xorg software that works well in up-to-date sidux on my hardware isn't working well in Arch.

Offline

#16 2009-02-26 03:28:53

Ronin-Sage
Member
Registered: 2008-10-24
Posts: 153
Website

Re: Pre-965 intel chipsets: user repository for old i810 and intel drivers

What's your xorg.conf and Xorg.0.log look like?

Offline

#17 2009-02-26 12:23:50

RobF
Member
Registered: 2006-10-10
Posts: 157

Re: Pre-965 intel chipsets: user repository for old i810 and intel drivers

Sorry, I made an error when I installed the i810 group yesterday - I forgot to also tell xorg.conf to use the i810 driver rather than the intel driver.  So, now with the old i810 group installed, I do get the X server started.

But I get pretty much the same results with i810 and old intel: glxgears gives around 1030 fps with i810, around 1160 fps with old intel, around 500 fps with current intel.

But running glxgears also produces the following message with i810:

Xlib:  extension "Generic Event Extension" missing on display ":0.0".
do_wait: drmWaitVBlank returned -1, IRQs don't seem to be working correctly.
Try running with LIBGL_THROTTLE_REFRESH and LIBL_SYNC_REFRESH unset.
5138 frames in 5.0 seconds = 1027.584 FPS

Furthermore, with both of the older driver groups, Google Earth now renders text overlays properly again (no alphanumeric strings missing) but after smooth animation at the beginning of zooming in on the globe, it slows down to a crawl and mouse-initiated movement becomes very delayed and jerky.  On the other hand, Extreme Tux Racer runs OK now, whereas with the current intel driver et al. it was so slow as to be unusable.

Both old i810 and old intel also produce the following error message when I run Google Earth:

Xlib:  extension "Generic Event Extension" missing on display ":0.0".
do_wait: drmWaitVBlank returned -1, IRQs don't seem to be working correctly.
Try running with LIBGL_THROTTLE_REFRESH and LIBL_SYNC_REFRESH unset.
Mesa 7.0.3 implementation error: i915_program_error: Can't (yet) swizzle TEX arguments
Please report at bugzilla.freedesktop.org

In an up-to-date sidux 2009.01 install (using "intel" driver) with pretty much the same software versions as in mutlu_inek's repo glxgears gives 1160 fps on this machine and Google Earth runs very smoothly with uncorrupted overlays.

FWIW, my xorg.conf:

Section "ServerLayout"
    Identifier     "Xorg Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Touchpad" "CorePointer"
    InputDevice    "USBMouse" "SendCoreEvents"
    Option "AIGLX" "true"
EndSection

Section "ServerFlags"
    Option "AllowMouseOpenFail"  "true"
    Option "AutoAddDevices"         "false"
    
EndSection

Section "Files"
#    RgbPath      "/usr/share/X11/rgb"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/misc:unscaled"
    FontPath     "/usr/share/fonts/misc"
    FontPath     "/usr/share/fonts/75dpi:unscaled"
    FontPath     "/usr/share/fonts/75dpi"
    FontPath     "/usr/share/fonts/100dpi:unscaled"
    FontPath     "/usr/share/fonts/100dpi"
    FontPath     "/usr/share/fonts/PEX"
# Additional fonts: Locale, Gimp, TTF...
    FontPath     "/usr/share/fonts/cyrillic"
# True type and type1 fonts are also handled via xftlib, see /etc/X11/XftConfig!
    FontPath     "/usr/share/fonts/Type1"
    FontPath     "/usr/share/fonts/ttf/western"
    FontPath     "/usr/share/fonts/ttf/decoratives"
    FontPath     "/usr/share/fonts/truetype"
    FontPath     "/usr/share/fonts/truetype/openoffice"
    FontPath     "/usr/share/fonts/truetype/ttf-bitstream-vera"
    FontPath     "/usr/share/fonts/latex-ttf-fonts"
    FontPath     "/usr/share/fonts/defoma/CID"
    FontPath     "/usr/share/fonts/defoma/TrueType"
EndSection

Section "Module"
        Load  "ddc"  # ddc probing of monitor
    Load  "dbe"
    Load  "dri"
    Load  "extmod"
    Load  "glx"
        Load  "bitmap" # bitmap-fonts
    Load  "type1"
    Load  "freetype"
    Load  "record"
    Load  "synaptics"
EndSection

Section "InputDevice"  [deleted]
    Identifier  "Keyboard0"
    
Section "InputDevice" [deleted]
    Identifier  "Serial Mouse"
    
Section "InputDevice" [deleted]
    Identifier  "PS/2 Mouse"
    
Section "InputDevice"
        Identifier      "USB Mouse"
        Driver          "mouse"
        Option          "Device"                "/dev/input/mice"
    Option        "SendCoreEvents"    "true"
        Option          "Protocol"              "IMPS/2"
        Option          "ZAxisMapping"          "4 5"
        Option          "Buttons"               "5"
EndSection

Section "InputDevice"
      Identifier    "Touchpad"
      Driver        "synaptics"
#    Identifier      "Mouse[1]"
      Option        "Device"        "/dev/psaux"
      Option        "Protocol"      "auto-dev"
      Option        "LeftEdge"      "1700"
      Option        "RightEdge"     "5300"
      Option        "TopEdge"       "1700"
      Option        "BottomEdge"    "4200"
      Option        "FingerLow"     "25"
      Option        "FingerHigh"    "30"
      Option        "MaxTapTime"    "180"
      Option        "MaxTapMove"    "0"    # to annul tap sensitivity, reduce from 220 to 0
    Option          "VertEdgeScroll" "true"
    Option          "HorizEdgeScroll" "true"
    Option          "CornerCoasting"  "true"
    Option          "CoastingSpeed"   "0.30"
      Option        "VertScrollDelta" "100"
      Option        "MinSpeed"      "0.20"
      Option        "MaxSpeed"      "1.20"
      Option        "AccelFactor" "0.0040"
      Option        "SHMConfig"     "on"
EndSection

# Auto-generated by Archie mkxcfg

Section "Monitor"
    Identifier "Monitor0"
        Option "DPMS" "true"
#    HorizSync    28.0 - 78.0 # Warning: This may fry very old Monitors
#    HorizSync    28.0 - 96.0 # Warning: This may fry old Monitors
    HorizSync    31.5-80
#    VertRefresh  50.0 - 75.0 # Very conservative. May flicker.
#    VertRefresh  50.0 - 62.0 # Extreme conservative. Will flicker. TFT default.
    VertRefresh    60.0
[all the modelines deleted]
EndSection

# Auto-generated by Archie mkxcfg

Section "Device"
    Identifier  "Card0"
    Driver      "i810"
#    Driver        "intel"
#    Driver      "vesa"
    VendorName  "All"
    BoardName   "All"
    Option "XAANoOffscreenPixmaps" "true"
    Option "DRI" "true"
#    Option "AccelMethod" "EXA"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    DefaultColorDepth 24
    SubSection "Display"
        Depth     1
        Modes "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth     4
        Modes "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth     8
        Modes "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth     15
        Modes "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth     16
        Modes "1280x800" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth     24
        Modes "1280x800" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth     32
        Modes "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

Section "DRI"
    Mode 0666
EndSection

Section "Extensions"
     Option "Composite" "Enable"
EndSection

Offline

#18 2009-02-27 18:56:22

sguenz
Member
Registered: 2008-03-11
Posts: 18

Re: Pre-965 intel chipsets: user repository for old i810 and intel drivers

Thank you mutlu_inek for creating the i810-repo! However, xorg crashes for me with both intel and i810 drivers. Can you or anyone else help?

Here is the video part of my xorg.conf:

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
        Option       "DPMS"
EndSection

Section "Device"
        Identifier  "Card0"
        Driver      "intel"
        VendorName  "Intel Corporation"
        BoardName   "82852/855GM Integrated Graphics Device"
        BusID       "PCI:0:2:0"
EndSection

#Section "Device"
#       Identifier  "Card0"
#       Driver      "i810"
#       Option      "DRI" "true"
#       VendorName  "Intel Corporation"
#       BoardName   "82852/855GM Integrated Graphics Device"
#       BusID       "PCI:0:2:0"
#EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection

Section "DRI"
        Mode 0666
EndSection

Section "Extensions"
        Option "Composite" "Enable"
EndSection

... and this is the tail of Xorg.0.log

drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 10, (OK)
drmOpenByBusid: Searching for BusID pci:0000:00:02.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 10, (OK)
drmOpenByBusid: drmOpenMinor returns 10
drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
(WW) AIGLX: 3D driver claims to not support visual 0x23
(WW) AIGLX: 3D driver claims to not support visual 0x24
(WW) AIGLX: 3D driver claims to not support visual 0x25
(WW) AIGLX: 3D driver claims to not support visual 0x26
(WW) AIGLX: 3D driver claims to not support visual 0x27
(WW) AIGLX: 3D driver claims to not support visual 0x28
(WW) AIGLX: 3D driver claims to not support visual 0x29
(WW) AIGLX: 3D driver claims to not support visual 0x2a
(WW) AIGLX: 3D driver claims to not support visual 0x2b
(WW) AIGLX: 3D driver claims to not support visual 0x2c
(WW) AIGLX: 3D driver claims to not support visual 0x2d
(WW) AIGLX: 3D driver claims to not support visual 0x2e
(WW) AIGLX: 3D driver claims to not support visual 0x2f
(WW) AIGLX: 3D driver claims to not support visual 0x30
(WW) AIGLX: 3D driver claims to not support visual 0x31
(WW) AIGLX: 3D driver claims to not support visual 0x32
(II) AIGLX: Loaded and initialized /usr/lib/xorg/modules/dri/i915_dri.so
(II) GLX: Initialized DRI GL provider for screen 0

Backtrace:
0: /usr/bin/X(xf86SigHandler+0x83) [0x80cdf89]

Fatal server error:
Caught signal 4.  Server aborting

(II) AIGLX: Suspending AIGLX clients for VT switch
(II) intel(0): xf86UnbindGARTMemory: unbind key 0
(II) intel(0): xf86UnbindGARTMemory: unbind key 1
(II) intel(0): xf86UnbindGARTMemory: unbind key 2
(II) intel(0): xf86UnbindGARTMemory: unbind key 3
(II) intel(0): xf86UnbindGARTMemory: unbind key 4
(II) intel(0): xf86UnbindGARTMemory: unbind key 5
(II) intel(0): xf86UnbindGARTMemory: unbind key 6
(II) intel(0): xf86UnbindGARTMemory: unbind key 7
(II) intel(0): xf86UnbindGARTMemory: unbind key 8
(II) intel(0): xf86UnbindGARTMemory: unbind key 9

Thanks.

Offline

#19 2009-02-28 08:06:18

Aprz
Member
From: Newark
Registered: 2008-05-28
Posts: 277

Re: Pre-965 intel chipsets: user repository for old i810 and intel drivers

Only bumped into a couple of issues. I executed as root..

$ pacman -R xf86-video-intel
$ pacman -Sy
$ pacman -S intel-repo

But it just reinstalled the current versions I am using. *shrug* It downgraded when I removed the other repos.

Then it had issue installed xorg-server. Pacman returned..

xorg-server: /usr/lib/xorg/modules/extensions/libdrm.so exist in flesystem

and didn't upgrade anything. Of course, we had this issue before with klibc and I just renamed it to libdrm.so.backup incase I needed it again and somehow couldn't get it again, and then I retried installing it and it worked perfectly after that. smile

Well, this is a lot less painful than trying to use intel-newest from AUR or hunting the new or old guys and compiling them, hehe.

Thanks!

Last edited by Aprz (2009-02-28 08:08:08)

Offline

#20 2009-02-28 20:29:20

mutlu_inek
Member
From: all over the place
Registered: 2006-11-18
Posts: 676
Website

Re: Pre-965 intel chipsets: user repository for old i810 and intel drivers

sguenz wrote:
0: /usr/bin/X(xf86SigHandler+0x83) [0x80cdf89]

Unfortunately, this is not a very verbose backtrace. But since it is related to the mesa/intel-dri implementation, I gave mesa 7.0.4 another shot. Previously, I had problems with compiling xorg-server 1.4.2 with mesa 7.0.4, but I resolved the issues. I have uploaded new packages (xorg-server, libgl, mesa and intel-dri) to the repo. They work well for me; actually they are even a bit faster. smile

sguenz, does this solve your issue?

Everyone else, please report if you encounter any new issues.

Last edited by mutlu_inek (2009-02-28 20:36:11)

Offline

#21 2009-02-28 20:38:33

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,931

Re: Pre-965 intel chipsets: user repository for old i810 and intel drivers

mutlu_inek,

The new builds seem to cure some minor graphics glitches that I was seeing with XFCE. Previously there was a little distortion when opening menus and such, but so far they seem to be gone.

Thanks again for doing this. It's been incredibly helpful for me.

Offline

#22 2009-02-28 22:08:07

karabaja4
Member
From: Croatia
Registered: 2008-09-14
Posts: 841

Re: Pre-965 intel chipsets: user repository for old i810 and intel drivers

It crashes like a ton of bricks.

What does this mean neutral

(WW) intel: No matching Device section for instance (BusID PCI:0:2:1) found

Backtrace:
0: /usr/bin/X(xf86SigHandler+0x83) [0x80cdf89]

Fatal server error:
Caught signal 4.  Server aborting

There's some more info but i guess this is most important. I've posted the whole log at the end. Here's the xorg.conf I used. Maybe I forgot something?

Also, here's my:

Xorg.0.log (fresh)


pie!

Online

#23 2009-02-28 23:18:29

mutlu_inek
Member
From: all over the place
Registered: 2006-11-18
Posts: 676
Website

Re: Pre-965 intel chipsets: user repository for old i810 and intel drivers

karabaja4 wrote:
(WW) intel: No matching Device section for instance (BusID PCI:0:2:1) found

Backtrace:
0: /usr/bin/X(xf86SigHandler+0x83) [0x80cdf89]

The warning "(WW) ..." is harmless. It was around for a while and does not cause the x server to crash. You could try to adapt the BusID in your xorg.conf to see if it goes away, but it probably won't.

I don't know why it crashes for you. Did you try the vesa (just to test whether it's driver related) and i810 (which might actually be faster than intel) drivers?

Also, you probably want to add some things to your xorg.conf to get compositing, most importantly

Section "ServerLayout"
[...]
    Option         "AIGLX" "true"
EndSection

[...]

Section "DRI"
        Mode 0666
EndSection

Section "Extensions"
        Option "Composite" "Enable"
EndSection

And finally, if it works in the first place, XAA will probably be faster than EXA.

Last edited by mutlu_inek (2009-02-28 23:21:55)

Offline

#24 2009-02-28 23:34:13

karabaja4
Member
From: Croatia
Registered: 2008-09-14
Posts: 841

Re: Pre-965 intel chipsets: user repository for old i810 and intel drivers

mutlu_inek wrote:

//cut

thanks, but I have that included in my original xorg.conf (which uses XAA). This last xorg.conf I posted is just the one I used to try to start the downgraded xorg (I thought, the less in it - the less can go wrong).

BTW, I just tried "vesa" and "i810" drivers. Same result.

Ofcourse, this failure could be the result of endless reinstallations of many versions of packages related to xorg and video drivers. It could be I messed up something in the system.

It's no big problem, I need to reinstall anyway because of ext4 smile


pie!

Online

#25 2009-02-28 23:46:34

mutlu_inek
Member
From: all over the place
Registered: 2006-11-18
Posts: 676
Website

Re: Pre-965 intel chipsets: user repository for old i810 and intel drivers

karabaja4 wrote:

BTW, I just tried "vesa" and "i810" drivers. Same result.

Damn.

karabaja4 wrote:

Ofcourse, this failure could be the result of endless reinstallations of many versions of packages related to xorg and video drivers. It could be I messed up something in the system.

I doubt that. This is probably a bug. Given that very old drivers and xorg-server are used with rather recent libraries (libx11, etc.), I am not surprised that there are errors for some. I just won't spend much time to hunt for patches or write them, given that this whole issue is transitory anyway.

And I doubt that a reinstall does that much good. As long as you use pacman to install packages (and thus don't clutter the file system with crap), Arch does not really need a reinstall. Ever. smile

Offline

Board footer

Powered by FluxBB