LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Configure hardware accel. Debian - Help? (https://www.linuxquestions.org/questions/linux-newbie-8/configure-hardware-accel-debian-help-697880/)

r_avital 01-17-2009 12:22 AM

Configure hardware accel. Debian - Help?
 
Hello all,

I'm running Debian etch, nvidia-specific driver downloaded from nvidia and installed. I can't figure out how to enable hardware acceleration.

My xorg.conf file lists the following in the Device section:

Code:

Section "Device"
    Identifier    "nVidia Corporation C51 [GeForce 6150 LE]"
    Driver        "nvidia"
    Option        "RandRRotation" "on"
EndSection

Please note in the above, RandRRotation is enabled, and I do get a rotared (vertical) display, which I believe means I do indeed have the proper nVidia driver (I can't get rotation with the generic nvidia driver from the distro)

Synaptic tells me that libgl1-mesa-dev, libgl1-mesa-dri and libgl1-mesa-glx are installed, but the command glxinfo in terminal returns:

"bash: glxinfo: command not found"

I'm trying to experiment with 3ddesk, but running the 3ddeskd command returns the following:

Code:

Daemon started.  Run 3ddesk to activate.
myhome:~$ 3ddeskd: glXIsDirect failed, no Direct Rendering possible!
3ddeskd: Please configure hardware acceleration.  Exiting.

...which is why I was trying to check on my hardware acceleration, leading to the findings above.

[Incidentally, should 3ddesk work ok with a rotated display?]

Any assistance would be greatly appreciated.

Thanks in advance and cheers
__________

EDIT

OK progress report - I installed mesa-utils package, ran the following:

glxinfo | grep irect

Got the following output:
direct rendering: No

So the question remains: What do I need to do to enable it?

Second update: Ran glxheads :0 in terminal, got a small window with a green triangle spinning quite smoothly, and the following output:

Code:

Name: :0
  Display:    0x805e008
  Window:      0x2a00002
  Context:    0x806e310
  GL_VERSION:  1.4 (2.1.0 NVIDIA 96.31)
  GL_VENDOR:  NVIDIA Corporation
  GL_RENDERER: GeForce 6150 LE/PCI/SSE2/3DNOW!
X connection to :0.0 broken (explicit kill or server shutdown).


What does all this mean?

Again, thanks in advance.

the trooper 01-17-2009 06:05 AM

As you have worked out you have no 3d graphics acceleration:direct rendering: No.
I would say the best thing to do is remove the driver and start again.
In single user mode run the command as root:nvidia-installer --uninstall
Change your /etc/X11/xorg.conf to use the "nv" driver.
Reboot into the gui.
For that age of graphics card it is probably better to use the Debian method to install the driver,here's a link:

http://wiki.debian.org/NvidiaGraphic...hlight=(nvidia)

Follow the steps in the guide.
Also you can install the driver with X running,using this method.

Regards.
The trooper.

otoomet 01-17-2009 03:46 PM

You should also have a line
load "glx"
in the module section of your xorg.conf file.

Can you post your complete /etc/X11/xorg.conf and /var/log/Xorg.0.log ?


All times are GMT -5. The time now is 09:57 AM.