Hi -
Has anyone found an easy to follow tutorial on installing OpenGL and Blender on a Raspberry Pi?
I am very new to the pi and trying to learn my limits on what I can and cannot do.
Thanks
GPU on most/all(?) ARM SoCs of this type support only OpenGL ES. They don't support OpenGL.AndyD wrote:My understanding is the OpenGL is not available for the Raspberry Pi at current. There are discussions on the forum about work being carried out to provide OpenGL for the Raspberry Pi (I can't remember were of the top of my head), but that is a work in progress.
Open GL (not ES) is being actively worked on for the Raspberry Pi by Eric Anholt. The Video Core Source – 1 Year On thread has some up-to-date information on the status.riklaunim wrote:GPU on most/all(?) ARM SoCs of this type support only OpenGL ES. They don't support OpenGL.
Code: Select all
VC4-3.19 on Pi2B - Raspbian Jessie
# Building the kernel
#--------------------
~ $ cd software/build
~/software/build $ mkdir anholt && cd anholt
~/software/build/anholt $ git clone -b vc4-3.19 git://github.com/anholt/linux.git
~/software/build/anholt $ cd linux
~/software/build/anholt/linux $ make mrproper
~/software/build/anholt/linux $ zcat /proc/config.gz > .config
~/software/build/anholt/linux $ make oldconfig
~/software/build/anholt/linux $ make menuconfig
----------------------------------------------------
"You need CONFIG_DRM_VC4=y (not m, or it won't load)."
> Device Drivers > Graphics support > Direct Rendering Manager
<*> Direct Rendering Manager (XFree86 4.1.0 and higher DRI support) --->
I2C encoder or helper chips --->
< > PTN3460 DP/LVDS bridge (NEW)
< > DisplayLink (NEW)
< > DRM support for Marvell Armada SoCs (NEW)
< > DRM Support for TI LCDC Display Controller (NEW)
<*> Broadcom VC4 Graphics
"You need CONFIG_CMA_SIZE_MBYTES=64 (or, apparently, cma=64M on the kernel command line), or you'll get "vc4-drm vc4-drm.0: failed to allocate buffer with size 7057408". You also, if you want to see output, need a monitor that can scan out the same 1680x1050 as me, for now."
> Device Drivers > Generic Driver Options
[*] DMA Contiguous Memory Allocator
*** Default contiguous memory area size: ***
(64) Size in Mega Bytes
Selected region size (Use mega bytes value only) --->
(8) Maximum PAGE_SIZE order of alignment for contiguous buffers
Save the .config and exit.
----------------------------------------------------
~/software/build/anholt/linux $ make -j5 > make.log 2>&1
~/software/build/anholt/linux $ make modules > make-modules.log 2>&1
~/software/build/anholt/linux $ sudo make modules_install > sudo-make-modules_install.log 2>&1
~/software/build/anholt/linux $ cd ~/software/build
~/software/build $ git clone https://github.com/raspberrypi/tools.git
~/software/build $ cd ~/software/build/anholt/linux/arch/arm/boot/
~/software/build/anholt/linux/arch/arm/boot $ ~/software/build/tools/mkimage/mkknlimg zImage kernel7_new.img
Version: Linux version 3.19.0-v7+ (pi@raspbian) (gcc version 4.9.2 (Raspbian 4.9.2-10) ) #1 SMP PREEMPT Sun Mar 15 18:34:03 CDT 2015
DT: y
~/software/build/anholt/linux/arch/arm/boot $ sudo cp kernel7_new.img /boot/kernel-vc4-3.19.0-v7+.img
~/software/build/anholt/linux/arch/arm/boot $ sudo nano /boot/config.txt (kernel=kernel-vc4-3.19.0-v7+.img)
~/software/build/anholt/linux/arch/arm/boot $ cd ~/software/build/anholt
# Building mesa
#--------------
~/software/build/anholt $ sudo apt-get build-dep libgl1-mesa-dri
~/software/build/anholt $ git clone git://anongit.freedesktop.org/mesa/mesa
~/software/build/anholt $ cd mesa
~/software/build/anholt/mesa $ ./autogen.sh --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --sysconfdir=/etc --libdir=/usr/lib/arm-linux-gnueabihf --localstatedir=/var --disable-silent-rules --build=arm-linux-gnueabihf --with-gallium-drivers=vc4 --with-dri-drivers= --enable-gbm --enable-xa --enable-va --enable-vdpau --enable-omx --enable-shared-glapi --enable-gles1 --enable-gles2 --with-egl-platforms=x11,wayland,drm
Then install any packages which seem necessary or useful based on configuration errors and/or feedback.
The resulting configuration:
prefix: /usr
exec_prefix: ${prefix}
libdir: ${exec_prefix}/lib
includedir: ${prefix}/include
OpenGL: yes (ES1: yes ES2: yes)
OSMesa: no
DRI platform: drm
DRI drivers: no
DRI driver dir: ${libdir}/dri
GLX: DRI-based
EGL: yes
EGL platforms: x11 wayland drm
EGL drivers: builtin:egl_dri2
llvm: no
Gallium: yes
Shader cache: yes
With SHA1 from: libgcrypt
Shared libs: yes
Static libs: no
Shared-glapi: yes
CFLAGS: -g -O2 -Wall -std=c99 -Werror=implicit-function-declaration -Werror=missing-prototypes -fno-strict-aliasing -fno-builtin-memcmp
CXXFLAGS: -g -O2 -Wall -fno-strict-aliasing -fno-builtin-memcmp
Macros: -DUSE_EXTERNAL_DXTN_LIB=1 -D_GNU_SOURCE -DNDEBUG -DHAVE_XLOCALE_H -DHAVE_STRTOF -DHAVE_DLOPEN -DHAVE_POSIX_MEMALIGN -DHAVE_LIBDRM -DGLX_USE_DRM -DHAVE_LIBUDEV -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DHAVE_ALIAS -DHAVE_DRI3 -DHAVE_MINCORE
PYTHON2: python2
Run 'make' to build Mesa
~/software/build/anholt/mesa $ sudo make install > sudo-make-install.log 2>&1
~/software/build/anholt/mesa $ cd ~/software/build/anholt
# Building the X Server
#----------------------
~/software/build/anholt $ sudo apt-get build-dep xorg
~/software/build/anholt $ sudo apt-get install x11proto-bigreqs-dev x11proto-composite-dev x11proto-core-dev x11proto-damage-dev x11proto-dmx-dev x11proto-dri2-dev x11proto-fixes-dev x11proto-fonts-dev x11proto-gl-dev x11proto-input-dev x11proto-kb-dev x11proto-print-dev x11proto-randr-dev x11proto-record-dev x11proto-render-dev x11proto-resource-dev x11proto-scrnsaver-dev x11proto-video-dev x11proto-xcmisc-dev x11proto-xext-dev x11proto-xf86bigfont-dev x11proto-xf86dga-dev x11proto-xf86dri-dev x11proto-xf86misc-dev x11proto-xf86vidmode-dev x11proto-xinerama-dev x11proto-dri3-dev x11proto-present-dev
~/software/build/anholt $ git clone git://anongit.freedesktop.org/xorg/xserver
~/software/build/anholt $ cd xserver
~/software/build/anholt/xserver $ ./autogen.sh --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --sysconfdir=/etc --libdir=/usr/lib/arm-linux-gnueabihf --localstatedir=/var --disable-silent-rules --build=arm-linux-gnueabihf
Then install any packages which seem necessary or useful based on configuration errors and/or feedback.
~/software/build/anholt/xserver $ ./autogen.sh --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --sysconfdir=/etc --libdir=/usr/lib/arm-linux-gnueabihf --localstatedir=/var --disable-silent-rules --build=arm-linux-gnueabihf
~/software/build/anholt/xserver $ sudo make install
~/software/build/anholt/xserver $ cd ~/software/build/anholt
Then git clone and build the following packages from freedesktop.org the same way:
xf86-input-evdev, xf86-input-synaptics, xf86-video-modesetting, xf86-video-fbdev
Create or edit an existing /etc/X11/xorg.conf or create a file like /usr/share/X11/xorg.conf.d/20-devices.conf.and configure the modesetting driver:
/etc/X11/xorg.conf
#---------- BEGIN CONTENT ----------
Section "Files"
ModulePath "/lib/xorg/modules"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/share/fonts/X11/75dpi"
FontPath "/usr/share/fonts/X11/Type1"
EndSection
Section "InputClass"
Identifier "ev"
Driver "evdev"
EndSection
Section "InputClass"
Identifier "syn"
Driver "synaptics"
MatchProduct "Synaptics"
EndSection
Section "ServerFlags"
EndSection
Section "Device"
Identifier "Configured Video Device"
Driver "modesetting"
EndSection
Section "Monitor"
Identifier "Configured Monitor"
EndSection
Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
DefaultDepth 24
SubSection "Display"
Depth 24
EndSubSection
EndSection
#---------- END CONTENT ----------
-- OR --
/usr/share/X11/xorg.conf.d/20-devices.conf
#---------- BEGIN CONTENT ----------
Section "Device"
Identifier "FB1"
Driver "modesetting"
#Option "kmsdev" "/dev/dri/card0"
#Option "debug" "True"
#BusID "platform:vc4-drm:00"
EndSection
Section "Device"
Identifier "FBDEV0"
Driver "fbdev"
Option "fbdev" "/dev/fb0"
Option "debug" "True"
Option "Hotplug" "False"
#Option "ShadowFB" "False"
#Option "Rotate" # <str>
EndSection
#---------- END CONTENT ----------
Add mask_gpu_interrupt0=0x400 to /boot/config.txt
sudo reboot
startx
----------------------------------------------------Code: Select all
[ 69.637205] ------------[ cut here ]------------
[ 69.637239] WARNING: CPU: 0 PID: 1810 at drivers/gpu/drm/drm_ioctl.c:143 drm_setversion+0x174/0x178()
[ 69.637264] No drm_driver.set_busid() implementation provided by 0x8087a40c. Use drm_dev_set_unique() to set the unique name explicitly.
[ 69.637271] Modules linked in:
[ 69.637278] binfmt_misc cpufreq_stats fuse bcm2708_rng snd_bcm2835 ipv6 lirc_dev rc_core i2c_dev sg evdev uas btusb snd_soc_bcm2708_i2s snd_soc_pcm512x_i2c snd_soc_pcm512x snd_soc_wm8804 snd_soc_tas5713 regmap_mmio bluetooth snd_soc_core snd_compress rfkill snd_pcm_dmaengine snd_pcm_oss snd_mixer_oss snd_pcm regmap_spi snd_timer snd regmap_i2c i2c_bcm2708 spi_bcm2708
[ 69.637382] CPU: 0 PID: 1810 Comm: X Not tainted 3.19.0-v7+ #1
[ 69.637389] Hardware name: BCM2709
[ 69.637416] [<80016650>] (unwind_backtrace) from [<80012c44>] (show_stack+0x20/0x24)
[ 69.637454] [<80012c44>] (show_stack) from [<80577d40>] (dump_stack+0x9c/0xdc)
[ 69.637475] [<80577d40>] (dump_stack) from [<8002508c>] (warn_slowpath_common+0x98/0xc8)
[ 69.637492] [<8002508c>] (warn_slowpath_common) from [<800250fc>] (warn_slowpath_fmt+0x40/0x48)
[ 69.637508] [<800250fc>] (warn_slowpath_fmt) from [<8037897c>] (drm_setversion+0x174/0x178)
[ 69.637522] [<8037897c>] (drm_setversion) from [<803784dc>] (drm_ioctl+0x2b8/0x518)
[ 69.637538] [<803784dc>] (drm_ioctl) from [<8015b44c>] (do_vfs_ioctl+0x418/0x608)
[ 69.637552] [<8015b44c>] (do_vfs_ioctl) from [<8015b680>] (SyS_ioctl+0x44/0x6c)
[ 69.637584] [<8015b680>] (SyS_ioctl) from [<8000ed80>] (ret_fast_syscall+0x0/0x4c)
[ 69.637594] ---[ end trace 9493428863c37919 ]---
[ 70.863753] ------------[ cut here ]------------
[ 70.863784] WARNING: CPU: 2 PID: 1810 at drivers/gpu/drm/drm_ioctl.c:143 drm_setversion+0x174/0x178()
[ 70.863808] No drm_driver.set_busid() implementation provided by 0x8087a40c. Use drm_dev_set_unique() to set the unique name explicitly.
[ 70.863815] Modules linked in:
[ 70.863821] binfmt_misc cpufreq_stats fuse bcm2708_rng snd_bcm2835 ipv6 lirc_dev rc_core i2c_dev sg evdev uas btusb snd_soc_bcm2708_i2s snd_soc_pcm512x_i2c snd_soc_pcm512x snd_soc_wm8804 snd_soc_tas5713 regmap_mmio bluetooth snd_soc_core snd_compress rfkill snd_pcm_dmaengine snd_pcm_oss snd_mixer_oss snd_pcm regmap_spi snd_timer snd regmap_i2c i2c_bcm2708 spi_bcm2708
[ 70.863924] CPU: 2 PID: 1810 Comm: X Tainted: G W 3.19.0-v7+ #1
[ 70.863930] Hardware name: BCM2709
[ 70.863956] [<80016650>] (unwind_backtrace) from [<80012c44>] (show_stack+0x20/0x24)
[ 70.863974] [<80012c44>] (show_stack) from [<80577d40>] (dump_stack+0x9c/0xdc)
[ 70.863993] [<80577d40>] (dump_stack) from [<8002508c>] (warn_slowpath_common+0x98/0xc8)
[ 70.864009] [<8002508c>] (warn_slowpath_common) from [<800250fc>] (warn_slowpath_fmt+0x40/0x48)
[ 70.864024] [<800250fc>] (warn_slowpath_fmt) from [<8037897c>] (drm_setversion+0x174/0x178)
[ 70.864038] [<8037897c>] (drm_setversion) from [<803784dc>] (drm_ioctl+0x2b8/0x518)
[ 70.864053] [<803784dc>] (drm_ioctl) from [<8015b44c>] (do_vfs_ioctl+0x418/0x608)
[ 70.864067] [<8015b44c>] (do_vfs_ioctl) from [<8015b680>] (SyS_ioctl+0x44/0x6c)
[ 70.864082] [<8015b680>] (SyS_ioctl) from [<8000ed80>] (ret_fast_syscall+0x0/0x4c)
[ 70.864091] ---[ end trace 9493428863c3791a ]---
[ 296.047707] ------------[ cut here ]------------
[ 296.047741] WARNING: CPU: 0 PID: 2062 at drivers/gpu/drm/drm_ioctl.c:143 drm_setversion+0x174/0x178()
[ 296.047766] No drm_driver.set_busid() implementation provided by 0x8087a40c. Use drm_dev_set_unique() to set the unique name explicitly.
[ 296.047774] Modules linked in:
[ 296.047782] binfmt_misc cpufreq_stats fuse bcm2708_rng snd_bcm2835 ipv6 lirc_dev rc_core i2c_dev sg evdev uas btusb snd_soc_bcm2708_i2s snd_soc_pcm512x_i2c snd_soc_pcm512x snd_soc_wm8804 snd_soc_tas5713 regmap_mmio bluetooth snd_soc_core snd_compress rfkill snd_pcm_dmaengine snd_pcm_oss snd_mixer_oss snd_pcm regmap_spi snd_timer snd regmap_i2c i2c_bcm2708 spi_bcm2708
[ 296.047888] CPU: 0 PID: 2062 Comm: X Tainted: G W 3.19.0-v7+ #1
[ 296.047895] Hardware name: BCM2709
[ 296.047923] [<80016650>] (unwind_backtrace) from [<80012c44>] (show_stack+0x20/0x24)
[ 296.047941] [<80012c44>] (show_stack) from [<80577d40>] (dump_stack+0x9c/0xdc)
[ 296.047960] [<80577d40>] (dump_stack) from [<8002508c>] (warn_slowpath_common+0x98/0xc8)
[ 296.047977] [<8002508c>] (warn_slowpath_common) from [<800250fc>] (warn_slowpath_fmt+0x40/0x48)
[ 296.047992] [<800250fc>] (warn_slowpath_fmt) from [<8037897c>] (drm_setversion+0x174/0x178)
[ 296.048006] [<8037897c>] (drm_setversion) from [<803784dc>] (drm_ioctl+0x2b8/0x518)
[ 296.048021] [<803784dc>] (drm_ioctl) from [<8015b44c>] (do_vfs_ioctl+0x418/0x608)
[ 296.048035] [<8015b44c>] (do_vfs_ioctl) from [<8015b680>] (SyS_ioctl+0x44/0x6c)
[ 296.048050] [<8015b680>] (SyS_ioctl) from [<8000ed80>] (ret_fast_syscall+0x0/0x4c)
[ 296.048059] ---[ end trace 9493428863c3791b ]---
[ 296.119388] [drm] Using resolution 1920x1080@60
[ 296.119866] [drm] Using resolution 1920x1080@60
[ 1265.509439] ------------[ cut here ]------------
[ 1265.509472] WARNING: CPU: 1 PID: 2116 at drivers/gpu/drm/drm_ioctl.c:143 drm_setversion+0x174/0x178()
[ 1265.509499] No drm_driver.set_busid() implementation provided by 0x8087a40c. Use drm_dev_set_unique() to set the unique name explicitly.
[ 1265.509558] Modules linked in:
[ 1265.509566] binfmt_misc cpufreq_stats fuse bcm2708_rng snd_bcm2835 ipv6 lirc_dev rc_core i2c_dev sg evdev uas btusb snd_soc_bcm2708_i2s snd_soc_pcm512x_i2c snd_soc_pcm512x snd_soc_wm8804 snd_soc_tas5713 regmap_mmio bluetooth snd_soc_core snd_compress rfkill snd_pcm_dmaengine snd_pcm_oss snd_mixer_oss snd_pcm regmap_spi snd_timer snd regmap_i2c i2c_bcm2708 spi_bcm2708
[ 1265.509674] CPU: 1 PID: 2116 Comm: X Tainted: G W 3.19.0-v7+ #1
[ 1265.509681] Hardware name: BCM2709
[ 1265.509709] [<80016650>] (unwind_backtrace) from [<80012c44>] (show_stack+0x20/0x24)
[ 1265.509729] [<80012c44>] (show_stack) from [<80577d40>] (dump_stack+0x9c/0xdc)
[ 1265.509750] [<80577d40>] (dump_stack) from [<8002508c>] (warn_slowpath_common+0x98/0xc8)
[ 1265.509766] [<8002508c>] (warn_slowpath_common) from [<800250fc>] (warn_slowpath_fmt+0x40/0x48)
[ 1265.509781] [<800250fc>] (warn_slowpath_fmt) from [<8037897c>] (drm_setversion+0x174/0x178)
[ 1265.509795] [<8037897c>] (drm_setversion) from [<803784dc>] (drm_ioctl+0x2b8/0x518)
[ 1265.509810] [<803784dc>] (drm_ioctl) from [<8015b44c>] (do_vfs_ioctl+0x418/0x608)
[ 1265.509825] [<8015b44c>] (do_vfs_ioctl) from [<8015b680>] (SyS_ioctl+0x44/0x6c)
[ 1265.509840] [<8015b680>] (SyS_ioctl) from [<8000ed80>] (ret_fast_syscall+0x0/0x4c)
[ 1265.509848] ---[ end trace 9493428863c3791c ]---
[ 1265.862091] ------------[ cut here ]------------
[ 1265.862122] WARNING: CPU: 1 PID: 2116 at drivers/gpu/drm/drm_ioctl.c:143 drm_setversion+0x174/0x178()
[ 1265.862146] No drm_driver.set_busid() implementation provided by 0x8087a40c. Use drm_dev_set_unique() to set the unique name explicitly.
[ 1265.862154] Modules linked in:
[ 1265.862161] binfmt_misc cpufreq_stats fuse bcm2708_rng snd_bcm2835 ipv6 lirc_dev rc_core i2c_dev sg evdev uas btusb snd_soc_bcm2708_i2s snd_soc_pcm512x_i2c snd_soc_pcm512x snd_soc_wm8804 snd_soc_tas5713 regmap_mmio bluetooth snd_soc_core snd_compress rfkill snd_pcm_dmaengine snd_pcm_oss snd_mixer_oss snd_pcm regmap_spi snd_timer snd regmap_i2c i2c_bcm2708 spi_bcm2708
[ 1265.862263] CPU: 1 PID: 2116 Comm: X Tainted: G W 3.19.0-v7+ #1
[ 1265.862270] Hardware name: BCM2709
[ 1265.862296] [<80016650>] (unwind_backtrace) from [<80012c44>] (show_stack+0x20/0x24)
[ 1265.862314] [<80012c44>] (show_stack) from [<80577d40>] (dump_stack+0x9c/0xdc)
[ 1265.862333] [<80577d40>] (dump_stack) from [<8002508c>] (warn_slowpath_common+0x98/0xc8)
[ 1265.862349] [<8002508c>] (warn_slowpath_common) from [<800250fc>] (warn_slowpath_fmt+0x40/0x48)
[ 1265.862364] [<800250fc>] (warn_slowpath_fmt) from [<8037897c>] (drm_setversion+0x174/0x178)
[ 1265.862378] [<8037897c>] (drm_setversion) from [<803784dc>] (drm_ioctl+0x2b8/0x518)
[ 1265.862393] [<803784dc>] (drm_ioctl) from [<8015b44c>] (do_vfs_ioctl+0x418/0x608)
[ 1265.862408] [<8015b44c>] (do_vfs_ioctl) from [<8015b680>] (SyS_ioctl+0x44/0x6c)
[ 1265.862423] [<8015b680>] (SyS_ioctl) from [<8000ed80>] (ret_fast_syscall+0x0/0x4c)
[ 1265.862432] ---[ end trace 9493428863c3791d ]---
Code: Select all
[ 295.852]
X.Org X Server 1.17.99
Release Date: 2015-02-02
[ 295.875] X Protocol Version 11, Revision 0
[ 295.883] Build Operating System: Linux 3.19.0-v7+ armv7l
[ 295.891] Current Operating System: Linux raspbian 3.19.0-v7+ #1 SMP PREEMPT Sun Mar 15 18:34:03 CDT 2015 armv7l
[ 295.891] Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=1920 bcm2708_fb.fbheight=1080 bcm2709.boardrev=0x3a41041 bcm2709.serial=0x626aa24a smsc95xx.macaddr=B8:27:EB:6A:A2:4A bcm2708_fb.fbdepth=24 bcm2708_fb.fbswap=1 bcm2709.disk_led_gpio=47 bcm2709.disk_led_active_low=0 sdhci-bcm2708.emmc_clock_freq=250000000 vc_mem.mem_base=0x3dc00000 vc_mem.mem_size=0x3f000000 dwc_otg.lpm_enable=0 console=tty1 root=/dev/sda1 rootfstype=ext4 elevator=deadline rootdelay=10 rootwait usbhid.mousepoll=0 cgroup_enable=memory swapaccount=1 cma=64M selinux=1 enforcing=0 init=/lib/sysvinit/init
[ 295.926] Build Date: 15 March 2015 10:34:36PM
[ 295.934]
[ 295.943] Current version of pixman: 0.33.1
[ 295.959] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 295.959] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 295.994] (==) Log file: "/home/pi/.local/share/xorg/Xorg.0.log", Time: Wed Dec 31 18:04:55 1969
[ 296.003] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 296.004] (==) No Layout section. Using the first Screen section.
[ 296.004] (==) No screen section available. Using defaults.
[ 296.004] (**) |-->Screen "Default Screen Section" (0)
[ 296.004] (**) | |-->Monitor "<default monitor>"
[ 296.004] (==) No device specified for screen "Default Screen Section".
Using the first device section listed.
[ 296.004] (**) | |-->Device "FB1"
[ 296.004] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 296.005] (==) Automatically adding devices
[ 296.005] (==) Automatically enabling devices
[ 296.005] (==) Automatically adding GPU devices
[ 296.005] (WW) The directory "/usr/share/fonts/X11/TTF/" does not exist.
[ 296.005] Entry deleted from font path.
[ 296.005] (WW) The directory "/usr/share/fonts/X11/OTF/" does not exist.
[ 296.005] Entry deleted from font path.
[ 296.005] (==) FontPath set to:
/usr/share/fonts/X11/misc/,
/usr/share/fonts/X11/Type1/,
/usr/share/fonts/X11/100dpi/,
/usr/share/fonts/X11/75dpi/
[ 296.005] (==) ModulePath set to "/usr/lib/arm-linux-gnueabihf/xorg/modules"
[ 296.005] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 296.005] (II) Loader magic: 0x1dabe8
[ 296.005] (II) Module ABI versions:
[ 296.005] X.Org ANSI C Emulation: 0.4
[ 296.005] X.Org Video Driver: 19.0
[ 296.005] X.Org XInput driver : 21.0
[ 296.005] X.Org Server Extension : 9.0
[ 296.023] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c1
[ 296.024] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 296.028] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 7 paused 0
[ 296.028] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Invalid argument
[ 296.028] (II) systemd-logind: releasing fd for 226:0
[ 296.032] (II) no primary bus or device found
[ 296.032] (II) LoadModule: "glx"
[ 296.033] (II) Loading /usr/lib/arm-linux-gnueabihf/xorg/modules/extensions/libglx.so
[ 296.044] (II) Module glx: vendor="X.Org Foundation"
[ 296.044] compiled for 1.17.99, module version = 1.0.0
[ 296.045] ABI class: X.Org Server Extension, version 9.0
[ 296.045] (==) AIGLX enabled
[ 296.045] (II) LoadModule: "modesetting"
[ 296.045] (II) Loading /usr/lib/arm-linux-gnueabihf/xorg/modules/drivers/modesetting_drv.so
[ 296.097] (II) Module modesetting: vendor="X.Org Foundation"
[ 296.097] compiled for 1.17.99, module version = 0.9.0
[ 296.097] Module class: X.Org Video Driver
[ 296.097] ABI class: X.Org Video Driver, version 19.0
[ 296.097] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 296.097] (++) using VT number 1
[ 296.097] (--) controlling tty is VT number 1, auto-enabling KeepTty
[ 296.098] (WW) Falling back to old probe method for modesetting
[ 296.098] (II) modesetting(0): using default device
[ 296.098] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[ 296.099] (II) modesetting(0): Creating default Display subsection in Screen section
"Default Screen Section" for depth/fbbpp 24/32
[ 296.099] (==) modesetting(0): Depth 24, (==) framebuffer bpp 32
[ 296.099] (==) modesetting(0): RGB weight 888
[ 296.099] (==) modesetting(0): Default visual is TrueColor
[ 296.099] (II) modesetting(0): ShadowFB: preferred NO, enabled NO
[ 296.100] (II) modesetting(0): Output VGA-0 has no monitor section
[ 296.100] (II) modesetting(0): EDID for output VGA-0
[ 296.100] (II) modesetting(0): Printing probed modes for output VGA-0
[ 296.100] (II) modesetting(0): Modeline "1920x1080"x60.0 172.78 1920 2040 2248 2576 1080 1081 1084 1118 -hsync +vsync (67.1 kHz eP)
[ 296.100] (II) modesetting(0): Output VGA-0 connected
[ 296.100] (II) modesetting(0): Using exact sizes for initial modes
[ 296.100] (II) modesetting(0): Output VGA-0 using initial mode 1920x1080
[ 296.101] (II) modesetting(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.
[ 296.101] (==) modesetting(0): DPI set to (96, 96)
[ 296.101] (II) Loading sub module "fb"
[ 296.101] (II) LoadModule: "fb"
[ 296.101] (II) Loading /usr/lib/arm-linux-gnueabihf/xorg/modules/libfb.so
[ 296.102] (II) Module fb: vendor="X.Org Foundation"
[ 296.102] compiled for 1.17.99, module version = 1.0.0
[ 296.103] ABI class: X.Org ANSI C Emulation, version 0.4
[ 296.103] (==) Depth 24 pixmap format is 32 bpp
[ 296.103] (EE) modesetting(0): drmSetMaster failed: Permission denied
[ 296.103] (EE)
Fatal server error:
[ 296.103] (EE) AddScreen/ScreenInit failed for driver 0
[ 296.103] (EE)
[ 296.103] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 296.103] (EE) Please also check the log file at "/home/pi/.local/share/xorg/Xorg.0.log" for additional information.
[ 296.103] (EE)
[ 296.145] (EE) Server terminated with error (1). Closing log file.
Code: Select all
sudo apt-get install blender