我觉得此事成功不易,果然还是失败的居多。q290264917 写了:最好每个命令都加个SUDO,UBUNTU第一次用,感觉不是ROOT登陆超不爽!
好像也是不行!
建议大家都先用VM虚拟机,在虚拟机中用的是虚拟显卡,这个显卡支持非常好直接就能调宽屏,有各种各样的分辨率支持不必费任何心思。
--
另外,希望大家谁成功之后,告知一声成功的诀窍。先谢了。
q@q-laptop:~/qudong/2d-driver$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for cpp... /usr/bin/cpp
checking if /usr/bin/cpp requires -undef... yes
checking if /usr/bin/cpp requires -traditional... yes
checking if XINERAMA is defined... yes
checking if RANDR is defined... yes
checking if RENDER is defined... yes
checking if XV is defined... yes
checking if XF86MISC is defined... yes
checking if DPMSExtension is defined... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for XORG... yes
checking for ANSI C header files... (cached) yes
checking for /usr/include/xorg/dri.h... yes
checking for /usr/include/xorg/sarea.h... yes
checking for /usr/include/xorg/dristruct.h... yes
checking whether to include DRI support... yes
checking for DRI... yes
checking for NONE/share/X11/sgml/defs.ent... no
checking for linuxdoc... no
checking for ps2pdf... /usr/bin/ps2pdf
checking Whether to build documentation... no
checking Whether to build pdf documentation... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating man/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
q@q-laptop:~/qudong/2d-driver$ make
make all-recursive
make[1]: Entering directory `/home/q/qudong/2d-driver'
Making all in src
make[2]: Entering directory `/home/q/qudong/2d-driver/src'
make[2]: 没有什么可以做的为 `all'。
make[2]: Leaving directory `/home/q/qudong/2d-driver/src'
Making all in man
make[2]: Entering directory `/home/q/qudong/2d-driver/man'
make[2]: 没有什么可以做的为 `all'。
make[2]: Leaving directory `/home/q/qudong/2d-driver/man'
make[2]: Entering directory `/home/q/qudong/2d-driver'
make[2]: Leaving directory `/home/q/qudong/2d-driver'
make[1]: Leaving directory `/home/q/qudong/2d-driver'
q@q-laptop:~/qudong/2d-driver$ make install
Making install in src
make[1]: Entering directory `/home/q/qudong/2d-driver/src'
make[2]: Entering directory `/home/q/qudong/2d-driver/src'
make[2]: 没有什么可以做的为 `install-exec-am'。
test -z "/usr/local/lib/xorg/modules/drivers" || mkdir -p -- "/usr/local/lib/xorg/modules/drivers"
/bin/bash ../libtool --mode=install /usr/bin/install -c 'sis_drv.la' '/usr/local/lib/xorg/modules/drivers/sis_drv.la'
/usr/bin/install -c .libs/sis_drv.so /usr/local/lib/xorg/modules/drivers/sis_drv.so
/usr/bin/install: cannot remove `/usr/local/lib/xorg/modules/drivers/sis_drv.so': Permission denied
make[2]: *** [install-sis_drv_laLTLIBRARIES] 错误 1
make[2]: Leaving directory `/home/q/qudong/2d-driver/src'
make[1]: *** [install-am] 错误 2
make[1]: Leaving directory `/home/q/qudong/2d-driver/src'
make: *** [install-recursive] 错误 1
q@q-laptop:~/qudong/2d-driver$
这样是不是代表我安装上驱动了呢!checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for cpp... /usr/bin/cpp
checking if /usr/bin/cpp requires -undef... yes
checking if /usr/bin/cpp requires -traditional... yes
checking if XINERAMA is defined... yes
checking if RANDR is defined... yes
checking if RENDER is defined... yes
checking if XV is defined... yes
checking if XF86MISC is defined... yes
checking if DPMSExtension is defined... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for XORG... yes
checking for ANSI C header files... (cached) yes
checking for /usr/include/xorg/dri.h... yes
checking for /usr/include/xorg/sarea.h... yes
checking for /usr/include/xorg/dristruct.h... yes
checking whether to include DRI support... yes
checking for DRI... yes
checking for /usr/share/X11/sgml/defs.ent... no
checking for linuxdoc... no
checking for ps2pdf... /usr/bin/ps2pdf
checking Whether to build documentation... no
checking Whether to build pdf documentation... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating man/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
q@q-laptop:~/qudong/2d-driver$ make
make all-recursive
make[1]: Entering directory `/home/q/qudong/2d-driver'
Making all in src
make[2]: Entering directory `/home/q/qudong/2d-driver/src'
make[2]: 没有什么可以做的为 `all'。
make[2]: Leaving directory `/home/q/qudong/2d-driver/src'
Making all in man
make[2]: Entering directory `/home/q/qudong/2d-driver/man'
make[2]: 没有什么可以做的为 `all'。
make[2]: Leaving directory `/home/q/qudong/2d-driver/man'
make[2]: Entering directory `/home/q/qudong/2d-driver'
make[2]: Leaving directory `/home/q/qudong/2d-driver'
make[1]: Leaving directory `/home/q/qudong/2d-driver'
q@q-laptop:~/qudong/2d-driver$ sudo make install
Making install in src
make[1]: Entering directory `/home/q/qudong/2d-driver/src'
make[2]: Entering directory `/home/q/qudong/2d-driver/src'
make[2]: 没有什么可以做的为 `install-exec-am'。
test -z "/usr/lib/xorg/modules/drivers" || mkdir -p -- "/usr/lib/xorg/modules/drivers"
/bin/bash ../libtool --mode=install /usr/bin/install -c 'sis_drv.la' '/usr/lib/xorg/modules/drivers/sis_drv.la'
/usr/bin/install -c .libs/sis_drv.so /usr/lib/xorg/modules/drivers/sis_drv.so
/usr/bin/install -c .libs/sis_drv.lai /usr/lib/xorg/modules/drivers/sis_drv.la
libtool: install: warning: remember to run `libtool --finish /usr/local/lib/xorg/modules/drivers'
make[2]: Leaving directory `/home/q/qudong/2d-driver/src'
make[1]: Leaving directory `/home/q/qudong/2d-driver/src'
Making install in man
make[1]: Entering directory `/home/q/qudong/2d-driver/man'
make[2]: Entering directory `/home/q/qudong/2d-driver/man'
make[2]: 没有什么可以做的为 `install-exec-am'。
test -z "/usr/man/man4" || mkdir -p -- "/usr/man/man4"
/usr/bin/install -c -m 644 'sis.4' '/usr/man/man4/sis.4'
make[2]: Leaving directory `/home/q/qudong/2d-driver/man'
make[1]: Leaving directory `/home/q/qudong/2d-driver/man'
make[1]: Entering directory `/home/q/qudong/2d-driver'
make[2]: Entering directory `/home/q/qudong/2d-driver'
make[2]: 没有什么可以做的为 `install-exec-am'。
make[2]: 没有什么可以做的为 `install-data-am'。
make[2]: Leaving directory `/home/q/qudong/2d-driver'
make[1]: Leaving directory `/home/q/qudong/2d-driver'
q@q-laptop:~/qudong/2d-driver$
un44444444 写了:poetbox 发的是UBUNTU官方的sis驱动。
我对比了下源代码,文件相差无几,结构是一样的;
intelsrc可以支持更高的分辨率和多几种型号,xserver-xorg-video-sis应该会更稳定。
推荐使用UBUNTU的sis驱动,下载地址:
8.04 https://launchpad.net/ubuntu/hardy/+sou ... -video-sis
8.10 https://launchpad.net/ubuntu/intrepid/+ ... -video-sis
根据不同平台选择文件,比如UBUNTU8.04,CPU类型为I386,使用这个包
http://launchpadlibrarian.net/10378381/ ... 6_i386.deb
再接下来,就是修改xorg.conf了。