Ask Your Question
0

Enabling Glamor/DRI3 Fedora 29 (Gnome Xorg)

asked 2018-12-08 11:32:19 -0500

pushqrdx gravatar image

Hello, I am pretty new to Linux and i have literally tried every major distro out there and all seemed to have tearing/bad performance except Fedora 29 after updating it. Everything is working exceptionally smoother and i can see immediate increase in FPS. However

  • How do i know which graphics driver is used and how could i configure it.

Running inxi -G yields:

Graphics: Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics driver: i915 v: kernel Display: x11 server: Fedora Project X.org 1.20.3 driver: i915 resolution: 1920x1080~60Hz OpenGL: renderer: Mesa DRI Intel Haswell Desktop v: 4.5 Mesa 18.2.6

Which seems to indicate that i915 driver is used. But if i try to create a config file to enable DRI3/Glamor at /etc/X11/xorg.conf.d/20-intel.conf and set the driver to i915 GDM fails to login (returns to login screen). if driver is set to modesetting or intel it doesn't have effect but i guess that's due to neither modesetting nor intel driver is used.

  • In inxi output there;s no OpenGL specified so i guess there's something wrong with OpenGL, How could i further diagnose this issue?
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-12-08 16:20:58 -0500

fcomida gravatar image

Set this values:

Driver      "modesetting"
Option      "AccelMethod"  "glamor"
edit flag offensive delete link more

Comments

After adding that how could i make sure that it's applied?

pushqrdx gravatar imagepushqrdx ( 2018-12-09 06:29:30 -0500 )edit

Check /var/log/Xorg.0.log

fcomida gravatar imagefcomida ( 2018-12-09 09:48:59 -0500 )edit

@fcomida First i wanna thank you so much for your help. After using modesetting as the driver and checking Xorg.0 it has modeset(0): glamor X acceleration enabled on Mesa DRI Intel(R) Haswell Desktop So i guess glamor is loaded? What about DRI3?

pushqrdx gravatar imagepushqrdx ( 2018-12-09 10:18:55 -0500 )edit

DRI3 is enabled by default with modesetting and glamor but not reported in Xorg logs or journalctl. You can confirm this by running: LIBGL_DEBUG=verbose glxinfo | grep libgl

libGL: pci id for fd 5: 8086:0a16, driver i965
libGL: OpenDriver: trying /usr/lib64/dri/tls/i965_dri.so
libGL: OpenDriver: trying /usr/lib64/dri/i965_dri.so
libGL: Using DRI3 for screen 0
    GLX_EXT_import_context, GLX_EXT_libglvnd, GLX_EXT_no_config_context,
fcomida gravatar imagefcomida ( 2018-12-09 14:23:22 -0500 )edit

Again, much thanks for your help!

pushqrdx gravatar imagepushqrdx ( 2018-12-12 16:49:27 -0500 )edit

Question Tools

Stats

Asked: 2018-12-08 11:30:56 -0500

Seen: 361 times

Last updated: Dec 08 '18