BZR 5101: GAL lines rendering problem

Bug #1362289 reported by User12020310012
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xorg (Ubuntu)
Expired
Low
Unassigned

Bug Description

Hi,

rendering of lines seems off on corners.
Highlighted wires seem ok.

Application: kicad
Version: (2014-08-26 BZR 5101)-product Release build
wxWidgets: Version 2.8.12 (release,Unicode,compiler with C++ ABI 1002,GCC 4.8.2,wx containers,compatible with 2.6)
Platform: Linux 3.13.0-35-generic x86_64, 64 bit, Little endian, wxGTK
Boost version: 1.54.0
         USE_WX_GRAPHICS_CONTEXT=OFF
         USE_WX_OVERLAY=OFF
         KICAD_SCRIPTING=OFF
         KICAD_SCRIPTING_MODULES=OFF
         KICAD_SCRIPTING_WXPYTHON=OFF
         USE_FP_LIB_TABLE=HARD_CODED_ON
         BUILD_GITHUB_PLUGIN=ON

Tags: cern gal
Revision history for this message
User12020310012 (user12020310012-deactivatedaccount) wrote :
Revision history for this message
User12020310012 (user12020310012-deactivatedaccount) wrote :

"Same" thing noticable in silkscreen. Black triangle (on the end of line)
My OpenGL version 2.1

Revision history for this message
User12020310012 (user12020310012-deactivatedaccount) wrote :

Something to do with:
OPENGL_GAL::drawStrokedSemiCircle, OPENGL_GAL::drawFilledSemiCircle

Revision history for this message
Maciej Suminski (orsonmmz) wrote :

Hi Žiga,

I am afraid that you may experience the same bug as described here:
https://bugs.launchpad.net/kicad/+bug/1342734
This is related to video drivers and I cannot do much about it. Just to be sure - what video card and drivers do you use?

Regards,
Orson

Changed in kicad:
assignee: nobody → Maciej Sumiński (orsonmmz)
Revision history for this message
User12020310012 (user12020310012-deactivatedaccount) wrote :

Hi Orson,

Yes, that is the same thing. Sorry for a duplicate.
Glad I can use OpenGl with your pns router on Linux (couldn't on Win)

I am still on my old Thinkpad T60
with ATI Radeon X1300 (driver radeon)
https://help.ubuntu.com/community/RadeonDriver

Thank you for explanation!

Revision history for this message
User12020310012 (user12020310012-deactivatedaccount) wrote :

What happens when a part of line is highlighted?
It seems as if then it renders ok.
https://launchpadlibrarian.net/183307164/2014-08-27-204012_1920x1050_scrot.png

Revision history for this message
Maciej Suminski (orsonmmz) wrote :

Most of items is drawn using Vertex Buffer Objects. They are stored in video memory and are fast to render, but slower to change (you have to send data from RAM to video memory first).
Highlighted items are likely to be changed, therefore they are drawn using Vertex Arrays. It means they are stored in RAM and sent to video card every time they are drawn. There is no point in storing them in video memory until they are deselected, so probably they will not be changed for sometime.
It is done on purpose to increase the performance. I would rather avoid drawing everything with Vertex Arrays, although it could be a workaround for ATI cards.

Regards,
Orson

Revision history for this message
User12020310012 (user12020310012-deactivatedaccount) wrote :

Thank you again! Understood.
Please continue with good work! This things for really old computers don't matter.

Good day, Žiga

Revision history for this message
penalvch (penalvch) wrote :

Žiga Stegu, thank you for reporting this and helping make Ubuntu better.

Could you please run the following command once from a terminal as it will automatically gather and attach updated debug information to this report:
apport-collect -p xorg 1362289

Please ensure you have the package xdiagnose installed, and that you click the Yes button for attaching additional debugging information.

When reporting xorg related bugs in the future, please do so via the above method. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs.

affects: kicad → xorg (Ubuntu)
Changed in xorg (Ubuntu):
assignee: Maciej Sumiński (orsonmmz) → nobody
status: New → Incomplete
importance: Undecided → Low
Revision history for this message
User12020310012 (user12020310012-deactivatedaccount) wrote :

Sorry. I can not do that currently. I have changed my computer setup.
I still own the old laptop that had issues, but would need some time again to install OS and KiCad

How important is that debug data for you?

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for xorg (Ubuntu) because there has been no activity for 60 days.]

Changed in xorg (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.