Pagina 1 di 1

voglio tunnare la sk video!!

Inviato: gio 11 set 2008, 16:41
da g4b0
Ciao a tutti,
la mia sk video è la seguente:

Codice: Seleziona tutto

00:02.0 VGA compatible controller: Intel Corporation 82865G Integrated Graphics Controller (rev 02) (prog-if 00 [VGA controller])
        Subsystem: ASUSTeK Computer Inc. Unknown device 2572
        Flags: bus master, fast devsel, latency 0, IRQ 17
        Memory at f0000000 (32-bit, prefetchable) [size=128M]
        Memory at fe780000 (32-bit, non-prefetchable) [size=512K]
        I/O ports at eff0 [size=8]
        Capabilities: [d0] Power Management version 1
        Kernel modules: intelfb
Ok, una 82865g della intel, integrata sulla mia sk ASUS P4P800-MX. Dato che mi scatta tutto il video, anche solo quando sposto firefox da una parte all'altra del monitor, e che mi schizza spesso e volentieri la cpu al 100%, ho deciso di fare un po' di tuning al mio xorg.conf, che è quello di default (o quasi..). Eccolo qua:

Codice: Seleziona tutto

Section "Module"
    Load        "dbe"              # Double buffer extension
    Load        "type1"
    Load        "freetype"
    Load        "glx"
    SubSection  "extmod"
      Option    "omit xfree86-dga" # don't initialise the DGA extension
    EndSubSection
EndSection

Section "Files"
    RgbPath	"/usr/share/X11/rgb"
    FontPath   "/usr/share/fonts/local/"
    FontPath   "/usr/share/fonts/misc/"
    FontPath   "/usr/share/fonts/OTF/"
    FontPath   "/usr/share/fonts/TTF/"
    FontPath   "/usr/share/fonts/Type1/"
    FontPath   "/usr/share/fonts/CID/"
    FontPath   "/usr/share/fonts/Speedo/"
    FontPath   "/usr/share/fonts/75dpi/:unscaled"
    FontPath   "/usr/share/fonts/100dpi/:unscaled"
    FontPath   "/usr/share/fonts/75dpi/"
    FontPath   "/usr/share/fonts/100dpi/"
    FontPath   "/usr/share/fonts/cyrillic/"
    FontPath   "/usr/share/fonts/TrueType/"
EndSection

Section "ServerFlags"
EndSection

Section "InputDevice"
    Identifier	"Keyboard1"
    Driver	"kbd"
EndSection

Section "InputDevice"
    Identifier	"Mouse1"
    Driver	"mouse"
    Option "Protocol"    "IMPS/2"
    Option "Device"      "/dev/mouse"
    Option "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
    Identifier  "My Monitor"
    #HorizSync   31.5 - 50.0
    #VertRefresh 40-90
    VertRefresh 60
    Modeline "1280x1024@60"  138.54  1280 1368 1504 1728  1024 1025 1028 1069  -HSync +Vsync
    Option  "DPMS"
EndSection

Section "Device"
    Identifier  "VESA Framebuffer"
    Driver      "vesa"
    #VideoRam    4096
    # Insert Clocks lines here if appropriate
EndSection

Section "Device"
    Identifier "82865G"
    Driver "i810"
    BusID "PCI:0:2:0"
EndSection

Section "Device"
    Identifier	"intel"
    Driver "intel"
EndSection

Section "Screen"
    Identifier  "Screen 1"
    Device      "VESA Framebuffer"
    #Device      "82865G"
    #Device      "intel"
    Monitor     "My Monitor"
    DefaultDepth 24

    Subsection "Display"
        Depth       8
        Modes "1280x1024" "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes "1280x1024" "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes "1280x1024" "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       32
        Modes "1024x768" "1024x768" "800x600" "640x480"
    EndSubsection
EndSection

Section "ServerLayout"
    Identifier  "Simple Layout"
    Screen "Screen 1"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
EndSection
Io non ne so molto di xorg, e quindi ecco a chiedervi: il driver vesa va bene? Riesco ad uscire in 1280x1024 leggo bene i caratteri a video, ecc, ma ho il problema di cui sopra. Se provo, però, nella Section "Screen" a decommentare uno qualsiasi dei due Device alternativi, mi parte X soltanto a 640x480

Dove sbaglio?

Grazie 1000

Re: voglio tunnare la sk video!!

Inviato: gio 11 set 2008, 17:57
da g4b0
Allora, leggendo qua e la ho lanciato un bel

Codice: Seleziona tutto

$X -configure
E sostituendo il file xorg.conf con quello generato il mio device ora usa il driver intel \:D/ . Ecco il mio xorg.conf attuale:

Codice: Seleziona tutto

Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
	RgbPath      "/usr/share/X11/rgb"
	ModulePath   "/usr/lib/xorg/modules"
	FontPath     "/usr/share/fonts/TTF"
	FontPath     "/usr/share/fonts/OTF"
	FontPath     "/usr/share/fonts/Type1"
	FontPath     "/usr/share/fonts/misc"
	FontPath     "/usr/share/fonts/75dpi/:unscaled"
	FontPath     "/usr/share/fonts/TrueType/"
EndSection

Section "Module"
	Load  "glx"
	Load  "extmod"
	Load  "vnc"
	Load  "xtrap"
	Load  "record"
	Load  "GLcore"
	Load  "dbe"
	Load  "dri"
	Load  "freetype"
	Load  "type1"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "auto"
	Option	    "Device" "/dev/input/mice"
	Option	    "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
	#DisplaySize	  340   270	# mm
	Identifier   "Monitor0"
	VendorName   "PHL"
	ModelName    "Philips 170S"
 ### Comment all HorizSync and VertRefresh values to use DDC:
	HorizSync    30.0 - 83.0
	VertRefresh  56.0 - 76.0
	Option	    "DPMS"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"            	# [<bool>]
        #Option     "SWcursor"           	# [<bool>]
        #Option     "ColorKey"           	# <i>
        #Option     "CacheLines"         	# <i>
        #Option     "Dac6Bit"            	# [<bool>]
        #Option     "DRI"                	# [<bool>]
        #Option     "NoDDC"              	# [<bool>]
        #Option     "ShowCache"          	# [<bool>]
        #Option     "XvMCSurfaces"       	# <i>
        #Option     "PageFlip"           	# [<bool>]
	Identifier  "Card0"
	Driver      "intel"
	VendorName  "Intel Corporation"
	BoardName   "82865G Integrated Graphics Controller"
	BusID       "PCI:0:2:0"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	SubSection "Display"
		Viewport   0 0
		Depth     1
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     4
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     8
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     15
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     16
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection

Posso migliorare ancora un po' la situazione o la mia scheda fa schifo punto e basta?

Re: voglio tunnare la sk video!!

Inviato: gio 11 set 2008, 21:04
da algol
Beh lo stesso xorg ti commenta alcuni parametri del driver, prova quelli, no?

Soprattutto, visto che lo porta, abilita il pageflip, ricordo che con ati era consigliato, e poi prova comunque le altre opzioni per scrupolo; e già che ci sei abilita dri anche lì, ed aggiungi alla fine la canonica sezione "satanica" :p al dri, la trovi in wiki per le schede ati. Poi magari controlli con glxgears.

Una curiosità: dal numero del bus deduco ce hai anche lo slot agp o pciexpress, no?
Volendo una scheda vera e propria con 128M la trovi a poco, se ci tieni alle prestazioni...

Re: voglio tunnare la sk video!!

Inviato: gio 11 set 2008, 22:05
da g4b0
Purtroppo non ho nè agp nè pci express, altrimenti con una bella Nvidia avrei risolto alla grande!!

Ora provo un po' di parametri vari, poi vi faccio sapere. Esiste qualche benchmark un po' più benchmark di glxgears?

Re: voglio tunnare la sk video!!

Inviato: ven 12 set 2008, 21:30
da algol
Prova pragmaticamente con un gioco, se è giocare che ti interessa, ce ne sia ccorge quando va meglio
Per esempio uno corazzato, come Nexuiz