Sati [url=http://forum.ubuntu-it.org/viewtopic.php?p=4959333#p4959333][img]http://forum.ubuntu-it.org/images/icons/icona-cita.gif[/img][/url] ha scritto:Salve,ho comprato un notebook Dell precisamente il 5567 che monta un I7- 7500U con un GPU Radeon R7 445 4GB.Montava W10 ma diciamo che è durato il tempo di vedere solo che app proprietarie aveva Dell.Messo Ubuntu 16.10 Gnome;funziona tutto alla perfezione.Visto la GPU di fascia media,ho voluto testarla con
il risultato è il seguente
Codice: Seleziona tutto
303 frames in 5.0 seconds = 60.425 FPS
301 frames in 5.0 seconds = 60.000 FPS
301 frames in 5.0 seconds = 60.001 FPS
301 frames in 5.0 seconds = 60.001 FPS
Piccola premessa,non ho mai fatto test su GPU,perchè semplicemente non mi serviva.
Il driver in funzione sono : driver=i915 driver=amdgpu .
Ho fatto lo stesso test su un vecchio PC e mi da lo stesso risultato,quindi penso che ci sia qualcosa che non funziona a dovere.
Chiedo aiuto a voi,per capire se effettivamente c'è qualcosa che non va.
Grazie mille in anticipo.
nel comando che hai dato te ci sono 2 problemi:
1) stai eseguendo il test col VSYNC attivo, quindi ti darà sempre 60fps perchè sincronizza i frame elaborati dalla gpu con il refresh del monitor (che se è un 60Hz vuol dire che col vsync attivo vai a 60fps per evitare il tearing).
2) in quel modo stai usando la gpu integrata intel e non la dedicata AMD
per ovviare al punto 1 devi eseguire il test aggiungendo (prima di glxgears) il comando
in questo modo il vsync viene disabilitato e la gpu non viene limitata al refresh del monitor
ecco un esempio sul mio notebook (con APU A10 8700p e grafica integrata radeon r6)
con vsync
Codice: Seleziona tutto
andrea@Xenial:~$ glxgears
Running synchronized to the vertical refresh. The framerate should be
approximately the same as the monitor refresh rate.
304 frames in 5.0 seconds = 60.789 FPS
300 frames in 5.0 seconds = 59.988 FPS
301 frames in 5.0 seconds = 60.020 FPS
301 frames in 5.0 seconds = 60.002 FPS
XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
after 1272 requests (38 known processed) with 0 events remaining.
andrea@Xenial:~$
senza vsync
Codice: Seleziona tutto
andrea@Xenial:~$ vblank_mode=0 glxgears
ATTENTION: default value of option vblank_mode overridden by environment.
9538 frames in 5.0 seconds = 1907.516 FPS
9753 frames in 5.0 seconds = 1950.317 FPS
10035 frames in 5.0 seconds = 2006.843 FPS
10335 frames in 5.0 seconds = 2066.862 FPS
XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
after 41080 requests (38 known processed) with 0 events remaining.
per il punto 2 invece devi forzare l'esecuzione del software con la gpu dedicata, per farlo, puoi usare il comando
quindi
per eseguire il test con la gpu dedicata, usa il comando
ecco un esempio dello stesso test eseguito sempre sullo stesso notebook (questa volta usando la dedicata r7 m360 al posto dell'integrata radeon r6)
con vsync
Codice: Seleziona tutto
andrea@Xenial:~$ DRI_PRIME=1 glxgears
Running synchronized to the vertical refresh. The framerate should be
approximately the same as the monitor refresh rate.
307 frames in 5.0 seconds = 61.354 FPS
300 frames in 5.0 seconds = 59.999 FPS
300 frames in 5.0 seconds = 59.996 FPS
XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
after 974 requests (38 known processed) with 0 events remaining.
senza vsync
Codice: Seleziona tutto
andrea@Xenial:~$ DRI_PRIME=1 vblank_mode=0 glxgears
ATTENTION: default value of option vblank_mode overridden by environment.
8261 frames in 5.0 seconds = 1652.067 FPS
8579 frames in 5.0 seconds = 1715.044 FPS
8488 frames in 5.0 seconds = 1697.553 FPS
XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
after 27902 requests (38 known processed) with 0 events remaining.
si esatto in questo notebook l'integrata va meglio della dedicata xD
l'integrata di questa APU è una buona scheda, invece la dedicata fa schifo... ma anche su windows, in molti giochi, l'integrata va meglio, in altri si equivalgono, e in alcuni titoli va meglio la dedicata (probabilmente per via della maggior quantità di VRAM), insomma è una gpu inutile la r7 m360