Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 127387 - xorg-x11-7.0-r1 fails with sis: exaGetPixmapPitch undefined
Summary: xorg-x11-7.0-r1 fails with sis: exaGetPixmapPitch undefined
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-23 23:46 UTC by Stoian Ivanov
Modified: 2006-07-16 21:39 UTC (History)
1 user (show)

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


Attachments
this is the problematic config file (xorg.conf,7.53 KB, text/plain)
2006-03-23 23:48 UTC, Stoian Ivanov
Details
this is the problem's log file (Xorg.0.log,12.72 KB, text/plain)
2006-03-23 23:49 UTC, Stoian Ivanov
Details
emerge --info output (emerge-info.txt,52 bytes, text/plain)
2006-07-16 21:35 UTC, Matt McHenry
Details
emerge --info output (emerge-info.txt,3.22 KB, text/plain)
2006-07-16 21:39 UTC, Matt McHenry
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stoian Ivanov 2006-03-23 23:46:10 UTC
sdr ~ # startx
xauth:  creating new authority file /root/.serverauth.31997


X Window System Version 7.0.0
Release Date: 21 December 2005
X Protocol Version 11, Revision 0, Release 7.0
Build Operating System:Linux 2.6.16-gentoo i686
Current Operating System: Linux sdr 2.6.16-gentoo #1 PREEMPT Fri Mar 24 00:11:53 EET 2006 i686
Build Date: 24 March 2006
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Fri Mar 24 09:55:11 2006
(==) Using config file: "/etc/X11/xorg.conf"
(EE) Failed to load module "synaptics" (module does not exist, 0)
dlopen: /usr/lib/xorg/modules/drivers/sis_drv.so: undefined symbol: exaGetPixmapPitch
(EE) Failed to load /usr/lib/xorg/modules/drivers/sis_drv.so
(EE) Failed to load module "sis" (loader failed, 7)
(EE) Failed to load module "synaptics" (module does not exist, 0)
(EE) No drivers available.

Fatal server error:
no screens found
XIO:  fatal IO error 104 (Connection reset by peer) on X server ":0.0"
      after 0 requests (0 known processed) with 0 events remaining.
sdr ~ # emerge -pv xorg-x11

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] x11-base/xorg-x11-7.0-r1  USE="-3dfx" INPUT_DEVICES="keyboard mouse synaptics -acecad -aiptek -calcomp -citron -digitaledge -dmc -dynapro -elo2300 -elographics -evdev -fpit -hyperpen -jamstudio -joystick -magellan -magictouch -microtouch -mutouch -palmax -penmount -spaceorb -summa -tek4957 -ur98 -vmmouse -void -wacom" VIDEO_CARDS="sis -apm -ark -ati -chips -cirrus -cyrix -dummy -fbdev -fglrx -glint -i128 -i740 -i810 -imstt -mga -neomagic -nsc -nv -nvidia -rendition -s3 -s3virge -savage -siliconmotion -sisusb -tdfx -tga -trident -tseng -v4l -vesa -vga -via -vmware -voodoo" 0 kB

Total size of downloads: 0 kB
sdr ~ #
Comment 1 Stoian Ivanov 2006-03-23 23:48:41 UTC
Created attachment 82982 [details]
this is the problematic config file
Comment 2 Stoian Ivanov 2006-03-23 23:49:41 UTC
Created attachment 82983 [details]
this is the problem's log file
Comment 3 Donnie Berkholz (RETIRED) gentoo-dev 2006-03-24 00:41:35 UTC
First (and easier) problem is synaptics: USE=dlloader emerge synaptics

Second problem is undefined exaGetPixmapPitch -- have you installed the xf86-video-sis driver in portage, or are you using a different one? Same goes for xorg-server.
Comment 4 Stoian Ivanov 2006-03-24 00:59:59 UTC
Everything is installed from portage. REEMERGING synaptics solved the problem with it. sis driver is still an issue:

sdr ~ # equery list xf86-video-sis
[ Searching for package 'xf86-video-sis' in all categories among: ]
 * installed packages
[I--] [ ~] x11-drivers/xf86-video-sis-0.8.1.3 (0)
sdr ~ # equery uses xf86-video-sis
[ Searching for packages matching xf86-video-sis... ]
[ Colour Code : set unset ]
[ Legend        : Left column  (U) - USE flags from make.conf                     ]
[                  : Right column (I) - USE flags packages was installed with ]
[ Found these USE variables for x11-drivers/xf86-video-sis-0.8.1.3 ]
 U I
 - - debug : Tells configure and the makefiles to build for debugging. Effects vary across packages, but generally it will at least add -g to CFLAGS. Remember to set FEATURES=nostrip too
 + + dri   : Enable direct rendering: used for accelerated 3D and some 2D, like DMA
sdr ~ #
Comment 5 Stoian Ivanov 2006-03-24 01:09:55 UTC
Trying to emerge xf86-video-sis with -dri cause a compilation failure. Lots of errors like this:

In file included from sis.h:179,
                 from init301.h:60,
                 from init301.c:76:
sis_dri.h:69: error: syntax error before "drmHandle"
sis_dri.h:69: warning: no semicolon at end of struct or union

-----------------------------------------------------------------------
sdr ~ # equery uses xorg-server
[ Searching for packages matching xorg-server... ]
[ Colour Code : set unset ]
[ Legend        : Left column  (U) - USE flags from make.conf                     ]
[                  : Right column (I) - USE flags packages was installed with ]
[ Found these USE variables for x11-base/xorg-server-1.0.2-r1 ]
 U I
 - - debug   : Tells configure and the makefiles to build for debugging. Effects vary across packages, but generally it will at
least add -g to CFLAGS. Remember to set FEATURES=nostrip too
 + + dri     : Enable direct rendering: used for accelerated 3D and some 2D, like DMA
 - - ipv6    : Adds support for IP version 6
 - - minimal : Install a very minimal build (disables, for example, plugins, fonts, most drivers, non-critical features)
 - - xprint  : Support for xprint, http://www.mozilla.org/projects/xprint/
sdr ~ #
Comment 6 Donnie Berkholz (RETIRED) gentoo-dev 2006-03-24 15:20:32 UTC
Your problem is with exa, not dri, and that's non-optional.

In the meantime you can either (1) set up kernel vesafb / sisfb and use the fbdev driver or (2) use the vesa driver.

This appears to be an upstream bug. Please file it at bugs.freedesktop.org in the xorg product and post the URL here so we can track it.

Thanks!
Comment 7 Stoian Ivanov 2006-03-24 15:59:33 UTC
This is becoming a nightmare:

sdr ~ # X -configure

X Window System Version 7.0.0
Release Date: 21 December 2005
X Protocol Version 11, Revision 0, Release 7.0
Build Operating System:Linux 2.6.16-gentoo i686
Current Operating System: Linux sdr 2.6.16-gentoo #1 PREEMPT Fri Mar 24 00:11:53 EET 2006 i686
Build Date: 24 March 2006
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sat Mar 25 02:12:28 2006
List of video drivers:
        sis
        fbdev
dlopen: /usr/lib/xorg/modules/drivers/sis_drv.so: undefined symbol: exaGetPixmapPitch
(EE) Failed to load /usr/lib/xorg/modules/drivers/sis_drv.so
(EE) Failed to load module "sis" (loader failed, 7)
dlopen: /usr/lib/xorg/modules/drivers/fbdev_drv.so: undefined symbol: fbdevHWProbe
(EE) Failed to load /usr/lib/xorg/modules/drivers/fbdev_drv.so
(EE) Failed to load module "fbdev" (loader failed, 7)
No devices to configure.  Configuration failed.
sdr ~ #
Comment 8 Donnie Berkholz (RETIRED) gentoo-dev 2006-03-24 22:29:06 UTC
Did you build this using a hardened toolchain? You haven't posted your `emerge info`. I would also suspect you're specifying an invalid ModulePath in xorg.conf but I didn't see any at all, which is correct.
Comment 9 Stoian Ivanov 2006-03-24 23:11:26 UTC
Nope i don't  use hardened tool chains:

sdr ~ # emerge info
*** Deprecated use of action 'info', use '--info' instead
Portage 2.1_pre6-r6 (default-linux/x86/2005.1, gcc-3.4.6, glibc-2.4-r1, 2.6.16-gentoo i686)
=================================================================
System uname: 2.6.16-gentoo i686 Mobile AMD Sempron(tm) Processor 3000+
Gentoo Base System version 1.12.0_pre16
dev-lang/python:     2.3.5-r2, 2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -mcpu=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -mcpu=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="bg_BG"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X alsa apache2 apm audiofile avi berkdb bitmap-fonts crypt cups directfb dri eds emboss encode foomaticdb fortran gdbm
gif gpm gstreamer gtk2 hal imlib jack jpeg kde libg++ libwww mad mikmod motif mp3 mpeg ncurses nls nptl nptlonly ogg oggvorbis opengl pam pdflib perl png qt quicktime readline sdl spell ssl tcpd truetype truetype-fonts type1-fonts vorbis xml2 xmms xv zlib
elibc_glibc input_devices_keyboard input_devices_mouse input_devices_synaptics kernel_linux userland_GNU video_cards_sis video_cards_fbdev"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LC_ALL, LDFLAGS, LINGUAS

sdr ~ #
Comment 10 Matt McHenry 2006-07-16 21:34:47 UTC
I'm seeing the same problem.  The only suggestion I could find (somewhere on the forums) was to do an 'emerge -e world'.  That was no help.

The upstream bug that Stoian filed is: https://bugs.freedesktop.org/show_bug.cgi?id=6389
Comment 11 Matt McHenry 2006-07-16 21:35:50 UTC
Created attachment 91950 [details]
emerge --info output
Comment 12 Matt McHenry 2006-07-16 21:39:09 UTC
Created attachment 91951 [details]
emerge --info output

My 'Xorg -configure' output is attached to the upstream bug.  Let me know if you'd like me to attach it here as well.