WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: TC7 xf86-video-intel recompile request with legacy i810 support...  (Read 3546 times)

Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
My request stems from a recent previous post regarding TC7 Intel graphic issues. Recently upgraded from TC6 -> TC7 and lost graphic support for my old Intel i810. Digging around, Intel for TC6 was compiled so:
Code: [Select]
tce-load -i xorg-server-dev

cd xf86-video-intel-2.99.917

CC="gcc -march=i486 -mtune=i686 -Os -pipe" CXX="g++ -march=i486 -mtune=i686 -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local --disable-static --localstatedir=/var --sysconfdir=/etc --libexecdir=/usr/local/lib/xorg

find . -name Makefile -type f -exec sed -i 's/-O2//g' {} \;

make
sudo make install

xf86-video-intel 2.99.917 will be compiled with:
  Xorg Video ABI version: 19.0
  Acceleration backends: none *sna uxa
  Additional debugging support? none
  Support for Kernel Mode Setting? yes
  Support for legacy User Mode Setting (for i810)? yes
  Support for Direct Rendering Infrastructure: DRI1 DRI2 Present
  Support for Xv motion compensation (XvMC and libXvMC): yes
  Build additional tools and utilities? xf86-video-intel-backlight-helper intel-virtual-output

...while TC7 was compiled without legacy i810 support:
Code: [Select]
tce-load -i git automake libtool-dev gettext-dev intltool xorg-server-dev Xorg-7.7-3d-dev

git clone git://anongit.freedesktop.org/xorg/driver/xf86-video-intel

cd xf86-video-intel

./autogen.sh

CC="gcc -march=i486 -mtune=i686 -Os -pipe" CXX="g++ -march=i486 -mtune=i686 -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local --disable-static --localstatedir=/var --sysconfdir=/etc --libexecdir=/usr/local/lib/xorg --enable-kms-only --enable-uxa

[fails with -flto]

find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \;

make
sudo make install

The xf86-video-intel module is an open-source 2D graphics driver for
the X Window System as implemented by X.org. It supports a variety of
Intel graphics chipsets including:

        i810/i810e/i810-dc100,i815,
        i830M,845G,852GM,855GM,865G,
        915G/GM,945G/GM/GME,946GZ
        G/GM/GME/Q965,
        G/Q33,G/Q35,G41,G/Q43,G/GM/Q45
        PineView-M (Atom N400 series)
        PineView-D (Atom D400/D500 series)
        Intel(R) HD Graphics: 2000-6000,
        Intel(R) Iris(TM) Graphics: 5100/6100, and
        Intel(R) Iris(TM) Pro Graphics: 5200/6200/P6300.

Where to get more information about the driver
----------------------------------------------
The primary source of information about this and other open-source
drivers for Intel graphics is:

        https://01.org/linuxgraphics/

Documentation specific to the xf86-video-intel driver including
possible configuration options for the xorg.conf file can be found in
the intel(4) manual page. After installing the driver this
documentation can be read with the following command:

        man intel

Mailing list for communication with users and developers of
xf86-video-intel:

        intel-gfx@lists.freedesktop.org

        Note: Subscription is required before posting, but anyone is
        free to subscribe. See instructions (and archives) here:

        http://lists.freedesktop.org/mailman/listinfo/intel-gfx

To report bugs encountered with the driver, see:

        https://01.org/linuxgraphics/documentation/how-report-bugs

To see bugs that are targeted to be fixed in the next release:

        https://bugs.freedesktop.org/show_bug.cgi?id=intel-2d-release

xf86-video-intel 2.99.917 will be compiled with:
  Xorg Video ABI version: 20.0 (xorg-server-1.18.4)
  pixman version: pixman-1-0.32.8
  Acceleration backends: none *sna uxa
  Additional debugging support? none
  Support for Kernel Mode Setting? yes
  Support for legacy User Mode Setting (for i810)? no
  Support for Direct Rendering Infrastructure: *DRI2 DRI3 Present
  Support for Xv motion compensation (XvMC and libXvMC): yes
  Support for display hotplug notifications (udev): yes
  Build additional tools and utilities? xf86-video-intel-backlight-helper intel-virtual-output

As an avid *Core user, could  xf86-video-intel  please be recompiled in TC7 with i810 support? Although the latest info file indicates Juanito, thought coreplayer2 compiled most drivers, so not sure who to ask and posting here. Also not sure if legacy i810 support will work with the latest git version, TC6 i believe used old version 2.99. If not i would be happy with a v2.99 re-compile for TC7, intel-legacy or similar. Thanks for any assistance you all can provide.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14812
Re: TC7 xf86-video-intel recompile request with legacy i810 support...
« Reply #1 on: October 06, 2016, 04:41:33 AM »
Since I don't have any hardware to test, maybe you could compile it and see if it works?

Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
Re: TC7 xf86-video-intel recompile request with legacy i810 support...
« Reply #2 on: October 06, 2016, 05:12:54 AM »
Hi Juanito. Logged in to post update and saw your response. Tried building myself in TC7, both the old v2.99 source from TC6 and the new git version. Both time got 'configure: error: C compiler cannot create executables'. So thinking something is missing from the build recipes provided. Never did have much success compiling, except for simpler applications.

Got a whole bunch of stuff loaded:
compiletc
automake
libtool-dev
gettext-dev
intltool
xorg-server-dev
Xorg-7.7-3d-dev

Any hints?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14812
Re: TC7 xf86-video-intel recompile request with legacy i810 support...
« Reply #3 on: October 06, 2016, 07:16:18 AM »
Using:

http://tinycorelinux.net/6.x/x86_64/tcz/src/xf86-video-intel/xf86-video-intel-0340718.tar.xz

..this works:
Code: [Select]
tce-load -i compiletc Xorg-7.7-3d-dev xorg-server-dev

tar xf xf86-video-intel-0340718.tar.xz
cd xf86-video-intel

CC="gcc -flto -fuse-linker-plugin -march=i486 -mtune=i686 -Os -pipe" CXX="g++ -flto -fuse-linker-plugin -march=i486 -mtune=i686 -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local --disable-static --localstatedir=/var --sysconfdir=/etc --libexecdir=/usr/local/lib/xorg --disable-sna

find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \;

make
sudo make install

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: TC7 xf86-video-intel recompile request with legacy i810 support...
« Reply #4 on: October 06, 2016, 07:19:37 AM »
Wouldn't  -O2  make sense for graphics drivers? I understand it makes things... faster?
Download a copy and keep it handy: Core book ;)

Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
Re: TC7 xf86-video-intel recompile request with legacy i810 support...
« Reply #5 on: October 06, 2016, 07:58:38 AM »
Thanks for trying to help guys. Keep getting same error, tried source re-download and extract, fresh terminal, system reboot, remove and re-install compiletc. Seems straightforward recipe your latest, see below:
Code: [Select]
tc@box:/tmp/xf86-video-intel$ CC="gcc -flto -fuse-linker-plugin -march=i486 -mtu
ne=i686 -Os -pipe" CXX="g++ -flto -fuse-linker-plugin -march=i486 -mtune=i686 -O
s -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local --disable-sta
tic --localstatedir=/var --sysconfdir=/etc --libexecdir=/usr/local/lib/xorg --di
sable-sna
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for style of include used by make... GNU
checking for gcc... gcc -flto -fuse-linker-plugin -march=i486 -mtune=i686 -Os -pipe
checking whether the C compiler works... no
configure: error: in `/tmp/xf86-video-intel':
configure: error: C compiler cannot create executables
See `config.log' for more details

config.log:
Code: [Select]
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by xf86-video-intel configure 2.99.917, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  $ ./configure --prefix=/usr/local --disable-static --localstatedir=/var --sysconfdir=/etc --libexecdir=/usr/local/lib/xorg --disable-sna

## --------- ##
## Platform. ##
## --------- ##

hostname = box
uname -m = i686
uname -r = 4.2.9-tinycore
uname -s = Linux
uname -v = #1999 SMP Mon Jan 18 19:42:12 UTC 2016

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /home/tc/.local/bin
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /apps/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /etc/sysconfig/tcedir/ondemand


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2658: checking for a BSD-compatible install
configure:2726: result: /usr/bin/install -c
configure:2737: checking whether build environment is sane
configure:2792: result: yes
configure:2943: checking for a thread-safe mkdir -p
configure:2982: result: ./install-sh -c -d
configure:2989: checking for gawk
configure:3005: found /usr/local/bin/gawk
configure:3016: result: gawk
configure:3027: checking whether make sets $(MAKE)
configure:3049: result: yes
configure:3078: checking whether make supports nested variables
configure:3095: result: yes
configure:3247: checking for style of include used by make
configure:3275: result: GNU
configure:3346: checking for gcc
configure:3373: result: gcc -flto -fuse-linker-plugin -march=i486 -mtune=i686 -Os -pipe
configure:3602: checking for C compiler version
configure:3611: gcc -flto -fuse-linker-plugin -march=i486 -mtune=i686 -Os -pipe --version >&5
gcc (GCC) 5.2.0
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3622: $? = 0
configure:3611: gcc -flto -fuse-linker-plugin -march=i486 -mtune=i686 -Os -pipe -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/tmp/tcloop/gcc/usr/local/bin/../lib/gcc/i486-pc-linux-gnu/5.2.0/lto-wrapper
Target: i486-pc-linux-gnu
Configured with: ../gcc-5.2.0/configure --prefix=/usr/local --enable-languages=c,c++ --disable-multilib --disable-bootstrap --with-system-zlib --libexecdir=/usr/local/lib --enable-frame-pointer --enable-gold
Thread model: posix
gcc version 5.2.0 (GCC)
configure:3622: $? = 0
configure:3611: gcc -flto -fuse-linker-plugin -march=i486 -mtune=i686 -Os -pipe -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:3622: $? = 1
configure:3611: gcc -flto -fuse-linker-plugin -march=i486 -mtune=i686 -Os -pipe -qversion >&5
gcc: error: unrecognized command line option '-qversion'
gcc: fatal error: no input files
compilation terminated.
configure:3622: $? = 1
configure:3642: checking whether the C compiler works
configure:3664: gcc -flto -fuse-linker-plugin -march=i486 -mtune=i686 -Os -pipe    conftest.c  >&5
cc1: internal compiler error: Illegal instruction
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
configure:3668: $? = 1
configure:3706: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "xf86-video-intel"
| #define PACKAGE_TARNAME "xf86-video-intel"
| #define PACKAGE_VERSION "2.99.917"
| #define PACKAGE_STRING "xf86-video-intel 2.99.917"
| #define PACKAGE_BUGREPORT "https://bugs.freedesktop.org/enter_bug.cgi?product=xorg"
| #define PACKAGE_URL ""
| #define PACKAGE "xf86-video-intel"
| #define VERSION "2.99.917"
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:3711: error: in `/tmp/xf86-video-intel':
configure:3714: error: C compiler cannot create executables
See `config.log' for more details

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_env_CC_set='set'
ac_cv_env_CC_value='gcc -flto -fuse-linker-plugin -march=i486 -mtune=i686 -Os -pipe'
ac_cv_env_CFLAGS_set=''
ac_cv_env_CFLAGS_value=''
ac_cv_env_CPPFLAGS_set=''
ac_cv_env_CPPFLAGS_value=''
ac_cv_env_CPP_set=''
ac_cv_env_CPP_value=''
ac_cv_env_DRI1_CFLAGS_set=''
ac_cv_env_DRI1_CFLAGS_value=''
ac_cv_env_DRI1_LIBS_set=''
ac_cv_env_DRI1_LIBS_value=''
ac_cv_env_DRI2_CFLAGS_set=''
ac_cv_env_DRI2_CFLAGS_value=''
ac_cv_env_DRI2_LIBS_set=''
ac_cv_env_DRI2_LIBS_value=''
ac_cv_env_DRI3_CFLAGS_set=''
ac_cv_env_DRI3_CFLAGS_value=''
ac_cv_env_DRI3_LIBS_set=''
ac_cv_env_DRI3_LIBS_value=''
ac_cv_env_DRMINTEL_CFLAGS_set=''
ac_cv_env_DRMINTEL_CFLAGS_value=''
ac_cv_env_DRMINTEL_LIBS_set=''
ac_cv_env_DRMINTEL_LIBS_value=''
ac_cv_env_DRM_CFLAGS_set=''
ac_cv_env_DRM_CFLAGS_value=''
ac_cv_env_DRM_LIBS_set=''
ac_cv_env_DRM_LIBS_value=''
ac_cv_env_GEN4ASM_CFLAGS_set=''
ac_cv_env_GEN4ASM_CFLAGS_value=''
ac_cv_env_GEN4ASM_LIBS_set=''
ac_cv_env_GEN4ASM_LIBS_value=''
ac_cv_env_IVO_CFLAGS_set=''
ac_cv_env_IVO_CFLAGS_value=''
ac_cv_env_IVO_EXTRA_CFLAGS_set=''
ac_cv_env_IVO_EXTRA_CFLAGS_value=''
ac_cv_env_IVO_EXTRA_LIBS_set=''
ac_cv_env_IVO_EXTRA_LIBS_value=''
ac_cv_env_IVO_LIBS_set=''
ac_cv_env_IVO_LIBS_value=''
ac_cv_env_LDFLAGS_set=''
ac_cv_env_LDFLAGS_value=''
ac_cv_env_LIBS_set=''
ac_cv_env_LIBS_value=''
ac_cv_env_LT_SYS_LIBRARY_PATH_set=''
ac_cv_env_LT_SYS_LIBRARY_PATH_value=''
ac_cv_env_PCIACCESS_CFLAGS_set=''
ac_cv_env_PCIACCESS_CFLAGS_value=''
ac_cv_env_PCIACCESS_LIBS_set=''
ac_cv_env_PCIACCESS_LIBS_value=''
ac_cv_env_PKG_CONFIG_LIBDIR_set=''
ac_cv_env_PKG_CONFIG_LIBDIR_value=''
ac_cv_env_PKG_CONFIG_PATH_set=''
ac_cv_env_PKG_CONFIG_PATH_value=''
ac_cv_env_PKG_CONFIG_set=''
ac_cv_env_PKG_CONFIG_value=''
ac_cv_env_PRESENT_CFLAGS_set=''
ac_cv_env_PRESENT_CFLAGS_value=''
ac_cv_env_PRESENT_LIBS_set=''
ac_cv_env_PRESENT_LIBS_value=''
ac_cv_env_TOOL_CURSOR_CFLAGS_set=''
ac_cv_env_TOOL_CURSOR_CFLAGS_value=''
ac_cv_env_TOOL_CURSOR_LIBS_set=''
ac_cv_env_TOOL_CURSOR_LIBS_value=''
ac_cv_env_UDEV_CFLAGS_set=''
ac_cv_env_UDEV_CFLAGS_value=''
ac_cv_env_UDEV_LIBS_set=''
ac_cv_env_UDEV_LIBS_value=''
ac_cv_env_VALGRIND_CFLAGS_set=''
ac_cv_env_VALGRIND_CFLAGS_value=''
ac_cv_env_VALGRIND_LIBS_set=''
ac_cv_env_VALGRIND_LIBS_value=''
ac_cv_env_X11_CFLAGS_set=''
ac_cv_env_X11_CFLAGS_value=''
ac_cv_env_X11_DRI3_CFLAGS_set=''
ac_cv_env_X11_DRI3_CFLAGS_value=''
ac_cv_env_X11_DRI3_LIBS_set=''
ac_cv_env_X11_DRI3_LIBS_value=''
ac_cv_env_X11_LIBS_set=''
ac_cv_env_X11_LIBS_value=''
ac_cv_env_XORG_CFLAGS_set=''
ac_cv_env_XORG_CFLAGS_value=''
ac_cv_env_XORG_LIBS_set=''
ac_cv_env_XORG_LIBS_value=''
ac_cv_env_XVMCLIB_CFLAGS_set=''
ac_cv_env_XVMCLIB_CFLAGS_value=''
ac_cv_env_XVMCLIB_LIBS_set=''
ac_cv_env_XVMCLIB_LIBS_value=''
ac_cv_env_build_alias_set=''
ac_cv_env_build_alias_value=''
ac_cv_env_host_alias_set=''
ac_cv_env_host_alias_value=''
ac_cv_env_target_alias_set=''
ac_cv_env_target_alias_value=''
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK='gawk'
ac_cv_prog_ac_ct_CC='gcc -flto -fuse-linker-plugin -march=i486 -mtune=i686 -Os -pipe'
ac_cv_prog_make_make_set='yes'
am_cv_make_support_nested_variables='yes'

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /tmp/xf86-video-intel/missing aclocal-1.15'
ADMIN_MAN_DIR=''
ADMIN_MAN_SUFFIX=''
ALLOCA=''
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='1'
AM_V='$(V)'
APP_MAN_DIR=''
APP_MAN_SUFFIX=''
AR=''
AUTOCONF='${SHELL} /tmp/xf86-video-intel/missing autoconf'
AUTOHEADER='${SHELL} /tmp/xf86-video-intel/missing autoheader'
AUTOMAKE='${SHELL} /tmp/xf86-video-intel/missing automake-1.15'
AWK='gawk'
BASE_CFLAGS=''
BUILD_BACKLIGHT_HELPER_FALSE=''
BUILD_BACKLIGHT_HELPER_TRUE=''
BUILD_TOOLS_FALSE=''
BUILD_TOOLS_TRUE=''
BUILD_TOOL_CURSOR_FALSE=''
BUILD_TOOL_CURSOR_TRUE=''
CC='gcc -flto -fuse-linker-plugin -march=i486 -mtune=i686 -Os -pipe'
CCDEPMODE=''
CFLAGS=''
CHANGELOG_CMD=''
CLOCK_GETTIME_LIBS=''
CPP=''
CPPFLAGS=''
CWARNFLAGS=''
CYGPATH_W='echo'
DEBUG_FALSE=''
DEBUG_TRUE=''
DEFS=''
DEPDIR='.deps'
DGA_FALSE=''
DGA_TRUE=''
DLLTOOL=''
DRI1_CFLAGS=''
DRI1_FALSE=''
DRI1_LIBS=''
DRI1_TRUE=''
DRI2_CFLAGS=''
DRI2_FALSE=''
DRI2_LIBS=''
DRI2_TRUE=''
DRI3_CFLAGS=''
DRI3_FALSE=''
DRI3_LIBS=''
DRI3_TRUE=''
DRIVER_MAN_DIR=''
DRIVER_MAN_SUFFIX=''
DRIVER_NAME=''
DRI_DRIVER_PATH=''
DRMINTEL_CFLAGS=''
DRMINTEL_LIBS=''
DRM_CFLAGS=''
DRM_LIBS=''
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
FGREP=''
FILE_MAN_DIR=''
FILE_MAN_SUFFIX=''
FULL_DEBUG_FALSE=''
FULL_DEBUG_TRUE=''
GEN4ASM_CFLAGS=''
GEN4ASM_LIBS=''
GREP=''
HAVE_DOT_GIT_FALSE=''
HAVE_DOT_GIT_TRUE=''
HAVE_GEN4ASM_FALSE=''
HAVE_GEN4ASM_TRUE=''
HAVE_X11_FALSE=''
HAVE_X11_TRUE=''
INSTALL_CMD=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
INTEL_GEN4ASM=''
IVO_CFLAGS=''
IVO_EXTRA_CFLAGS=''
IVO_EXTRA_LIBS=''
IVO_LIBS=''
KMS_FALSE=''
KMS_TRUE=''
LD=''
LDFLAGS=''
LIBEXEC_PATH=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LIB_MAN_DIR=''
LIB_MAN_SUFFIX=''
LIPO=''
LN_S=''
LTLIBOBJS=''
LT_SYS_LIBRARY_PATH=''
MAKEINFO='${SHELL} /tmp/xf86-video-intel/missing makeinfo'
MANIFEST_TOOL=''
MAN_SUBSTS=''
MISC_MAN_DIR=''
MISC_MAN_SUFFIX=''
MKDIR_P='./install-sh -c -d'
NM=''
NMEDIT=''
NOWARNFLAGS=''
OBJDUMP=''
OBJEXT=''
OTOOL64=''
OTOOL=''
PACKAGE='xf86-video-intel'
PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
PACKAGE_NAME='xf86-video-intel'
PACKAGE_STRING='xf86-video-intel 2.99.917'
PACKAGE_TARNAME='xf86-video-intel'
PACKAGE_URL=''
PACKAGE_VERSION='2.99.917'
PATH_SEPARATOR=':'
PCIACCESS_CFLAGS=''
PCIACCESS_LIBS=''
PKG_CONFIG=''
PKG_CONFIG_LIBDIR=''
PKG_CONFIG_PATH=''
PREFIX_PATH=''
PRESENT_CFLAGS=''
PRESENT_FALSE=''
PRESENT_LIBS=''
PRESENT_TRUE=''
RANLIB=''
SED=''
SET_MAKE=''
SHELL='/bin/sh'
SNA_FALSE=''
SNA_TRUE=''
STRICT_CFLAGS=''
STRIP=''
TOOL_CURSOR_CFLAGS=''
TOOL_CURSOR_LIBS=''
UDEV_CFLAGS=''
UDEV_LIBS=''
UMS_FALSE=''
UMS_TRUE=''
USE_ASYNC_SWAP_FALSE=''
USE_ASYNC_SWAP_TRUE=''
USE_CREATE2_FALSE=''
USE_CREATE2_TRUE=''
UXA_FALSE=''
UXA_TRUE=''
VALGRIND_CFLAGS=''
VALGRIND_FALSE=''
VALGRIND_LIBS=''
VALGRIND_TRUE=''
VERSION='2.99.917'
X11_CFLAGS=''
X11_DRI3_CFLAGS=''
X11_DRI3_FALSE=''
X11_DRI3_LIBS=''
X11_DRI3_TRUE=''
X11_LIBS=''
X11_SHM_FALSE=''
X11_SHM_TRUE=''
XAA_FALSE=''
XAA_TRUE=''
XORG_CFLAGS=''
XORG_LIBS=''
XORG_MAN_PAGE=''
XVMCLIB_CFLAGS=''
XVMCLIB_LIBS=''
XVMC_FALSE=''
XVMC_TRUE=''
ac_ct_AR=''
ac_ct_CC='gcc -flto -fuse-linker-plugin -march=i486 -mtune=i686 -Os -pipe'
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__nodep='_no'
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='${exec_prefix}/bin'
build=''
build_alias=''
build_cpu=''
build_os=''
build_vendor=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host=''
host_alias=''
host_cpu=''
host_os=''
host_vendor=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /tmp/xf86-video-intel/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='/usr/local/lib/xorg'
localedir='${datarootdir}/locale'
localstatedir='/var'
mandir='${datarootdir}/man'
mkdir_p='$(MKDIR_P)'
moduledir=''
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr/local'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "xf86-video-intel"
#define PACKAGE_TARNAME "xf86-video-intel"
#define PACKAGE_VERSION "2.99.917"
#define PACKAGE_STRING "xf86-video-intel 2.99.917"
#define PACKAGE_BUGREPORT "https://bugs.freedesktop.org/enter_bug.cgi?product=xorg"
#define PACKAGE_URL ""
#define PACKAGE "xf86-video-intel"
#define VERSION "2.99.917"

configure: exit 77


Many errors, including:
cc1: internal compiler error: Illegal instruction

Actually the command doesn't matter, same error despite recipe used, driver version compile attempt. Maybe something wrong with compiletc.tcz, my setup or environment, which otherwise runs fine? Should graphic drivers be compiled with a text only boot? Does compiletc now only work with SSE2 or 64-bit systems? Never had this problem in TC6.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14812
Re: TC7 xf86-video-intel recompile request with legacy i810 support...
« Reply #6 on: October 06, 2016, 08:08:04 AM »
Is it possible that some of the compiletc deps like binutils are the versions from tc-6.x?

Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
Re: TC7 xf86-video-intel recompile request with legacy i810 support...
« Reply #7 on: October 06, 2016, 08:22:54 AM »
No, old TC6 TCE directory was removed and new TCE created during TC7 first run. To me Illegal Instruction errors may be non-SSE2 related. I do have an SSE2 system but it does not yet run Tiny Core, when i recover from the fatigue may set it up next few days.

From ./configure --help, this is likely what i need to try forr Intel legacy support, not sure if any other options conflict:
Code: [Select]
  --enable-xaa            Enable legacy X Acceleration Architecture (XAA) for
                          i810 chipsets [default=auto]
  --enable-dga            Enable legacy Direct Graphics Access (DGA) for i810
                          chipsets [default=auto]

If you have time to compile it would really be appreciated, a PM download link and i could test right away. When i get a chance will try to compile some other simple software, such as updating some of my submitted extensions, on this problem system to see if it helps with troubleshooting. If nobody else reported a compiletc error since TC7 release, either nobody is compiling anymore or more likely my  non-SSE2 system is being left behind. Thanks.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14812
Re: TC7 xf86-video-intel recompile request with legacy i810 support...
« Reply #8 on: October 06, 2016, 08:32:55 AM »
link sent to test extension by pm

When compiling some source on an i486 (for example gcc), "CC="gcc -msse2 -blah -blah" CXX="g++ -msse2 -blah -blah" might be required, but the error comes when compiling, not in the configure script.

Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
Re: TC7 xf86-video-intel recompile request with legacy i810 support...
« Reply #9 on: October 06, 2016, 08:47:38 AM »
Hi Juanito. Hmm, my errors were during configure so not sure that helps you troubleshoot. Just tested the PM i810 extension and system booted to same black screen. Not sure if you saw my previous post regarding configure options. Will gladly test again if you have something else to try, however, based on this compiletc adventure the system may be better off in TC6-land. Thanks for your help.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14812
Re: TC7 xf86-video-intel recompile request with legacy i810 support...
« Reply #10 on: October 06, 2016, 09:00:37 AM »
What happens if you modify the dep file so that graphics-KERNEL is not loaded?

as per the configure script output, i810 support was enabled:
Code: [Select]
The xf86-video-intel module is an open-source 2D graphics driver for
the X Window System as implemented by X.org. It supports a variety of
Intel graphics chipsets including:

        i810/i810e/i810-dc100,i815,
        i830M,845G,852GM,855GM,865G,
        915G/GM,945G/GM/GME,946GZ
        G/GM/GME/Q965,
        G/Q33,G/Q35,G41,G/Q43,G/GM/Q45
        PineView-M (Atom N400 series)
        PineView-D (Atom D400/D500 series)
        Intel(R) HD Graphics: 2000-6000,
        Intel(R) Iris(TM) Graphics: 5100/6100, and
        Intel(R) Iris(TM) Pro Graphics: 5200/6200/P6300.

xf86-video-intel 2.99.917 will be compiled with:
  Xorg Video ABI version: 20.0
  Acceleration backends: none *uxa
  Additional debugging support? none
  Support for Kernel Mode Setting? yes
  Support for legacy User Mode Setting (for i810)? yes
  Support for Direct Rendering Infrastructure: DRI1 DRI2 Present
  Support for Xv motion compensation (XvMC and libXvMC): yes
  Build additional tools and utilities? xf86-video-intel-backlight-helper intel-virtual-output

as mentioned in the pm, you may need something like this:
Code: [Select]
$ cat /usr/local/share/X11/xorg.conf.d
Section "Device"
   Identifier  "Intel Graphics"
   Driver      "intel"
   Option      "AccelMethod"  "dga"
EndSection

Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
Re: TC7 xf86-video-intel recompile request with legacy i810 support...
« Reply #11 on: October 06, 2016, 11:45:07 PM »
Success Juanito, thanks for your help!

Got TC7, Fluxbox, decent performance, favourite res:
1280x800      75.00*   60.00

onboot.lst:
xf86-video-intel-i810.tcz
Xorg-7.7.tcz
fluxbox.tcz
aterm.tcz

xf86-video-intel-i810.tcz.dep (same):
graphics-KERNEL.tcz
libXvmc.tcz
libdrm.tcz
pixman.tcz
libXinerama.tcz
libXrandr.tcz
libXdamage.tcz
libXcursor.tcz
libXtst.tcz
libxshmfence.tcz

xorg.conf:
Code: [Select]
Section "Monitor"
Identifier   "Monitor0"
HorizSync       28.0 - 96.0
  VertRefresh     50.0 - 75.0
EndSection

Section "Device"
Option     "DRI"  "false"
Identifier  "Card0"
Driver      "intel"
BusID       "PCI:0:1:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device     "Card0"
Monitor    "Monitor0"
DefaultDepth    16
SubSection "Display"
Depth 16
Modes "1280x800"
EndSubSection
EndSection

Tried many different combinations. Your xf86-video-intel-i810.tcz is essential, as is the dependency on graphics-KERNEL.tcz and an xorg.conf file with the DRI false option. Missing any of these and it won't work. FWIW now get proper resolution in dCore-xenial simply by adding the xorg.conf DRI false option, so Ubuntu's latest LTS xorg-intel driver still supports i810 by default with the DRI workaround. By comparison, vesa fallback is a significant compromise.

Misalf asked about a compile option. If you recompile please PM updated version and i will retest. I would like to submit the package as a small payback for your effort, just PM me the final version, compile notes, source, etc and i can take care of the rest. Actually looking forward to a new submit and want to customize the info file anyway. Regardig the compiletc errors, have not yet had time to troubleshoot further, will start new thread if ongoing issue.

Thanks again.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14812
Re: TC7 xf86-video-intel recompile request with legacy i810 support...
« Reply #12 on: October 07, 2016, 01:22:01 AM »
I'm not planning to recompile the extension, so you can go ahead and submit it - I'll add the source and compile notes directly to the repo.