| View previous topic :: View next topic |
| Author |
Message |
bhagany n00b

Joined: 09 Mar 2007 Posts: 63 Location: Appleton, WI, USA
|
Posted: Fri Feb 08, 2008 11:34 pm Post subject: [SOLVED] Intel X3100 DRI problems |
|
|
Hello all,
I've been working on getting direct rendering working on my Thinkpad T61 for about a week, but I've gotten to the point where I don't really know what to do. As a basic overview, I'm using the latest versions of the tuxonice kernel (with appropriate Intel support), xorg, mesa, and the i810 driver. I am having the same problem detailed here. According to the comments, this bug should be fixed as of i810-2.2.0.90, but I still experience it. Should I reopen that bug?
In an effort to get around this, I came across this forum post that recommended downgrading to i810-2.1.1. I have done this, but now X won't even start. I get the following errors:
dlopen: /usr/lib/xorg/modules/drivers//i810_drv.so: undefined symbol: ExaOffscreenMarkUsed
(EE) Failed to load /usr/lib/xorg/modules/drivers//i810_drv.so
(EE) Failed to load module "i810" (loader failed, 7)
(EE) No drivers available.
I suspect that I need to re-emerge something, but I don't know what. I've already tried re-emerging xorg-server and mesa. What else should I do about this?
Thanks for your help.
edit: Also, just wanted to mention that this last error is very resistant to googling.
Last edited by bhagany on Tue Feb 12, 2008 9:57 pm; edited 1 time in total |
|
| Back to top |
|
 |
d2_racing Moderator


Joined: 25 Apr 2005 Posts: 7699 Location: Ste-Foy,Canada
|
Posted: Sat Feb 09, 2008 12:18 am Post subject: |
|
|
Can you post your emerge --info and also your /etc/X11/xorg.conf plz. _________________ Sysadmin of Gentoo-Québec.org
Signature
IRC channel on Freenode : #gentoo-quebec |
|
| Back to top |
|
 |
bhagany n00b

Joined: 09 Mar 2007 Posts: 63 Location: Appleton, WI, USA
|
Posted: Sat Feb 09, 2008 8:12 am Post subject: |
|
|
Certainly.
emerge --info
| Code: |
Portage 2.1.3.19 (hardened/x86/2.6, gcc-3.4.6, glibc-2.6.1-r0, 2.6.23-tuxonice-r6 i686)
=================================================================
System uname: 2.6.23-tuxonice-r6 i686 Intel(R) Core(TM)2 Duo CPU T7500 @ 2.20GHz
Timestamp of tree: Sat, 09 Feb 2008 02:46:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
app-shells/bash: 3.2_p17-r1
dev-lang/python: 2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox: 1.2.18.1-r2
sys-devel/autoconf: 2.13, 2.61-r1
sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool: 1.5.24
virtual/os-headers: 2.6.23-r3
ACCEPT_KEYWORDS="x86"
ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371
es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci"
ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa
lfloat linear meter 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"
ARCH="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CCACHE_SIZE="2G"
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CLEAN_DELAY="5"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/
/etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CVS_RSH="ssh"
CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
DCCC_PATH="/usr/lib/distcc/bin"
DISTCC_LOG=""
DISTCC_VERBOSE="0"
DISTDIR="/usr/portage/distfiles"
EDITOR="/usr/bin/emacs"
ELIBC="glibc"
EMERGE_DEFAULT_OPTS="--ask --verbose"
EMERGE_WARNING_DELAY="10"
ESHELL="/bin/zsh"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
FETCHCOMMAND="/usr/bin/wget -t 5 -T 60 --passive-ftp -O ${DISTDIR}/${FILE} ${URI}"
GCC_SPECS=""
GDK_USE_XFT="1"
GENTOO_MIRRORS="http://gentoo.netnitco.net http://gentoo.cites.uiuc.edu/pub/gentoo/ ftp://gentoo.mirrors.tds.net/gentoo"
HOME="/root"
INFOPATH="/usr/share/info:/usr/share/binutils-data/i686-pc-linux-gnu/2.18/info:
/usr/share/gcc-data/i686-pc-linux-gnu/3.4.6/info:/usr/share/info/emacs-22"
INPUT_DEVICES="keyboard mouse synaptics"
KDEDIRS="/usr:/usr/local:/usr/kde/3.5"
KERNEL="linux"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"
LESS="-R -M --shift 5"
LESSOPEN="|lesspipe.sh %s"
LOGNAME="root"
MAKEOPTS="-j4 -s"
MANPATH="/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/i686-pc-linux-gnu/2.18/man:
/usr/share/gcc-data/i686-pc-linux-gnu/3.4.6/man:/usr/lib/php5/man/:/usr/kde/3.5/share/man:/usr/qt/3/doc/man"
OLDPWD="/home/brent"
OPENGL_PROFILE="xorg-x11"
PAGER="/usr/bin/less"
PATH="/sbin:/bin:/usr/sbin:/usr/bin"
PKGDIR="/usr/portage/packages"
PKG_CONFIG_PATH="/usr/qt/3/lib/pkgconfig"
PORTAGE_ARCHLIST="ppc s390 amd64 x86 ppc64 x86-fbsd m68k arm sparc sh mips ia64 alpha ppc-macos hppa sparc-fbsd"
PORTAGE_BINHOST_CHUNKSIZE="3000"
PORTAGE_BIN_PATH="/usr/lib/portage/bin"
PORTAGE_CONFIGROOT="/"
PORTAGE_DEBUG="0"
PORTAGE_DEPCACHEDIR="/var/cache/edb/dep"
PORTAGE_ELOG_CLASSES="warn error log"
PORTAGE_ELOG_MAILFROM="portage@localhost"
PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}"
PORTAGE_ELOG_MAILURI="root"
PORTAGE_ELOG_SYSTEM="save"
PORTAGE_GID="250"
PORTAGE_INST_GID="0"
PORTAGE_INST_UID="0"
PORTAGE_PYM_PATH="/usr/lib/portage/pym"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete
--delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_RSYNC_RETRIES="3"
PORTAGE_TMPDIR="/var/tmp"
PORTAGE_TMPFS="/dev/shm"
PORTAGE_WORKDIR_MODE="0700"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/custom-kernels"
PORT_LOGDIR="/var/log/portage"
PRELINK_PATH_MASK="/usr/lib/gstreamer-0.10:/usr/lib/klibc"
PS1="%{%}%m %{%}%# "
PWD="/home/brent"
PYTHONPATH="/usr/lib/portage/pym"
QMAKESPEC="linux-g++"
QTDIR="/usr/qt/3"
RESUMECOMMAND="/usr/bin/wget -c -t 5 -T 60 --passive-ftp -O ${DISTDIR}/${FILE} ${URI}"
ROOT="/"
ROOTPATH="/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.4.6:/usr/kde/3.5/sbin:/usr/kde/3.5/bin:/usr/qt/3/bin"
RPMDIR="/usr/portage/rpm"
RPS1="%{%}%/%{%}"
SHELL="/bin/zsh"
SHLVL="3"
SSH_CLIENT="192.168.1.6 1104 22"
SSH_CONNECTION="192.168.1.6 1104 192.168.1.9 22"
SSH_TTY="/dev/pts/1"
STAGE1_USE="hardened pic"
STY="7020.pts-1.quine"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
TERM="screen"
TERMCAP="SC|screen|VT 100/ANSI X3.64 virtual terminal:\
:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:bs:bt=\E[Z:\
:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:ct=\E[3g:\
:do=^J:nd=\E[C:pt:rc=\E8:rs=\Ec:sc=\E7:st=\EH:up=\EM:\
:le=^H:bl=^G:cr=^M:it#8:ho=\E[H:nw=\EE:ta=^I:is=\E)0:\
:li#89:co#226:am:xn:xv:LP:sr=\EM:al=\E[L:AL=\E[%dL:\
:cs=\E[%i%d;%dr:dl=\E[M:DL=\E[%dM:dc=\E[P:DC=\E[%dP:\
:im=\E[4h:ei=\E[4l:mi:IC=\E[%d@:ks=\E[?1h\E=:\
:ke=\E[?1l\E>:vi=\E[?25l:ve=\E[34h\E[?25h:vs=\E[34l:\
:ti=\E[?1049h:te=\E[?1049l:us=\E[4m:ue=\E[24m:so=\E[3m:\
:se=\E[23m:mb=\E[5m:md=\E[1m:mr=\E[7m:me=\E[m:ms:\
:Co#8:pa#64:AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m:AX:\
:vb=\Eg:G0:as=\E(0:ae=\E(B:\
:ac=\140\140aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~..--++,,hhII00:\
:po=\E[5i:pf=\E[4i:Z0=\E[?3h:Z1=\E[?3l:k0=\E[10~:\
:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[15~:k6=\E[17~:\
:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:F1=\E[23~:\
:F2=\E[24~:F3=\E[2P:F4=\E[2Q:F5=\E[2R:F6=\E[2S:\
:F7=\E[15;2~:F8=\E[17;2~:F9=\E[18;2~:FA=\E[19;2~:kb=^H:\
:K2=\EOE:kB=\E[Z:kF=\E[1;2B:kR=\E[1;2A:*4=\E[3;2~:\
:*7=\E[1;2F:#2=\E[1;2H:#3=\E[2;2~:#4=\E[1;2D:%c=\E[6;2~:\
:%e=\E[5;2~:%i=\E[1;2C:kh=\E[1~:@1=\E[1~:kH=\E[4~:\
:@7=\E[4~:kN=\E[6~:kP=\E[5~:kI=\E[2~:kD=\E[3~:ku=\EOA:\
:kd=\EOB:kr=\EOC:kl=\EOD:km:"
USE="X Xorg aac acpi alsa audiofile bzip2 caps cdr cracklib crypt cups curl curlwrappers dri dvd dvdread emacs encode
ethereal exif fastcgi firefox foomaticdb ftp gif glut gstreamer hal hardened ieee1394 ipv6 jpeg kde kerberos ldap
lm_sensors logrotate lua mailwrapper midi mysql ncurses nls nptlonly ogg opengl oss pam pcmcia pcre pdf php pic
png posix python qt4 quicktime raw readline samba sasl snmp sockets spell spl sse sse2 ssl svga tcpd theora tiff truetype
unicode urandom usb vnc vorbis wifi win32codecs x86 xml xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem
bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3
trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop
empty extplug file hooks iec958 ioplug ladspa lfloat linear meter 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="keyboard mouse synaptics" KERNEL="linux"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU"
VIDEO_CARDS="vesa i810"
USER="root"
USERLAND="GNU"
USE_EXPAND="ALSA_CARDS ALSA_PCM_PLUGINS APACHE2_MODULES APACHE2_MPMS CAMERAS
CROSSCOMPILE_OPTS DVB_CARDS ELIBC FCDSL_CARDS FOO2ZJS_DEVICES FRITZCAPI_CARDS
INPUT_DEVICES KERNEL LCD_DEVICES LINGUAS LIRC_DEVICES MISDN_CARDS USERLAND VIDEO_CARDS"
USE_EXPAND_HIDDEN="CROSSCOMPILE_OPTS ELIBC KERNEL USERLAND"
USE_ORDER="env:pkg:conf:defaults:pkginternal:env.d"
VIDEO_CARDS="vesa i810"
WINDOW="0"
WORDCHARS="*?_-.[]~=&;!#$%^(){}<>"
XARGS="xargs -r"
XDG_DATA_DIRS="/usr/share:/usr/kde/3.5/share:/usr/local/share"
_="/usr/bin/emerge" |
xorg.conf
| Code: |
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/TTF/"
FontPath "/usr/share/fonts/OTF"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/100dpi/"
FontPath "/usr/share/fonts/75dpi/"
EndSection
Section "Extensions"
Option "Composite" "Enable"
EndSection
Section "Module"
Load "glx"
Load "extmod"
Load "xtrap"
Load "record"
# Load "GLcore"
Load "dbe"
Load "freetype"
Load "type1"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
# Option "XkbOptions" "ctrl:swapcaps"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
#DisplaySize 330 210 # mm
Identifier "Monitor0"
VendorName "IBM"
ModelName "2887"
EndSection
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "NoAccel" # [<bool>]
#Option "SWcursor" # [<bool>]
#Option "ColorKey" # <i>
#Option "CacheLines" # <i>
#Option "Dac6Bit" # [<bool>]
#Option "DRI" # [<bool>]
#Option "NoDDC" # [<bool>]
#Option "ShowCache" # [<bool>]
#Option "XvMCSurfaces" # <i>
#Option "PageFlip" # [<bool>]
Identifier "Card0"
Driver "i810"
VendorName "Intel Corporation"
BoardName "Mobile Integrated Graphics Controller"
Option "DynamicTwinView" "false"
Option "DRI" "true"
Option "XAANoOffscreenPixmaps" "true"
Option "AllowGLXWithComposite" "true"
Option "RenderAccel" "true"
EndSection
Section "DRI"
Group 0
Mode 0666
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
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"
Viewport 0 0
Depth 24
EndSubSection
Option "AddARGBGLXVisuals" "True"
Option "DisableGLXRootClipping" "True"
EndSection |
|
|
| Back to top |
|
 |
bhagany n00b

Joined: 09 Mar 2007 Posts: 63 Location: Appleton, WI, USA
|
Posted: Sun Feb 10, 2008 11:48 am Post subject: |
|
|
| bump |
|
| Back to top |
|
 |
erikderzweite Tux's lil' helper

Joined: 25 Feb 2006 Posts: 117
|
Posted: Tue Feb 12, 2008 10:42 am Post subject: |
|
|
What version of xorg-server do you use? I have x3100 and DRM works all right. I use xf86-video-i810-2.1.1, x11-base/xorg-server-1.3.0.0-r5, media-libs/mesa-7.0.2 and x11-base/x11-drm is not installed.
Xorg.conf snippet:
| Code: | Section "Device"
Identifier "Intel"
Driver "intel"
VideoRam 393216
Option "XAANoOffscreenPixmaps" "true"
Option "DRI" "true"
Option "AperTexSize" "262144"
EndSection
|
|
|
| Back to top |
|
 |
bhagany n00b

Joined: 09 Mar 2007 Posts: 63 Location: Appleton, WI, USA
|
Posted: Tue Feb 12, 2008 11:07 am Post subject: |
|
|
I was using xorg-server-1.3.0.0-r5, mesa-7.0.2, and xf86-video-2.2.x (I tried various versions). I tried to downgrade to xf86-video-i810-2.1.1, but ran into the problem that I stated above, and nobody seems to have an answer to that one. So I went back to the newer version.
Then I tried upgrading to xorg-server-1.4.x, and had another problem with X freezing whenever I hit control, alt, shift, or delete. However, direct rendering worked. I found people were having similar problems when they were using a hardened profile (as I was), so I switched from that to a regular desktop profile. That involved upgrading gcc, glibc, and the whole ball of wax. My system is recompiling now.
By the way, if I'm reading your xorg.conf right, I don't think you're using the i810 driver, but instead the generic intel one. Not that you should change it, if it works. |
|
| Back to top |
|
 |
Carnildo Guru

Joined: 17 Jun 2004 Posts: 465
|
Posted: Tue Feb 12, 2008 4:11 pm Post subject: |
|
|
| As far as I know, the 2.2.0 drivers don't provide direct rendering with xorg-server 1.3. You'll want either the 2.1.1 drivers with the 1.3 server, or the 2.2.0 drivers with the 1.4 server. You might also try the 2.2.1_pre20080125 drivers with the 1.4 server. |
|
| Back to top |
|
 |
bhagany n00b

Joined: 09 Mar 2007 Posts: 63 Location: Appleton, WI, USA
|
Posted: Tue Feb 12, 2008 4:21 pm Post subject: |
|
|
| Yup, my goal right now is to get things up and running with xorg-server-1.4 and the 2.2.0.90 driver. I had it working before, except for the hardened profile problem I mentioned. Unfortunately, the 2.2.0.x drivers don't try to pull in xorg-server-1.4 as a dependency (which is ~ masked); portage is content to leave it at 1.3. |
|
| Back to top |
|
 |
bhagany n00b

Joined: 09 Mar 2007 Posts: 63 Location: Appleton, WI, USA
|
Posted: Tue Feb 12, 2008 9:57 pm Post subject: |
|
|
| Update: switching profiles worked. I've got direct rendering without any obvious X issues using a desktop profile, and the ~ masked versions of the packages I mentioned before. |
|
| Back to top |
|
 |
d2_racing Moderator


Joined: 25 Apr 2005 Posts: 7699 Location: Ste-Foy,Canada
|
Posted: Wed Feb 13, 2008 7:44 am Post subject: |
|
|
Great news. _________________ Sysadmin of Gentoo-Québec.org
Signature
IRC channel on Freenode : #gentoo-quebec |
|
| Back to top |
|
 |
wyv3rn Tux's lil' helper

Joined: 18 Aug 2005 Posts: 149 Location: USA
|
Posted: Sat Apr 19, 2008 1:05 pm Post subject: |
|
|
Ran into this myself when moving my old laptop install to new laptop. The dlopen error is caused because i810_drv is being linked bind NOW instead of LAZY, which does not work on hardened profile. You can see this by running scanelf -a on i810_drv.so. You can work around this by using:
LDFLAGS="-Wl,-z,lazy" emerge xf86-video-i810
I will be opening a bug about this because other drivers are linked for lazy binding and I think this is supposed to be taken care of in an eclass somewhere, but for some reason is not applying to xf86-video-i810. |
|
| Back to top |
|
 |
termite Guru

Joined: 06 May 2007 Posts: 465
|
Posted: Tue May 13, 2008 5:13 pm Post subject: |
|
|
| Just to be clear, could you post which version of xorg-server and the i810 drivers you're using? I'm getting my new T61 in a couple of days and would love to the install to be as trouble-free as possible! |
|
| Back to top |
|
 |
wyv3rn Tux's lil' helper

Joined: 18 Aug 2005 Posts: 149 Location: USA
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|