IRC Log Viewer » #firebreath » 2012-10-18

IRC Nick Time (GMT-7) Message
taxilian 00:10 jshanab: sometimes issues like that are easier to debug with a debug build of firefox; it's a bit of a bear to set up initially, but by running it in debug mode you get a lot more console debug messages while firefox is running and often that can be helpful in seeing what crashed it. Of course, attaching a debugger to the plugin is a good idea too
hitesh 04:10 Hello
I am getting the flickering issue
while using the firebreath plugin
please can you tell me all soultion
how to fix it
jshanab 09:10 good morning
jshanab 09:10 Does anyone know how to ad a firefox preference (dom.ipc.plugins.enabled.npmypluginname.dll) during install
JuanDaugherty 12:10 taxilian, you didn't move to server4you did you?
looks like the bad word of mouth reichi mentioned may be well founded.
taxilian 12:10 is it down?
JuanDaugherty 12:10 you did in fact switch to them?
taxilian 12:10 no
this means something at my house is down
JuanDaugherty 12:10 didn't think so
taxilian 12:10 dont' have funds for that at the moment
JuanDaugherty 12:10 looks like I'll have to move again, hate that, can't even reach them
good to know "crap" is OK :)
reichi 12:10 hmm
sorry for that
taxilian 12:10 lol
it's pretty strong for me, but you know… =]
and dont' start talking about heck… that's where you end up if you dont' believe in Gosh, you know
JuanDaugherty 12:10 :)
reichi, i presumed the nature of the complaints didn't have to do with the reliability of their data center
reichi 12:10 well I know some people that had things hosted at s4y
and they all moved
JuanDaugherty 12:10 bummer
I was hoping deutschland uber alles and stuff
reichi 12:10 and no one moves to a pricier hoster (as there's no one cheaper then s4y) without a reason
that part of the hymn is forbbiden by law
JuanDaugherty 12:10 why don't they get shut down?
reichi 12:10 who?
JuanDaugherty 12:10 server4you
reichi 12:10 i think they don't exceed their downtimes
JuanDaugherty 12:10 i thought consumer protection was super active in .de
reichi 12:10 yes but there's a considered downtime
which they usually stay within
if they don't
JuanDaugherty 12:10 any idea how long?
reichi 12:10 you're allowed to keep money
or maybe even preliminary get out of the contract
taxilian 12:10 okay; I have a lunch appointment, after that (in about an hour) I'll head home and figure out why the servers are down
reichi 12:10 they have 99% avail.
which isn't a lot
it's in fact almost 4 days downtime a year
JuanDaugherty 12:10 well it's month to month, but a slimebag like this prolly is going to try to hold on, maybe make me cancel the credit card
reichi 12:10 see here ;)
JuanDaugherty 12:10 they just came back online
jakepetroules 12:10 since the site's down does anyone happen to know the names of the GTK packages required for drawing on X11? on the "Building for Linux" doc page
also a question
is GTK required for drawing on X11, even on KDE or other desktop environments?
JuanDaugherty 12:10 looks like their story is they do something if monitor
*if you monitor
so I'll prolly keep it another month see what it's like
they do seem crappy though
and they definitely rebooted the server so maybe it's crappy hardware
maybe they even lie about it being real dedicated and it's a vm
JuanDaugherty 13:10 guess that's overreacting. But you're right reichi, the prices should be a red flag, but I'll wait a few more weeks because besides this thing not had problems
and I would not talk about Heck as it's the same absurdity as Gosh
jakepetroules, GTK is only required if that package is being used.
what's required is something, straight X11, Qt, GTK, whatever.
obviously if FB has gone with GTK then you have to use it or fork
jakepetroules 13:10 so FB basically makes us use GTK then
for drawing
gtk/gtk.h: No such file or directory
i have libgtk2.0-dev installed (ubuntu 12.04)
JuanDaugherty 13:10 you are building for unix, right?
because if not you can just remove that stuff if it's snagging the build
i don't get the impression FB unix is well worked out, outside of OS X
but don't know by experience
browser work, the paid anyway, is market driven, and linux desktop is still a small niche
taxilian 13:10 jakepetroules what version?
jakepetroules 13:10 of firebreath? HEAD
taxilian 13:10 hmm. there could be a bug somewhere. whcih file is giving you that error?
jakepetroules 13:10 firebreath/src/PluginAuto/X11/PluginWindowX11.h:22:21: fatal error: gtk/gtk.h: No such file or directory
i think i had my find_package looking for GTK3 not 2
taxilian 13:10 which cpp file
JuanDaugherty 13:10 just add the directory
jakepetroules 13:10 but i would think firebreath would find it itself since there's a pkgconfig in there
my own cpp file
taxilian 13:10 firebreath doesn't do anything
JuanDaugherty 13:10 3rdparty gtk whatever
taxilian 13:10 cmake does
then you probably don't have the include directory in your project
JuanDaugherty 13:10 whereever the file actually is
jakepetroules 13:10 by firebreath i mean firebreath's cmake
you guys only find the gtk2 package but don't add the headers?
taxilian 13:10 the headers are found
and addedc
just not in your project
if you need those, you'll have to add them
jakepetroules 13:10 ah ok
taxilian 13:10 try adding include_directories(${GTK_INCLUDE_DIRS}) in your project
that will *probably* work
jakepetroules 13:10 then it should work now because i was doin find_package(GTK) instead of find_package(GTK2)
taxilian 13:10 find_package(GTK) is already happening in x11.cmake
jakepetroules 13:10 i have firebreath as a submodule
taxilian 13:10 well, not that exactly
jakepetroules 13:10 added as add_subdirectory
taxilian 13:10 that could make it more interesting
good luck; I need to go try to figure out why the website is down.
JuanDaugherty 13:10 I'll also stick with s4y if it turns out the cpanel reboot addresses the outages, didn't see it before, at least for a while
taxilian 13:10 bbl
jakepetroules 13:10 thanks
JuanDaugherty 13:10 hmm, and it looks like if I was using something like that cloud flare thing but which actualy worked, the outages would only affect active content
reichi 13:10 extending firebreath to work with something else than gtk is not too much of a deal
if one needs that
JuanDaugherty 13:10 i have aws and linode, so I may be able to accomodate a well bounded failure rate which I can always address from cpanel
jakepetroules 13:10 i'm having compile errors with drawing on GTK+/X11
like expected unqualified id before protected
in PluginWindowX11.h
reichi 13:10 i am no big help with x11 :/
i built my own platform
JuanDaugherty 13:10 i saved $15 from what godaddy was charging and got 4X the box
reichi 13:10 that's why i said "it's not a big deal"
JuanDaugherty 13:10 isn't Qt better than GTK?
jakepetroules 13:10 i'd rather use Qt since my project uses Qt anyways
reichi 13:10 you can't say that ;)
jakepetroules 13:10 but i don't think that's an option with firebreath
reichi 13:10 it is
but you'll have to do some more work
and you have to be aware that you will still have platform dependent code
as NPAPI defines platform specific behaviour
on Linux you get an X11 handle
jakepetroules 13:10 well blitting is all pltatform dependent anyways
reichi 13:10 not matter what you use
jakepetroules 13:10 wait so if we just get an X11 handle, why does FB require gtk
JuanDaugherty 13:10 you can't say it because it's not PC or because it's false?
reichi 13:10 it depends on what you need
gtk and qt are both equally good
unless you have some specific reuiqrements ;)
jakepetroules 13:10 my plugin links to a qt-based library which has all the functionality
reichi 13:10 ok
you could extend firebreath to use x11
jakepetroules 13:10 so i'd rather not have unnecessary gtk
reichi 13:10 qt internally uses an QX11EmbedContainer
(or whatever that thing was called)
jakepetroules 13:10 i figured i'd just blit using native x11 code after getting char* from the core lib
reichi 13:10 have a look at PluginAuto/X11
and PluginCore/X11
that's mostly all the platform-specific code
jakepetroules 13:10 i hate to fork firebreath
reichi 13:10 well, get the x11 handle from gtk and hand it to qt ;)
jakepetroules 13:10 maybe i'll talk to taxilian about this later, see if firebreath can be extended to be more flexible in that regard
reichi 13:10 I'm afk for the moment
watching a little tv (it's 10pm here ;))
taxilian 13:10 website should be back
headed back to work
JuanDaugherty 14:10 yeah it's back but the cloud flare thing sticks in chrome on linux, even if you clear the cache, for www
taxilian 14:10 :-/ even if you click on "access the live site"?
the odd thing is that for all of the possible things that could have knocked it out (I've been rewiring the power in that room for the last 24 hours) it was actually the router locking up for some reason. I need to update the firmware; hope that will prevent a recurrance
JuanDaugherty 14:10 yeah the big blue button works
odd that we both got at same time
i setup a free pingdom
taxilian 14:10 I'll purge the CDN cache; hopefully that'll get rid of the not found page
hmm haven't seen pingdom before. does it work well?
JuanDaugherty 14:10 dunno yet, just discovered it today. How could they crap that up?
taxilian 14:10 lol
I don't know, but some people are pretty talented...
JuanDaugherty 14:10 well I will totally accept the observed availability of s4y if it's just a matter of responding to the alerts and rebooting from their panel
the panel was never inaccessible
rcohn 15:10 Hi - I posed this question yesterday, but my session may have been severed. I apologize if you've seen it already.
Does Windows 8 classic desktop IE 10 impose any plugin restrictions (such as not running Active X plugins until some security setting is made)? I cannot run my FB-built plugin on IE10 classic desktop; chrome runs the plugin just fine on classic desktop. Thanks.
taxilian 15:10 not htat I know of
but I haven't tried windows 8
rcohn 15:10 OK. I'll have to run the plugin under a debugger and see what I can find out. Thanks.
jshanab 15:10 taxillian. Good afternoon.
taxilian 15:10 yo
jshanab 15:10 After a lot of debugging I have been unable to get plugin to not crash on tab change or min/max so i set a pref variable to prevent it from running in a plugin container. That works but I am looking for a way to set a prefs variable or add a custom.js during install
taxilian 15:10 ?
where is the crash?
did you catch it in a debugger?
jshanab 15:10 yes, I get an infinit loop trying to add a windowproc until the stack overflows. It checks for winowdata, errs out and tries to install the default, which fails the test and repeats. It seems to come from my having created a child window
taxilian 15:10 well, there you go
figure out why it's doing that or how to detect it =]
jshanab 15:10 But this occurs completly in whatever video driver layer is in use, opengl,directx,sdl, etc. Had to give up after days of pain. Flash had some similar issues a while ago and they decided on the container only method and override the dom.ipc.plugins.enabled setting. I can do the same in reverse. dom.ipc.plugins.enabled.npMyVideoPlayer set to false, but how do Add that to my installer!
taxilian 15:10 hmm
I have no idea
that is bizarre :-/
I wish I could help
jshanab 15:10 I have anotherone, more entertaining than that one. I have a window proc that recives events in my child window. minimize,change tabs, and it stops reciveing events. That one i think is an SDL bug. But I am rewriting to pass all window events to the plugin since your framework seems to have no problems. But agian, I think this is because of the child window. Somewher the connection is not...
Sounds like you had some exitement of your own today
taxilian 15:10 heh. I've been remodeling my home office
and found that the person who did the electrical was incompetent
so I have to rewire everything
when the website went down, I figured I had accidentally unplugged the UPS or something and not noticed =]
jshanab 15:10 I was called in to fix wiring at a restaurant when I used to do electrical and when i opened the box i found all blue wire. I mean 3 phase,220,and 110 all loose blue THHN wire.
taxilian 15:10 lol
jshanab 15:10 I turned it all off, took apart my walkman headphones and added some alligator clips and spent an entire day mapping it out and color coing it with electirical tape
taxilian 15:10 heh
jshanab 15:10 Debugging. knows no bounds
reichi 15:10 oh it does
the time of the one controllling it ;)
jshanab 15:10 ok,ok, the bugs know no bounds
reichi 15:10 you remind me of the "let me fix this one last bug before i go sickness"
jshanab 15:10 Have we met?
reichi 15:10 i think EVERY developer has it ;)
(every real devloper)
jai 23:10 Hi i am facing flicker issue
any one there?
dougma 23:10 platform? browser?
jai 23:10 firefox
dougma 23:10 drawing model?
jai 23:10 win xp
drawing model osg
dougma 23:10 windowed plugin, or windowless?
jai 23:10 firefox 16.0.1
dougma 23:10 what is osg?
jai 23:10 windowless
osg is the application render 3D
its openscenegraph (osg)