Mesa/Dri (driver video open source )

Riconoscimento, installazione e configurazione delle periferiche.
Divilinux

Re: Mesa/Dri (driver video open source )

Messaggio da Divilinux »

puoi usare sia gli open che i propietari..
Avatar utente
michelepao
Prode Principiante
Messaggi: 242
Iscrizione: lunedì 12 febbraio 2007, 20:33
Località: Potenza

Re: Mesa/Dri (driver video open source )

Messaggio da michelepao »

Si, questo lo so, ma siccome vorrei poter usare aiglx preferirei quelli open... Comunque non capisco come mai prima del formattone il 3d fosse ok. Ora con lo stesso xorg.conf mi da in uso i driver tungstone invece di mesa 6.5.2 e problemi di risoluzione, anche se il 3d funziona.. Boh... In ogni caso devo installare il file common e poi i driver radeon?
Acer Timeline 4810TG | Intel Core 2 Duo SU9400 (1.4 GHz) | Ati Mobility Radeon HD 4330
Divilinux

Re: Mesa/Dri (driver video open source )

Messaggio da Divilinux »

Codice: Seleziona tutto

Ora con lo stesso xorg.conf mi da in uso i driver tungstone invece di mesa 6.5.2
guarda bene lo screen..poi capisci

Codice: Seleziona tutto

Boh... In ogni caso devo installare il file common e poi i driver radeon?
radeon e' un modulo..quello che permette l'accelerazione 3D..questo modulo fa parte del pacchetto MESA che e' GIA' INSTALLATO..perche' si trova nel kernel.
il pacchetto MESA fornisce moduli per varie schede..
i driver sono xserver-xorg-video-ati..sono gli unici che devi installare... ;)
Allegati
plast31.png
Avatar utente
michelepao
Prode Principiante
Messaggi: 242
Iscrizione: lunedì 12 febbraio 2007, 20:33
Località: Potenza

Re: Mesa/Dri (driver video open source )

Messaggio da michelepao »

Quindi la tungsten è la detentrice di mesa? Allora non dovrebbe esserci differenza trai driver tungsten e quelli mesa... ma allora perchè prima l'output di grep vendor era mesa 6.5.2 e ora è tungsten? 
Acer Timeline 4810TG | Intel Core 2 Duo SU9400 (1.4 GHz) | Ati Mobility Radeon HD 4330
Divilinux

Re: Mesa/Dri (driver video open source )

Messaggio da Divilinux »

ha non saprei..avranno cambiato la stringa di riconoscimento non ne ho idea..io ho sempre avuto quello che vedi nello screen..
Avatar utente
michelepao
Prode Principiante
Messaggi: 242
Iscrizione: lunedì 12 febbraio 2007, 20:33
Località: Potenza

Re: Mesa/Dri (driver video open source )

Messaggio da michelepao »

Ma in sostanza non dovrebbe cambiare nulla? In ogni caso non sai a cosa può essere dovuta la risoluzione sballata? è tipo 16:9, come se non avesse la forma dello schermo e non va oltre 1024x768...
Acer Timeline 4810TG | Intel Core 2 Duo SU9400 (1.4 GHz) | Ati Mobility Radeon HD 4330
Divilinux

Re: Mesa/Dri (driver video open source )

Messaggio da Divilinux »

per quello mi devi postare il file di configurazione di xorg..
gia' che ci siamo..ecco qualche opzione da NON usare con una radeon9200 come la mia (perche' possono compromettere il funzionamento del 3d)

Codice: Seleziona tutto

Option "AccelMethod" "XAA"
Option "AGPMode" "8"
Option "GARTSize" "64"
Option "EnablePageFlip" "1"
Option "ColorTiling" "1"
Ultima modifica di Divilinux il martedì 5 giugno 2007, 16:28, modificato 1 volta in totale.
Avatar utente
michelepao
Prode Principiante
Messaggi: 242
Iscrizione: lunedì 12 febbraio 2007, 20:33
Località: Potenza

Re: Mesa/Dri (driver video open source )

Messaggio da michelepao »

Questo è lo xorg che ho in uso adesso:

Codice: Seleziona tutto

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf(5) manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
	FontPath	"/usr/share/fonts/X11/misc"
	FontPath	"/usr/share/fonts/X11/cyrillic"
	FontPath	"/usr/share/fonts/X11/100dpi/:unscaled"
	FontPath	"/usr/share/fonts/X11/75dpi/:unscaled"
	FontPath	"/usr/share/fonts/X11/Type1"
	FontPath	"/usr/share/fonts/X11/100dpi"
	FontPath	"/usr/share/fonts/X11/75dpi"
	# path to defoma fonts
	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
	Load	"bitmap"
	Load	"ddc"
	Load	"dri"
	Load	"extmod"
	Load	"freetype"
	Load	"glx"
	Load	"int10"
	Load	"vbe"
EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc105"
	Option		"XkbLayout"	"it"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"ImPS/2"
	Option		"ZAxisMapping"		"4 5"
	Option		"Emulate3Buttons"	"true"
EndSection

Section "InputDevice"
	Driver		"wacom"
	Identifier	"stylus"
	Option		"Device"	"/dev/input/wacom"
	Option		"Type"		"stylus"
	Option		"ForceDevice"	"ISDV4"		# Tablet PC ONLY
EndSection

Section "InputDevice"
	Driver		"wacom"
	Identifier	"eraser"
	Option		"Device"	"/dev/input/wacom"
	Option		"Type"		"eraser"
	Option		"ForceDevice"	"ISDV4"		# Tablet PC ONLY
EndSection

Section "InputDevice"
	Driver		"wacom"
	Identifier	"cursor"
	Option		"Device"	"/dev/input/wacom"
	Option		"Type"		"cursor"
	Option		"ForceDevice"	"ISDV4"		# Tablet PC ONLY
EndSection

Section "Device"
	Identifier	"Generic Video Card"
	Driver		"vesa"
	BusID		"PCI:1:0:0"
	VideoRam	512000
EndSection

Section "Monitor"
	Identifier	"hp pavilion f1723"
	Option		"DPMS"
	HorizSync	28-64
	VertRefresh	43-60
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"Generic Video Card"
	Monitor		"hp pavilion f1723"
	DefaultDepth	24
	SubSection "Display"
		Depth		1
		Modes		"1280x1024"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1280x1024"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1280x1024"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1280x1024"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1280x1024"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1280x1024"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
	InputDevice     "stylus"	"SendCoreEvents"
	InputDevice     "cursor"	"SendCoreEvents"
	InputDevice     "eraser"	"SendCoreEvents"
EndSection

Section "DRI"
	Mode	0666
EndSection
Questo è invece il tipo di xorg che usavo prima e che ora non mi funziona più:

Codice: Seleziona tutto

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf(5) manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
	FontPath	"/usr/share/fonts/X11/misc"
	FontPath	"/usr/share/fonts/X11/cyrillic"
	FontPath	"/usr/share/fonts/X11/100dpi/:unscaled"
	FontPath	"/usr/share/fonts/X11/75dpi/:unscaled"
	FontPath	"/usr/share/fonts/X11/Type1"
	FontPath	"/usr/share/fonts/X11/100dpi"
	FontPath	"/usr/share/fonts/X11/75dpi"
	# path to defoma fonts
	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
	Load	"bitmap"
	Load	"ddc"
	Load	"dri"
	Load	"extmod"
	Load	"freetype"
	Load	"glx"
	Load	"int10"
	Load	"vbe"
EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc105"
	Option		"XkbLayout"	"it"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"ImPS/2"
	Option		"ZAxisMapping"		"4 5"
	Option		"Emulate3Buttons"	"true"
EndSection

Section "InputDevice"
	Driver		"wacom"
	Identifier	"stylus"
	Option		"Device"	"/dev/input/wacom"
	Option		"Type"		"stylus"
	Option		"ForceDevice"	"ISDV4"		# Tablet PC ONLY
EndSection

Section "InputDevice"
	Driver		"wacom"
	Identifier	"eraser"
	Option		"Device"	"/dev/input/wacom"
	Option		"Type"		"eraser"
	Option		"ForceDevice"	"ISDV4"		# Tablet PC ONLY
EndSection

Section "InputDevice"
	Driver		"wacom"
	Identifier	"cursor"
	Option		"Device"	"/dev/input/wacom"
	Option		"Type"		"cursor"
	Option		"ForceDevice"	"ISDV4"		# Tablet PC ONLY
EndSection

Section "Device"
	Identifier	"Generic Video Card"
	Driver		"radeon"
	BusID		"PCI:1:0:0"
	VideoRam	512000
        Option          "XAANoOffscreenPixmaps"
EndSection

Section "Monitor"
	Identifier	"hp pavilion f1723"
	Option		"DPMS"
	HorizSync	28-64
	VertRefresh	43-60
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"Generic Video Card"
	Monitor		"hp pavilion f1723"
	DefaultDepth	24
	SubSection "Display"
		Depth		1
		Modes		"1280x1024"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1280x1024"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1280x1024"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1280x1024"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1280x1024"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1280x1024"
	EndSubSection
EndSection

Section "ServerLayout"
        Option          "AIGLX"         "true"
	Identifier	"Default Layout"
	Screen		"Default Screen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
	InputDevice     "stylus"	"SendCoreEvents"
	InputDevice     "cursor"	"SendCoreEvents"
	InputDevice     "eraser"	"SendCoreEvents"
EndSection

Section "DRI"
	Mode	0666
EndSection

Section "Extensions"
        Option "Composite" "Enable"
EndSection
PS: prima però mi riconosceva la scheda video, la identificava; lo stesso per il monitor: marca e modello li ho inseriti io, altrimenti c'era Generic Monitor. Può significare qualcosa?
In ogni caso grazie per tutto il tempo che mi stai dedicando  (good)
Acer Timeline 4810TG | Intel Core 2 Duo SU9400 (1.4 GHz) | Ati Mobility Radeon HD 4330
Divilinux

Re: Mesa/Dri (driver video open source )

Messaggio da Divilinux »

si ma sfido io che ora va  :D stai usando i driver generici vesa..non i radeon
ti assicuro che il file di conf di xorg cosi' come e'..per poter utilizzare i RADEON (a volte ubuntu  corregge in automatico) non va cambiato di una virgola..va solo aggiunto "radeon" come driver..
ecco il mio

Codice: Seleziona tutto

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
	FontPath	"/usr/share/X11/fonts/misc"
	FontPath	"/usr/share/X11/fonts/cyrillic"
	FontPath	"/usr/share/X11/fonts/100dpi/:unscaled"
	FontPath	"/usr/share/X11/fonts/75dpi/:unscaled"
	FontPath	"/usr/share/X11/fonts/Type1"
	FontPath	"/usr/share/X11/fonts/100dpi"
	FontPath	"/usr/share/X11/fonts/75dpi"
	FontPath	"/usr/share/fonts/X11/misc"
	# path to defoma fonts
	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
	Load	"bitmap"
	Load	"dbe"
	Load	"ddc"
	Load	"dri"
	Load	"extmod"
	Load	"freetype"
	Load	"glx"
	Load	"int10"
	Load	"record"
	Load	"type1"
	Load	"v4l"
	Load	"vbe"
EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc105"
	Option		"XkbLayout"	"it"
	Option		"XkbOptions"	"lv3:ralt_switch"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"ExplorerPS/2"
	Option		"ZAxisMapping"		"4 5"
	Option		"Emulate3Buttons"	"true"
EndSection

#Section "InputDevice"
#  Driver        "wacom"
#  Identifier    "stylus"
#  Option        "Device"        "/dev/wacom"          # Change to 
                                                      # /dev/input/event
                                                      # for USB
 # Option        "Type"          "stylus"
 # Option        "ForceDevice"   "ISDV4"               # Tablet PC ONLY
#EndSection

#Section "InputDevice"
 # Driver        "wacom"
 # Identifier    "eraser"
 # Option        "Device"        "/dev/wacom"          # Change to 
                                                      # /dev/input/event
                                                      # for USB
 # Option        "Type"          "eraser"
 # Option        "ForceDevice"   "ISDV4"               # Tablet PC ONLY
#EndSection

#Section "InputDevice"
 # Driver        "wacom"
 # Identifier    "cursor"
 # Option        "Device"        "/dev/wacom"          # Change to 
                                                      # /dev/input/event
                                                      # for USB
 # Option        "Type"          "cursor"
 # Option        "ForceDevice"   "ISDV4"               # Tablet PC ONLY
#EndSection

Section "Device"
	Identifier	"Scheda video generica"
	Driver		"radeon"
	BusID		"PCI:0:16:0"
	Option		"UseFBDev"		"true"
EndSection

Section "Monitor"
	Identifier	"Generic Monitor"
	Option		"DPMS"
	HorizSync	28-64
	VertRefresh	43-60
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"Scheda video generica"
	Monitor		"Generic Monitor"
	DefaultDepth	16
	SubSection "Display"
		Depth		16
		Modes		"1280x1024" "1024x768" "800x600" "640x480"
	EndSubSection

EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
#	InputDevice     "stylus" "SendCoreEvents"
#	InputDevice     "cursor" "SendCoreEvents"
#	InputDevice     "eraser" "SendCoreEvents"
EndSection

Section "DRI"
	Mode	0666
EndSection

io oltre a "radeon" ho commentato anche la tavoletta wacom per non ricevere messaggi sul terminale..ma lo xorg.conf come lo vedi e' quello di default
se noti aiglx e il composite non ci sono..e' inutile dire a xorg di caricarle..perche' sono gia' incluse in xorg7.2...
Avatar utente
michelepao
Prode Principiante
Messaggi: 242
Iscrizione: lunedì 12 febbraio 2007, 20:33
Località: Potenza

Re: Mesa/Dri (driver video open source )

Messaggio da michelepao »

Purtroppo cambiando solo vesa in radeon ottengo un bel cubo bianco quando vado ad attivare beryl...  :'( Qualche idea?
Acer Timeline 4810TG | Intel Core 2 Duo SU9400 (1.4 GHz) | Ati Mobility Radeon HD 4330
Divilinux

Re: Mesa/Dri (driver video open source )

Messaggio da Divilinux »

per il cubo bianco (che vuol dire cmq che hai i driver funzionanti) prova ad abbassare la profondita' di colore a 16 invece che 24
immagino che usi aiglx..quindi non c'e' bisogni di dirti che con xgl funziona solo o beryl 0.2.0 o 0.3.0
Avatar utente
michelepao
Prode Principiante
Messaggi: 242
Iscrizione: lunedì 12 febbraio 2007, 20:33
Località: Potenza

Re: Mesa/Dri (driver video open source )

Messaggio da michelepao »

Invece no, l'output di grep rendering è negativo...come è possibile?
Acer Timeline 4810TG | Intel Core 2 Duo SU9400 (1.4 GHz) | Ati Mobility Radeon HD 4330
pasqoo
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 655
Iscrizione: giovedì 14 luglio 2005, 9:50

Re: Mesa/Dri (driver video open source )

Messaggio da pasqoo »

io posseggo una matrox millennium g450 e seguendo il wiki sono riuscito a compilare correttamente i common; il problema mi si presenta coi driver mesa (mga nel mio caso); le versioni corrispondono correttamente, ma quando deve compilare...ecco che errore mi spara:

Codice: Seleziona tutto

DIRECT RENDERING OPEN SOURCE PROJECT  -  DRIVER INSTALLATION SCRIPT

[ http://dri.freedesktop.org ]

==========================================================================

The script will now compile the DRM kernel modules for your machine.

Press ENTER to continue or CTRL-C to exit.


Compiling...
ERROR: Kernel modules did not compile

The DRI drivers can not be installed without the latest kernel modules.
Installation will be aborted. See the dri.log file for information on
what went wrong.

muletto@muletto-desktop:~/Desktop/mga-20060403-linux.i386$ 
ed ecco il contenuto del dri.log:

Codice: Seleziona tutto

make DRM_MODULES=mga.o modules
make[1]: Entering directory `/home/muletto/Desktop/mga-20060403-linux.i386/drm/linux-core'
make -C /lib/modules/2.6.20-16-generic/build  SUBDIRS=`pwd` DRMSRCDIR=`pwd` modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.20-16-generic'
  CC [M]  /home/muletto/Desktop/mga-20060403-linux.i386/drm/linux-core/drm_auth.o
In file included from /home/muletto/Desktop/mga-20060403-linux.i386/drm/linux-core/drm_auth.c:36:
/home/muletto/Desktop/mga-20060403-linux.i386/drm/linux-core/drmP.h:44:26: error: linux/config.h: Nessun file o directory
make[3]: *** [/home/muletto/Desktop/mga-20060403-linux.i386/drm/linux-core/drm_auth.o] Error 1
make[2]: *** [_module_/home/muletto/Desktop/mga-20060403-linux.i386/drm/linux-core] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.20-16-generic'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/home/muletto/Desktop/mga-20060403-linux.i386/drm/linux-core'
make: *** [mga.o] Error 2
qualche soluzione?

thanks, bye

ps: ah...per prova ho messo pure il pacchetto linux-headers-2.6.20-16-386..pensando che i -generic non bastassero...ma niente non cambia nulla!
gforresu

Re: Mesa/Dri (driver video open source )

Messaggio da gforresu »

linux/config.h: Nessun file o directory
pasqoo
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 655
Iscrizione: giovedì 14 luglio 2005, 9:50

Re: Mesa/Dri (driver video open source )

Messaggio da pasqoo »

gforr ha scritto: linux/config.h: Nessun file o directory
si ho notato questo pezzetto...ma non mi aiuti così :-[

come faccio a far spuntare quel file? :)

thanks bb
gforresu

Re: Mesa/Dri (driver video open source )

Messaggio da gforresu »

prendi un config.h e lo metti in /usr/src/linux/include/
la cartella linux è un collegamento. config.h mi pare non si usi da tempo
pasqoo
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 655
Iscrizione: giovedì 14 luglio 2005, 9:50

Re: Mesa/Dri (driver video open source )

Messaggio da pasqoo »

questo config.h è un file universale??? posso trovarlo ovunque ed è sempre lo stesso file scusa?

se mi dai una fonte...appena torno sul pc in questione provo a metterlo...

grazie, ciao!
pasqoo
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 655
Iscrizione: giovedì 14 luglio 2005, 9:50

Re: Mesa/Dri (driver video open source )

Messaggio da pasqoo »

scusa l'ignoranza...ma come lo scarico?
non posso fare copia&incolla...perché ci sono i numeri prima di ogni riga... :S
gforresu

Re: Mesa/Dri (driver video open source )

Messaggio da gforresu »

scusa ma un pò di iniziativa non guasterebbe  :-X
Allegati
config.txt
(5.4 KiB) Scaricato 41 volte
Scrivi risposta

Ritorna a “Driver e periferiche”

Chi c’è in linea

Visualizzano questa sezione: 0 utenti iscritti e 5 ospiti