Bug 102312 - Rendering in v5 is terrible, a bit in v4, non-existant in v3
Summary: Rendering in v5 is terrible, a bit in v4, non-existant in v3
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
5.2.4.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: VCL-OpenGL
  Show dependency treegraph
 
Reported: 2016-09-20 17:15 UTC by Aprax
Modified: 2017-01-05 13:58 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Writer Rendering issue (103.35 KB, image/png)
2016-09-20 17:15 UTC, Aprax
Details
info in Help > About (21.72 KB, image/png)
2016-09-20 22:46 UTC, Aprax
Details
LO rendering good (76.76 KB, image/png)
2016-09-20 22:48 UTC, Aprax
Details
LO rendering bad1 (59.69 KB, image/png)
2016-09-20 22:48 UTC, Aprax
Details
LO rendering bad2 (73.26 KB, image/png)
2016-09-20 22:49 UTC, Aprax
Details
LO rendering bad3 (66.23 KB, image/png)
2016-09-20 22:50 UTC, Aprax
Details
AMD needs Net 4.5 (25.29 KB, image/png)
2016-09-22 11:33 UTC, Aprax
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aprax 2016-09-20 17:15:23 UTC
Created attachment 127481 [details]
Writer Rendering issue

While testing v 5.2.1.2 re a different bug, I found that the rendering in Writer is still very bad but can be overcome with some patience by re-sizing the window.
I also tested with v 4.4.4.3 and v 3.3.0.4 and there were no problems.
This issue began with the first v 5 releases where it was impossible to use an odt file, as soon as the rendering was 'corrected' by re-sizing, it mangled everything again before I could perform my task. I was told that this had something to do with OpenGL but why then does v 3 work flawlessly, unless LO contains it's own version of OpenGL rather than use a standard OpenGL available through my video card drivers. If this is the case, please revert to the OpenGL in v 3.

See attachment of rendering problem.
Comment 1 V Stuart Foote 2016-09-20 20:00:55 UTC
Post the details from the text from the Help -> About LibreOffice dialog

What build of Windows are you working on?

What are the drivers for your Graphics card?
--run msinfo32.exe from run box--and copy/paste everything down to the "Resolution" stanza of the Component -> Display panel.

Then please retest with OpenGL disabled--stable?
Tools -> Options -> View: uncheck "Enable OpenGL for all rendering (on restart)"
Comment 2 Aprax 2016-09-20 22:45:26 UTC
help > About > LibreOffice - see attachment:
LibreOffice Help About.png

and examples of odt and ods created with v5 which start as good then turn bad
LO rendering good.png = the way it should look all the time
LO rendering bad1.png 
LO rendering bad2.png 
LO rendering bad3.png 
=========================================

Windows Build is: W7 SP1 64bit 


msinfo.exe > Components > Display list:
========================================================
Name	Intel(R) HD Graphics
PNP Device ID	PCI\VEN_8086&DEV_0102&SUBSYS_D0001458&REV_09\3&13C0B0C5&0&10
Adapter Type	Intel(R) HD Graphics Family, Intel Corporation compatible
Adapter Description	Intel(R) HD Graphics
Adapter RAM	(2,084,569,088) bytes
Installed Drivers	igdumd64.dll,igd10umd64.dll,igd10umd64.dll,igdumd32,igd10umd32,igd10umd32
Driver Version	9.17.10.3347
INF File	oem85.inf (iSNBD0 section)
Color Planes	Not Available
Color Table Entries	4294967296
Resolution	1920 x 1080 x 60 hertz
Bits/Pixel	32
Memory Address	0xFB400000-0xFB7FFFFF
Memory Address	0xD0000000-0xDFFFFFFF
I/O Port	0x0000FF00-0x0000FF3F
IRQ Channel	IRQ 4294967291
Driver	c:\windows\system32\drivers\igdkmd64.sys (9.17.10.3347, 5.11 MB (5,363,200 bytes), 2015-03-21 17:08)
	
Name	AMD Radeon HD 6450
PNP Device ID	PCI\VEN_1002&DEV_6779&SUBSYS_25471458&REV_00\4&2D68EC9A&0&0008
Adapter Type	AMD Radeon Graphics Processor (0x6779), Advanced Micro Devices, Inc. compatible
Adapter Description	AMD Radeon HD 6450
Adapter RAM	1.00 GB (1,073,741,824 bytes)
Installed Drivers	aticfx64.dll,aticfx64.dll,aticfx64.dll,aticfx32,aticfx32,aticfx32,atiumd64.dll,atidxx64.dll,atidxx64.dll,atiumdag,atidxx32,atidxx32,atiumdva,atiumd6a.cap,atitmm64.dll
Driver Version	9.12.0.0
INF File	oem25.inf (ati2mtag_NI section)
Color Planes	Not Available
Color Table Entries	Not Available
Resolution	Not Available
Bits/Pixel	Not Available
Memory Address	0xE0000000-0xEFFFFFFF
Memory Address	0xFBAC0000-0xFBADFFFF
I/O Port	0x0000CE00-0x0000CEFF
IRQ Channel	IRQ 4294967290
I/O Port	0x000003B0-0x000003BB
I/O Port	0x000003C0-0x000003DF
Memory Address	0xA0000-0xBFFFF
Driver	c:\windows\system32\drivers\atikmpag.sys (8.14.1.6290, 540.00 KB (552,960 bytes), 2012-12-19 14:32)
===================================================================
Retest with: 
Tools > Options > View > "Enable OpenGL for all rendering (on restart)" was already unchecked = disabled
============================================
Comment 3 Aprax 2016-09-20 22:46:55 UTC
Created attachment 127489 [details]
info in Help > About
Comment 4 Aprax 2016-09-20 22:48:19 UTC
Created attachment 127490 [details]
LO rendering good

This is how it looks when not messed up
Comment 5 Aprax 2016-09-20 22:48:57 UTC
Created attachment 127491 [details]
LO rendering bad1
Comment 6 Aprax 2016-09-20 22:49:32 UTC
Created attachment 127492 [details]
LO rendering bad2
Comment 7 Aprax 2016-09-20 22:50:06 UTC
Created attachment 127493 [details]
LO rendering bad3
Comment 8 V Stuart Foote 2016-09-20 23:06:33 UTC
So do you have any better results with an install of the native 64-bit build?

http://downloadarchive.documentfoundation.org/libreoffice/old/5.2.1.2/win/x86_64/
Comment 9 Aprax 2016-09-21 11:44:07 UTC
(In reply to V Stuart Foote from comment #8)
> So do you have any better results with an install of the native 64-bit build?
> 
> http://downloadarchive.documentfoundation.org/libreoffice/old/5.2.1.2/win/
> x86_64/

No, the issue remains, whether on a pre-existing odt or a brand new odt created with the 64 bit version.
Comment 10 V Stuart Foote 2016-09-21 12:27:08 UTC
Doesn't seem to be an OpenGL issue -- looking at the age of those GPUs/drivers did not expect them to have passed the OpenGL blacklist (i.e. you'd have to force OpenGL rendering).

You probably should upgrade the Intel HD driver to 9.17.10.4229 [1]

And the 9.12.0.0 AMD driver is toast as well, you might see if the 15.7.1 build
is stable for you. [2]

Otherwise, while you wont like the performance (all rendering will shift to CPU), perhaps check if disabling your GPU hardware acceleration and anti-alaising eliminate the vertical tearing of your document canvas.

Done from Tools -> Options -> View and uncheck the
Use hardware acceleration
Use anti-alaising

=-ref-=
1. https://downloadcenter.intel.com/download/24971/Intel-HD-Graphics-Driver-for-Windows-7-8-64-bit

2. http://support.amd.com/en-us/download/desktop/legacy?product=legacy3&os=Windows+7+-+64
Comment 11 Aprax 2016-09-22 11:31:40 UTC
(In reply to V Stuart Foote from comment #10)
> Doesn't seem to be an OpenGL issue -- looking at the age of those
> GPUs/drivers did not expect them to have passed the OpenGL blacklist (i.e.
> you'd have to force OpenGL rendering).
> 
> You probably should upgrade the Intel HD driver to 9.17.10.4229 [1]
> 
> And the 9.12.0.0 AMD driver is toast as well, you might see if the 15.7.1
> build
> is stable for you. [2]
> 
 
I haven't updated Windows since 2013-11 and have only .Net 3.5 so when I tried to install the AMD Catalyst driver package I got a lot of "Not found..." pop-ups, which may be related to wanting .Net 4.5. see attachment

Now that MS has removed the nag screens to update W7 to W10 I'll try Windows Updates and get .Net 4.5 and then retry AMD 15.7.1

I haven't tried the Intel update yet.

I'm on cellular so the night-time is best for large WU downloads and will do this tonight about 1am when few are using their cell phones (which get priority over internet).

J
Comment 12 Aprax 2016-09-22 11:33:16 UTC
Created attachment 127544 [details]
AMD needs Net 4.5

AMD needs Net 4.5 to upgarde to 15.7.1 driver package which you suggested
Comment 13 Aprax 2016-10-02 18:50:10 UTC
I had some trouble with Windows Update but finaly got completely up-to-date.
I installed the Intel and AMD as you suggested and LO 5.2.2.2 64 bit but still have rendering issues both with OpenGL Enabled and Disabled. In the end I unticked all the boxes covering "Use hardware acceleration" down to "Force OpenGL" and still had problems so I've reverted to LO 4.4.4.3 again.
Here's the list which you asked for earlier showing the new AMD stuff...
==========================================
Name	Intel(R) HD Graphics
PNP Device ID	PCI\VEN_8086&DEV_0102&SUBSYS_D0001458&REV_09\3&13C0B0C5&0&10
Adapter Type	Intel(R) HD Graphics Family, Intel Corporation compatible
Adapter Description	Intel(R) HD Graphics
Adapter RAM	(2,084,569,088) bytes
Installed Drivers	igdumd64.dll,igd10umd64.dll,igd10umd64.dll,igdumd32,igd10umd32,igd10umd32
Driver Version	9.17.10.4229
INF File	oem48.inf (iSNBD0 section)
Color Planes	Not Available
Color Table Entries	4294967296
Resolution	1920 x 1080 x 60 hertz
Bits/Pixel	32
Memory Address	0xFB400000-0xFB7FFFFF
Memory Address	0xD0000000-0xDFFFFFFF
I/O Port	0x0000FF00-0x0000FF3F
IRQ Channel	IRQ 4294967291
Driver	c:\windows\system32\drivers\igdkmd64.sys (9.17.10.4229, 5.13 MB (5,375,448 bytes), 2015-05-26 21:02)
	
Name	AMD Radeon HD 6450
PNP Device ID	PCI\VEN_1002&DEV_6779&SUBSYS_25471458&REV_00\4&2D68EC9A&0&0008
Adapter Type	AMD Radeon Graphics Processor (0x6779), Advanced Micro Devices, Inc. compatible
Adapter Description	AMD Radeon HD 6450
Adapter RAM	1.00 GB (1,073,741,824 bytes)
Installed Drivers	aticfx64.dll,aticfx64.dll,aticfx64.dll,aticfx32,aticfx32,aticfx32,atiumd64.dll,atidxx64.dll,atidxx64.dll,atiumdag,atidxx32,atidxx32,atiumdva,atiumd6a.cap,atitmm64.dll
Driver Version	15.200.1062.1004
INF File	oem25.inf (ati2mtag_NI section)
Color Planes	Not Available
Color Table Entries	Not Available
Resolution	Not Available
Bits/Pixel	Not Available
Memory Address	0xE0000000-0xEFFFFFFF
Memory Address	0xFBAC0000-0xFBADFFFF
I/O Port	0x0000CE00-0x0000CEFF
IRQ Channel	IRQ 4294967290
I/O Port	0x000003B0-0x000003BB
I/O Port	0x000003C0-0x000003DF
Memory Address	0xA0000-0xBFFFF
Driver	c:\windows\system32\drivers\atikmpag.sys (8.14.1.6463, 649.50 KB (665,088 bytes), 2016-10-02 13:47)
Comment 15 Aprax 2016-10-14 13:31:31 UTC
(In reply to Buovjaga from comment #14)
> Aprax: maybe try this:
> https://wiki.documentfoundation.org/
> UserProfile#Resolving_corruption_in_the_user_profile

OK, I'll wait until I have a system backup tomorrow morning, then I'll uninstall v 4, rename all the folders, etc. that are not removed by the uninstall to get a completely clean system.
Then I'll install v 5 as a pristine new install and make my custom changes and hope for the best.
Thanks for the tip...
J
Comment 16 tommy27 2016-10-19 20:45:57 UTC
any news about profile resetting? is the bug still there?
status -> NEEDINFO
Comment 17 Aprax 2016-10-21 11:21:53 UTC
(In reply to tommy27 from comment #16)
> any news about profile resetting? is the bug still there?
> status -> NEEDINFO

Yes, so I've reverted to 4.4.3.
Could this be 'fixed' by buying a new mother board and video card with 'current' software drivers? I'd hate to do that and find that the problem still exists, and I don't really want to spend the money for a new system because I'm sure a new MB would need new memory as well. Then there's also the problem with re-installing all my software on the new system...a very scary prospect.
Comment 18 Dennis Roczek 2016-10-23 12:11:25 UTC
>Could this be 'fixed' by buying a new mother board and video card with 'current' software drivers?

Very likely. But I guess the problem has to be fixed some other way. Seeing the last screenshot (the AMD install) I guess the problem is lying at some other place. Just a guess: as you haven't installed any windows update "since 2013-11" the system might be installed ages longer (5+years). I guess you should try to reinstall the whole computer simply (which results in the same fears you have formulated in the last comment). You could try to do it on a separated hard disk to easily switch back for the case the procedure didn't fixed your problem.

Moreover you really should get your system patched with windows updates as it is now insecure and you do use it in the internet. :-(
Comment 19 Aprax 2016-10-23 16:15:18 UTC
(In reply to Dennis Roczek from comment #18)
> >Could this be 'fixed' by buying a new mother board and video card with 'current' software drivers?
> 
> Very likely. But I guess the problem has to be fixed some other way. Seeing
> the last screenshot (the AMD install) I guess the problem is lying at some
> other place. Just a guess: as you haven't installed any windows update
> "since 2013-11" the system might be installed ages longer (5+years). I guess
> you should try to reinstall the whole computer simply (which results in the
> same fears you have formulated in the last comment). You could try to do it
> on a separated hard disk to easily switch back for the case the procedure
> didn't fixed your problem.
> 
> Moreover you really should get your system patched with windows updates as
> it is now insecure and you do use it in the internet. :-(

see my post of Oct 2nd 
- I finally completed all the Windows updates available on that date and I also updated to the AMD & Intel drivers before the test of LO v 5 on Oct 2nd.

see my post of Oct 14 
- I completed the uninstall of v 4 followed by the install of v 5 and the problem persisted, which is why I responded on Oct 21 that I'd reverted to v 4.
(I realize that I should have posted my results from Oct 14 on Oct 14 and I apologize for needing the nudge on Oct 21.)

In the end, v4 satisfies my requirements, I only use writer and calc, so I'm not worried about keeping LO up-to-date with v5, i.e. v5 doesn't offer anything that I need or want that's not in V 4 (unless v5 has better performance loading, etc. which isn't a big deal for me.). 

Doing a clean install of W7 plus all the other apps which require de-registration / re-registration of licences wouldn't give me a thrill either, especially if the problem was still there.

I admit that there are other requests that I've made that may be satisfied in future versions of LO but they've been waiting for so long now that I'm not confident that they ever will be available as an incentive to switch to v5 (or v6...).
Comment 20 Aprax 2017-01-05 13:47:48 UTC
Well spending $195 for a new nVidia GTX1050 video card and changing LO View settings to tick the boxes for: 
[x] use hardware acceleration, 
[x] use anti-aliasing and 
[x] use OpenGL 
solved my problem. Rendering is now rock solid.

The only issue, not worth a new bug, is that the LO Logo that appears when opening a document is not cleared automatically, I have to drag the edge of the document a tiny bit and it disappears.

I just noticed that [ ] use hardware acceleration is now unticked and greyed out.

Now my sort settings are remembered again, thanks for fixing that.

So do you close this bug and tell anyone with the problem to buy a new video card?

J
Comment 21 Aprax 2017-01-05 13:51:31 UTC
I'll call it Resolved, just not by you...
Comment 22 Buovjaga 2017-01-05 13:58:14 UTC
(In reply to Aprax from comment #20)
> I just noticed that [ ] use hardware acceleration is now unticked and greyed
> out.
> 
> So do you close this bug and tell anyone with the problem to buy a new video
> card?

That is great. The HW accel being grey is just because you have OpenGL enabled successfully - HW accel is included therefore, so would be superfluous to have active.

Your idea sounds like a great plan to do some cleaning in the bug tracker..