Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 317585 - x11-drivers/xf86-video-intel-2.9.1 fails to build with x11-base/xorg-server-1.8
Summary: x11-drivers/xf86-video-intel-2.9.1 fails to build with x11-base/xorg-server-1.8
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-28 06:19 UTC by Xake
Modified: 2010-06-23 11:46 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Xake 2010-04-28 06:19:48 UTC
make -j1 
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_acquire_pattern':
uxa-render.c:456: error: too few arguments to function 'image_from_pict'
make[2]: *** [uxa-render.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
 * ERROR: x11-drivers/xf86-video-intel-2.9.1 failed:
 *   emake failed


This is bad because that is the last version with UMS, and since S-Video is a still a no-go on KMS, this version of the driver is needed.

# emerge --info
Portage 2.1.8.3 (default/linux/x86/10.0, gcc-4.4.3, glibc-2.11.1-r0, 2.6.33-gentoo-r1 i686)
=================================================================
System uname: Linux-2.6.33-gentoo-r1-i686-Intel-R-_Core-TM-_Duo_CPU_T2350_@_1.86GHz-with-gentoo-2.0.1
Timestamp of tree: Tue, 27 Apr 2010 17:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p5
dev-lang/python:     2.6.5-r1, 3.1.2-r2
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.1-r1
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.65
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1
sys-devel/gcc:       4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.33
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=native -mtune=native -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-march=native -mtune=native -O2 -pipe -fomit-frame-pointer"
DISTDIR="/var/portage/distfiles"
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms splitdebug strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.sunet.se/pub/os/Linux/distributions/gentoo"
LANG="sv_SE.UTF-8"
LDFLAGS="-Wl,--as-needed -Wl,-O1 -Wl,--sort-common -Wl,--warn-once,--hash-style=gnu"
LINGUAS="sv"
MAKEOPTS="-j3 -l10 "
PKGDIR="/var/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/var/portage"
PORTDIR_OVERLAY="/var/overlays/mine"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amr avahi bash-completion bzip2 cdr cli cracklib crypt css cxx dirac dri dts dvd dvdr enca encode faac faad fam fbcondecor ffmpeg gdbm gif git gmp graphite gsm hal hpn iconv idn ieee1394 jbig joystick jpeg jpeg2k lame laptop lzma midi mktemp mms mmx modules mp3 mpeg mpi mudflap musepack ncurses network network-cron nls nptl nptlonly ntp ogg opencore-amr opengl openmp optimization pam pcre png pppd quicktime rar readline reflection schroedinger session speex spl sse sse2 ssl strong-optimization svg sysfs tcpd theora threads tiff unicode vcd vdpau vorbis x264 x86 xorg xrandr xv xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="sv" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Rémi Cardona (RETIRED) gentoo-dev 2010-05-02 21:54:53 UTC
(In reply to comment #0)
> This is bad because that is the last version with UMS, and since S-Video is a
> still a no-go on KMS, this version of the driver is needed.

Please file a bug upstream [1] to get this fixed ASAP and paste the URL here so I can track the issue.

As for the compile error, I'll see what I can do but don't hold your breath, 2.9 is already unsupported by upstream.

Thanks

[1] http://intellinuxgraphics.org/how_to_report_bug.html
Comment 2 Xake 2010-05-03 06:37:39 UTC
(In reply to comment #1)
> (In reply to comment #0)
> > This is bad because that is the last version with UMS, and since S-Video is a
> > still a no-go on KMS, this version of the driver is needed.
> 
> Please file a bug upstream [1] to get this fixed ASAP and paste the URL here so
> I can track the issue.
> 

I have already done that. But it is a somewhat bloated bugreport, since it contains two bug which I initially thought was one (none has been fixed upstream, although one of them had a patch) and my desperate attempts to find out what was wrong, but the bug has become very silent since I found out that the screen distortion does not appear with 3d contents, just get noticeably worse.
I even have a kernel bisect of which commit broke stuff, but noone has even asked me to find out what actually broke with that commit.

https://bugs.freedesktop.org/show_bug.cgi?id=23899

I can also without problems reproduce the problems on both a F13 livecd and a Ubuntu 10.04 livecd, so hopefully it will get more attention soon as others starts to hit it.

> As for the compile error, I'll see what I can do but don't hold your breath,
> 2.9 is already unsupported by upstream.
> 

This was what I assumed, and that is why I filed this bugreport in hope of having a working UMS in Gentoo. I think Ubuntu has patches for this since they ship 2.9 in 10.04 as they did not want to lose UMS, but if those patches are usable with gentoo I do not know.
Comment 3 Rémi Cardona (RETIRED) gentoo-dev 2010-05-03 06:44:25 UTC
(In reply to comment #2)
> I have already done that. But it is a somewhat bloated bugreport, since it
> contains two bug which I initially thought was one (none has been fixed
> upstream, although one of them had a patch) and my desperate attempts to find
> out what was wrong, but the bug has become very silent since I found out that
> the screen distortion does not appear with 3d contents, just get noticeably
> worse.
> I even have a kernel bisect of which commit broke stuff, but noone has even
> asked me to find out what actually broke with that commit.
> 
> https://bugs.freedesktop.org/show_bug.cgi?id=23899

You might want to try opening your own bug report with the results of your bisect, that will probably refocus upstream on your issue.

> This was what I assumed, and that is why I filed this bugreport in hope of
> having a working UMS in Gentoo. I think Ubuntu has patches for this since they
> ship 2.9 in 10.04 as they did not want to lose UMS, but if those patches are
> usable with gentoo I do not know.

I need to check but I think they might still be using Xorg 1.7. In any case, I'll take a look, thanks for the tip.

Cheers
Comment 4 Xake 2010-05-03 07:02:21 UTC
(In reply to comment #3)
> You might want to try opening your own bug report with the results of your
> bisect, that will probably refocus upstream on your issue.
> 

You mean open a clean new bugreport on bugs.fd.o about the screen corruption issue?

> I need to check but I think they might still be using Xorg 1.7. In any case,
> I'll take a look, thanks for the tip.
> 

A quick check on packages.ubuntu.com and it seems like you are right. OTOH because of their heavy backporting you cannot be sure of if they needed the fix anyway...
Comment 5 Rémi Cardona (RETIRED) gentoo-dev 2010-06-23 11:46:54 UTC
I honestly doubt upstream will forward port 2.9 to xorg-server 1.8.

Please upgrade to the latest versions of the driver/server/kernel and file bugs upstream to get S-Video output fixed. There's little we can do here.

Thanks