Portál AbcLinuxu, 24. dubna 2024 22:44


Dotaz: NVIDIA GT520M - nejde glxgears

9.12.2011 14:35 tuxmartin | skóre: 39 | blog: tuxmartin | Jicin
NVIDIA GT520M - nejde glxgears
Přečteno: 718×
Odpovědět | Admin

Ahoj, mam notebook ASUS P53SJ-SO016.

Intel Core i5 2410M @2,3 GHz, 3 MB L3 Cache, 2 jádra + HT, 2. generace
Grafika: NVIDIA GeForce GT520M - 1 GB
Linux Mint 12 64bit

martin@martin ~ $ uname -a
Linux martin 3.0.0-13-generic #22-Ubuntu SMP Wed Nov 2 13:27:26 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
martin@martin ~ $ lsb_release -a
No LSB modules are available.
Distributor ID:	LinuxMint
Description:	Linux Mint 12 Lisa
Release:	12
Codename:	lisa
martin@martin ~ $ 

Mam problem s grafikou. Pouzivam nesvobodny nvidia ovladac, instalovany ze zdroju distribuce:
martin@martin ~ $ lsmod | grep nouveau
martin@martin ~ $ lsmod | grep nvidia
nvidia              11713772  0 
martin@martin ~ $ 
Kdyz se pokusim spustit glxinfo, nebo glxgears, vzdy dostanu:
martin@martin ~ $ glxgears 
Xlib:  extension "GLX" missing on display ":0.0".
Error: couldn't get an RGB, Double-buffered visual
martin@martin ~ $ glxinfo 
name of 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".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Error: couldn't find RGB GLX visual or fbconfig

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".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
martin@martin ~ $ 
Netusite, kde by mohl byt problem?
Nástroje: Začni sledovat (1) ?Zašle upozornění na váš email při vložení nového komentáře.

Odpovědi

9.12.2011 22:43 tuxmartin | skóre: 39 | blog: tuxmartin | Jicin
Rozbalit Rozbalit vše Re: NVIDIA GT520M - nejde glxgears
Odpovědět | | Sbalit | Link | Blokovat | Admin
Odpovim si sam:

https://launchpad.net/~bumblebee/+archive/stable
9.12.2011 23:19 tuxmartin | skóre: 39 | blog: tuxmartin | Jicin
Rozbalit Rozbalit vše Re: NVIDIA GT520M - nejde glxgears
Tak jsem nainstaloval bumblebee a porad to neni ono.

Kdyz spustim glxgears, dostanu 60fps. Na 2 roky starem netbooku Asus eee 1005HA s intel gma 950 grafikou jsem nameril 51fps :-(

Kdyz pred to dam optirun, taky se mi to zda malo:
martin@martin ~ $ glxgears 
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.
302 frames in 5.0 seconds = 60.311 FPS
301 frames in 5.0 seconds = 60.030 FPS
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0.0"
      after 1539 requests (1539 known processed) with 0 events remaining.
martin@martin ~ $ optirun glxgears 
4036 frames in 5.0 seconds = 807.076 FPS
3770 frames in 5.0 seconds = 753.801 FPS
martin@martin ~ $ 

a glxspheres:
martin@martin ~ $ glxspheres 
Polygons in scene: 62464
Visual ID of window: 0x94
Context is Direct
OpenGL Renderer: Mesa DRI Intel(R) Sandybridge Mobile 
60.019301 frames/sec - 51.054818 Mpixels/sec
60.056240 frames/sec - 51.086240 Mpixels/sec
60.055210 frames/sec - 51.085364 Mpixels/sec
60.075598 frames/sec - 51.102707 Mpixels/sec
60.066504 frames/sec - 51.094971 Mpixels/sec
60.085926 frames/sec - 51.111492 Mpixels/sec
60.056006 frames/sec - 51.086041 Mpixels/sec
^C
martin@martin ~ $ optirun glxspheres 
Polygons in scene: 62464
Visual ID of window: 0x21
Context is Direct
OpenGL Renderer: GeForce GT 520M/PCI/SSE2
102.670177 frames/sec - 87.335359 Mpixels/sec
112.112593 frames/sec - 95.367456 Mpixels/sec
122.836376 frames/sec - 104.489535 Mpixels/sec
125.186445 frames/sec - 106.488597 Mpixels/sec
122.270490 frames/sec - 104.008169 Mpixels/sec
martin@martin ~ $ 

Da se s tim neco delat? To musim kazdy jednotlivy program spoustet s optirun? Nejde dat nvidia jako vychozi?
vlastikroot avatar 10.12.2011 12:08 vlastikroot | skóre: 24 | blog: vlastikovo | Milevsko
Rozbalit Rozbalit vše Re: NVIDIA GT520M - nejde glxgears
Obcas byva nastaveni v BIOSu, ze se da to nastavit bez prepinani, jen treba na tu silnejsi.
We will destroys the Christian's legion ... and the cross, will be inverted
10.12.2011 12:16 tuxmartin | skóre: 39 | blog: tuxmartin | Jicin
Rozbalit Rozbalit vše Re: NVIDIA GT520M - nejde glxgears
Prave ze tady neni vubec nic :-(

Hlavne ze je tam velkej napis "EFI BIOS".
11.12.2011 23:01 2X4B-523P | skóre: 38 | blog: Zelezo_vs_Debian
Rozbalit Rozbalit vše Re: NVIDIA GT520M - nejde glxgears
fork bumblebee je ironhide, součástí je i jakési GUI, kde lze přiřadit aplikace adaptéru...

Založit nové vláknoNahoru

Tiskni Sdílej: Linkuj Jaggni to Vybrali.sme.sk Google Del.icio.us Facebook

ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.