Pagina 1 di 1

problema driver video

Inviato: mercoledì 14 marzo 2007, 0:20
da ti-ut
ho una scheda madre asus a7v8x-mx con scheda video integrata "via unichrome"... kubuntu aveva selezionato il driver "openchrome" che però mi dava qualche problema, in blender ad esempio non si vedevano i menu sulle barre se non ci passavo sopra col mouse e anche le tendine si vedevano male.... e a volte poi si bloccava X costringendomi a resettare il pc  :o ..... ieri ho provato a usare il driver vesa e blender con questo funziona bene ma succede che su firefox lo scroll della pagina va a scatti.... anzi ondeggia...

posso risolvere in qualche modo? quale altro driver posso provare?

grazie
ciaooo

Re: problema driver video

Inviato: mercoledì 14 marzo 2007, 11:58
da ti-ut
ho trovato questo... il mio chipset è il km400... dovrebbe andare??

sono alle prime compilazioni dunque ho molti problemi.... qualcuno potrebbe aiutarmi?

questo è il file readme del pacchetto

Codice: Seleziona tutto

Building The Unichrome Projects drivers for your X version:
-----------------------------------------------------------

WARNING: The content of this file is about building and installing this
driver yourself. This will not make your package manager happy. You might
also want to back up via_drv.o/so and the manpage first.

If you run into any difficulties, please contact the unichrome-users
mailinglist at unichrome-users@lists.sourceforge.net . Subscribe at 
http://lists.sourceforge.net/mailman/listinfo/unichrome-users first.


1) Monolithic X:
----------------

    Applies to xfree86 4.3.0 through 4.6.0, and X.org 6.7, 6.8 and 6.9.

1.1) Against a full X tree:

    This requires that a sufficiently built X tree is present (see 1.2
    otherwise). The top level directory of an X tree tends to be named xc/.
    Replace <path_to_xc> with whatever is suited for you.

    From the top level, in xf86-video-unichrome/, (the same level as this
    file) run:

	# xmkmf <path_to_xc>
	# make Makefiles
	# make
	# make install

1.2) Preparing an X tree:

    ...

1.3) Against the SDK/DDK:

    ...

2) Modular X:
-------------

    Suited for Xorg 7.0, 7.1.

2.1) Requirements:
    
    - An X version more recent than 7.0 RC2 (there was a macro difference before
      that).

    - A full X install or the xorg DDK installed. Here is a list of package
      names for the common distributions:
        * Debian and derivates: xserver-xorg-dev
        * Redhat/SuSE: xorg-x11-server-sdk

      Contact me if you would like to add to this list.

2.2) Building:

    Building against modular is a breeze. All it takes is:

        # ./autogen.sh
    or
        # ./autogen.sh --prefix=<...>

    and then
        # make
    and
        # make install

2.3) Common problems:

2.3.1) aclocal is unable to find X macros.

    You will see configure complain with:
        ./configure: line xxxxx: XORG_MANPAGE_SECTIONS: command not found
        ./configure: line xxxxx: XORG_RELEASE_VERSION: command not found

    What happens is that aclocal is unable to find your xorgversion.m4 and
    xorg-macros.m4. These are usually found in <prefix>/share/aclocal

    This can be solved by doing the following before running autogen.sh:
        - permanent solution: add a file named dirlist to your 
          /usr/share/aclocal/ directory, and add a line with the path for X
          macros.
        - temporary solution: run
          # export ACLOCAL_LOCALDIR="<prefix>/share/aclocal/"

2.3.2) XORG_DRIVER_CHECK_EXT missing from macros.

    Configure fails with following message:
	./configure: line xxxxx: syntax error near unexpected token `RANDR,'
	./configure: line xxxxx: `XORG_DRIVER_CHECK_EXT(RANDR, randrproto)'

    The cause of this is that xorg-server.m4 isn't available. This was only
    added a few days before 7.0RC2 was tagged, but it is quite incompatible
    with earlier versions.

    Make sure you have at least RC2.

    If anyone with a lot of autoconf experience knows how to properly check
    for the existence of individual macros at the autoheader stage, please
    don't hesitate to contact me.

2.3.3) Automake too old.

    autogen.sh fails with:
        configure.ac: xxx: required file `./[config.h].in' not found
        src/Makefile.am:xx: via_drv_la_SOURCES defined both conditionally

    Make sure that you have at least automake version 1.7
e questo è invece il risultato del comando ./autogen.sh

Codice: Seleziona tutto

antonio@linux:/etc/X11/xf86-video-unichrome-0.2.6$ ./autogen.sh
autoreconf2.50: Entering directory `.'
autoreconf2.50: configure.ac: not using Gettext
autoreconf2.50: running: aclocal  --output=aclocal.m4t
autoreconf2.50: `aclocal.m4' is unchanged
autoreconf2.50: configure.ac: tracing
autoreconf2.50: running: libtoolize --copy
libtoolize: `config.guess' exists: use `--force' to overwrite
libtoolize: `config.sub' exists: use `--force' to overwrite
libtoolize: `ltmain.sh' exists: use `--force' to overwrite
autoreconf2.50: running: /usr/bin/autoconf
autoreconf2.50: running: /usr/bin/autoheader
autoreconf2.50: running: automake --add-missing --copy
autoreconf2.50: Leaving directory `.'
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... yes
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 ISO C89... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/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... g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g77 accepts -g... yes
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... cat: /etc/ld.so.conf.d/*.conf: No such file or directory
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... cat: /etc/ld.so.conf.d/*.conf: No such file or directory
GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for g77 option to produce PIC... -fPIC
checking if g77 PIC flag -fPIC works... yes
checking if g77 static flag -static works... yes
checking if g77 supports -c -o file.o... yes
checking whether the g77 linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... cat: /etc/ld.so.conf.d/*.conf: No such file or directory
GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
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 ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking if RANDR is defined... yes
checking if RENDER is defined... yes
checking if XF86DRI 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... configure: error: Package requirements (xorg-server xproto fontsproto  randrproto renderproto xextproto x11 xextproto) were not met:

No package 'xproto' found
No package 'fontsproto' found
No package 'randrproto' found
No package 'renderproto' found
No package 'xextproto' found
No package 'x11' found
No package 'xextproto' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables XORG_CFLAGS
and XORG_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

antonio@linux:/etc/X11/xf86-video-unichrome-0.2.6$    

Re: problema driver video

Inviato: mercoledì 14 marzo 2007, 13:49
da ti-ut
allora:  >:(

ho risolto qualcosa e alla fine del processo del comando ./autogen.sh ora mi dice

Codice: Seleziona tutto

checking for XORG... configure: error: Package requirements (xorg-server xproto fontsproto  randrproto renderproto xextproto x11 xextproto) were not met:

No package 'x11' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables XORG_CFLAGS
and XORG_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

antonio@linux:/etc/X11/xf86-video-unichrome-0.2.6$  
come posso risolvere?

altra cosa:
ho trovato con synaptic un pacchetto per le schede unichrome (forse proprio questo che sto cercando di compilare) e l'ho installato.... nella descrizione c'è scritto:
This driver is originally shipped to be loaded as 'via' on xorg.conf, but this
package renames it to 'unichrome', so it doesn't conflicts with the other VIA
driver already available on Ubuntu.
ho provato a settare il driver mettendo "unichrome" in xorg.config ma non parte più X proprio come se non trovasse niente..... qualche soluzione???

please help me  ;D >:(

Re: problema driver video

Inviato: sabato 17 marzo 2007, 0:48
da lodato87
si ho una soluzione temporanea:
quando si blocca premi ctrl+alt+f1 e aspetta un secondo
ora ti viene chiesto come loggarti loggati da root metti la password e dai questo comando
"editor /etc/X11/xorg.conf"
ora ti comparirà un file di testo piu o meno alla riga 108 nella sezione device del monitor(ti accorgi che stai nella parte giusta perchè all'interno di tale sezione c'è scritto il modello di cheda grafica) trovera una riga con scritto driver  "via" ok al posto di via metti vesa verrà così driver  "vesa"

ora salva con ctrl+alt+O ed esci con ctrl+alt+ x

ora dai il vomando init 6 e il pc ripartirà
la grafica sarà un pòpiù lenta a almeno ripristinerai il PC in modaltà grafica
ora ripristina tutto in maniera grafica da sinaptic aggiornando xorg e xf86via e xf86unichrome dopo sarà tutto come prima

Re: problema driver video

Inviato: sabato 17 marzo 2007, 0:57
da lodato87
inoltre vedi che il file che hai pubblicato dice tutto per poter compilare correttamente quei driver devi accedere con i driver vesa poi apri il terminale
devi aprire il sinaptic e installare i seguenti pacchetti se non disponibili:

xorg-server xproto fontsproto  randrproto renderproto xextproto x11 xextproto


vabè prova se hai ancora problemi posta sul forum

Re: problema driver video

Inviato: sabato 17 marzo 2007, 10:42
da MaraMax
ti-ut ha scritto: allora:  >:(

ho risolto qualcosa e alla fine del processo del comando ./autogen.sh ora mi dice

Codice: Seleziona tutto

checking for XORG... configure: error: Package requirements (xorg-server xproto fontsproto  randrproto renderproto xextproto x11 xextproto) were not met:

No package 'x11' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables XORG_CFLAGS
and XORG_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

antonio@linux:/etc/X11/xf86-video-unichrome-0.2.6$  
come posso risolvere?
Viene segnalata la mancanza del pacchetto di sviluppo di xorg (contenente gli header necessari alla compilazione)
dovrebbe risolversi installando il pacchetto:
libx11-dev

basta il comando
sudo apt-get install libx11-dev
oppure usa il tuo gestore dei pacchetti preferito.