Unix & Linux Stack Exchange
Q&A for users of Linux, FreeBSD and other Unix-like operating systems
Latest Questions
11
votes
1
answers
4161
views
Enabling 3D acceleration in Debian stable
I installed Debian Wheezy on my daughter's desktop computer. It has Intel i5-4570 (Haswell) CPU and integrated Intel HD 4600 graphics chipset. No discrete graphics card. I'm unable to enable 3D acceleration on the installed OS. **How do I enable 3D acceleration on the machine that has Intel HD 4600...
I installed Debian Wheezy on my daughter's desktop computer. It has Intel i5-4570 (Haswell) CPU and integrated Intel HD 4600 graphics chipset. No discrete graphics card.
I'm unable to enable 3D acceleration on the installed OS.
**How do I enable 3D acceleration on the machine that has Intel HD 4600 graphics chip?**
Below is some info:
user1@desktop:~$ glxinfo|grep direct
direct rendering: Yes
user1@desktop:~$ glxinfo|grep render
direct rendering: Yes
OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 0x209)
GL_NV_conditional_render, GL_AMD_draw_buffers_blend,
user1@desktop:~$ xdriinfo
Screen 0: not direct rendering capable.
When I remove the HDD from the desktop computer and put it into my wife's laptop computer and boot into Debian, it appears that 3D acceleration is enabled. The laptop computer has Intel i7-3612QM (Ivy-bridge) CPU and integrated Intel HD 4000 graphics chipset.
Have a look at the results:
user2@laptop:~$ glxinfo|grep direct
direct rendering: Yes
user2@laptop:~$ glxinfo|grep render
direct rendering: Yes
OpenGL renderer string: Mesa DRI Intel(R) Ivybridge Mobile
GL_NV_conditional_render, GL_ARB_ES2_compatibility,
user2@laptop:~$ xdriinfo
Screen 0: i965
user82098
(121 rep)
Aug 26, 2014, 05:49 PM
• Last activity: Jul 1, 2025, 09:06 PM
0
votes
0
answers
17
views
Does X11 support mice with Z axis (ie relative motion events with 3 axes), & possibly relative rotations too, ie 6DOF? If so, do Tk/Gtk/Qt?
From all the .conf files used to configure XInput, it seems X11 innately does not support a Z axis, let alone relative rotations. Is this correct? How are trackballs supported, if at all? Are spacemice supported? If so, how? Does this carry over to Tk/Gtk/Qt hence target apps using those frameworks?
From all the .conf files used to configure XInput, it seems X11 innately does not support a Z axis, let alone relative rotations. Is this correct? How are trackballs supported, if at all? Are spacemice supported? If so, how? Does this carry over to Tk/Gtk/Qt hence target apps using those frameworks?
mo FEAR
(157 rep)
Aug 4, 2024, 08:04 AM
0
votes
1
answers
165
views
Put zenity to flatpak /usr/bin folder
I try to create a flatpak application for [Instant meshes](https://github.com/wjakob/instant-meshes) in particular the manifest is the following: ``` id: org.flatpak.InstantMeshes runtime: org.gnome.Platform runtime-version: "44" sdk: org.gnome.Sdk command: InstantMeshes desktop-file-name-suffix: "...
I try to create a flatpak application for [Instant meshes](https://github.com/wjakob/instant-meshes) in particular the manifest is the following:
id: org.flatpak.InstantMeshes
runtime: org.gnome.Platform
runtime-version: "44"
sdk: org.gnome.Sdk
command: InstantMeshes
desktop-file-name-suffix: " (Nightly)"
finish-args:
- --share=ipc
- --socket=x11
- --socket=wayland
- --filesystem=home
- --device=dri
modules:
- name: zenity
buildsystem: meson
sources:
- type: archive
url: https://download.gnome.org/sources/zenity/3.41/zenity-3.41.0.tar.xz
sha256: 19b676c3510e22badfcc3204062d432ba537402f5e0ae26128c0d90c954037e1
- name: build instant meshes
buildsystem: cmake
build-commands:
- cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/app
- make -j 4
- install -D "./Instant Meshes" /app/bin/InstantMeshes
sources:
- type: git
url: https://github.com/wjakob/instant-meshes.git
branch: master
build-options:
append-path: "/usr/lib/"
- name: Intant Meshes
buildsystem: simple
build-commands:
# - install /app/bin/zenity /usr/bin/zenity
- install -D InstantMeshes.desktop /app/share/applications/org.flatpak.InstantMeshes.desktop
- install -D instantmeshes.png /app/share/icons/hicolor/256x256/apps/instantmeshes.png
ensure-writable:
- /app/bin/zenity
sources:
- type: file
path: InstantMeshes.desktop
- type: file
path: instantmeshes.png
But at runtime get an error when try to open folders:
sh: line 1: /usr/bin/zenity: File o directory do not exist
That because zenity is in /app/bin path, but it is read only and I cannot modify from basic flatpak manifest.
There are any posibilities to instroduce zenity into /usr/bin folder? Probably with runtimes?
Nicola Landro
(103 rep)
Jun 9, 2024, 10:50 AM
• Last activity: Jun 10, 2024, 06:11 PM
0
votes
1
answers
137
views
Help to figure out xinput transform matrix for a tablet?
I have a small wacom pad and a large monitor. And i wanted to reduce the area of the screen where the tablet surface is mapped. Sadly graphical utility does not allow this. Currently the configuration is the following: Coordinate Transformation Matrix (216): 0.571429, 0.000000, 0.428571, 0.000000, 1...
I have a small wacom pad and a large monitor. And i wanted to reduce the area of the screen where the tablet surface is mapped. Sadly graphical utility does not allow this.
Currently the configuration is the following:
Coordinate Transformation Matrix (216): 0.571429, 0.000000, 0.428571, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
This maps to the HDMI connected 2nd monitor in landscape mode. I want to rotate mapping 90 degrees and use half of the screen in portrait mode. Infotunnely just multiplying given figures to rotation matrix gives total mess. As i unerstand due to not square shape of the area. But no idea how to do it right. So basically i need do the following.

Roman
(1 rep)
Aug 23, 2023, 04:26 PM
• Last activity: Aug 24, 2023, 09:15 AM
0
votes
1
answers
2226
views
Use Nvidia GPU with Unity3D for game development
I am using Unity3D on Arch Linux: https://wiki.archlinux.org/title/Unity3D for game development. I have a Nvidia GTX 1650. All my nvidia packages are up to date (tensorflow-gpu for example works fine). But when I run a game within unity3D it does not use the GPU at all. How can I instruct unity3D to...
I am using Unity3D on Arch Linux: https://wiki.archlinux.org/title/Unity3D for game development.
I have a Nvidia GTX 1650. All my nvidia packages are up to date (tensorflow-gpu for example works fine). But when I run a game within unity3D it does not use the GPU at all.
How can I instruct unity3D to use the GPU when developing games?
Details of my GPU below:
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 465.27 Driver Version: 465.27 CUDA Version: 11.3 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 NVIDIA GeForce ... Off | 00000000:01:00.0 Off | N/A |
| N/A 53C P8 2W / N/A | 4MiB / 3914MiB | 0% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 615 G /usr/lib/Xorg 4MiB |
+-----------------------------------------------------------------------------+
Jack Wetherell
(101 rep)
May 8, 2021, 10:01 PM
• Last activity: Aug 19, 2021, 12:55 PM
0
votes
0
answers
30
views
Can a Windows hypervisor running inside Linux access Windows-only drivers?
Suppose you have a Linux as host OS. Within a container you run a Windows hypervisor. Will that Windows hypervisor have access to Windows-only 3D accelerated drivers that Linux doesn't support?
Suppose you have a Linux as host OS. Within a container you run a Windows hypervisor.
Will that Windows hypervisor have access to Windows-only 3D accelerated drivers that Linux doesn't support?
Phil Bouchard
(1 rep)
Feb 2, 2020, 05:23 AM
• Last activity: Feb 2, 2020, 07:44 PM
9
votes
3
answers
2791
views
Which Desktop environments do not require 3D acceleration?
I have two situations in which I need to run desktops without any 3D acceleration. 1) I often run Ubuntu and CentOS VMs on a machine who graphic card does not play nicely with VirtualBox's 3D acceleration (bug in the drivers). 2) Accessing remote sessions This isn't a quick "log in and check somethi...
I have two situations in which I need to run desktops without any 3D acceleration.
1) I often run Ubuntu and CentOS VMs on a machine who graphic card does not play nicely with VirtualBox's 3D acceleration (bug in the drivers).
2) Accessing remote sessions
This isn't a quick "log in and check something", I could be working at them for hours, and the performance hit from using LLVMpipe really annoys me, so I could really use a Desktop Environment that runs on Modern distros but doesn't require 3D acceleration, but I can't find reliable info easily.
So:
Which currently maintained, mature, DEs don't require 3D acceleration (note, I'm not asking for an opinion on whether they are any good, I just want a list).
Ian Sudbery
(373 rep)
Oct 20, 2016, 04:35 PM
• Last activity: Jul 6, 2018, 11:57 PM
3
votes
1
answers
4010
views
Xephyr: Low FPS inside 3D accelerated games
I'm trying to use Xephyr to create a gaming multiseat setup. Inside the existing desktop environment, I'm running `sudo Xephyr -softCursor -dpi 96 -screen 1440x900 -keybd evdev,,device=/dev/input/by-id/usb-Dell_Dell_USB_Keyboard-event-kbd,xkbrules=xorg,xkbmodel=evdev,xkblayout=latam -mouse evdev,,de...
I'm trying to use Xephyr to create a gaming multiseat setup. Inside the existing desktop environment, I'm running
sudo Xephyr -softCursor -dpi 96 -screen 1440x900 -keybd evdev,,device=/dev/input/by-id/usb-Dell_Dell_USB_Keyboard-event-kbd,xkbrules=xorg,xkbmodel=evdev,xkblayout=latam -mouse evdev,,device=/dev/input/by-id/usb-0461_USB_Optical_Mouse-event-mouse :1
. Then I place the Xephyr window in the second monitor in fullscreen.
It used to work properly, but now for some reason I'm getting relatively low FPS inside Xephyr in 3D games. If I run them outside Xephyr they work properly.
inxi -Fx
relevant output:
System: Host: Desktop Kernel: 4.4.39-1-MANJARO x86_64 (64 bit gcc: 6.2.1)
Console: tty 2 Distro: Manjaro Linux
Machine: Device: desktop System: Hewlett-Packard product: HP Compaq 8100 Elite SFF PC
Mobo: Hewlett-Packard model: 304Ah
BIOS: Hewlett-Packard v: 786H1 v01.05 date: 06/09/2010
CPU: Quad core Intel Core i5 760 (-MCP-) cache: 8192 KB
flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 22353
clock speeds: max: 2933 MHz 1: 1733 MHz 2: 2933 MHz 3: 2933 MHz
4: 1733 MHz
Graphics: Card: Advanced Micro Devices [AMD/ATI] RV710 [Radeon HD 4550] bus-ID: 01:00.0
Display Server: X.Org 1.18.4 driver: radeon Resolution: 1280x1024@75.02hz, 1440x900@59.90hz
GLX Renderer: Gallium 0.4 on AMD RV710 (DRM 2.43.0 / 4.4.39-1-MANJARO, LLVM 3.9.0)
GLX Version: 3.0 Mesa 13.0.2 Direct Rendering: Yes
Running inxi -Fx inside Xephyr shows:
GLX Renderer: Gallium 0.4 on llvmpipe (LLVM 3.9, 128 bits)
Running glxinfo
shows:
Extended renderer info (GLX_MESA_query_renderer):
Vendor: VMware, Inc. (0xffffffff)
Device: llvmpipe (LLVM 3.9, 128 bits) (0xffffffff)
Version: 13.0.2
Accelerated: no
Video memory: 7923MB
Unified memory: no
Preferred profile: core (0x1)
Max core profile version: 3.3
Max compat profile version: 3.0
Max GLES1 profile version: 1.1
Max GLES profile version: 3.0
OpenGL vendor string: VMware, Inc.
OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 3.9, 128 bits)
OpenGL core profile version string: 3.3 (Core Profile) Mesa 13.0.2
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
simplegamer
(245 rep)
Jan 15, 2017, 09:49 PM
• Last activity: Feb 22, 2017, 01:18 AM
0
votes
1
answers
45
views
Why Mouse Activates 3D Image in non-evaluated NB of Debian Mathematica?
Condition: controlling 3D Image output of test code by mouse cause all CPUs to 100%; differential solutions do not help; no clicking of mouse on image Motivation: to understand why mouse activates 3D Image process even when no evaluation of the notebook in Debian Mathematica Fig. 1 My Desktop where...
Condition: controlling 3D Image output of test code by mouse cause all CPUs to 100%; differential solutions do not help; no clicking of mouse on image
Motivation: to understand why mouse activates 3D Image process even when no evaluation of the notebook in Debian Mathematica
Fig. 1 My Desktop where trying to overlay the figure and delete it causes the CPUs to max; doing
I need the notebook but the object keeps locking its use.
Test code
(* system info for WRI *)
SystemInformation[]
(* http://mathematica.stackexchange.com/q/38305/9815 *)
data = Table[
Exp[-3 (x^2 + y^2 + z^2)], {x, -1., 1, .01}, {y, -1.,
1, .01}, {z, -1., 1, .01}];
Image3D[data, ClipRange -> {{100, 200}, {0, 200}, {100, 200}},
ColorFunction -> Automatic] (* default colour function *)
System characteristics
masi@masi:~$ glxinfo | grep OpenGL
OpenGL vendor string: VMware, Inc.
OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 3.5, 256 bits)
OpenGL version string: 3.0 Mesa 10.3.2
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
masi@masi:~$ echo $LD_LIBRARY_PATH
masi@masi:~$
Mathematica startup option as instructed by Wolfram but still unsuccessful output
1. I run
masi@masi:~$ rm .Mathematica/
masi@masi:~$ su
root@masi:/home/masi# rm -r /usr/share/Mathematica/
2. Do clean start
masi@masi:~$ mathematica -cleanstart
3. Get a new university licence for Mathematica and activate
4. Start mathematica with the option
mathematica -mesa
I contacted Wolfram student support with a link to this thread, waiting their answer for three days.
OS: Debian 8.5
Linux kernel: 4.6 of backports set up as described here
Graphics: modesetting set up as described in the thread How Smooth is Upgrading Linux kernel in Debian 8.5?
Mathematica: 11 student edition
Mathematica documentation: How can I address broken 3D graphics on Linux with certain graphics cards
Hardware: Asus Zenbook UX303UA
Differential solutions:
Clear[data]
before that does not help

Clear[data]
, Quit kernel
in Menu *Evaluation*
Léo Léopold Hertz 준영
(7138 rep)
Sep 23, 2016, 05:54 PM
• Last activity: Dec 30, 2016, 01:45 PM
0
votes
0
answers
575
views
VirtualBox Guest Video Acceleration on Kali vs Mint
I'm using Virtualbox 5.0.28 on Linux Mint as a host. I have two guest systems I'm comparing: - Kali Linux w. Kernel 4.6.4 - Linux Mint 17.3 w. Kernel 3.19.0-32 On both guests: - Guest additions are installed. - glxinfo seems to come up for both, showing 3D acceleration enabled. - Gnome settings show...
I'm using Virtualbox 5.0.28 on Linux Mint as a host.
I have two guest systems I'm comparing:
- Kali Linux w. Kernel 4.6.4
- Linux Mint 17.3 w. Kernel 3.19.0-32
On both guests:
- Guest additions are installed.
- glxinfo seems to come up for both, showing 3D acceleration enabled.
- Gnome settings shows "Chromium" as a rendering engine(?)
- The kernel modules vboxvideo are loaded.
- Xorg.0.log shows that X11 loads the vboxvideo drivers.
- Both have 3d support enabled in VirtualBox settings and 128M of RAM for video.
but, Kali feels sluggish. E.g.,:
- When I take a terminal window and drag it around the screen, I can make the *host* CPU jump to 150% The same action on Mint barely tops 40% (and Window transparency is enabled).
- Keystrokes are occasionally lost on Kali, I have to s-l-o-w down my typing so as to be sure I'm typign correctly
- By comparison, a Mint guest *feels* native, scrolling is sharp, fast and keystrokes are never lost.
Note that in this window drag experiment, the CPU load on the guest doesn't increase, the load increases on the *host* which makes me think that it's a video acceleration issue.
A few places I'm stuck:
- How can I see if the desktop environments both support 3d acceleration? Is that even an issue?
- Does Virtualbox's lack of Guest support for 2d acceleration in Linux factor in?
- How can I get X.org to generate a new Xorg.0.log? (the date on the file is similar to install time)
But the key here is that with the 3d support apparently not being the problem, what else could be slowing down the guest in Virtualbox?
mgjk
(666 rep)
Dec 15, 2016, 05:12 PM
3
votes
0
answers
3988
views
3D Window Managers/Desktop Environments for Linux?
I'm compiling a list of known 3D window managers for Linux. Does anyone know of any others besides the following? 1. [Ibex](http://hwahba.com/ibex/) 2. [Maze Compositor](https://github.com/capisce/mazecompositor) 3. [Januz VR](https://hackaday.io/project/5077-metaverse-lab/log/19096-x11-application-...
I'm compiling a list of known 3D window managers for Linux. Does anyone know of any others besides the following?
1. [Ibex](http://hwahba.com/ibex/)
2. [Maze Compositor](https://github.com/capisce/mazecompositor)
3. [Januz VR](https://hackaday.io/project/5077-metaverse-lab/log/19096-x11-application-migration-pt-1#discussion-list)
4. [Motorcar](https://github.com/evil0sheep/motorcar)
Ideally they would be demoable/usable in VR, but not necessarily :)
George
(1899 rep)
Aug 31, 2016, 06:28 PM
2
votes
1
answers
5884
views
3D drawing program to pose human figures (like Windows Poser)
Are there any good Linux-alternatives to the Windows-program Poser - a program that allows you to manipulate human-figures (dressed in skins) in a humanly way (ie. with the restriction a human body impose on body-movement)?
Are there any good Linux-alternatives to the Windows-program Poser - a program that allows you to manipulate human-figures (dressed in skins) in a humanly way (ie. with the restriction a human body impose on body-movement)?
Baard Kopperud
(7253 rep)
Jun 2, 2014, 01:03 PM
• Last activity: Jun 2, 2014, 11:32 PM
Showing page 1 of 12 total questions