LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 10-30-2009, 04:05 PM   #166
witek
Member
 
Registered: Oct 2008
Location: Poland, Łódź
Distribution: Lubuntu, Salix
Posts: 102

Rep: Reputation: 19

Quote:
Originally Posted by Yury_T View Post
No need to bother with a packages, in this case. You just download the source for new version from intellinuxgraphics.org (some 800K) and compile and install just that (make && make install ).
Not quite. I tried to cimpile intel 2.9.1 driver and got this:

Code:
Making all in uxa
  CC    uxa.o
In file included from uxa-priv.h:331,
                 from uxa.c:37:
/usr/include/xorg/shmint.h:27:35: error: X11/extensions/shmstr.h: Nie ma takiego pliku ani katalogu
In file included from uxa-priv.h:331,
                 from uxa.c:37:
/usr/include/xorg/shmint.h:34: error: expected declaration specifiers or '...' before 'ShmFuncsPtr'
In file included from uxa.c:37:
uxa-priv.h:344: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'uxa_shm_funcs'
uxa.c: In function 'uxa_driver_init':
uxa.c:528: error: 'uxa_shm_funcs' undeclared (first use in this function)
uxa.c:528: error: (Each undeclared identifier is reported only once
uxa.c:528: error: for each function it appears in.)
uxa.c:528: error: too many arguments to function 'ShmRegisterFuncs'
 
Old 10-31-2009, 03:56 AM   #167
Yury_T
Member
 
Registered: Aug 2008
Posts: 31
Blog Entries: 4

Rep: Reputation: 16
Quote:
Originally Posted by witek View Post
Not quite. I tried to cimpile intel 2.9.1 driver and got this:

Code:
...
/usr/include/xorg/shmint.h:27:35: error: X11/extensions/shmstr.h: Nie ma takiego pliku ani katalogu
...
I compiled mine w/o any problem on Slackware 13.0 with xorg 1.6.3 (which is required for newer intel drivers). Did you run ` configure --prefix=/usr ' beforehand?
 
Old 10-31-2009, 05:20 AM   #168
witek
Member
 
Registered: Oct 2008
Location: Poland, Łódź
Distribution: Lubuntu, Salix
Posts: 102

Rep: Reputation: 19
Quote:
Originally Posted by Yury_T View Post
I compiled mine w/o any problem on Slackware 13.0 with xorg 1.6.3 (which is required for newer intel drivers). Did you run ` configure --prefix=/usr ' beforehand?
Yes, I tried --prefix but in vain. I also have Slackware 13 with xorg 1.6.3. I successfully compiled 2.9.0 before.
 
Old 10-31-2009, 12:59 PM   #169
BrZ
Member
 
Registered: Apr 2009
Distribution: Slackware
Posts: 486

Rep: Reputation: 79
According to xorg wiki, for radeon the build order should be macros->proto->xserver->libdrm->ddx(videodriver)->mesa. Try upgrading libdrm to 2.4.15 before compiling the new driver for your intel card. Don't rebuild the server, just libdrm. You can use this script to play with libdrm and step back if anything goes wrong:
Quote:
#!/bin/sh

# Copyright 2006, 2007, 2008, 2009 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
#
# 1. Redistributions of this script must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

PKGNAM=libdrm
VERSION=${VERSION:-2.4.15}
ARCH=${ARCH:-i486}
NUMJOBS=${NUMJOBS:-" -j7 "}
BUILD=${BUILD:-1}

CWD=$(pwd)
TMP=${TMP:-/tmp}
PKG=$TMP/package-${PKGNAM}

if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "s390" ]; then
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
fi

rm -rf $PKG
mkdir -p $TMP $PKG
cd $TMP
rm -rf ${PKGNAM}-${VERSION}
tar xvf $CWD/${PKGNAM}-$VERSION.tar.bz2 || exit 1
cd ${PKGNAM}-$VERSION

# Make sure ownerships and permissions are sane:
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
-exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;

# Configure:
CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--build=$ARCH-slackware-linux

# Build and install:
make $NUMJOBS || make || exit 1
make install DESTDIR=$PKG || exit 1

# Strip binaries:
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null

# Compress and link manpages, if any:
if [ -d $PKG/usr/man ]; then
( cd $PKG/usr/man
for manpagedir in $(find . -type d -name "man*") ; do
( cd $manpagedir
for eachpage in $( find . -type l -maxdepth 1) ; do
ln -s $( readlink $eachpage ).gz $eachpage.gz
rm $eachpage
done
gzip -9 *.?
)
done
)
fi

# Compress info files, if any:
if [ -d $PKG/usr/info ]; then
( cd $PKG/usr/info
rm -f dir
gzip -9 *
)
fi

# Add a documentation directory:
mkdir -p $PKG/usr/doc/${PKGNAM}-$VERSION
cp -a \
README \
$PKG/usr/doc/${PKGNAM}-$VERSION

mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc

cd $TMP/package-${PKGNAM}
/sbin/makepkg -l y -c n $TMP/${PKGNAM}-$VERSION-$ARCH-$BUILD.txz

Last edited by BrZ; 10-31-2009 at 01:02 PM.
 
Old 10-31-2009, 03:36 PM   #170
agentdcooper
Member
 
Registered: Aug 2005
Distribution: Slackware
Posts: 35

Rep: Reputation: 15
Quote:
Originally Posted by Yury_T View Post
No need to bother with a packages, in this case. You just download the source for new version from intellinuxgraphics.org (some 800K) and compile and install just that (make && make install ).
I was able to easily build + upgrade to xf86-video-intel-2.9.1-i486-1 (of mention I am using libdrm-2.4.14, and mesa-7.6) package no problem on my dell inspiron 1100 laptop (intel 845G) using src2pkg. this time KDE4 comes up to the black + white bubbles background, and goes thru the startup icons, but again after completing it's flashing of each KDE4 startup icon, ending with the K - I then get a black screen (on my other non-intel-based video hardware computers with slack13, I never get that black screen, it just fades to my desktop. this blackscreen issue is ONLY on my intel boxen). I tried using the following in my xorg.conf to no avail;
Code:
Option "Tiling" "false"
I also tried no xorg.conf, and X -configure, then that just xorg.conf.new plain-jane to /etc/X11/xorg.conf, but same issues!

sooo, this had me thinking maybe, just maybe it's a KDE4 thing... so I upgraded to slackware-current x86, which has kde 4.3.2 - but, same deal! X starts up, gets the KDE4 bubble background (blue & white this time with KDE 4.3.2), after finishing it comes up to a black screen, yet I can move and see my mouse cursor just fine. so, no fixie for me yet. still looking for that illusive/magic FIX for my intel 845G + KDE4 issue. I can say this tho, using any other window manager works, and actually seems to be quicker with this new driver = 2.9.1.

thanks for the help everyone... I will continue to work on this, if anyone else has pointers let me know!

PS: I notice after I startx with KDE4 and it hits that black background, and I then hit CONTROL+BACKSPACE to get to a prompt again... upon checking dmesg I see the following OVER & OVER again (which Im thinking has something to do with the intel xorg driver crapping out?) ;;
Code:
[drm:i915_gem_execbuffer] *ERROR* Execbuf while wedged
then at the bottom after the above repeats ~30+times, dmesg shows this
Code:
[drm:i915_gem idle] *ERROR* hardware wedged
mtrr: no MTRR for e0000000,8000000

Last edited by agentdcooper; 10-31-2009 at 03:40 PM.
 
Old 10-31-2009, 04:13 PM   #171
Yury_T
Member
 
Registered: Aug 2008
Posts: 31
Blog Entries: 4

Rep: Reputation: 16
Quote:
Originally Posted by witek View Post
Yes, I tried --prefix but in vain. I also have Slackware 13 with xorg 1.6.3. I successfully compiled 2.9.0 before.
Well, I've re-checked, and I am actually able to build both with or without specifying the /usr prefix.

I would definitely say you have a wrong prefix somewhere in your build, or, possibly some files missing OR dislocated, even. Wrong symlink or "fancy" layout in your /usr filesystem?? Some xorg packages missing?? No offence, but do you actually have a /usr/include/X11 dir on your system?

I've noticed before how Slack's symlinking "up n dirs" for the X11 subsystem may get incorrect. Unfortunately, can't remember the details, so can't be more specific).

On the Slackware-13.0, the shmint.h (which you have) belongs to the xorg-server-1.6.3-i486-1 package, and shmstr.h would belong to the xextproto-7.0.5-noarch-1 package.
 
Old 10-31-2009, 04:49 PM   #172
witek
Member
 
Registered: Oct 2008
Location: Poland, Łódź
Distribution: Lubuntu, Salix
Posts: 102

Rep: Reputation: 19
Quote:
Originally Posted by Yury_T View Post
On the Slackware-13.0, the shmint.h (which you have) belongs to the xorg-server-1.6.3-i486-1 package, and shmstr.h would belong to the xextproto-7.0.5-noarch-1 package.
Thanks a lot! I forgot I`ve been tinkering with my xorg recently when I was trying to upgrade to 1.7. I failed but some of packages remained upgraded, among them I had xextproto-7.1.1 instead of xextproto-7.0.5. When I downgraded I was able to compile intel driver at last (by the way: I was sure that having upgraded package doesn`t hurt. I was wrong apparently).

For all interested in testing it:
http://advamacs.com/pub/intel-slackware/

Now I understand why I was probably unable to build mesa7.6 either.

Last edited by witek; 02-04-2010 at 03:57 PM.
 
  


Reply

Tags
driver, i810, intel, stability, video


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Request For Testing - Intel Graphics Drivers in -current rworkman Slackware 24 07-25-2009 10:30 PM
Request: New shadow in current jong357 Slackware 3 12-10-2008 03:51 PM
Request for Testing: Suspend/Resume (pm-utils backend) rworkman Slackware 16 11-10-2008 11:04 AM
Request for slackware-current jong357 Slackware 6 04-15-2008 09:34 PM
Request for Testing - hal-0.5.11rc1 in -current rworkman Slackware 11 03-18-2008 01:23 PM


All times are GMT -5. The time now is 12:02 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration