Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2001-10

gtkglarea and x

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Satan

hi there

enabling hardware acceleration should be not hard
first take a look a your graphics card, kernel version, xfree version

i do not know the minimum version, but every xfree >= 4.0.1, kernel >= 2.2.16 (??? at least every 2.4) should do it as mesa is part of xfree since 4.0.1 release all libs should be there to enable hardware accel you need to load the modules "dri", "glx" and "GLcore" in your XF86Config nd a dri section to allow your user to use it (most of this i have seen in previous mails - so i do not describe it in detail) there is nothing more to be done as long as i know then enable dri in your kernel (use modules do not compile it into the kernel) if u have a kernel supported 3dcard compile its module, too, else (if you don't own a nvidia card) you only get software emulation then it should work

if your card is not supported and you own a nvidia card, it is even better

install your drivers and set up your XF86Config as told above and all works fine

by the way, the demo uses the nvgl.pp which is a unit that provides access to all the functions libGL.so.1.0.1541 provides (the opengl implementation shipped with the nvidia-drivers) this unit is not fully tested but a least it is nvidia only (try it on other cards on your own risk)

so if there are any more problems with hardware accel under linux you can look at the 3dfx-howto for 3dfx based cards or http://www.nvidia.com for ... think what cards
or you can post another mail here with kernel version, xfree version and opengl implementation you are using and i see what i can do

c ya

666

Reply by email