You are not logged in.

#1 2010-09-15 20:15:45

michaelmoufarrij
Member
Registered: 2010-08-09
Posts: 3

Trouble compiling Intel 2.9.1 driver

Hello. I have an HP G62 laptop with onboard intel graphics. After I installed Arch I had a problem. Enabling KMS would make my screen go black on boot (and stay black). Not enabling KMS would make X refuse to start since the new Intel drivers require KMS. Therefore, I decided to roll back to the 2.9.1 driver. I browsed the Package Database, found my driver at here:
http://repos.archlinux.org/wsvn/package … &peg=56808

I downloaded the PKGBUILD and LICENSE, and ran "makepkg -s". After installing dependencies, everything was rolling until makepkg encountered errors:

==> Making package: xf86-video-intel 2.9.1-1 (Wed Sep 15 23:12:40 EEST 2010)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
  -> Downloading xf86-video-intel-2.9.1.tar.bz2...
--2010-09-15 23:12:41--  http://xorg.freedesktop.org//releases/i … .1.tar.bz2
Resolving xorg.freedesktop.org... 131.252.210.176
Connecting to xorg.freedesktop.org|131.252.210.176|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 789001 (771K) [application/x-bzip2]
Saving to: "xf86-video-intel-2.9.1.tar.bz2.part"

100%[==========================================>] 789,001     9.26K/s   in 80s     

2010-09-15 23:14:06 (9.59 KB/s) - "xf86-video-intel-2.9.1.tar.bz2.part" saved [789001/789001]

  -> Found LICENSE
==> Validating source files with md5sums...
    xf86-video-intel-2.9.1.tar.bz2 ... Passed
    LICENSE ... Passed
==> Extracting Sources...
  -> Extracting xf86-video-intel-2.9.1.tar.bz2 with bsdtar
==> Entering fakeroot environment...
==> Starting build()...
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for bash... /bin/bash
checking if dolt supports this host... yes, replacing libtool
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking whether gcc and cc understand -c and -o together... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GEN4ASM... no
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking for mprotect... yes
checking if XINERAMA is defined... yes
checking if RANDR is defined... yes
checking if RENDER is defined... yes
checking if XF86DRI is defined... yes
checking if DPMSExtension is defined... yes
checking for XORG... yes
checking for XEXT... yes
checking for ANSI C header files... (cached) yes
checking whether to include DRI support... checking for /usr/include/xorg/dri.h... yes
checking for /usr/include/xorg/sarea.h... yes
checking for /usr/include/xorg/dristruct.h... yes
checking whether to include DRI support... yes
checking for PCIACCESS... yes
checking for DRM... yes
checking for DRI... yes
checking for XVMCLIB... yes
checking whether to include XvMC support... yes
checking for /usr/share/sgml/X11/defs.ent... no
checking for linuxdoc... no
checking for ps2pdf... /usr/bin/ps2pdf
checking Whether to build documentation... no
checking Whether to build pdf documentation... yes
checking for sed... /bin/sed
configure: creating ./config.status
config.status: creating shave
config.status: creating shave-libtool
config.status: creating Makefile
config.status: creating uxa/Makefile
config.status: creating src/Makefile
config.status: creating src/xvmc/Makefile
config.status: creating src/xvmc/shader/Makefile
config.status: creating src/xvmc/shader/mc/Makefile
config.status: creating src/xvmc/shader/vld/Makefile
config.status: creating src/bios_reader/Makefile
config.status: creating src/ch7017/Makefile
config.status: creating src/ch7xxx/Makefile
config.status: creating src/ivch/Makefile
config.status: creating src/reg_dumper/Makefile
config.status: creating src/sil164/Makefile
config.status: creating src/tfp410/Makefile
config.status: creating man/Makefile
config.status: creating src/render_program/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
Making all in uxa
  CC    uxa.o
  CC    uxa-accel.o
  CC    uxa-glyphs.o
  CC    uxa-render.o
uxa-render.c: In function 'uxa_picture_from_pixman_image':
uxa-render.c:392:16: warning: comparison between 'pixman_format_code_t' and 'enum _PictFormatShort'
uxa-render.c: In function 'uxa_acquire_pattern':
uxa-render.c:456:5: error: too few arguments to function 'image_from_pict'
/usr/include/xorg/fb.h:2085:1: note: declared here
make[2]: *** [uxa-render.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
    Aborting...


Any idea what could be causing this problem and how to fix it?

Offline

#2 2010-09-15 20:26:00

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Trouble compiling Intel 2.9.1 driver

Offline

#3 2010-09-16 07:09:58

michaelmoufarrij
Member
Registered: 2010-08-09
Posts: 3

Re: Trouble compiling Intel 2.9.1 driver

I installed the x86_64 package from that site, but X still doesn't load the intel module. Here's the relevant part from /var/log/Xorg.0.log:

[   124.478] (II) LoadModule: "intel"
[   124.478] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[   124.478] (II) Module intel: vendor="X.Org Foundation"
[   124.478]    compiled for 1.7.1, module version = 2.9.1
[   124.478]    Module class: X.Org Video Driver
[   124.479]    ABI class: X.Org Video Driver, version 6.0
[   124.479] (EE) module ABI major version (6) doesn't match the server's version ($
[   124.479] (II) UnloadModule: "intel"
[   124.479] (II) Unloading /usr/lib/xorg/modules/drivers/intel_drv.so
[   124.479] (EE) Failed to load module "intel" (module requirement mismatch, 0)

Last edited by michaelmoufarrij (2010-09-16 07:37:11)

Offline

#4 2010-09-16 08:23:11

Gusar
Member
Registered: 2009-08-25
Posts: 3,561

Re: Trouble compiling Intel 2.9.1 driver

Yes, ABI versions have changed between X server releases. You can try the IgnoreABI option, or you can downgrade xorg-server. However, my advice would be to try to resolve your problems with KMS. KMS is the way forward, trying to fight it will only get tougher and tougher.

Offline

#5 2010-09-16 10:48:11

eldragon
Member
From: Buenos Aires
Registered: 2008-11-18
Posts: 1,026

Re: Trouble compiling Intel 2.9.1 driver

try adding to your kernel boot line:
video=LVDS-1:<widthxheight>

to force modesetting instead of detecting the resolution. it works for me for a vga screen which fails to provide a working EDID

Last edited by eldragon (2010-09-16 10:48:50)

Offline

Board footer

Powered by FluxBB