Aiuto compilazione driver K8M800

Riconoscimento, installazione e configurazione delle periferiche.
Avatar utente
bud
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 789
Iscrizione: domenica 11 giugno 2006, 20:31
Desktop: ubuntu
Distribuzione: Ubuntu 14.04 64bit
Località: Vicenza
Contatti:

Aiuto compilazione driver K8M800

Messaggio da bud »

Ciao a tutti, in questi mesi sto cercando di sfruttare appieno la scheda video del portatile, visto che se si avvia lo screensaver si freezza tutto, 3D neanche dirlo sottovoce che il pc si blocca solo a sentirne l'odore, quindi effeti visivi bye bye. Ho gironzolato per il web, visto che un casino di gente ha sta scheda ma nessuno sa come farla andare, la mia ultima speranza è compilare i driver forniti da via, visto che quelli compilati sono per una vecchia versione del kernel.
(Sò che ha il 3D sta cxxxo di scheda video perchè con winxp giocavo a vari giochini (per carità non halflife3, però neanche schifo...))
Il mio problema è che non capisco che devo fare.
Il problema è sul portatile, nella firma in fondo al post trovate il link con tutte le specifiche del pc in questione...

Se lancio il file di installazione mi dà una sfilza di errori:

Codice: Seleziona tutto

bud@laptop:~$ sudo sh '/home/bud/K8M800/src/vinstall'
-e  -------- install start --------
Install VIA/S3G UniChrome family graphic driver!
Which CPU do you use ? 
1. VIA C3-2(C5N/C5P), C7/C7M/C7D/Eden, Intel Pentium 2/3/4
2. VIA C3
3. AMD K7
4. AMD K8 with 32 bits OS(x86)
5. AMD K8 with 64 bits OS(x86_64)
6. Intel Pentium 4 with 64 bits OS(x86_64)
4
-e Please wait...
-e Do you want VMI-ONLY(1) path or V4L(2) path?(1/2)
1
[: 356: ==: unexpected operator
[: 356: ==: unexpected operator
cp: impossibile fare stat di `XServer/videodev.ko': Nessun file o directory
cp: l'obiettivo `/usr/X11R6/lib/modules/drivers/' non è una directory: Nessun file o directory
cp: impossibile fare stat di `XServer/via.ko': Nessun file o directory
cp: impossibile fare stat di `XServer/drm.ko': Nessun file o directory
cp: impossibile fare stat di `XServer/unichrome_dri.so': Nessun file o directory
cp: impossibile fare stat di `XServer/libddmpeg.so': Nessun file o directory
cp: impossibile fare stat di `XServer/libGL.so.1.2': Nessun file o directory
sed: impossibile leggere /etc/modprobe.conf: Nessun file o directory
[: 551: ==: unexpected operator
sed: impossibile leggere /etc/rc.d/rc.local: Nessun file o directory
cp: impossibile creare il file normale `/etc/rc.d/rc.local': Nessun file o directory
sed: impossibile leggere /etc/rc.d/rc.local: Nessun file o directory
[: 613: ==: unexpected operator
cp: impossibile creare il file normale `/etc/rc.d/rc.local': Nessun file o directory
cp: impossibile creare il file normale `/etc/rc.d/rc.local': Nessun file o directory
FATAL: Module via not found.
[: 649: ==: unexpected operator
cp: impossibile fare stat di `.VIAVIDEORC': Nessun file o directory
-e Now start to install VIA/S3G display utility...

Warning, system cannot find the /usr/X11R6/lib/libXv.so.1.0 file.
Please install XFree86-libs RPM package first.
You can find the package in the installation CD.

Abort, the utility is not installed.

Questo è il file di guida:

Codice: Seleziona tutto

                VIA S3 UniChrome Linux Display Driver

                 Source Code Compiling Instructions

                         December 12, 2007

           Copyright (C) 2002-2007 VIA Technologies, INC.



1. Summary

   This document describes how to compile the VIA UniChrome family Linux display

   driver source code on Debian 4.0r1,   Fedora Core Linux 4/5/6/7, Mandriva 

   Linux 2007.0/2007.1, openSUSE Linux 10.2, and Ubuntu Desktop 6.10/7.04. 

   This software package supports 2D, 3D, TV-Out, hardware video mpeg2/4 and 

   hardware video overlay. Aiglx function can be supported on Fedora Core Linux

   6/7, ubuntu Desktop 7.04.Other distributions only support 2D, TV-Out, 

   hardware video mpeg2/4 and hardware video overlay. The information and the 

   source code files are provided "AS IS" without 

   guarantee of any kind.



2. Set up environment (kernel 2.6.x)

   (1) Xorg SDK RPM/DEB package (Debian4.0/FC5/FC6/FC7/MDV2007/2007.1/Ubuntu6.10/7.04/7.10), Xorg source package 

       (FC4) or XFree86 source package (Debian3.1r4):

       Debian Linux 4.0: xorg-dev (deb) 

       Fedora Core Linux 4.0: xorg-x11-6.8.2-31.src.rpm

       Fedora Core Linux 5.0: xorg-x11-server-sdk-1.0.1-8.i386.rpm

       Fedora Core Linux 6.0: xorg-x11-server-sdk-1.1.1-47.fc6.i386.rpm

       Fedora Core Linux 7.0: xorg-x11-server-sdk-1.3.0.0-7.fc7.i386.rpm

       Mandriva Linux 2007.0/2007.1: libxorg-x11-devel-7.1.0-6mdv2007.0.i586.rpm

       openSUSE Linux 10.2: xorg-x11-server-sdk-7.2-30.i586.rpm

       Ubuntu Linux 6.10/7.04: xorg-dev (deb)

   (2) 3D Mesa source rpm or package for building VIA DRI library:

       MesaLib-6.5.1.tar.gz

   (3) VIA UniChrome family display driver version: 4.1.0072.

       The driver source code comprises files in three directories 

       as described below:

       via (Header files, 2D XServer and V4L driver source files)

       VIA-VMILIB (MPEG dynamic-link object code)  

       3D (VIA DRM/AGP/DRI source files and 3D DRI dynamic-link object code for 

          default Debian Linux 4.0, Fedora Linux Core 4/5/6,

          Mandriva Linux 2007.0/2007.1 , openSUSE Linux 10.2, 

          and Ubuntu 6.10/7.04/7.10 kernel)

       Utility (VIA/S3G TV display utility)

                 

3. Install & compile Xorg source. Run the following commands. 

   (Only for Xorg < 7.0)

   *This step is only for Fedora Core Linux 4. 

       # rpm -ivh xorg-x11-6.8.2-31.src.rpm

       # cd /usr/src/redhat/SPECS   

       # rpmbuild -bc xorg-x11.spec

       # cd /usr/src/redhat/BUILD/xorg-x11-6.8.2/xc  

       # make World & tail -f >& world.log

       # mv xc/ /usr/src/

   Note: Depending on your system used, it may take 1 or 2 hours to finish.



4. Prepare kernel source for VIA display driver (DRM) or rebuild kernel (AGP). 

   *The sample is default kernel in Fedora Core Linux 5.

       # rpm -ivh kernel-2.6.15-1.2054_FC5.src.rpm

       # cd /usr/src/redhat/SPECS/

       # rpmbuild -bp kernel-2.6.spec --target=i686 

       # mv /usr/src/redhat/BUILD/kernel-2.6.15/linux-2.6.15.i686 /usr/src/

       # ln -sf /usr/src/linux-2.6.15.i686 /usr/src/linux

   *The sample is default kernel in Fedora Core Linux 6.

       # rpm -ivh kernel-2.6.18-1.2798.fc6.src.rpm

       # cd /usr/src/redhat/SPECS/

       # rpmbuild -bp kernel-2.6.spec  

       # mv /usr/src/redhat/BUILD/kernel-2.6.18/linux-2.6.18.i386 /usr/src/

       # ln -sf /usr/src/linux-2.6.18.i386  /usr/src/linux

   *The sample is default kernel in Fedora Core Linux 7.

       # rpm -ivh kernel-2.6.21-1.3194.fc7.src.rpm

       # cd /usr/src/redhat/SPECS/

       # rpmbuild -bp kernel-2.6.spec  

       # mv /usr/src/redhat/BUILD/kernel-2.6.21/linux-2.6.21.i686 /usr/src/

       # ln -sf /usr/src/linux-2.6.21.i686  /usr/src/linux

   *The sample is default kernel in Ubuntu Linux 6.10.

       # sudo passwd root (change the root's password then login as 

         the root again)  

       # cd /usr/src/

       # tar jxvf linux-source-2.6.17.tar.bz2

       # cd linux-source-2.6.17

       # cp /boot/config-2.6.17-10-generic .config

   *The sample is default kernel in Ubuntu Linux 7.04.

       # sudo passwd root (change the root's password then login as 

         the root again)  

       # cd /usr/src/

       # tar jxvf linux-source-2.6.20.tar.bz2

       # cd linux-source-2.6.20

       # cp /boot/config-2.6.20-15-generic .config

   *The sample is default kernel in Debian Linux 4.0.

       # cd /usr/src/

       # tar jxvf kernel-source-2.6.18.tar.bz2

       # cd kernel-source-2.6.18

       # cp /boot/config-2.6.18-4-486 .config

   Note: Depending on your system used, it may take 10 or 15 minutes to finish.

   Note: Mandriva Linux 2007.0 will have the kernel source tree in /usr/src/ 

         folder when installing the kernel source rpm package 

         "kernel-source-2.6.17.5mdv-1-1mdv2007.0".

   Note: Mandriva Linux 2007.1 will have the kernel source tree in /usr/src/ 

         folder when installing the kernel source rpm package 

         "kernel-source-2.6.17.13mdv-1-1mdv2007.1".

   Note: openSUSE Linux 10.2 will have the kernel source tree in /usr/src/ 

         folder when installing the kernel source rpm package 

         "kernel-source-2.6.18.2-34".



5. Modify the "Makefile" file for syncing to the kernel version users used.

       # vi /usr/src/linux/Makefile (make sure the "EXTRAVERSION" value 

         in Makefile is the same as OS kernel version "#uname -r". 

         e.g. "EXTRAVERSION= -2-386" in Debian3.1r4, "EXTRAVERSION= -4-486" 

	      in Debian4, "EXTRAVERSION= -1.2054_FC5" in FC5, 

	      "EXTRAVERSION= -1.2798.fc6" in FC6, "EXTRAVERSION= -5mdv" 

	      in MDV2007.0, "EXTRAVERSION= -13mdv" in MDV2007.1,

              "EXTRAVERSION= .2" in openSUSE10.2, "EXTRAVERSION= -10-generic" 

              in Ubuntu6.10 and "EXTRAVERSION= -15-generic" in Ubuntu7.04)

       # make modules_prepare (configure the run time settings of kernel source 

         by this command in /usr/src/linux folder)



6. Use a script to build CLE266CN400CN-CX700CN800 driver and select the 

   "72" version and CPU type to build. The driver binary will be created 

   in default /CLE266CN400CN-CX700CN800XORG40072 folder.

       # tar zxvf CLE266CN400CN-CX700CN800XORG40072-kernel-src_[date].tgz

       # cd CLE266CN400CN-CX700CN800XORG40072-kernel-src_[date]/src

       # ./makedriver drm (Other distributions only build 2D/MPEG driver 

         without the "drm" parameter)



7. Manually compile 3D Mesa source with some VIA DRI patch files  

   in Debian Linux 4, Fedora Core Linux 5/6, Mandriva Linux 2007.0/2007.1,  

   openSUSE Linux 10.2 and Ubuntu Desktop 6.10/7.04. Please make sure the OS 

   default Mesa source rpm package is ready. 

   *The sample is in Debian Linux 4.0 (MesaLib 6.5.1-0.6).

       # tar zxvf MesaLib-6.5.1.tar.gz

       # cd Mesa-6.5.1

       # cp -a [Driver-Package-Name]/src/3D/DRI_src/unichrome src/mesa/drivers/dri

       # cp -a [Driver-Package-Name]/src/3D/linux-dri configs/linux-dri

       # make linux-dri-x86 

       # cp -a lib/unichrome_dri.so /CLE266CN400CN-CX700CN800XORG40072/XServer 

       # cp -a lib/libGL.so.1.2 /CLE266CN400CN-CX700CN800XORG40072/XServer

   Note: Depending on your system used, it may take 10 or 15 minutes to finish.



8. If users want to enable AGP feature (higher performance) for CN700, 

   CX700(M/M2), VX700(M/M2), VN800 and CN800 IGPs, users need to rebuild 

   kernel source with VIA's agpgart patch in Fedora Core Linux 4/5/6.

   The "makedriver" script had copied some new AGP files to 

   the kernel source tree. If users skip this step, the VIA driver 

   will use the PCI feature to work. The sample is in Fedora Core Linux 5.

       # cp [Driver-Package-Name]/src/3D/DRM-AGP/[os]/pci_ids.h /usr/src/linux/include/linux

       # cp [Driver-Package-Name]/src/3D/DRM-AGP/[os]/via-agp.c /usr/src/linux/drivers/char/agp

       # cd /usr/src/linux 

       # make; make modules_install

       # cp arch/i386/boot/bzImage /boot/vmlinuz-2.6.15-1.2054_FC5_VIA

       # cd /boot/

       # mkinitrd initrd-2.6.15-1.2054_FC5_VIA.img 2.6.15-1.2054_FC5

   Note: Depending on your system used, it may take 1 or 2 hours to finish.

   Note: Make sure users' IDE(DMA) feature can work properly in 

         VT8237A/VT8251/CX700(M/M2)/VX700(M/M2) chips. If not, please patch 

         the IDE driver before rebuild the kernel.

   Note: In Debian Linux 4.0r1, Mandriva Linux 2007, openSUSE Linux 10.2 

         and Ubuntu Linux 6.10/7.04, because of the module mode driver 

         "via-agp.ko" users don't rebuild the whole kernel source. 



         

   Reboot OS and adopt this new kernel image to boot. Use the "dmesg" command 

   in X Window terminal to check agpgart module support with CN700/CX700(M/M2)/

   CN800/VN800/VX700(M/M2).

       # dmesg | grep agpgart

            agpgart: Detected VIA CX700 chipset

            agpgart: AGP aperture is 128M @ 0x80000000

            agpgart: Found an AGP3.5 compliant device at 0000:00:00.0.

            apggart: X tried to set rate=x12. Setting to AGP3 x8 mode.

            agpgart: Putting AGP V3 device at 0000:00:00.0 into 8x mode

            agpgart: Putting AGP V3 device at 0000:01:00.0 into 8x mode



9. Confirm the existence of "via_drv.so", "libddmpeg.so", "via_v4l_drv.ko",

   "drm.ko", "via.ko", "libGL.so.1.2", "libglx.so", "unichrome_dri.so", and "Utility".

   Use a script "vinstall" to setup those drivers and VIA/S3G TV display utility.

       # ./vinstall (select 1. VMI-ONLY path or 2. V4L path)

   Use the command "lsmod" to check whether the modules are successfully loaded.

   If users see the "drm", "via" and "via_v4l_drv" modules, then the V4L driver path 

   is successfully loaded.  

   Note: There is the "videodev.ko" driver in Fedora Core Linux 4. 

         It will replace the OS default videodev driver. 

   Note: There is the "via-agp.ko" driver in Debian Linux 3.1r4/4.0, 

         Mandriva Linux 2007.0/2007.1, openSUSE Linux 10.2 

         and Ubuntu Linux 6.10/7.04. 

         It will replace the OS default via-agp driver. 

   Note: VMI-ONLY path is a non-kernel dependency way to enable the VIA 2D/3D/

         HW MPEG/TV features. 

   Note: Other distributions will only create two binary codes (via_drv.so and 

         libddmpeg.so)





Known issue:



Appendix:

       Fedora Core Linux 4.0 dependency packages:

              bash-3.0-31.i386.rpm

              bison-2.0-6.i386.rpm

              cpp-4.0.0-8.i386.rpm

              expat-devel-1.95.8-6.i386.rpm

              flex-2.5.4a-34.i386.rpm

              fontconfig-devel-2.2.3-13.i386.rpm

              freetype-devel-2.1.9-2.i386.rpm

              gcc-4.0.0-8.i386.rpm

              glibc-devel-2.3.5-10.i386.rpm

              kernel-2.6.11-1.1369_FC4.src.rpm

              libstdc++4.0.0-8.i386.rpm

              libpng-devel-1.2.8-2.i386.rpm

              ncurses-devel-5.4-17.i386.rpm

              pam-devel-0.79-8.i386.rpm

              rpm-4.4.1-21.i386.rpm

              rpm-build-4.4.1-21.i386.rpm

              xorg-x11-devel-6.8.2-31.i386.rpm

              xorg-x11-libs-6.8.2-31.i386.rpm

              zlib-devel-1.2.2.2-3.i386.rpm

       Fedora Core Linux 5.0 dependency packages:

              bash-3.1-6.2

              bison-2.1-1.2.1

              cpp-4.1.0-3

              expat-1.95.8-8.2

              flex-2.5.4a-37.4

              fontconfig-devel-2.3.94-1

              freetype-devel-2.1.10-5.2.1

              gcc-4.1.0-3

              glibc-devel-2.4-4

              kernel-2.6.15-1.2054_FC5.src.rpm

              libstdc++4.1.0-3

              libpng-devel-1.2.8-2.2.1

              ncurses-devel-5.5-19

              pam-devel-0.99.3.0-2

              rpm-4.4.2-15.2

              rpm-build-4.4.2-15.2

              xorg-x11-server-sdk-1.0.1-8              

              zlib-devel-1.2.3-1.2.1

              <Some dependency packages for building VIA DRI driver in 3D Mesa>

              imake-1.0.1-3 

              mesa-libGLU-6.4.2-6

              mesa-libGLU-devel-6.4.2-6

              freeglut-devel-2.4.0-4

              libXp-devel-1.0.0-2.2

              openmotif-2.3.0-0.1.9.2

              openmotif-devel-2.3.0-0.1.9.2

       Fedora Core Linux 6.0 dependency packages:

              bash-3.1-16.1

              bison-2.3-2.1

              cpp-4.1.1-30

              expat-1.95.8-8.2.1

              flex-2.5.4a-41.fc6

              fontconfig-devel-2.4.1-3.fc6

              freetype-devel-2.2.1-10.fc6

              gcc-4.1.1-30

              glibc-devel-2.5-3

              kernel-2.6.18-1.2798.fc6.src.rpm

              libstdc++4.1.1-30

              libpng-devel-1.2.10-7

              ncurses-devel-5.5-24.20060715

              pam-devel-0.99.6.2-3.fc6

              rpm-4.4.2-32

              rpm-build-4.4.2-32

              xorg-x11-server-sdk-1.1.1-47.fc6

              zlib-devel-1.2.3-3

              <Some dependency packages for building VIA DRI driver in 3D Mesa>

              imake-1.0.2-3 

       Fedora Core Linux 7.0 dependency packages:

              bash

              bison

              cpp

              expat

              flex

              fontconfig-devel

              freetype-devel

              gcc

              glibc

              kernel-2.6.21-1.3194.fc7.src.rpm

              libstdc++

              libpng-devel

              ncurses-devel

              pam-devel

              rpm

              rpm-build

              xorg-x11-server-sdk

              zlib-devel-1.2.3-3

              <Some dependency packages for building VIA DRI driver in 3D Mesa>

              imake-1.0.2-3 

       Mandriva Linux 2007.0 dependency packages:

              bash-3.1-7mdv2007.0

              gcc-cpp-4.1.1-3mdk

              libexpat0-1.95.8-3mdk

              fontconfig-devel-2.4.1-3.fc6

              libfontconfig1-devel-2.4.1-1mdv2007.0

              gcc-4.1.1-3mdk

              glibc-devel-2.4-4mdk

              glibc-static-devel-2.4-4mdk (static libm.a library)

              kernel-source-2.6.17.5mdv-1-1mdv2007.0

              libmesagl1-devel-6.5-17mdv2007.0

              libstdc++6-4.1.1-3mdk            

              libpng3-devel-1.2.12-2mdv2007.0

              libxxf86vm1-devel-1.0.1-2mdv2007.0

              mesa-demos-6.5-17mdv2007.0 (GLX demo)

              libncurses5-devel-5.5-1.20051029.4mdv2007.0

              libpam0-0.99.6.0-3mdv2007.0

              libxvmc1-devel-1.0.2-2mdv2007.0

              rpm-4.4.6-10mdv2007.0

              rpm-build-4.4.6-10mdv2007.0

              libxorg-x11-devel-7.1.0-6mdv2007.0

              zlib1-devel-1.2.3-2mdv2007.0

              <Some dependency packages for building VIA DRI driver in 3D Mesa>

              ed-0.2-32mdk

              libexpat0-devel-1.95.8-3mdk

              libmesaglu1-6.5-17mdv2007.0

              libmesaglu1-devel-6.5-17mdv2007.0

              libnetpbm10-10.34-2mdv2007.0

              libtcl8.4-8.4.13-1mdk

              netpbm-10.34-2mdv2007.0

              makedepend-1.0.0-3mdv2007.04

              mesa-6.5-17mdv2007.0.src.rpm (MesaLib 6.5 source package)

              netpbm-10.34-2mdv2007.0

              sam2p-0.44.14-1mdk

              tcl-8.4.13-1mdk

              tetex-3.0-18mdv2007.0

              texinfo-4.8-4mdv2007.0

       Mandriva Linux 2007.1 dependency packages:

              bash

              gcc-cpp-4.1.2

              libexpat0

              fontconfig-devel

              libfontconfig1-devel

              gcc-4.1.2

              glibc-devel

              glibc-static-devel-2.4-8mdv2007.1 (static libm.a library)

              kernel-source-2.6.17.13mdv-1-1mdv2007.1

              libdrm

              libmesagl1-devel

              libstdc++6            

              libpng3-devel

              libxxf86vm1-devel

              mesa-demos (GLX demo)

              libncurses5-devel

              libpam0

              libxvmc1-devel

              rpm

              rpm-build

              libxorg-x11-devel

              zlib1-devel

              <Some dependency packages for building VIA DRI driver in 3D Mesa>

              ed

              jpeg-progs  

              libexpat0-devel

              libmesaglu1

              libmesaglu1-devel

              libtcl

              netpbm

              makedepend

              netpbm

              sam2p

              tcl

              tetex

              texinfo

       openSUSE Linux 10.2 dependency packages:

              bash-3.1-55

              cpp-4.1.3-29

              fontconfig-devel-2.4.1-19

              gcc-4.1.3-29

              glibc-devel-2.5-25

              kernel-source-2.6.18.2-34

              libstdc++41-4.1.2-20061115-5            

              libpng-devel-1.2.12-23

              ncurses-devel-5.5-42

              rpm-4.4.2-72

              zlib1-devel-1.2.3-33

              <Some dependency packages for building VIA DRI driver in 3D Mesa>

              ed-0.2-897

              libnetpbm-1.0.0-676

              netpbm-10.26.22-33

              tcl-8.4.14-11

              texinfo-4.8-43

       Ubuntu Linux 6.10 dependency packages (deb): 

              autoconf (>2.53)

              automake (>1.6)

              autotools-dev 

              build-essential

              bash 

              cpp-4.1

              gcc-4.1-base 

              gcc-4.1

              linux-source-2.6.17

              libdrm-dev

              libncurse5

              libnucrse5-dev    

              libtool

              m4    

              mesa-common-dev

              xorg-dev (includes some dependency packages)

              xserver-xorg-dev (includes some dependency packages)

       Ubuntu Linux 7.04 dependency packages (deb): 

              autoconf (>2.53)

              automake (>1.6)

              autotools-dev 

              build-essential

              bash 

              cpp-4.1

              gcc-4.1-base 

              gcc-4.1

              linux-source-2.6.20

              libdrm-dev

              libgl1-mesa-dev  

              libncurse5

              libnucrse5-dev    

              libtool

              m4    

              mesa-common-dev

              xorg-dev (includes some dependency packages)

              xserver-xorg-dev (includes some dependency packages)

       Debian Linux 3.1r4 dependency packages (deb): 

              autoconf (2.59a-3)

              automake1.4 

              autotools-dev 

              bash 

              cpp-3.3

              gcc-3.3-base 

              gcc-3.3

              kernel-source-2.6.8

              libncurses5

              libnucrses5-de    

              libtool

              m4

              XFree86 4.3.0 sourec packages (X430src-1.tgz ~X430src-7,tgz packages)

              <Some dependency packages for building VIA DRI driver in 3D Mesa>

	      X11R6.6 cvs source package

       Debian Linux 4.0 dependency packages (deb): 

              autoconf (>2.53)

              automake1.9 (>1.6)

              autotools-dev 

              build-essential

              bash 

              cpp-4.1

	      freeglut3

              gcc-4.1-base 

              gcc-4.1

	      linux-headers-2.6.18-4-486

	      linux-kbuild-2.6.18

              linux-source-2.6.18

              libdrm-dev

	      libgl1-mesa-dev 

              libncurse5

              libnucrse5-dev    

              libtool

              m4    

              mesa-common-dev

	      mesa-utils

              xorg-dev (includes some dependency packages)

              xserver-xorg-dev (includes some dependency packages)

              <Some dependency packages for building VIA DRI driver in 3D Mesa>



   Note: After installing OS, using command "rpm -qa | grep gcc" (rpm base) or 

   "dpkg -l | grep gcc" (deb base) to verify the following packages have been 

   installed on the system.

   Note: There is a convenient GUI package manager "Synaptic Package Manager" in

   Debian 4.0/Ubuntu 6.10/7.04 (update "/etc/apt/sources.list" file and 

   ebable LAN feature). 

   Please click the "Reload Package Information" in the tool then install 

   and update any package we need above.               
Mentre quando provo a usare un file "makedriver" (ergo che costruisca i driver che mi servono) mi sputa fuori questi errori e non ci capisco una fava.

Codice: Seleziona tutto

bud@laptop:~$ sudo sh '/home/bud/K8M800/src/makedriver' 
Which version driver you want to release (x86) ? 
x86
mkdir: impossibile creare la directory `/CLE266CN400CN-CX700CN800XORG400x86': Il file esiste
Which CPU do you use ? 
1. VIA C3-2(C5N/C5P), C7/C7D/C7M/Eden, Intel Pentium 2/3/4(x86)
2. VIA C3
3. AMD K7
4. AMD K8 with 32 bits OS(x86)
5. AMD K8 with 64 bits OS(x86_64)
4
cp: impossibile fare stat di `viax.conf': Nessun file o directory
cp: impossibile fare stat di `vinstall': Nessun file o directory
cp: impossibile fare stat di `vuninstall': Nessun file o directory
cp: impossibile fare stat di `.VIAVIDEORC': Nessun file o directory
cp: impossibile fare stat di `Utility': Nessun file o directory
cp: impossibile fare stat di `../Installation.txt': Nessun file o directory
cd: 499: can't cd to 3D/DRM
cp: impossibile fare stat di `via.ko': Nessun file o directory
cp: impossibile fare stat di `drm.ko': Nessun file o directory
cp: impossibile fare stat di `../DRI-Xorg_bin/Ubuntu/7.10/unichrome_dri.so': Nessun file o directory
cp: impossibile fare stat di `../DRI-Xorg_bin/Ubuntu/7.10/libGL.so.1.2': Nessun file o directory
cd: 509: can't cd to 3D
cp: impossibile fare stat di `libglx.so': Nessun file o directory
cp: impossibile fare stat di `VIA-VMILIB/libddmpeg.so': Nessun file o directory
cd: 517: can't cd to via
cd: 704: can't cd to /home/bud/via/X11R7
sh: Can't open config_x11r7
sh: Can't open configure_xorg7.2
make: *** No rule to make target `clean'.  Stop.
cp: impossibile fare stat di `src/.libs/via_drv.so': Nessun file o directory
cp: impossibile fare stat di `via_drv.o': Nessun file o directory
strip: '/CLE266CN400CN-CX700CN800XORG400x86/XServer/via_drv.so': No such file
strip: '/CLE266CN400CN-CX700CN800XORG400x86/XServer/libddmpeg.so': No such file
-e  -------- Complete to make & copy driver --------
Ultima modifica di bud il sabato 1 marzo 2008, 16:07, modificato 1 volta in totale.
Portatile: eMachines eM355 | Fisso: Packard Bell iMedia 8301
Avatar utente
369
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 3452
Iscrizione: giovedì 5 luglio 2007, 15:02
Località: Napoli
Contatti:

Re: Aiuto compilazione driver K8M800

Messaggio da 369 »

sembra che il pacchetto sia un .rpm e non un .deb
Avatar utente
bud
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 789
Iscrizione: domenica 11 giugno 2006, 20:31
Desktop: ubuntu
Distribuzione: Ubuntu 14.04 64bit
Località: Vicenza
Contatti:

Re: Aiuto compilazione driver K8M800

Messaggio da bud »

Quindi? Che posso fare? Anche perchè è citato ubuntu, fino al 7.4, quindi in un qualche modo deve essere compatibile...
Portatile: eMachines eM355 | Fisso: Packard Bell iMedia 8301
Avatar utente
369
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 3452
Iscrizione: giovedì 5 luglio 2007, 15:02
Località: Napoli
Contatti:

Re: Aiuto compilazione driver K8M800

Messaggio da 369 »

prova ad installare alien e converti il pacchetto con quest utility dopodichè la lanci e vedi se funziona
Avatar utente
bud
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 789
Iscrizione: domenica 11 giugno 2006, 20:31
Desktop: ubuntu
Distribuzione: Ubuntu 14.04 64bit
Località: Vicenza
Contatti:

Re: Aiuto compilazione driver K8M800

Messaggio da bud »

Ma non è un rpm!!!
Portatile: eMachines eM355 | Fisso: Packard Bell iMedia 8301
Scrivi risposta

Ritorna a “Driver e periferiche”

Chi c’è in linea

Visualizzano questa sezione: 0 utenti iscritti e 9 ospiti