WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: xf86-video-intel problems  (Read 3287 times)

Offline edgardogho

  • Newbie
  • *
  • Posts: 27
xf86-video-intel problems
« on: July 08, 2015, 01:05:39 PM »
Hi,
I have been using TC5.2 for a while. I bought a new laptop and it requires a newer X (since I get weird stuff on Xorg 1.14).
I installed a clean TC6.3 on it, and installed Xorg.

I notice a problem when I enable xf86-video-intel. I attach a picture of VLC capturing my webcam (this same problem happens on Skype, since it uses V4L for the cam). You can see that the color is distorted (like its on a different coloring scheme and fill with artifacts).

If I remove the intel driver, modeset kicks in and I have no problems.
I attach both Xorg.0.log and both pictures.

Is there something I can try to make the intel drive behave correctly?
I can have VLC change the video output (if I choose Open GL X11 video is OK, but with default XVideo XCB I get the same problem), but this does not help with Skype and other stuff using V4L.

I would appreciate any inputs, thanks!

Offline edgardogho

  • Newbie
  • *
  • Posts: 27
Re: xf86-video-intel problems
« Reply #1 on: July 08, 2015, 01:06:33 PM »
Have to add the other image in a separate post to avoid the 192K restriction.
This is the image showing the problem.

Offline edgardogho

  • Newbie
  • *
  • Posts: 27
Re: xf86-video-intel problems
« Reply #2 on: July 08, 2015, 01:46:48 PM »
I guess I should have tried this before posting originally,

I tried to compile a newer version of xf86-video-intel but I realized that TC63 uses the last one.
But I read on LFS that SNA (specially with latest kernel) seems to cause some problems so I tried using UXA as accelMethod and it works ok.

I've always used SNA on previous computers so I'm a little uneasy of using UXA now, but I guess time will tell.


Offline edgardogho

  • Newbie
  • *
  • Posts: 27
Re: xf86-video-intel problems
« Reply #3 on: July 09, 2015, 09:18:48 AM »
Using UXA acceleration things are not great.
When I connect the laptop to an HDMI monitor video will not refresh anymore.

Using the modeset driver supports HDMI with no problems, but I can't change the scale (using Xrandr --output XXXXXX --mode XXXXXX -- scale YYYYYxZZZZZZ) and I need to do that on my TV since it supports only HD (not full HD) and the resolution needs to be scaled.

I looked for a newer version of xf86-video-intel and there is none.
Since rendering using OpenGL seems to work ok, is there any way to change the default video render on X?


Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Re: xf86-video-intel problems
« Reply #4 on: July 09, 2015, 09:36:43 AM »
Code: [Select]
Section "Device"
Identifier "Intel Graphics"
Driver "intel"
Option "AccelMethod" "uxa"
EndSection

Substitute sna, etc for uxa

Offline edgardogho

  • Newbie
  • *
  • Posts: 27
Re: xf86-video-intel problems
« Reply #5 on: July 09, 2015, 09:57:24 AM »
Juanito, Thanks for replying.
I did try UXA and it worked but UXA does not handle HDMI output very well (its laggy).

I managed to git clone the master for xf86-video-intel and executed autoconf on my ubuntu machine. Then I copied the folder to my TC6.3 machine and I follow the instructions used to compile xf86-video-intel 2.99.917 posted on the repo. I then baked a tcz from the files and using that seems to solve all the problems (I get no weird color scheme or artifacts rendering with the default Xv on VLC).

I saw some commits that I think might be addressing my problem (around March). I think its something very specific between xf86-video-intel 2.99.917 and my video card (Broadwell based).
I have the TCZ up to today if someone needs it (or you can just follow what I did). I guess the best thing would be to wait until xf86-video-intel releases a new version (maybe xf86-video-intel 2.99.918) and submit the TCZ for everybody else.




Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10957
Re: xf86-video-intel problems
« Reply #6 on: July 09, 2015, 09:58:05 AM »
Since rendering using OpenGL seems to work ok, is there any way to change the default video render on X?

If you mean VLC's output (GL vs XV), that is application-specific.
The only barriers that can stop you are the ones you create yourself.

Offline edgardogho

  • Newbie
  • *
  • Posts: 27
Re: xf86-video-intel problems
« Reply #7 on: July 09, 2015, 10:07:05 AM »

If you mean VLC's output (GL vs XV), that is application-specific.

Yes. VLC is not the problem since I can set another default, but Skype uses Xv and I had that problem with it.
Luckily the master branch of the driver seems to have a fix for the problem.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Re: xf86-video-intel problems
« Reply #8 on: July 09, 2015, 10:11:20 AM »
I guess the best thing would be to wait until xf86-video-intel releases a new version (maybe xf86-video-intel 2.99.918) and submit the TCZ for everybody else.

Thanks for the offer - I'm looking out for it too, so I'll take care of it.

Offline edgardogho

  • Newbie
  • *
  • Posts: 27
Re: xf86-video-intel problems
« Reply #9 on: July 09, 2015, 01:04:55 PM »
I leave this link as a reference:
https://bugs.freedesktop.org/show_bug.cgi?id=89807
It describes the problem and the patch to fix it.