libera/#devuan/ Saturday, 2019-06-08

premobossHi. Pc dualcore, 4GB ram, graphic card ATH HD5770, last stable verion of Devuan. I use Kicad 5.0.2. PRoblem: wher i do on eeschema zoom in / zoom out, the refresh os VERY slow, it take 3-4 to zoom after i set the command. On the same hardware, same verdsion ok kicad BUT under Windows 7, the zoom acts quite immediately. So, it is not a matter of hardware, is a matter of software. how can i see all is ok under Devuan for graphic?00:45
specingpremoboss: enable/disable acceleration in kicad?00:47
premobossspecing, wait oi controll.00:47
premobossspecing, i cannot find that option, can you point me aut?00:50
specingno idea where it is, I was just offered it in a popup00:52
plasma41premoboss: I actually own the HD 5770. That GPU doesn't support hardware acceleration w/o a firmware loaded by the kernel. Unfortunately, the only existing firmware for that GPU is non-free. https://h-node.org/videocards/view/en/809/Advanced-Micro-Devices--AMD--nee-ATI-Juniper--Radeon-HD-5700-Series-/1/1/undef/undef/undef/undef/video-card-works/577000:52
premobossthat drive me crazy! AAH!00:53
premobossplasma41, the same for HD5780, i suppose. I own that also.00:54
premobossso, or i change videocard or i istall non.-free driver :-/00:54
plasma41premoboss: Those are your options, yes. https://libregamewiki.org/3D_hardware_acceleration00:57
plasma41I really hope when Intel releases their first discrete GPUs next year that they will be fully functional using exclusively free software.00:58
premobossplasma41, dmesg report me that are loaded some firmware JUNIPER_pfp.bin and others. i must dig looking for non-free firmware00:59
specingplasma41: I doubt that, current intel iGPUs require proprietary firmware01:00
specingWill have to wait for IBM to start making GPUs :)01:00
plasma41specing: That would be nice.01:01
plasma41I really want a Raptor Blackbird, but I don't have the discretionary income atm.01:03
premobossi installed firmware-linux-nonfree01:04
specingplasma41: :)01:10
specingMe too01:11
specingI have the money, but no use for it01:11
DonkeyHoteiplasma41: intel did have discrete GPUs in the past, the i7xx series01:11
premobossi installed firmware-linux-nonfree and reboot, but kicad zoom speed does not increment.01:16
gnarfacepremoboss: make sure you also have mesa installed01:59
gnarfaceand you may need to make some xorg.conf customizations to force the right driver to load02:00
premobossgnarface, i check02:00
gnarfacebut check on mesa first02:00
gnarfacei am not sure you installed the right firmware package either02:01
gnarfacethere is also firmware-amd-graphics in non-free02:02
premobosswhat firmware you think about, gnarface ?02:02
gnarfacefirmware-linux-free and firmware-amd-graphics both come to mind02:02
premobossfiboth are installed02:03
premobossboth .deb are installed02:03
gnarfaceok, if you're still missing any firmware, you should see complaints about them in the output of dmesg at boot time02:03
gnarfaceif you also installed mesa, then reboot and check that as well as the Xorg.0.log but maybe that's all that was missing and it will work now02:04
premobossi istalled, go for reboot and back here, see you later02:04
premobossgnarface, i rebooted, but no progress. kicad still slow.02:10
premobossdmesg report that 4 files radeon/JUNIPER_xxx.bin and radeon/CYPRESS_uvd.bin are loaded.02:12
premobossi installed also mesa-opencl-icd:amd64 mesa-utils mesa-utils-extra mesa-va-drivers:amd64  mesa-vdpau-drivers:amd64  mesa-vulkan-drivers02:16
gnarfacepremoboss: can you paste your xorg log to paste.debian.net?02:48
gnarfacesorry, had to step away for a bit there02:49
premobossyes02:49
premobosswait02:49
premobosshttp://paste.debian.net/1086925/02:50
gnarfacepremoboss: looks like it's working.  i can't be sure what's wrong.02:55
gnarfacewhat happens if you run this?  "vblank_mode=0 glxgears"02:55
gnarfacei'm not familiar with kicad but maybe something else is slowing it down now.  maybe we fixed the opengl problem but maybe there's still another.03:01
premobossa gearbox appear an the 3 weels run smooth03:04
premobossi start to think is somethin gelated to kica, not related to the OS or GPU driver03:05
gnarfacewhat type of framerates do you get out of glxgears?03:06
gnarfaceit should be printing to the console?03:06
premoboss157903:07
gnarfacedepending on your CPU it could be a power management issue if you're using the wrong cpu frequency governor03:07
gnarface1579 puts it right in the range i can't be sure of that either03:07
gnarfacei'm not familiar enough with the performance of that GPU03:07
premobossok03:08
gnarfacewhat do you see as the contents of this file? /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor03:08
premobossondemand03:09
gnarfaceif it was a lot lower than 1579 i would be sure that OpenGL acceleration still was not working.  if it was very much higher than 1579 i would be sure it is working.  1579 could be either.03:09
gnarfacethere should be a /sys/devices/system/cpu/cpu# directory for each CPU core03:10
premobossnight time here, gotta sleep03:11
gnarfaceyou can change the scaling_governor property to the fast one by changing the contents of all those files to "performance"03:11
gnarfacethat might speed up kicad03:11
gnarfaceif it does, you can probably adjust ondemand to behave better for it03:12
gnarfaceanyway, good luck, let me know if you find out anything else03:12
gnarfacemaybe kicad has some useful log output. maybe it needs a different version of mesa03:12

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!