Announcement

Collapse
No announcement yet.

Testing latest -intel in Ubuntu

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #91
    EXA vs UXA shouldn't directly affect 3D performance since it only handles 2D operations... but maybe picking UXA is also enabling GEM and you're seeing not-yet-optimized code in 3D-over-GEM ? Just a guess though...
    Last edited by bridgman; 24 February 2009, 10:43 PM.
    Test signature

    Comment


    • #92
      Some compiz plugins (like Blur and Reflection) requires Pixel Shaders and as I understand Intel X3100 has support for this on hardware level. Can someone drop a light on status of Pixel Shaders support in intel driver? Is this somehow related to acceleration method EXA/UXA?

      Sorry if it's not the right place to ask such questions, but I was waiting for Pixel Shaders support for last 2 years and every time I have upgraded to the new Ubuntu version I expected to get higher performance and better support and every time was upset with result.

      So main question is - what we should expect with 9.04/9.10 (in addition to UXA/GEM support)?

      Comment


      • #93
        According to some posts on the launchpad, 2.6.2 driver has some major bugfixes, maybe solving the majority of intel problems. Since it is purely minor bugfix releas, there is no point of not including it into jaunty. Are there any plans about it?

        Comment


        • #94
          help is welcome

          Intel has now released 2.6.3 with a couple of important fixes vs 2.6.2. These fixes are also on the master branch, so I thought I would update the master branch snapshot (2.6.99) for Jaunty xorg-edgers. It seems it also needs libdrm 2.4.5, so I uploaded this as well. However both my libdrm and -intel uploads are broken, but I don't have time to look more into it. If anyone can help out, there are two issues that I am aware of:

          1. The libdrm build fails because of some libdrm-nouveau stuff that has been introduced. This is purely a packaging issue, which can be fixed by tweaking some files in the debian/ directory. Would be nice to have the nouveau support in the libdrm package, but this is of course not necessary for -intel.

          2. The Jaunty kernel lacks support for "exec-fencing" and therefore the commit http://cgit.freedesktop.org/xorg/dri...20adb32141a358 needs to be reverted. This was straight forward last time, but now the surrounding code has changed so the patch can not be simply reverted. Either some git revert/rebase trickery can be done, or just unpatch the stuff by hand - this is an easy task that just takes some time. Unless more stuff needs to be reverted.

          If someone figures this out, please send a patch, or preferably a debdiff against my uploaded source. Thanks for any contribution.

          Comment


          • #95
            Tormod, I pulled libdrm-2.4.5 on March 1, and it built fine. It was actually my first attempt at using auto-xorg-git. It built perfectly, on my first attempt. I uploaded it to my ppa, https://launchpad.net/~kachristmas/+archive/ppa

            I've had no problems building the latest intel drivers either. I have no idea how to do it with launchpad though. The newest drivers reference new constants in libdrm-2.4.5, but libdrm-dev will not over-write the header files packaged with kernel.

            It's easy to work around using environment variables in debian/rules, but you can't do that kind of thing on launchpad.

            I'm a little concerned that I'm not seeing the same issues that you are. What's worse, I know just enough about this stuff to be dangerous.
            Last edited by kxmas; 04 March 2009, 11:45 PM.

            Comment


            • #96
              Originally posted by kxmas View Post
              Tormod, I pulled libdrm-2.4.5 on March 1, and it built fine. It was actually my first attempt at using auto-xorg-git. It built perfectly, on my first attempt. I uploaded it to my ppa, https://launchpad.net/~kachristmas/+archive/ppa

              I've had no problems building the latest intel drivers either. I have no idea how to do it with launchpad though. The newest drivers reference new constants in libdrm-2.4.5, but libdrm-dev will not over-write the header files packaged with kernel.

              It's easy to work around using environment variables in debian/rules, but you can't do that kind of thing on launchpad.

              I'm a little concerned that I'm not seeing the same issues that you are. What's worse, I know just enough about this stuff to be dangerous.
              Hi kxmas,
              The reason you don't get the same errors is that you are building from the libdrm package and not the drm-snapshot package. They will both provide the libdrm2 binaries, but drm-snapshot will also produce the drm-module-source package which is handy for compiling your own kernel drm kernel modules - built from the linux-core directory in the libdrm source tree. The intel modules are not maintained in linux-core any longer (only in the kernel) but for other cards this can still be useful (like nouveau). That is why I would prefer to get drm-snapshot working.

              For building -intel, which kernel (headers) did you have installed? Did you get DRI or DRI2 enabled?

              I should also mention to anyone interested that there are unofficial Ubuntu packages for the 2.6.29 kernels at https://wiki.ubuntu.com/KernelMainlineBuilds . I would recommend using those when trying out the latest -intel drivers.

              Comment


              • #97
                Originally posted by tormod View Post
                For building -intel, which kernel (headers) did you have installed? Did you get DRI or DRI2 enabled?
                Ahh, I didn't notice a difference between libdrm and drm-snapshot. I guess I lucked out and it worked anyway. Thanks.

                I compiled with linux-headers-2.6.28-8-generic version 2.6.28-8.26 and drm-2.4.5. UXA, DRI, DRI2 are all working, and seem fairly stable.

                Code:
                Build Date: 18 February 2009  03:58:35AM
                xorg-server 2:1.5.99.902-0ubuntu7 ([email protected]) 
                	Before reporting problems, check http://wiki.x.org
                	to make sure that you have the latest version.
                Markers: [    0.080306] (--) probed, [    0.080336] (**) from config file, [    0.080356] (==) default setting,
                	[    0.080376] (++) from command line, [    0.080396] (!!) notice, [    0.080415] (II) informational,
                	[    0.080435] (WW) warning, [    0.080454] (EE) error, [    0.080474] (NI) not implemented, [    0.080494] (??) unknown.
                [    0.080627] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Mar  4 20:42:41 2009
                [    0.105701] (==) Using config file: "/etc/X11/xorg.conf"
                [    0.105945] (==) No Layout section.  Using the first Screen section.
                [    0.105975] (**) |-->Screen "Default Screen" (0)
                [    0.151618] (**) |   |-->Monitor "ThinkPadR61"
                [    0.152101] (**) |   |-->Device "Configured Video Device"
                [    0.152137] (**) Option "DontZap" "false"
                [    0.152195] (==) Automatically adding devices
                [    0.152211] (==) Automatically enabling devices
                [    0.152237] (==) No FontPath specified.  Using compiled-in default.
                [    0.370071] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
                	Entry deleted from font path.
                [    0.789205] (==) FontPath set to:
                	/usr/share/fonts/X11/misc,
                	/usr/share/fonts/X11/100dpi/:unscaled,
                	/usr/share/fonts/X11/75dpi/:unscaled,
                	/usr/share/fonts/X11/Type1,
                	/usr/share/fonts/X11/100dpi,
                	/usr/share/fonts/X11/75dpi,
                	/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType
                [    0.789245] (==) ModulePath set to "/usr/lib/xorg/modules"
                [    0.789271] (II) Cannot locate a core pointer device.
                [    0.789288] (II) Cannot locate a core keyboard device.
                [    0.789302] (II) The server relies on HAL to provide the list of input devices.
                	If no devices become available, reconfigure HAL or disable AllowEmptyInput.
                [    0.789333] (II) Loader magic: 0xb40
                [    0.789350] (II) Module ABI versions:
                	X.Org ANSI C Emulation: 0.4
                	X.Org Video Driver: 5.0
                	X.Org XInput driver : 4.0
                	X.Org Server Extension : 2.0
                [    0.789398] (II) Loader running on linux
                [    0.789420] (++) using VT number 7
                
                [    0.881668] (--) PCI:*(0@0:2:0) Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller rev 12, Mem @ 0xf8100000/1048576, 0xe0000000/268435456, I/O @ 0x00001800/8
                [    0.881797] (--) PCI: (0@0:2:1) Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller rev 12, Mem @ 0xf8200000/1048576
                [    0.881896] (II) Open ACPI successful (/var/run/acpid.socket)
                [    0.881936] (II) System resource ranges:
                	[0] -1	0	0xffffffff - 0xffffffff (0x1) MX[B]
                	[1] -1	0	0x000f0000 - 0x000fffff (0x10000) MX[B]
                	[2] -1	0	0x000c0000 - 0x000effff (0x30000) MX[B]
                	[3] -1	0	0x00000000 - 0x0009ffff (0xa0000) MX[B]
                	[4] -1	0	0x0000ffff - 0x0000ffff (0x1) IX[B]
                	[5] -1	0	0x00000000 - 0x00000000 (0x1) IX[B]
                [    0.882243] (II) LoadModule: "extmod"
                [    0.927373] (II) Loading /usr/lib/xorg/modules/extensions//libextmod.so
                [    0.927721] (II) Module extmod: vendor="X.Org Foundation"
                	compiled for 1.5.99.902, module version = 1.0.0
                	Module class: X.Org Server Extension
                	ABI class: X.Org Server Extension, version 2.0
                [    0.927792] (II) Loading extension MIT-SCREEN-SAVER
                [    0.927810] (II) Loading extension XFree86-VidModeExtension
                [    0.927825] (II) Loading extension XFree86-DGA
                [    0.927840] (II) Loading extension DPMS
                [    0.927855] (II) Loading extension XVideo
                [    0.927909] (II) Loading extension XVideo-MotionCompensation
                [    0.927928] (II) Loading extension X-Resource
                [    0.927945] (II) LoadModule: "dbe"
                [    0.928511] (II) Loading /usr/lib/xorg/modules/extensions//libdbe.so
                [    0.928692] (II) Module dbe: vendor="X.Org Foundation"
                	compiled for 1.5.99.902, module version = 1.0.0
                	Module class: X.Org Server Extension
                	ABI class: X.Org Server Extension, version 2.0
                [    0.928762] (II) Loading extension DOUBLE-BUFFER
                [    0.928781] (II) LoadModule: "glx"
                [    0.929359] (II) Loading /usr/lib/xorg/modules/extensions//libglx.so
                [    0.929678] (II) Module glx: vendor="X.Org Foundation"
                	compiled for 1.5.99.902, module version = 1.0.0
                	ABI class: X.Org Server Extension, version 2.0
                [    0.929749] (==) AIGLX enabled
                [    0.929779] (==) Exporting typical set of GLX visuals
                [    0.929801] (II) Loading extension GLX
                [    0.929828] (II) LoadModule: "record"
                [    0.930391] (II) Loading /usr/lib/xorg/modules/extensions//librecord.so
                [    0.930573] (II) Module record: vendor="X.Org Foundation"
                	compiled for 1.5.99.902, module version = 1.13.0
                	Module class: X.Org Server Extension
                	ABI class: X.Org Server Extension, version 2.0
                [    0.930642] (II) Loading extension RECORD
                [    0.930661] (II) LoadModule: "dri"
                [    0.931195] (II) Loading /usr/lib/xorg/modules/extensions//libdri.so
                [    0.991577] (II) Module dri: vendor="X.Org Foundation"
                	compiled for 1.5.99.902, module version = 1.0.0
                	ABI class: X.Org Server Extension, version 2.0
                [    0.991648] (II) Loading extension XFree86-DRI
                [    0.991672] (II) LoadModule: "dri2"
                [    0.992257] (II) Loading /usr/lib/xorg/modules/extensions//libdri2.so
                [    1.004534] (II) Module dri2: vendor="X.Org Foundation"
                	compiled for 1.5.99.902, module version = 1.0.0
                	ABI class: X.Org Server Extension, version 2.0
                [    1.004599] (II) Loading extension DRI2
                [    1.004620] (II) LoadModule: "intel"
                [    1.005064] (II) Loading /usr/lib/xorg/modules/drivers//intel_drv.so
                [    1.206285] (II) Module intel: vendor="X.Org Foundation"
                	compiled for 1.5.99.902, module version = 2.6.99
                	Module class: X.Org Video Driver
                	ABI class: X.Org Video Driver, version 5.0
                [    1.206381] (II) intel: Driver for Intel Integrated Graphics Chipsets: i810,
                	i810-dc100, i810e, i815, i830M, 845G, 852GM/855GM, 865G, 915G,
                	E7221 (i915), 915GM, 945G, 945GM, 945GME, IGD_GM, IGD_G, 965G, G35,
                	965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
                	Mobile Intel? GM45 Express Chipset,
                	Intel Integrated Graphics Device, G45/G43, Q45/Q43, G41
                [    1.210595] (II) Primary Device is: PCI 00@00:02:0
                [    1.262200] (II) resource ranges after xf86ClaimFixedResources() call:
                	[0] -1	0	0xffffffff - 0xffffffff (0x1) MX[B]
                	[1] -1	0	0x000f0000 - 0x000fffff (0x10000) MX[B]
                	[2] -1	0	0x000c0000 - 0x000effff (0x30000) MX[B]
                	[3] -1	0	0x00000000 - 0x0009ffff (0xa0000) MX[B]
                	[4] -1	0	0x0000ffff - 0x0000ffff (0x1) IX[B]
                	[5] -1	0	0x00000000 - 0x00000000 (0x1) IX[B]
                [    1.289407] (II) resource ranges after probing:
                	[0] -1	0	0xffffffff - 0xffffffff (0x1) MX[B]
                	[1] -1	0	0x000f0000 - 0x000fffff (0x10000) MX[B]
                	[2] -1	0	0x000c0000 - 0x000effff (0x30000) MX[B]
                	[3] -1	0	0x00000000 - 0x0009ffff (0xa0000) MX[B]
                	[4] 0	0	0x000a0000 - 0x000affff (0x10000) MS[B]
                	[5] 0	0	0x000b0000 - 0x000b7fff (0x8000) MS[B]
                	[6] 0	0	0x000b8000 - 0x000bffff (0x8000) MS[B]
                	[7] -1	0	0x0000ffff - 0x0000ffff (0x1) IX[B]
                	[8] -1	0	0x00000000 - 0x00000000 (0x1) IX[B]
                	[9] 0	0	0x000003b0 - 0x000003bb (0xc) IS[B]
                	[10] 0	0	0x000003c0 - 0x000003df (0x20) IS[B]
                [    1.339211] (II) Loading sub module "vgahw"
                [    1.339236] (II) LoadModule: "vgahw"
                [    1.339391] (II) Loading /usr/lib/xorg/modules//libvgahw.so
                [    1.339578] (II) Module vgahw: vendor="X.Org Foundation"
                	compiled for 1.5.99.902, module version = 0.1.0
                	ABI class: X.Org Video Driver, version 5.0
                [    1.339684] (==) intel(0): Depth 24, [    1.339701] (--) framebuffer bpp 32
                [    1.339747] (==) intel(0): RGB weight 888
                [    1.339769] (==) intel(0): Default visual is TrueColor
                [    1.339807] (**) intel(0): Option "AccelMethod" "UXA"
                [    1.339872] (II) intel(0): Integrated Graphics Chipset: Intel(R) 965GM
                [    1.339922] (--) intel(0): Chipset: "965GM"
                [    1.339940] (--) intel(0): Linear framebuffer at 0xE0000000
                [    1.339956] (--) intel(0): IO registers at addr 0xF8100000
                [    1.339978] (WW) intel(0): libpciaccess reported 0 rom size, guessing 64kB
                [    1.341248] (**) intel(0): Using UXA for acceleration
                [    1.341427] (II) intel(0): 2 display pipes available.
                [    1.341451] (II) Loading sub module "ddc"
                [    1.341467] (II) LoadModule: "ddc"
                [    1.341497] (II) Module "ddc" already built-in
                [    1.341512] (II) Loading sub module "i2c"
                [    1.341527] (II) LoadModule: "i2c"
                [    1.341555] (II) Module "i2c" already built-in

                Comment


                • #98
                  Ok, I found some time to look at it and it was not so difficult. There were some upstream changes that needed an adjustment in the Debian packaging - libdrm_nouveau1 is considered experimental and is not built by default any longer. Enabled it again, and now drm-snapshot is fine.

                  And -intel turned out to build without problems this time, some compatibility fixes must have been added, or the Jaunty kernel has got the needed patches.

                  Happy testing 2.6.99.1+git20090303 those who dare!

                  Comment


                  • #99
                    It is also possible to test the latest kernel, also RC for *Ubuntu in deb.

                    Comment


                    • apparently the tearing problem has been solved (see here: http://bugs.freedesktop.org/show_bug.cgi?id=19635)

                      but how can I apply the fix on Ubuntu Intrepid ?

                      Comment

                      Working...
                      X