Embedded Intel Atom® Processors
Technological Conversations about Intel Atom® Hardware, Software, Firmware, Graphics
1152 Discussions

Tearing issue on IEGD 10.3.1 driver

HWada1
Beginner
1,301 Views

Problem:

 

When I run juggle(one of Xscreensaver), the animation is looked like tearing.

 

So I add a parameter ("ALL/1/General/TearFB" "0" ) to xorg.conf.

 

After restarting X, juggle is still looking like tearing.

 

Please give me advice for resolving this problem.

System configuration are following,

 

- ATOM Z510

 

- Kernel: 2.6.34

 

- X: 1.3.0

 

- IEGD: 10.3.1

 

- LCD Panel: 800x600,24bit

The contents of xorg.conf are following,

Section "Device" 

Identifier "Intel_IEGD"

 

Driver "iegd"

 

BusID "0:2:0"

 

Screen 0

 

Option "PcfVersion" "1792"

 

Option "ConfigId" "1"

 

Option "PortDrivers" "lvds"

 

Option "ALL/1/name" "8x6"

 

Option "ALL/1/General/PortOrder" "40000"

 

Option "ALL/1/General/DisplayConfig" "1"

 

Option "ALL/1/General/DisplayDetect" "1"

 

Option "ALL/1/Port/4/General/name" "LVDS8x6"

 

Option "ALL/1/Port/4/General/Edid" "1"

 

Option "ALL/1/Port/4/General/EdidAvail" "3"

 

Option "ALL/1/Port/4/General/EdidNotAvail" "5"

 

Option "ALL/1/Port/4/General/Edid" "1"

 

Option "ALL/1/Port/4/FpInfo/bkltmethod" "0"

 

Option "ALL/1/Port/4/Dtd/1/PixelClock" "40000"

 

Option "ALL/1/Port/4/Dtd/1/HorzActive" "800"

 

Option "ALL/1/Port/4/Dtd/1/HorzSync" "40"

 

Option "ALL/1/Port/4/Dtd/1/HorzSyncPulse" "128"

 

Option "ALL/1/Port/4/Dtd/1/HorzBlank" "256"

 

Option "ALL/1/Port/4/Dtd/1/VertActive" "600"

 

Option "ALL/1/Port/4/Dtd/1/VertSync" "1"

 

Option "ALL/1/Port/4/Dtd/1/VertSyncPulse" "4"

 

Option "ALL/1/Port/4/Dtd/1/VertBlank" "28"

 

Option "ALL/1/Port/4/Dtd/1/Flags" "0xc020000"

 

Option "ALL/1/Port/4/Attr/27" "0"

 

Option "ALL/1/Port/4/Attr/26" "24"

 

Option "ALL/1/Port/4/Attr/60" "1"

 

Endsection

I 've attached the "juggle" program. Please try it by using this.

Best Regards,

H.Wada

0 Kudos
1 Solution
Kirk_B_Intel
Employee
383 Views

That option is a little confusing. By default the driver will wait for vertical retrace before doing a DRIVER based flip of the background to foreground buffer. By setting:

Option "ALL/1/General/tearfb" "0"

You will allow the driver to flip whenever commanded. Unfortunately the driver is NOT in control of every page flip. Without looking at the code, my guess is the program itself is directly commanding an immediate page flip (OGL can do that) and that is cauing the tearing. You would need to add a sync to the vertical refresh to the code itself to correct that issue.

Since it is just a demo, I would not worry about it too much as this sort of progam *GLXGears is another "bad" program) is not a very realistic use case.

Hope this helps.

View solution in original post

0 Kudos
2 Replies
Kirk_B_Intel
Employee
384 Views

That option is a little confusing. By default the driver will wait for vertical retrace before doing a DRIVER based flip of the background to foreground buffer. By setting:

Option "ALL/1/General/tearfb" "0"

You will allow the driver to flip whenever commanded. Unfortunately the driver is NOT in control of every page flip. Without looking at the code, my guess is the program itself is directly commanding an immediate page flip (OGL can do that) and that is cauing the tearing. You would need to add a sync to the vertical refresh to the code itself to correct that issue.

Since it is just a demo, I would not worry about it too much as this sort of progam *GLXGears is another "bad" program) is not a very realistic use case.

Hope this helps.

0 Kudos
HWada1
Beginner
383 Views

Kirk-san,

Thank you for your kindness response and advice !!

Best Regards,

H.Wada

0 Kudos
Reply