You are not logged in.

#1 2010-01-11 23:30:35

prometej
Member
From: Zagreb, Croatia
Registered: 2008-10-10
Posts: 19

Nomachine NX/FreeNX, can't get 3D accelearation support for Virtualbox

Greetings to everyone!

I have a problem, which hopefuly someone knows how to solve?
I've installed everything I needed for one small headless testing server based on Arch linux (x64, kernel 2.6.32 and X.Org X Server 1.7.3.902 (1.7.4 RC 2)), and have setup only basic stuff and services (I've attached rc.conf file)
In addition I've setup also a desktop enviroment based on LXDE (in case of problems but it's stared manualy only when need and by NXclient or ssh -X), NVIDIA drivers (v. 190.53), VirtualBox 3.1.2 and VMWare Server 2.0.2 (x64).

When I'm working directly on computer everything is working just fine and I have support for hardware acceleration in Virtualbox, but when I try to use it from remote location (eg. using NX client, or using X forwarding over SSH), I can't get access to 3D features of VirtualBox (3D acceleration and 2D acceleration buttons are greyed out!), also when I try to access NVIDIA settings panel it says "You do not appear to be using the NVIDIA X driver. Please edit your X configuration file (just run `nvidia-xconfig` as root), and restart the X server." Well I'm pretty sure I have drivers installed, but is there any chance they are badly configured?

I really Arch linux and would like use it as my main distro and really would like if someone can help me find a solution for this problem, (especially knowing that the same things IS working on my second and much older computer based on Intel Pentium 4 (2.0 Ghz), ASUS P4B533 Asus GF4 MX440 graphic card Ubuntu 8.04.3 LTS), and that it's a bit frustrating sad
The newer computer is based on AMD Athlon II X2 240, Gigabyte MA770-UD3, and Gigabyte 7300GS graphic card.

I've tried so many tutorials, many found on this forum, tried with different GUI (KDE, GNOME, LXDE) in case i "skipped" something and nothing helped me..
Checked everything (I know) twice and even more, but no success.

Is there some way to use hardware acceleration over remote sessions , am I missing something or is "the resistance futile" ? smile

I'm sending my rc.conf, xorg.conf file, so if someone has more expirience with it?

Thank you.

rc.conf:

#
# /etc/rc.conf - Main Configuration for Arch Linux
#

# -----------------------------------------------------------------------
# LOCALIZATION
# -----------------------------------------------------------------------
#
# LOCALE: available languages can be listed with the 'locale -a' command
# HARDWARECLOCK: set to "UTC" or "localtime"
# USEDIRECTISA: use direct I/O requests instead of /dev/rtc for hwclock
# TIMEZONE: timezones are found in /usr/share/zoneinfo
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
# CONSOLEMAP: found in /usr/share/kbd/consoletrans
# USECOLOR: use ANSI color sequences in startup messages
#
LOCALE="hr_HR.utf8"
HARDWARECLOCK="localtime"
USEDIRECTISA="no"
TIMEZONE="Europe/Zagreb"
KEYMAP="croat"
CONSOLEFONT="lat2-16"
CONSOLEMAP=
USECOLOR="yes"

# -----------------------------------------------------------------------
# HARDWARE
# -----------------------------------------------------------------------
#
# MOD_AUTOLOAD: Allow autoloading of modules at boot and when needed
# MOD_BLACKLIST: Prevent udev from loading these modules
# MODULES: Modules to load at boot-up. Prefix with a ! to blacklist.
#
# NOTE: Use of 'MOD_BLACKLIST' is deprecated. Please use ! in the MODULES array.
#
MOD_AUTOLOAD="yes"
#MOD_BLACKLIST=() #deprecated
MODULES=(powernow-k8 cpufreq_ondemand cpufreq_powersave vboxdrv vboxnetflt vboxnetadp fuse)

# Scan for LVM volume groups at startup, required if you use LVM
USELVM="yes"

# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
#
HOSTNAME="kiklop"

# Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available interfaces.
#
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
#   - prefix an entry in INTERFACES with a ! to disable it
#   - no hyphens in your interface names - Bash doesn't like it
#
# DHCP:     Set your interface to "dhcp" (eth0="dhcp")
# Wireless: See network profiles below
#

#Static IP example
eth0="eth0 192.168.1.2 netmask 255.255.255.0 broadcast 192.168.1.255"
#eth0="dhcp"
INTERFACES=(eth0)

# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
#   - prefix an entry in ROUTES with a ! to disable it
#
gateway="default gw 192.168.1.1"
ROUTES=(gateway)

# Enable these network profiles at boot-up.  These are only useful
# if you happen to need multiple network configurations (ie, laptop users)
#   - set to 'menu' to present a menu during boot-up (dialog package required)
#   - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network.d
#
# This now requires the netcfg package
#
#NETWORKS=(main)

# -----------------------------------------------------------------------
# DAEMONS
# -----------------------------------------------------------------------
#
# Daemons to start at boot-up (in this order)
#   - prefix a daemon with a ! to disable it
#   - prefix a daemon with a @ to start it up in the background
#
DAEMONS=(syslog-ng hal network netfs crond @openntpd sshd cpufreq sensors @samba @smbnetfs @proftpd @vmware @ddclient @webmin)

xorg.conf

Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        ModulePath   "/usr/lib/xorg/modules"
        FontPath     "/usr/share/fonts/misc"
        FontPath     "/usr/share/fonts/100dpi:unscaled"
        FontPath     "/usr/share/fonts/75dpi:unscaled"
        FontPath     "/usr/share/fonts/TTF"
#       FontPath     "/usr/share/fonts/Type1"
EndSection

Section "Module"
        Load  "dbe"
#        Load  "dri"
#       Load  "dri2"
        Load  "extmod"
        Load  "glx"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "auto"
        Option      "Device" "/dev/input/mice"
        Option      "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
        Option       "DPMS" "True"

EndSection

Section "Device"
        Identifier  "Card0"
        Driver      "nvidia"
        VendorName  "nVidia Corporation"
        BoardName   "G71 [GeForce 7300 GS]"
        BusID       "PCI:1:0:0"
#       Option      "UseFBDev" "true"
        Option      "AllowGLXWithComposite" "True"
        Option      "RenderAccel" "True"
        Option      "AddARGBVisuals"    "True"
        Option      "AddARGBGLXVisuals" "True"
        Option      "BackingStore" "True"
        Option      "DamageEvents" "True"
        Option      "RegistryDwords" "PerfLevelSrc=0x3333"
        Option      "RegistryDwords" "PowerMizerLevelAC=0x3"
        Option      "OnDemandVBlankInterrupts" "True"
        Option      "Coolbits" "1"

EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        SubSection "Display"
                Viewport   0 0
                Depth     1
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     4
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     8
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     15
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     16
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection

Section "Extensions"
        Option "DAMAGE" "Enable"
        Option "Composite" "Enable"
        Option "RENDER" "Enable"
EndSection

Greetings to you all from Zagreb (Croatia)


UTERE SED NE ABUTERE !!

Offline

#2 2010-01-12 07:42:14

Dheart
Member
From: Sofia, Bulgaria
Registered: 2006-10-26
Posts: 956

Re: Nomachine NX/FreeNX, can't get 3D accelearation support for Virtualbox

I think you need to install guess addition in the guest machine in order to use 3D acceleration, but I thought that was possible only when using mesa based driver...


My victim you are meant to be
No, you cannot hide nor flee
You know what I'm looking for
Pleasure your torture, I will endure...

Offline

#3 2010-01-12 08:19:29

prometej
Member
From: Zagreb, Croatia
Registered: 2008-10-10
Posts: 19

Re: Nomachine NX/FreeNX, can't get 3D accelearation support for Virtualbox

The thing is I don't have any problem when I'm working in front of computer, only when using remote sessions (like NX, VNC, etc.).
I can install additions, but I can't select 3D acceleration checkbox (it is disabled - grayed out) in Virtualbox, or use any graphic hardware advanced feature on computer when I'm using remote session, but it's enabled when using local session.
Even when I try (when connected over NX) commands like glxinfo | grep render
it says something like "not using direct rendering", looks like it's not even using nvidia driver, output show mesa driver is in use?
Could it be something with remote access, remote access rights or something like that?
During installations was following mostly tutorials from Arch Wiki.
Maybe I missconfigured something, or didn't configured at all?


UTERE SED NE ABUTERE !!

Offline

Board footer

Powered by FluxBB