Question regarding OpenGL 2.1 support and Xorg

Luís Mendes luis.p.mendes at gmail.com
Tue Oct 31 09:43:52 UTC 2017


Hi,

I've read that Open GL 2.1 support is available through latest patches for
mesa etnaviv:
[PATCH] etnaviv: add ext_texture_srgb support
https://lists.freedesktop.org/archives/etnaviv/2017-October/001193.html

Could this mean that it is possible to run Xorg without the
xf86-video-armada driver?
It wouldn't make use of the GC320 unit, but it could allow another option
for running X.

Currently the problem seems just to be that etnaviv doesn't support openGL
2.1 causing glamor to fail with:
[    41.867] Require OpenGL version 2.1 or later.
[    41.867] (EE) modeset(0): Failed to initialize glamor at ScreenInit()
time.

as detailed in the log below.
Or I am getting something wrong?

Regards,
Luís

[    41.522] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    41.522] (II) FBDEV: driver for framebuffer: fbdev
[    41.528] (II) modeset(0): using drv /dev/dri/card0
[    41.528] (WW) Falling back to old probe method for fbdev
[    41.528] (II) Loading sub module "fbdevhw"
[    41.528] (II) LoadModule: "fbdevhw"
[    41.530] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[    41.531] (II) Module fbdevhw: vendor="X.Org Foundation"
[    41.531]    compiled for 1.19.5, module version = 0.0.2
[    41.531]    ABI class: X.Org Video Driver, version 23.0
[    41.533] (II) modeset(0): Creating default Display subsection in Screen
section
        "Default Screen Section" for depth/fbbpp 24/32
[    41.533] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
[    41.533] (==) modeset(0): RGB weight 888
[    41.533] (==) modeset(0): Default visual is TrueColor
[    41.533] (II) Loading sub module "glamoregl"
[    41.534] (II) LoadModule: "glamoregl"
[    41.535] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[    41.573] (II) Module glamoregl: vendor="X.Org Foundation"
[    41.573]    compiled for 1.19.5, module version = 1.0.0
[    41.574]    ABI class: X.Org ANSI C Emulation, version 0.4
[    41.574] (II) glamor: OpenGL accelerated X.org driver based.
[    41.827] (II) glamor: EGL version 1.4 (DRI2):
[    41.837] (II) modeset(0): glamor initialized
[    41.838] (II) modeset(0): Output HDMI-1 has no monitor section
[    41.839] (II) modeset(0): EDID for output HDMI-1
[    41.840] (II) modeset(0): Printing probed modes for output HDMI-1
[    41.840] (II) modeset(0): Modeline "1024x768"x60.0   65.00  1024 1048
1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
[    41.840] (II) modeset(0): Modeline "800x600"x60.3   40.00  800 840 968
1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
[    41.840] (II) modeset(0): Modeline "800x600"x56.2   36.00  800 824 896
1024  600 601 603 625 +hsync +vsync (35.2 kHz e)
[    41.840] (II) modeset(0): Modeline "848x480"x60.0   33.75  848 864 976
1088  480 486 494 517 +hsync +vsync (31.0 kHz e)
[    41.840] (II) modeset(0): Modeline "640x480"x59.9   25.18  640 656 752
800  480 490 492 525 -hsync -vsync (31.5 kHz e)
[    41.841] (II) modeset(0): Output HDMI-1 connected
[    41.841] (II) modeset(0): Using exact sizes for initial modes
[    41.841] (II) modeset(0): Output HDMI-1 using initial mode 1024x768 +0+0
[    41.841] (==) modeset(0): Using gamma correction (1.0, 1.0, 1.0)
[    41.841] (==) modeset(0): DPI set to (96, 96)
[    41.841] (II) Loading sub module "fb"
[    41.841] (II) LoadModule: "fb"
[    41.843] (II) Loading /usr/lib/xorg/modules/libfb.so
[    41.844] (II) Module fb: vendor="X.Org Foundation"
[    41.844]    compiled for 1.19.5, module version = 1.0.0
[    41.844]    ABI class: X.Org ANSI C Emulation, version 0.4
[    41.844] (II) UnloadModule: "fbdev"
[    41.844] (II) Unloading fbdev
[    41.845] (II) UnloadSubModule: "fbdevhw"
[    41.845] (II) Unloading fbdevhw
[    41.845] (==) Depth 24 pixmap format is 32 bpp
[    41.867] Require OpenGL version 2.1 or later.
[    41.867] (EE) modeset(0): Failed to initialize glamor at ScreenInit()
time.
[    41.867] (EE)
Fatal server error:
[    41.868] (EE) AddScreen/ScreenInit failed for driver 0
[    41.868] (EE)
[    41.868] (EE)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/etnaviv/attachments/20171031/22309560/attachment-0001.html>


More information about the etnaviv mailing list