Posts

Showing posts with the label linux

Editor disaster ... update

So I was digging a little bit more into my issue of TCP/IP on Linux and I found out about socket option: TCP_NODELAY One of description in given link is: 2. For this to be used effectively, applications must avoid doing small, logically related buffer writes. Because TCP_NODELAY is enabled, these small writes will make TCP send these multiple buffers as individual packets, which can result in poor overall performance. ... In my case default behavior created delay because I was basing (probably stupidly) my whole system on fact that each message will be delivered as soon as possible. This option switched everything to expected from me behavior. Of course I don't saying this is solution to all problems and probably introduce me some issues somewhere else. I'm still feel like novice in serious network programming :/ But well as far as project go I'm really happy with all this improvements and knowledge that I gain in meantime of doing them. But well time to re...

Bug in rendering of editor

Image
Week ago I wrote post about porting editor to linux . I was mentioning there this weird bug : Editor works (Yes I know that drawing area is shifted to right. This is one of bugs that I still don't know why happening and I already spend on it like two days :/) Which is really nicely visible on this screen shoot: I spend on it like three days and still wasn't able to figure out why it happening or find any trace of it. I tried to ignore it but after noticing similar issues with blender and chrome I decided on desperate step.  From my experience I know that upgrades of system never ending good. This is the reason why I try avoid them as much as it possible. But well sometimes you need to do stupid things so I decided to update my Linux (Ubuntu 14.04) and graphics card drivers (fglrx-14.301) to newest versions. What went good: I was nicely surprised that system upgrade went without bigger problems. There were two steps 14.04 -> 14.10 -> 15.04 which took ...