Re: [Factor-talk] Can't open graphical listener in Ubuntu 12.04

2014-09-17 Thread John Porubek
On Wed, Sep 17, 2014 at 11:41 AM, John Porubek  wrote:
> Perhaps the glxgears program will shed some light.

Very interesting. Running glxgears produces an empty window and then
crashes with _exactly_ the same error message that Factor gives. Now I
have a whole 'nother avenue to explore! Thanks, Jon, for pointing me
in this direction.

--
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] Can't open graphical listener in Ubuntu 12.04

2014-09-17 Thread John Porubek
On Tue, Sep 16, 2014 at 7:19 PM, Jon Harper  wrote:
> Hmmm, that doesn't look like a factor bug...

I agree that it may not be a Factor bug. In fact, I said as much in my
first message. It's just that I only notice the issue with Factor.
Perhaps the glxgears program will shed some light.

Thanks for the "ldconfig" and glxgears info. Perhaps the latter
explains what mrw was getting at. I using Ubuntu 12.04 LTS on the
machine in question.

-John

--
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] Can't open graphical listener in Ubuntu 12.04

2014-09-16 Thread Jon Harper
Le 16 sept. 2014 23:17, "John Porubek"  a écrit :
> Do I need to restart after making a change like removing a
> *.so file, or can I just run ldconfig with no flags?
Running "ldconfig" as root is sufficient for the next programs you  start.

> I didn't give the full story when I first described what is happening.
> Sometimes, right after a boot or restart, the GUI listener will work
> for a while. However, if I restore a minimized window later on, the
> GUI listener disappears. Subsequent attempts to re-open the listener
> produce the results I originally described.
Hmmm, that doesn't look like a factor bug...

> FWIW, the latest results from $ ldconfig -p | grep "libGL\." :
>
> libGL.so.1 (libc6, OS ABI: Linux 2.4.20) =>
> /usr/lib/i386-linux-gnu/mesa/libGL.so.1
> libGL.so (libc6, OS ABI: Linux 2.4.20) =>
> /usr/lib/i386-linux-gnu/mesa/libGL.so
> libGL.so (libc6, OS ABI: Linux 2.4.20) =>
/usr/lib/i386-linux-gnu/libGL.so
>
> This is the same as before, after I put the removed link back, minus
> the extraneous stuff. The bottom link points to the one above it,
> which in turn points to the one above it. The top one points to
> mesa/libGL.so.1.2
This looks normal.

>
> I couldn't find glxgears or the package mesa-utils. Are these in Factor?
No, glxgears is a standard program. On ubuntu it comes in mesa-utils (see
http://packages.ubuntu.com/trusty/amd64/mesa-utils/filelist), what distro
are you using?

Cheers,
Jon
--
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce.
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] Can't open graphical listener in Ubuntu 12.04

2014-09-16 Thread mr wzrd
On 09/16/2014 05:44 PM, mr wzrd wrote:
> > I couldn't find glxgears or the package mesa-utils. Are these in 
> Factor? -John
>
> Ideally, would reinstall with something more stable, like the latest 
> plain Debian.

Even more ideally, there would be enough functionality within Factor to 
make the listener the center of the universe, rather than the unix terminal.

http://www.youtube.com/watch?v=Jtvgf_CyiS0#t=12m30s

All these "packages" would just be "vocabularies" to be added to the 
listener's search path.

   - mrw


--
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce.
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] Can't open graphical listener in Ubuntu 12.04

2014-09-16 Thread mr wzrd
 > I couldn't find glxgears or the package mesa-utils. Are these in 
Factor? -John

Ideally, would reinstall with something more stable, like the latest 
plain Debian.

Debian, however, doesn't automatically handle  "secure boot mode", 
whereas Ubuntu 14.04 does.

http://en.wikipedia.org/wiki/Unified_Extensible_Firmware_Interface#Secure_boot

   - mrw



--
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce.
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] Can't open graphical listener in Ubuntu 12.04

2014-09-16 Thread mr wzrd
 > I couldn't find glxgears or the package mesa-utils. Are these in 
Factor? -John

Was unable to install *anything* with apt-get from Ubuntu 12.04.

http://stackoverflow.com/questions/25350405/sudo-apt-get-update-not-working

Seems that the sources list has changed with the move to 14.04.

Solution for me was just to reinstall linux from scratch.

Don't have any particularly special configuration, so reinstallation was 
easy.

https://help.ubuntu.com/community/Installation/MinimalCD

Installed the Factor binary, which worked out of the box.

   - mrw


--
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce.
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] Can't open graphical listener in Ubuntu 12.04

2014-09-16 Thread John Porubek
On Sat, Sep 13, 2014 at 3:37 PM, John Porubek  wrote:
> So I removed one of the libGL.so links and it didn't fix the problem.
> But I can't be sure now from memory if it was the one pointing to
> mesa/libGL.so. Again, I'll check Monday.

I did remove the correct one. After a restart, no difference, same GUI
listener behavior. A quick question wherein I expose my Linux
ignorance: Do I need to restart after making a change like removing a
*.so file, or can I just run ldconfig with no flags?

I didn't give the full story when I first described what is happening.
Sometimes, right after a boot or restart, the GUI listener will work
for a while. However, if I restore a minimized window later on, the
GUI listener disappears. Subsequent attempts to re-open the listener
produce the results I originally described.

FWIW, here's the latest results from $ ldconfig -p | grep "libGL\." :

libGL.so.1 (libc6, OS ABI: Linux 2.4.20) =>
/usr/lib/i386-linux-gnu/mesa/libGL.so.1
libGL.so (libc6, OS ABI: Linux 2.4.20) =>
/usr/lib/i386-linux-gnu/mesa/libGL.so
libGL.so (libc6, OS ABI: Linux 2.4.20) => /usr/lib/i386-linux-gnu/libGL.so

This is the same as before, after I put the removed link back, minus
the extraneous stuff. The bottom link points to the one above it,
which in turn points to the one above it. The top one points to
mesa/libGL.so.1.2

I couldn't find glxgears or the package mesa-utils. Are these in Factor?

-John

--
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce.
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] Can't open graphical listener in Ubuntu 12.04

2014-09-13 Thread John Porubek
On Sat, Sep 13, 2014 at 12:07 PM, Jon Harper  wrote:
> Does glxgears from the package mesa-utils work (it should show colored gears
> rotating)?
>
> What does the following command output ?
> $ ldconfig -p | grep "libGL\."

Hi Jon,

I don't have access to that computer now, but I'll check the glxgears
program on Monday and let you know.

I did, however, run ldconfig -p yesterday and saved the output to a
file. Here are the matches to "libGL*":

libGLU.so.1 (libc6) => /usr/lib/i386-linux-gnu/libGLU.so.1
libGLU.so (libc6) => /usr/lib/i386-linux-gnu/libGLU.so
libGLEWmx.so.1.6 (libc6) => /usr/lib/i386-linux-gnu/libGLEWmx.so.1.6
libGLEWmx.so.1.5 (libc6) => /usr/lib/libGLEWmx.so.1.5
libGLEW.so.1.6 (libc6) => /usr/lib/i386-linux-gnu/libGLEW.so.1.6
libGLEW.so.1.5 (libc6) => /usr/lib/libGLEW.so.1.5
libGLC.so.0 (libc6) => /usr/lib/libGLC.so.0
libGL.so.1 (libc6, OS ABI: Linux 2.4.20) =>
/usr/lib/i386-linux-gnu/mesa/libGL.so.1
libGL.so (libc6, OS ABI: Linux 2.4.20) => /usr/lib/i386-linux-gnu/mesa/libGL.so
libGL.so (libc6, OS ABI: Linux 2.4.20) => /usr/lib/i386-linux-gnu/libGL.so

In the issue #926 link Doug posted, one of Doug's comments was:

"As a workaround, is it safe to simply remove the
/usr/lib/x86_64-linux-gnu/libGL.so pointing to mesa/libGL.so symlink?"
Worksforme.

So I removed one of the libGL.so links and it didn't fix the problem.
But I can't be sure now from memory if it was the one pointing to
mesa/libGL.so. Again, I'll check Monday.

Thanks for your help so far.

-John

--
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] Can't open graphical listener in Ubuntu 12.04

2014-09-13 Thread Jon Harper
Does glxgears from the package mesa-utils work (it should show colored
gears rotating)?

What does the following command output ?
$ ldconfig -p | grep "libGL\."


Jon

On Fri, Sep 12, 2014 at 10:50 PM, John Porubek  wrote:

> On Fri, Sep 12, 2014 at 3:23 PM, John Porubek  wrote:
> > bjourne suggested "Maybe dpkg-reconfigure --all can solve it", so I'm
> running that now.
>
> Minor datapoint - dpkg-reconfigure didn't affect the problem.
>
>
> --
> Want excitement?
> Manually upgrade your production database.
> When you want reliability, choose Perforce
> Perforce version control. Predictably reliable.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
> ___
> Factor-talk mailing list
> Factor-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/factor-talk
>
--
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] Can't open graphical listener in Ubuntu 12.04

2014-09-12 Thread John Porubek
On Fri, Sep 12, 2014 at 3:23 PM, John Porubek  wrote:
> bjourne suggested "Maybe dpkg-reconfigure --all can solve it", so I'm running 
> that now.

Minor datapoint - dpkg-reconfigure didn't affect the problem.

--
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] Can't open graphical listener in Ubuntu 12.04

2014-09-12 Thread John Porubek
Hi Doug,

Thanks for responding so quickly.

I have an Intel video controller on this machine (lspci returns: VGA
compatible controller: Intel Corporation 82845G/GL[Brookdale-G]/GE
Chipset Integrated Graphics Device (rev 03)). It's a pretty old
computer.

My libGL.so links to the Mesa driver. At the page you linked to,
bjourne suggested "Maybe dpkg-reconfigure --all can solve it", so I'm
running that now. It's taking quite a long time! Maybe that won't
solve my problem, but I figured it couldn't hurt. I'll let you know.

Any other thoughts or things I should look at?

-John

On Fri, Sep 12, 2014 at 1:20 PM, Doug Coleman  wrote:
> Hi,
>
> Do you happen to have a Radeon card? One of the libraries required by Factor
> pulls in the OpenGL Mesa driver which shadows the Radeon driver.
>
> You can make sure to load the binary Radeon driver:
> LD_LIBRARY_PATH=/usr/lib/fglrx ./factor
>
> This should link to your Radeon driver and not Mesa:
> ls -al /usr/lib/x86_64-linux-gnu/libGL.so
>
> See for more:
> https://github.com/slavapestov/factor/issues/926
>
>
> If this is not your issue, we can try to debug it.
>
> Doug
>
>
>
> On Fri, Sep 12, 2014 at 10:15 AM, John Porubek  wrote:
>>
>> I have a problem that I don't believe is really a Factor problem but
>> rather a problem with my desktop environment that only manifests
>> itself (so far) when I try to open the Factor graphical listener.
>>
>> It used to work fine. Then, a while ago I was trying out various
>> desktop environments (Unity, Gnome2, XFCE) and window managers (Ion3,
>> PWM3, ScrotWM, Wmii, XMonad, Awesome and i3) and now I find that,
>> regardless of which of these I use, I can't open the Factor graphical
>> listener. When I try, I get a couple of transparent windows (error
>> messages?) on top of the listener "shadow" window. I have to kill the
>> process to close it (or ctrl-C from the command line. See below).
>>
>> "factor -r=listener" works fine from the command line. If I try to run
>> the graphical listener from the command line, I get two duplicate
>> error messages:
>>
>> "factor: swrast/s_renderbuffer.c:588: map_attachment: Assertion
>> `srb->Map' failed."
>>
>> Does anyone have an idea about what's going on and how I can solve
>> this problem or troubleshoot it further? I've tried both Björn's PPA
>> version and a development release from early August with the same
>> results.
>>
>>
>> --
>> Want excitement?
>> Manually upgrade your production database.
>> When you want reliability, choose Perforce
>> Perforce version control. Predictably reliable.
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
>> ___
>> Factor-talk mailing list
>> Factor-talk@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/factor-talk
>
>
>
> --
> Want excitement?
> Manually upgrade your production database.
> When you want reliability, choose Perforce
> Perforce version control. Predictably reliable.
> http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
> ___
> Factor-talk mailing list
> Factor-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/factor-talk
>

--
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] Can't open graphical listener in Ubuntu 12.04

2014-09-12 Thread Doug Coleman
Hi,

Do you happen to have a Radeon card? One of the libraries required by
Factor pulls in the OpenGL Mesa driver which shadows the Radeon driver.

You can make sure to load the binary Radeon driver:
LD_LIBRARY_PATH=/usr/lib/fglrx ./factor

This should link to your Radeon driver and not Mesa:
ls -al /usr/lib/x86_64-linux-gnu/libGL.so

See for more:
https://github.com/slavapestov/factor/issues/926


If this is not your issue, we can try to debug it.

Doug



On Fri, Sep 12, 2014 at 10:15 AM, John Porubek  wrote:

> I have a problem that I don't believe is really a Factor problem but
> rather a problem with my desktop environment that only manifests
> itself (so far) when I try to open the Factor graphical listener.
>
> It used to work fine. Then, a while ago I was trying out various
> desktop environments (Unity, Gnome2, XFCE) and window managers (Ion3,
> PWM3, ScrotWM, Wmii, XMonad, Awesome and i3) and now I find that,
> regardless of which of these I use, I can't open the Factor graphical
> listener. When I try, I get a couple of transparent windows (error
> messages?) on top of the listener "shadow" window. I have to kill the
> process to close it (or ctrl-C from the command line. See below).
>
> "factor -r=listener" works fine from the command line. If I try to run
> the graphical listener from the command line, I get two duplicate
> error messages:
>
> "factor: swrast/s_renderbuffer.c:588: map_attachment: Assertion
> `srb->Map' failed."
>
> Does anyone have an idea about what's going on and how I can solve
> this problem or troubleshoot it further? I've tried both Björn's PPA
> version and a development release from early August with the same
> results.
>
>
> --
> Want excitement?
> Manually upgrade your production database.
> When you want reliability, choose Perforce
> Perforce version control. Predictably reliable.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
> ___
> Factor-talk mailing list
> Factor-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/factor-talk
>
--
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


[Factor-talk] Can't open graphical listener in Ubuntu 12.04

2014-09-12 Thread John Porubek
I have a problem that I don't believe is really a Factor problem but
rather a problem with my desktop environment that only manifests
itself (so far) when I try to open the Factor graphical listener.

It used to work fine. Then, a while ago I was trying out various
desktop environments (Unity, Gnome2, XFCE) and window managers (Ion3,
PWM3, ScrotWM, Wmii, XMonad, Awesome and i3) and now I find that,
regardless of which of these I use, I can't open the Factor graphical
listener. When I try, I get a couple of transparent windows (error
messages?) on top of the listener "shadow" window. I have to kill the
process to close it (or ctrl-C from the command line. See below).

"factor -r=listener" works fine from the command line. If I try to run
the graphical listener from the command line, I get two duplicate
error messages:

"factor: swrast/s_renderbuffer.c:588: map_attachment: Assertion
`srb->Map' failed."

Does anyone have an idea about what's going on and how I can solve
this problem or troubleshoot it further? I've tried both Björn's PPA
version and a development release from early August with the same
results.

--
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk