You are not logged in.

#1 2017-09-30 16:13:56

daanjderuiter
Member
Registered: 2016-12-28
Posts: 44

Intel graphics TearFree disabled despite xorg.conf

I run a setup with Bumblebee, and experience quite a lot of tearing in normal desktop use (using the Intel GPU), which I tried to fix using the TearFree option. However, after creating

~ % cat /etc/X11/xorg.conf.d/12-intel.conf 
Section "Device"
	Identifier 	"Intel Graphics"
	Driver 	"intel"
	Option "TearFree" "True"
EndSection

and rebooting, I get the following in Xorg.0.log:

[...]
[     4.195] (==) intel(0): TearFree disabled
[...]

Does anyone know what might be causing this behaviour?

Last edited by daanjderuiter (2017-10-01 13:13:31)

Offline

#2 2017-09-30 16:28:53

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,104

Re: Intel graphics TearFree disabled despite xorg.conf

According to

man xorg.conf

boolean option values should be lowercase. https://wiki.archlinux.org/index.php/In … free_video also uses lowercase.

Offline

#3 2017-09-30 17:38:27

daanjderuiter
Member
Registered: 2016-12-28
Posts: 44

Re: Intel graphics TearFree disabled despite xorg.conf

Changed it, but the option still gets disabled. I tried putting it both in /etc/bumblebee/xorg.conf.d and in /etc/X11/xorg.conf.d, with identical results.

Offline

#4 2017-09-30 19:28:57

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,104

Re: Intel graphics TearFree disabled despite xorg.conf

How do you start X? can you post a full xorg log?

Offline

#5 2017-09-30 22:12:35

daanjderuiter
Member
Registered: 2016-12-28
Posts: 44

Re: Intel graphics TearFree disabled despite xorg.conf

I start X using LightDM, here is my Xorg.0.log file. The other Xorg.#.logs have similar lines

Offline

#6 2017-10-01 07:16:36

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,314

Re: Intel graphics TearFree disabled despite xorg.conf

[     4.046] (**) intel(0): Option "Backlight" "intel_backlight"

Since this is not in your posted snippet, please paste all /etc/X11/xorg.conf.d/* (or check them yourselfs for a contender)

Offline

#7 2017-10-01 09:02:18

daanjderuiter
Member
Registered: 2016-12-28
Posts: 44

Re: Intel graphics TearFree disabled despite xorg.conf

Apologies, here are all of the conf-files. Sorry for the inconsistent use of tabs and spaces, by the way smile

Last edited by daanjderuiter (2017-10-01 09:05:27)

Offline

#8 2017-10-01 09:05:40

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,314

Re: Intel graphics TearFree disabled despite xorg.conf

Try to add it to 11-backlight.conf and see what happens.

Offline

#9 2017-10-01 09:11:34

daanjderuiter
Member
Registered: 2016-12-28
Posts: 44

Re: Intel graphics TearFree disabled despite xorg.conf

That did the trick, thanks! So, X doesn't like me giving different Identifiers to the same device in two different configs

Offline

#10 2017-10-01 13:13:05

daanjderuiter
Member
Registered: 2016-12-28
Posts: 44

Re: Intel graphics TearFree disabled despite xorg.conf

Welp, it still is not quite sorted. TearFree is enabled but then disabled for some reason:

~ % grep -i Tear -H /var/log/Xorg.*.log      
/var/log/Xorg.0.log:[     4.115] (**) intel(0): Option "TearFree" "true"
/var/log/Xorg.0.log:[     4.116] (**) intel(0): TearFree enabled
/var/log/Xorg.1.log:[  8395.345] (**) intel(0): Option "TearFree" "true"
/var/log/Xorg.1.log:[  8395.346] (**) intel(0): TearFree enabled
/var/log/Xorg.2.log:[ 13185.115] (==) intel(0): TearFree disabled
/var/log/Xorg.3.log:[291080.180] (==) intel(0): TearFree disabled

Here are also my Xorg.2.log and Xorg.3.log, since that's where TearFree is reported to be disabled.

Offline

#11 2017-10-01 14:05:49

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,104

Re: Intel graphics TearFree disabled despite xorg.conf

One of them is quite old, the other could be from a bumblebee invocation or similar, check with xrandr which xorg session is assigned to your adapter/card, which is usually 0 which means that it would be enabled.

Offline

#12 2017-10-01 18:28:54

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,314

Re: Intel graphics TearFree disabled despite xorg.conf

Actually both logs predate comment #8, so not much of a surprise here.

I'll take the opportunity to elaborate on the exisinting config files.
You're indeed right that you cannot have two Device IDs for the same piece of HW, resp. only one is used (and the backlight is first and even better (card0, though i'm not sure whether the intel driver cares) match .

Offline

Board footer

Powered by FluxBB