3

I am building the Vulkan driver over here from source on 15.10. It seems to work for a couple of simple examples so far but there is a mention that it requires DRI3 to be enabled here: "The intel driver needs DRI3, so either enable it via xorg.conf, or remove intel_drv.so and use the modesetting driver instead". I don't know how to do that.

I did try and add an /etc/X11/xorg.conf with this section:

Section "Device"
   Identifier  "Intel Graphics"
   Driver      "intel"
   Option      "DRI"    "3"
EndSection

but on reboot my /var/log/Xorg.0.log has no reference to DRI3, and several to DRI2:

[     4.059] (II) glamor: EGL version 1.4 (DRI2):
[     4.064] (II) Loading sub module "dri2"
[     4.064] (II) LoadModule: "dri2"
[     4.064] (II) Module "dri2" already built-in
[     4.169] (II) modeset(0): [DRI2] Setup complete
[     4.169] (II) modeset(0): [DRI2]   DRI driver: i965
[     4.169] (II) modeset(0): [DRI2]   VDPAU driver: i965
[     4.180] (II) GLX: Initialized DRI2 GL provider for screen 0

Any help would be appreciated.

ahcox
  • 171

1 Answers1

2

Adding the code below to /etc/X11/xorg.conf worked for me:

Section "Device"
   Identifier  "Intel Graphics"
   Driver      "intel"
   Option      "SwapBuffersWait" "0"
   Option      "DRI" "3"
EndSection
grooveplex
  • 2,506
  • 3
  • 27
  • 35