View previous topic :: View next topic |
Author |
Message |
elbambolo Tux's lil' helper
Joined: 23 Nov 2003 Posts: 98
|
Posted: Thu Feb 26, 2004 6:05 pm Post subject: Giochiamo con Gentoo [RISOLTO] |
|
|
Salvelox a tutti
ho appena finito di installare uno dei piu famosi emulatori (gxmame)
ma al momento dell'avvio della room mi viene restituito il segente errore:
Code: | GLmame v0.94 - the_peace_version , by Sven Goethel, http://www.jausoft.com, sgoethel@jausoft.com,
based upon GLmame v0.6 driver for xmame, written by Mike Oliphant
GLINFO: loaded OpenGL library libGL.so!
GLINFO: loaded GLU library libGLU.so!
Xlib: extension "XFree86-DRI" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
GLINFO: fetching GLX_USE_GL state failed
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
GLINFO: fetching GLX_USE_GL state failed
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
GLINFO: fetching GLX_USE_GL state failed
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
GLINFO: fetching GLX_USE_GL state failed
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
GLINFO: fetching GLX_USE_GL state failed
Xlib: extension "GLX" missing on display ":0.0".
GLINFO: fetching GLX_USE_GL state failed
Xlib: extension "GLX" missing on display ":0.0".
GLINFO: fetching GLX_USE_GL state failed
Xlib: extension "GLX" missing on display ":0.0".
GLINFO: fetching GLX_USE_GL state failed
Xlib: extension "GLX" missing on display ":0.0".
GLINFO: fetching GLX_USE_GL state failed
Xlib: extension "GLX" missing on display ":0.0".
GLINFO: fetching GLX_USE_GL state failed
OSD ERROR: failed to obtain visual.
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
GLmame v0.94 - the_peace_version , by Sven Goethel, http://www.jausoft.com, sgoethel@jausoft.com,
based upon GLmame v0.6 driver for xmame, written by Mike Oliphant
Unable to start video emulation |
suggerimenti?
in pratica, cosa mi sono scordato di fare? _________________ da oggi mi metto a studiare il c++ !!!
Last edited by elbambolo on Fri Feb 27, 2004 2:01 pm; edited 1 time in total |
|
Back to top |
|
|
tolipth Guru
Joined: 01 Dec 2003 Posts: 301
|
Posted: Thu Feb 26, 2004 6:10 pm Post subject: |
|
|
stai usando gl-mame (mame compilato con le open-gl)?
Hai confiigurato correttamente xfree (soprattutto il 3D)? |
|
Back to top |
|
|
elbambolo Tux's lil' helper
Joined: 23 Nov 2003 Posts: 98
|
Posted: Thu Feb 26, 2004 6:21 pm Post subject: |
|
|
Quote: | stai usando gl-mame (mame compilato con le open-gl)? | ovvero?
l'emerge mi dice che quel pacchetto non esiste:
Code: | bash-2.05b# emerge -vp gl-mame
These are the packages that I would merge, in order:
Calculating dependencies
emerge: there are no masked or unmasked ebuilds to satisfy "gl-mame".
!!! Error calculating dependencies. Please correct.
bash-2.05b# |
Quote: | Hai confiigurato correttamente xfree (soprattutto il 3D)? |
e anche qui.... ovvero? ho riconfigurato adesso l'xfree ma non mi ha chiesto niente riguardo il 3D _________________ da oggi mi metto a studiare il c++ !!!
|
|
Back to top |
|
|
mcvash Tux's lil' helper
Joined: 15 Oct 2003 Posts: 119
|
Posted: Thu Feb 26, 2004 6:51 pm Post subject: |
|
|
Ci sono vari eseguibili per xmame:
xmame.SDL
xmame.x11
xmame
xmame.svgalib
xmame.xgl
uno di questi dovrebbe andare, comunque io ti consiglio una gui, e' molto piu' semplice e facilmente configurabile.
ad esempio io uso gxmame |
|
Back to top |
|
|
mtto Apprentice
Joined: 11 Jan 2004 Posts: 177 Location: Bassano Del Grappa, Italia
|
Posted: Thu Feb 26, 2004 7:05 pm Post subject: |
|
|
Io usavo MAME sotto windows e downloadavo le rom da www.mame.dk, adesso volendo usarlo sotto Gentoo sapete dove si possono recuperare ste benedette rom dopo che mame.dk ha chiuso???
Ciao!
|
|
Back to top |
|
|
mcvash Tux's lil' helper
Joined: 15 Oct 2003 Posts: 119
|
Posted: Thu Feb 26, 2004 7:10 pm Post subject: |
|
|
io le trovo tutte con il p2p...
con lopster ne trovi parecchie
se hai bisogno e usi lopser, magari mi contatti e te le faccio scaricare |
|
Back to top |
|
|
tolipth Guru
Joined: 01 Dec 2003 Posts: 301
|
Posted: Thu Feb 26, 2004 7:21 pm Post subject: |
|
|
Che scheda video hai? se hai una Nvidia hai scaricato i driver proprietari e modificato il file XF86config? Magari guarda qui:
http://www.gentoo.it/doc/desktop-it.html
ciao |
|
Back to top |
|
|
elbambolo Tux's lil' helper
Joined: 23 Nov 2003 Posts: 98
|
Posted: Thu Feb 26, 2004 8:49 pm Post subject: |
|
|
io infatti uso gxmame, poi per quanto rigurada la scheda video, ho un hercules 3d prophet 4500 tv/out con chipset kyro, e per quanto riguarda l'xfree, non sono mai riuscito a far andare i driver giusti _________________ da oggi mi metto a studiare il c++ !!!
|
|
Back to top |
|
|
tolipth Guru
Joined: 01 Dec 2003 Posts: 301
|
|
Back to top |
|
|
iDarbert Apprentice
Joined: 19 Nov 2003 Posts: 251 Location: Bergamo, BG
|
Posted: Thu Feb 26, 2004 8:53 pm Post subject: |
|
|
Hai provato ad abilitare GLX?
In /etc/XF86Config:
Option "GLX" "True" |
|
Back to top |
|
|
MyZelF Bodhisattva
Joined: 25 Feb 2003 Posts: 2010 Location: Venice, Italy
|
Posted: Thu Feb 26, 2004 8:54 pm Post subject: |
|
|
Sono anche in portage:
Code: | * media-video/kyro-kernel
Latest version available: 2.00.20.516
Latest version installed: [ Not Installed ]
Size of downloaded files: 968 kB
Homepage: http://www.powervr.com/
Description: XFree86 DRI drivers for the KyroII card
License: ImaginationTechnologies
|
_________________ "Larry the Cow was a bit frustrated at the current state of Linux Distributions..." |
|
Back to top |
|
|
elbambolo Tux's lil' helper
Joined: 23 Nov 2003 Posts: 98
|
Posted: Thu Feb 26, 2004 9:07 pm Post subject: |
|
|
Quote: | Sono anche in portage:
Codice:
* media-video/kyro-kernel
Latest version available: 2.00.20.516
Latest version installed: [ Not Installed ]
Size of downloaded files: 968 kB
Homepage: http://www.powervr.com/
Description: XFree86 DRI drivers for the KyroII card
License: ImaginationTechnologies |
si si se spieagasse pure come si fa per installarli pero non sarebbe male.. purtroppo in gentoo si da importanza solo all'hardware difficile da installare, ci sono migliaglia di guide che spiegano come installare la nvidia in tutte le salse e in tutte le lingue, mentre per la kyro ti dicono solo che va messa come driver nell'xf86config nella sezione scheda video. e logicamente, al momento dell'avio dell'xfreee (come normale che sia) non parte. forse voi, nel mio caso, risolvereste il problema in 3 nanosecondi, ma io purtroppo non ho tanta iniziativa e come vedo un'errore purtroppo mi blocco e non so come andare avanti
ecco praticamente l'errore di quell'ebuild:
Code: | !!! ERROR: media-video/kyro-kernel-2.00.20.516 failed.
!!! Function src_compile, Line 29, Exitcode 2
!!! (no error message)
|
è per questo motivo che non ho mai installato quei driver da ebuild, ma questa sera ho provato a scaricare il file e compilarlo a manina.... stesso risultato :/
ma per giocare non basta che configuro la scheda video con il "compatible VESA" ? _________________ da oggi mi metto a studiare il c++ !!!
|
|
Back to top |
|
|
MyZelF Bodhisattva
Joined: 25 Feb 2003 Posts: 2010 Location: Venice, Italy
|
Posted: Thu Feb 26, 2004 9:13 pm Post subject: |
|
|
Dovresti postare qualche riga in più dell'output della compilazione perchè qualcuno ti possa essere d'aiuto.
Se non hai bisogno di accelerazione 3d puoi usare anche i driver VESA, ma visto che esistono questi driver perchè non provarli? (tra l'altro quelli presenti in portage non sono i più recenti)
Non ho mai avuto alcuna esperienza con questo tipo di chip/driver, ma non dovrebbe essere troppo diverso dal configurare X per usare altri driver DRI. _________________ "Larry the Cow was a bit frustrated at the current state of Linux Distributions..." |
|
Back to top |
|
|
elbambolo Tux's lil' helper
Joined: 23 Nov 2003 Posts: 98
|
Posted: Thu Feb 26, 2004 9:17 pm Post subject: |
|
|
ecco l'output:
Code: | bash-2.05b# emerge kyro-kernel
Calculating dependencies ...done!
>>> emerge (1 of 1) media-video/kyro-kernel-2.00.20.516 to /
>>> md5 src_uri ;-) powervr-2.00.20-516.tgz
>>> Unpacking source...
>>> Unpacking powervr-2.00.20-516.tgz to /var/tmp/portage/kyro-kernel-2.00.20.516/work
RUNNING FROM extra_functions.sh
* Applying mtrr-include-fix.diff... [ ok ]
>>> Source unpacked.
gcc -O2 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.6.1/include/linux/modversions.h -D__KERNEL__ -I/usr/src/linux-2.6.1/include -DLINUX -DGCC_IA32 -DSUPPORT_AGP -Idrm -DHAVE_VMA=1 -c -o hostfunc.o hostfunc.c
<command line>:138167311:17432: /usr/src/linux-2.6.1/include/linux/modversions.h: No such file or directory
hostfunc.c:104: parse error before "agp_memory"
hostfunc.c:104: warning: no semicolon at end of struct or union
hostfunc.c:107: parse error before '}' token
hostfunc.c:108: warning: data definition has no type or storage class
hostfunc.c:111: parse error before "agpInfo"
hostfunc.c:111: warning: data definition has no type or storage class
hostfunc.c:113: parse error before '*' token
hostfunc.c:113: warning: data definition has no type or storage class
hostfunc.c:117: parse error before '*' token
hostfunc.c:117: warning: data definition has no type or storage class
hostfunc.c:118: parse error before '*' token
hostfunc.c:118: parse error before '*' token
hostfunc.c:119: warning: data definition has no type or storage class
hostfunc.c:120: parse error before '*' token
hostfunc.c:122: parse error before '*' token
hostfunc.c:122: warning: data definition has no type or storage class
hostfunc.c:123: parse error before '*' token
hostfunc.c:124: parse error before '*' token
hostfunc.c: In function `HostCommitLinBuf':
hostfunc.c:1165: `agp_memory' undeclared (first use in this function)
hostfunc.c:1165: (Each undeclared identifier is reported only once
hostfunc.c:1165: for each function it appears in.)
hostfunc.c:1165: `tmp' undeclared (first use in this function)
hostfunc.c:1166: `mem' undeclared (first use in this function)
hostfunc.c:1170: parse error before ')' token
hostfunc.c:1170: parse error before ')' token
hostfunc.c:1180: request for member `aper_base' in something not a structure or union
hostfunc.c: In function `HostFreeLinBuf':
hostfunc.c:1233: `agp_memory' undeclared (first use in this function)
hostfunc.c:1233: parse error before ')' token
hostfunc.c: In function `InitializeAGP':
hostfunc.c:1592: warning: passing arg 1 of pointer to function from incompatible pointer type
hostfunc.c:1595: request for member `mode' in something not a structure or union
hostfunc.c:1610: request for member `aper_base' in something not a structure or union
hostfunc.c:1611: request for member `aper_size' in something not a structure or union
hostfunc.c: In function `ShutdownAGP':
hostfunc.c:1622: request for member `mappedAddr' in something not a structure or union
hostfunc.c:1622: request for member `length' in something not a structure or union
hostfunc.c:1625: request for member `aper_base' in something not a structure or union
hostfunc.c:1625: request for member `aper_size' in something not a structure or union
hostfunc.c: At top level:
hostfunc.c:1653: parse error before '*' token
hostfunc.c: In function `pvr_agp_reserve':
hostfunc.c:1655: `rv' undeclared (first use in this function)
hostfunc.c:1655: `mem' undeclared (first use in this function)
hostfunc.c:1664: request for member `aper_size' in something not a structure or union
hostfunc.c:1672: request for member `aper_base' in something not a structure or union
hostfunc.c:1693: request for member `aper_base' in something not a structure or union
hostfunc.c: At top level:
hostfunc.c:1708: parse error before '*' token
hostfunc.c:1709: parse error before '*' token
hostfunc.c: In function `pvr_agp_commit':
hostfunc.c:1711: `agp_memory' undeclared (first use in this function)
hostfunc.c:1711: `mem' undeclared (first use in this function)
hostfunc.c:1718: `slot' undeclared (first use in this function)
hostfunc.c:1718: `dwOffset' undeclared (first use in this function)
hostfunc.c:1718: `dwPages' undeclared (first use in this function)
hostfunc.c: At top level:
hostfunc.c:1783: parse error before '*' token
hostfunc.c: In function `pvr_agp_decommit':
hostfunc.c:1785: `agp_memory' undeclared (first use in this function)
hostfunc.c:1785: `mem' undeclared (first use in this function)
hostfunc.c:1790: `slot' undeclared (first use in this function)
hostfunc.c:1790: `dwOffset' undeclared (first use in this function)
hostfunc.c:1790: `dwPages' undeclared (first use in this function)
hostfunc.c: At top level:
hostfunc.c:1827: parse error before '*' token
hostfunc.c: In function `pvr_agp_alloc':
hostfunc.c:1830: `slot' undeclared (first use in this function)
hostfunc.c: At top level:
hostfunc.c:1842: parse error before '*' token
hostfunc.c: In function `pvr_agp_free_list':
hostfunc.c:1844: `agp_memory' undeclared (first use in this function)
hostfunc.c:1844: `tmp' undeclared (first use in this function)
hostfunc.c:1844: `mem' undeclared (first use in this function)
hostfunc.c:1844: `mem_list' undeclared (first use in this function)
hostfunc.c:1845: `slot' undeclared (first use in this function)
hostfunc.c: At top level:
hostfunc.c:1866: parse error before '*' token
hostfunc.c: In function `pvr_agp_unreserve':
hostfunc.c:1868: `agp_memory' undeclared (first use in this function)
hostfunc.c:1868: `mem' undeclared (first use in this function)
hostfunc.c:1868: `tmp' undeclared (first use in this function)
hostfunc.c:1869: `tmap' undeclared (first use in this function)
hostfunc.c:1871: `slot' undeclared (first use in this function)
hostfunc.c: In function `HostGARTReserve':
hostfunc.c:1920: `agp_memory' undeclared (first use in this function)
hostfunc.c:1920: `agpMem' undeclared (first use in this function)
hostfunc.c:1922: `map_entry' undeclared (first use in this function)
hostfunc.c:1944: request for member `aper_base' in something not a structure or union
hostfunc.c: In function `HostGARTRelease':
hostfunc.c:1978: `tmp' undeclared (first use in this function)
hostfunc.c:1978: `map' undeclared (first use in this function)
hostfunc.c:1978: parse error before ')' token
hostfunc.c:1979: `agp_memory' undeclared (first use in this function)
hostfunc.c:1979: `mem' undeclared (first use in this function)
hostfunc.c: In function `HostGARTAlloc':
hostfunc.c:2009: `agp_memory' undeclared (first use in this function)
hostfunc.c:2009: `agpMem' undeclared (first use in this function)
hostfunc.c:2009: `mem' undeclared (first use in this function)
hostfunc.c: In function `HostGARTFree':
hostfunc.c:2043: `agp_memory' undeclared (first use in this function)
hostfunc.c:2043: `mem' undeclared (first use in this function)
hostfunc.c:2043: parse error before ')' token
hostfunc.c: In function `HostGARTReserveMax':
hostfunc.c:2072: request for member `aper_size' in something not a structure or union
hostfunc.c: In function `HostGARTCommit':
hostfunc.c:2093: `map' undeclared (first use in this function)
hostfunc.c:2093: parse error before ')' token
hostfunc.c:2094: `agp_memory' undeclared (first use in this function)
hostfunc.c:2094: `agp' undeclared (first use in this function)
hostfunc.c: In function `HostGARTDecommit':
hostfunc.c:2125: `map' undeclared (first use in this function)
hostfunc.c:2125: parse error before ')' token
hostfunc.c:2126: `agp_memory' undeclared (first use in this function)
hostfunc.c:2126: `mem' undeclared (first use in this function)
make: *** [hostfunc.o] Error 1
!!! ERROR: media-video/kyro-kernel-2.00.20.516 failed.
!!! Function src_compile, Line 29, Exitcode 2
!!! (no error message)
bash-2.05b# |
da quello che posso capire non trova dei file... ma non capisco cosa _________________ da oggi mi metto a studiare il c++ !!!
|
|
Back to top |
|
|
MyZelF Bodhisattva
Joined: 25 Feb 2003 Posts: 2010 Location: Venice, Italy
|
Posted: Thu Feb 26, 2004 9:25 pm Post subject: |
|
|
/usr/src/linux punta alla directory contenente i sorgenti del tuo kernel? _________________ "Larry the Cow was a bit frustrated at the current state of Linux Distributions..." |
|
Back to top |
|
|
elbambolo Tux's lil' helper
Joined: 23 Nov 2003 Posts: 98
|
Posted: Thu Feb 26, 2004 9:30 pm Post subject: |
|
|
in /usr/src/ ho 2 cartelle, una linux e una linux-2.6.1
ma visto che al momento dell'installazione ho compilato da /usr/src/linux... penso proprio di si.
se non dovesse essere come credo, come faccio a cambiare la path di destinazione? _________________ da oggi mi metto a studiare il c++ !!!
|
|
Back to top |
|
|
MyZelF Bodhisattva
Joined: 25 Feb 2003 Posts: 2010 Location: Venice, Italy
|
Posted: Thu Feb 26, 2004 9:36 pm Post subject: |
|
|
mmh... mi sa che il file che cerca è presente solo nei kernel 2.4.x, quindi non puoi compilare il driver per 2.6.x. La doc dei driver dice nulla a riguardo? Magari la nuova versione scaricata da powervr.com compila anche con kernel della serie 2.6.x. _________________ "Larry the Cow was a bit frustrated at the current state of Linux Distributions..." |
|
Back to top |
|
|
elbambolo Tux's lil' helper
Joined: 23 Nov 2003 Posts: 98
|
Posted: Thu Feb 26, 2004 9:40 pm Post subject: |
|
|
sinceramente non ci sto capendo piu niente... quando avevo il 2.4 mi avevano detto che per quei driver dovevo aspettare il nuovo kernel, esce il 2.6, lo installo e tutto.... e poi mi dicono che qui driver sono per la serie 2.4*
ma solo io ho questi problemi? (ditemi di no)........... _________________ da oggi mi metto a studiare il c++ !!!
|
|
Back to top |
|
|
elbambolo Tux's lil' helper
Joined: 23 Nov 2003 Posts: 98
|
Posted: Thu Feb 26, 2004 9:43 pm Post subject: |
|
|
ecco cosa dice di preciso in merito al kernel il sito ufficiale:
Quote: | Linux kernel 2.6 introduced major structural changes to the way driver modules are built and loaded. As a result, existing KYRO drivers are not compatible with any Linux kernel whose version is 2.6 or above. To keep using KYRO drivers, users are requested to use the latest available 2.4 Linux kernel version. We have currently no plans of providing drivers supporting updated kernels.
|
anche se a me sa tanto di "bhoooo, vedi un po se a te funziono" _________________ da oggi mi metto a studiare il c++ !!!
|
|
Back to top |
|
|
MyZelF Bodhisattva
Joined: 25 Feb 2003 Posts: 2010 Location: Venice, Italy
|
Posted: Thu Feb 26, 2004 9:51 pm Post subject: |
|
|
Lì dicono appunto che funzionano solo su 2.4.x... _________________ "Larry the Cow was a bit frustrated at the current state of Linux Distributions..." |
|
Back to top |
|
|
elbambolo Tux's lil' helper
Joined: 23 Nov 2003 Posts: 98
|
Posted: Thu Feb 26, 2004 9:52 pm Post subject: |
|
|
tagliamo la testa al toro
vanilla-sources e vediamo se va
domani poi vi faccio sapere
ciao e grazie!
_________________ da oggi mi metto a studiare il c++ !!!
|
|
Back to top |
|
|
elbambolo Tux's lil' helper
Joined: 23 Nov 2003 Posts: 98
|
Posted: Fri Feb 27, 2004 2:00 pm Post subject: |
|
|
allora, ho messo il vanilla-sources, ho emerso i driver, ma non funzionava, poi sono andato sul sito ufficilale e ho scaricato le sorgenti. il problema dell'emerge era proprio quello che dicevi tu:
Quote: | /usr/src/linux punta alla directory contenente i sorgenti del tuo kernel? |
avendo il doppio kernel, 2.6* e 2.4* l'emerge andava un po in panico, invece dalla sorgente ho specificato in quale cartella stava il kernel giusto. dopo di ciò ho riconfigurato l'xfree ed ho messo in modules.autoload il modulo "powervr"
ho riavviato e adesso tutto funziona alla grande _________________ da oggi mi metto a studiare il c++ !!!
|
|
Back to top |
|
|
mtto Apprentice
Joined: 11 Jan 2004 Posts: 177 Location: Bassano Del Grappa, Italia
|
Posted: Fri Feb 27, 2004 6:56 pm Post subject: |
|
|
mcvash wrote: | io le trovo tutte con il p2p...
con lopster ne trovi parecchie
se hai bisogno e usi lopser, magari mi contatti e te le faccio scaricare |
Ciao, sei molto gentile....
Dunque:
ho fatto
poi l'ho avviato e mi sono connesso ad un server a caso....
Adesso faccio un bel
e poi.... conto su di te per le rom???
Ti ringrazio!!! |
|
Back to top |
|
|
mcvash Tux's lil' helper
Joined: 15 Oct 2003 Posts: 119
|
Posted: Fri Feb 27, 2004 8:37 pm Post subject: |
|
|
Quote: |
poi l'ho avviato e mi sono connesso ad un server a caso....
Adesso faccio un bel
Code:
emerge gxmame
e poi.... conto su di te per le rom???
|
Ti conviene collegarti a tutti i server, poi le rom te le passo volentieri, di solito ci sono la sera poi dipende dai giorni. Alla peggi mi chiami in pvt. ciao |
|
Back to top |
|
|
|