View previous topic :: View next topic |
Author |
Message |
saski4711 Apprentice
Joined: 24 Jun 2004 Posts: 180
|
Posted: Tue Apr 19, 2016 3:38 pm Post subject: howto enable dri3 with xf86-modesetting |
|
|
Hi,
I'm switching from xf86-video-intel to xorg modesetting / glamor. Works fine so far but I cannot enable DRI3.
Xorg.log shows
Code: |
[ 4569.868] (II) modeset(0): [DRI2] Setup complete
[ 4569.868] (II) modeset(0): [DRI2] DRI driver: i965
[ 4569.868] (II) modeset(0): [DRI2] VDPAU driver: i965
[ 4569.884] (--) RandR disabled
[ 4569.887] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[ 4569.887] (II) AIGLX: enabled GLX_ARB_create_context
[ 4569.887] (II) AIGLX: enabled GLX_ARB_create_context_profile
[ 4569.887] (II) AIGLX: enabled GLX_EXT_create_context_es{,2}_profile
[ 4569.887] (II) AIGLX: enabled GLX_INTEL_swap_event
[ 4569.887] (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
[ 4569.887] (II) AIGLX: enabled GLX_EXT_framebuffer_sRGB
[ 4569.887] (II) AIGLX: enabled GLX_ARB_fbconfig_float
[ 4569.887] (II) AIGLX: enabled GLX_EXT_fbconfig_packed_float
[ 4569.887] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
[ 4569.887] (II) AIGLX: enabled GLX_ARB_create_context_robustness
[ 4569.887] (II) AIGLX: Loaded and initialized i965
[ 4569.887] (II) GLX: Initialized DRI2 GL provider for screen 0
|
xorg.conf
Code: |
Section "Device"
Identifier "Device0"
Driver "modesetting"
Option "DRI" "3"
Option "DRI3" "1"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
#Modes "1920x1080" "1920x1080"
EndSubSection
EndSection
|
make.conf
Code: |
USE="X gtk gtk3 cairo opengl alsa tools udev dbus gnome-keyring policykit cups \
webkit sdl2 tiff icu libnotify mp3 openvpn x264 exif python introspection \
gstreamer wifi vaapi usb flac openal png apng sqlite libav gpg bluetooth
glamor dri3 \
-arts -gpm -kde -gnome -java -ipv6 -samba -doc -ssmtp -cgi -gallium -ppp \
-debug -fortran -hal -llvm -hunspell -gallium -perl -aspell -xscreensaver \
-qt4 -modemmanager -vdpau"
INPUT_DEVICES="synaptics evdev keyboard mouse"
VIDEO_CARDS="intel i965 modesetting"
|
What am I missing?
Enabling DRI3 with xf86-video-intel works fine though. |
|
Back to top |
|
|
letchideslandes Apprentice
Joined: 21 Nov 2004 Posts: 197 Location: Landes France
|
Posted: Wed May 18, 2016 2:17 pm Post subject: |
|
|
Here with modesettings driver
Code: | cyril@gentoogige ~ $ LIBGL_DEBUG=verbose glxinfo | grep libgl
libGL: Can't open configuration file /home/cyril/.drirc: No such file or directory.
libGL: pci id for fd 4: 8086:0166, driver i965
libGL: OpenDriver: trying /usr/lib64/dri/tls/i965_dri.so
libGL: OpenDriver: trying /usr/lib64/dri/i965_dri.so
libGL: Can't open configuration file /home/cyril/.drirc: No such file or directory.
libGL: Using DRI3 for screen 0
libGL: Can't open configuration file /home/cyril/.drirc: No such file or directory.
libGL: Can't open configuration file /home/cyril/.drirc: No such file or directory.
libGL: Can't open configuration file /home/cyril/.drirc: No such file or directory. |
|
|
Back to top |
|
|
|