SliTaz SliTaz Forum

You are not logged in.

#1 2013-04-09 14:55:14

rerivero
Member
Registered: 2012-06-18
Posts: 235

Topic OpenGL

first of all this is just a question, because until now I did not bring problems:

my integrated graphics is:

lspci | grep VGA

00:0d.0 VGA compatible controller: nVidia Corporation C61 [GeForce 7025 / nForce 630a] (rev a2)

I use the PC normally without OpenGL acceleration (without rendering), but I made a small script to change drivers and use with OpenGL rendering, timely Minetest to play.

Built two directory in /etc/X11 (no_render and yes_render) with their respective 60-Device.conf to use the corresponding.

---------------------------------------------------

script:render_yes.sh

#!/bin/sh

# WITH RENDERING: modifies /etc/X11/xorg.conf.d/60-Device.conf - uninstall xorg-xf86-video-nv-2.1.18.tazpkg and install nvidia-173xx-173.14.31_2.6.37.tazpkg

# Config file is: /home/tux/render_yes.sh

#

tazpkg remove xorg-xf86-video-nv

cd /

tazpkg install /var/cache/tazpkg/4.0/packages/nvidia-173xx-173.14.31_2.6.37.tazpkg

cp -a /etc/X11/yes_render/60-Device.conf /etc/X11/xorg.conf.d

echo " Logout sesion"

----------------------------------------------------

script: render_no.sh

#!/bin/sh

# WITHOUT RENDERING: modifies /etc/X11/xorg.conf.d/60-Device.conf - install xorg-xf86-video-nv-2.1.18.tazpkg, uninstall nvidia-173xx-173.14.31_2.6.37.tazpkg

# Config file is: /home/tux/render_no.sh

#

tazpkg remove nvidia-173xx

tazpkg install /var/cache/tazpkg/4.0/packages/xorg-xf86-video-nv-2.1.18.tazpkg

tazpkg install /var/cache/tazpkg/4.0/packages/mesa-demos-8.0.1.tazpkg

cd /

cp -a /etc/X11/no_render/60-Device.conf /etc/X11/xorg.conf.d

echo " Logout sesion"

echo " Reboot system"

reboot

--------------------------------------------------------

Note: yes_render/60-Device.conf >> Driver      "nvidia"

      no_render/60-Device.conf >> Driver       "nv"

--------------------------------------------------------

**Now working WITH RENDERING works well and if I

$ glxinfo | grep render

direct rendering: Yes

OpenGL renderer string: MCP61/PCI/SSE2/3DNOW!

    GL_NVX_conditional_render, GL_SGIS_generate_mipmap, GL_SGIS_texture_lod,

~$ glxgears

Running synchronized to the vertical refresh.  The framerate should be

approximately the same as the monitor refresh rate.

11647 frames in 5.0 seconds = 2329.332 FPS

11435 frames in 5.0 seconds = 2286.985 FPS

11542 frames in 5.0 seconds = 2308.205 FPS

11477 frames in 5.0 seconds = 2295.274 FPS

11751 frames in 5.0 seconds = 2350.171 FPS

16356 frames in 5.0 seconds = 3271.065 FPS

17286 frames in 5.0 seconds = 3457.145 FPS

17390 frames in 5.0 seconds = 3477.941 FPS

17113 frames in 5.0 seconds = 3422.409 FPS

XIO:  fatal IO error 22 (Invalid argument) on X server ":0.0"

      after 113 requests (113 known processed) with 0 events remaining.

*****************************************************

**and WITHOUT RENDERING also works well, but in doing

$ glxinfo | grep render

/bin/sh: grp: not found

Error: couldn't find RGB GLX visual or fbconfig

$ glxgears

Error: couldn't get an RGB, Double-buffered visual

Question: What does this error?

[attachment=24168,1096]

Offline

#2 2013-04-09 19:07:14

rerivero
Member
Registered: 2012-06-18
Posts: 235

Re: Topic OpenGL

I'm sorry, I forgot .. For several months change motherboard. Before: Biostar and could use opengl with SDL-2.1.15-1. Now GigaByte motherboard with nVidia graphics, then to use OpenGL driver I can only do specific nvidia-173xx-173.14.31_2.6.37.tazpkg

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.018 seconds, 8 queries executed - Memory usage: 1.53 MiB (Peak: 1.77 MiB) ]