Re: [kde-freebsd] KPovModeler port problem: why no OpenGL?

2005-07-25 Thread Andrew Predoehl


On Mon, 25 Jul 2005 18:30:54 +0200
 Michael Nottebrock [EMAIL PROTECTED] wrote:

On Saturday, 23. July 2005 02:56, Andrew Predoehl wrote:

I found a problem when I recompiled the
graphics/kdegraphics3 port; the build and install were 
OK, but now when I run KPovModeler, it tells me, No

OpenGL support and does not show wireframes anymore.


 Does anyone know how to fix this?  Should I just give 
up and use a package?  Do I need to install Mesa?


You need to enable OpenGL/GLX support in X. How to do 
that depends on the graphics hardware (and X drivers)
you're using and is beyond the scope of this 
mailing-list ([EMAIL PROTECTED]).


You can check the current state of things with the 
'glxinfo' command: When you 
run it, it should *not* output any sort of 'Xlib: 
extension GLX missing on 
display :0.0' messages. 


Thanks, Michael.  I had made the mistake of assuming the 
problem was with the port configure or compile, and not my 
xorg.conf!  It works fine now.  As they say, If you know 
how to do it, it's easy.


AMP
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


SOLVED: KPovModeler port problem: why no OpenGL?

2005-07-24 Thread Andrew Predoehl



I found a problem when I recompiled the
graphics/kdegraphics3 port; the build and install were
OK, but now when I run KPovModeler, it tells me, No
OpenGL support and does not show wireframes anymore.

I'm running FreeBSD-5.4-RELEASE-p4, and recompiling
because I'm just doing an ordinary portupgrade on
kdegraphics3.

There was no problem during the configure step. Configure
found GL, GLU, GLX, but found them

checking GL/gl.h usability... yes
checking GL/gl.h presence... yes
checking for GL/gl.h... yes
checking GL/glu.h usability... yes
checking GL/glu.h presence... yes
checking for GL/glu.h... yes
checking GL/glx.h usability... yes
checking GL/glx.h presence... yes
checking for GL/glx.h... yes
checking for GL... yes

The only thing configure said I was missing was libsane,
which I don't even need because I don't have a scanner.

I'd really like to be able to use KPovModeler properly.
Does anyone know how to fix this? Should I just give up
and use a package? Do I need to install Mesa? It is not
listed as a dependency, and in fact when I tried to make
the graphics/mesagl port it says this:

landru# cd /usr/ports/graphics/mesagl/
landru# make configure
=== Mesa-5.0.1_3 is unnecessary because libGL and libGLU
come with XFree86 4.0 and higher.

I have libglut-6.0.1 and xorg 6.8.2 already installed,
along with the all the rest of KDE 3.4.1.

Thanks,

Andrew Predoehl


Uncomment Load glx and Load dri in /etc/X11/xorg.conf, and restart X.
That may help you.

# This loads the GLX module
   Load glx
# This loads the DRI module
   Load dri

Jonathan


Thanks Jonathan, that solved it!  I didn't have either 
module loaded.


For the record, just plain Load glx alone was enough
to solve the problem.  I had removed both of these Load
commands when I upgraded from XFree86 to Xorg, and
I thought maybe I didn't need them anymore, since the
example xorg.conf file
/usr/X11R6/lib/X11/xorg.conf.eg does not indicate loading
these modules.  Then, I forgot that I'd removed them...

Thanks again!
AMP
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


KPovModeler port problem: why no OpenGL?

2005-07-22 Thread Andrew Predoehl


I found a problem when I recompiled the 
graphics/kdegraphics3 port; the build and install were OK, 
but now when I run KPovModeler, it tells me, No OpenGL 
support and does not show wireframes anymore.


I'm running FreeBSD-5.4-RELEASE-p4, and recompiling 
because I'm just doing an ordinary portupgrade on 
kdegraphics3.


There was no problem during the configure step.  Configure 
found GL, GLU, GLX, but found them


checking GL/gl.h usability... yes
checking GL/gl.h presence... yes
checking for GL/gl.h... yes
checking GL/glu.h usability... yes
checking GL/glu.h presence... yes
checking for GL/glu.h... yes
checking GL/glx.h usability... yes
checking GL/glx.h presence... yes
checking for GL/glx.h... yes
checking for GL... yes

The only thing configure said I was missing was libsane, 
which I don't even need because I don't have a scanner.


I'd really like to be able to use KPovModeler properly. 
Does anyone know how to fix this?  Should I just give up 
and use a package?  Do I need to install Mesa?  It is not 
listed as a dependency, and in fact when I tried to make 
the graphics/mesagl port it says this:


landru# cd /usr/ports/graphics/mesagl/
landru# make configure
===  Mesa-5.0.1_3 is unnecessary because libGL and libGLU 
come with XFree86 4.0 and higher.


I have libglut-6.0.1 and xorg 6.8.2 already installed, 
along with the all the rest of KDE 3.4.1.


Thanks,

Andrew Predoehl
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


USB port won't recognize any-thang, in FBSD

2004-07-08 Thread Andrew Predoehl
Under FreeBSD 4.9-RELEASE, my USB port doesn't seem to work with my printer,
my scanner, or my external CD-R burner.  The printer is what I most wish
were working.  I dual-boot, and under Win98SE all three seem to work fine.
And FreeBSD seems to work fine as long as there's nothing plugged into the
USB port.  Can anyone give me some advice on how to get the printer (or
anything USB) working?

I have never done anything with /etc/usbd.conf -- am I supposed to?  If so,
how do I find out all those parameters (device ID, manufacturer...) ?

Here's a snippet of dmesg for a normal (quick, happy, printerless) boot:

(((NORMAL BOOTUP DMESG)))
...
ohci0: AcerLabs M5237 (Aladdin-V) USB controller
   mem 0xfedde000-0xfeddefff irq 9 at device 19.0 on pci0
usb0: OHCI version 1.0, legacy support
usb0: AcerLabs M5237 (Aladdin-V) USB controller on ohci0
usb0: USB revision 1.0
uhub0: AcerLabs OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
orm0: Option ROM at iomem 0xc-0xcb7ff on isa0
...

(((UNHAPPY BOOT)))
If the printer is plugged in to the USB port, there is a pregnant pause
(20-30 seconds) after the last uhub0 message, then an extra error message
(below).  Also, to research this problem, in my kernel I enabled options
INVARIANTS, INVARIANT_SUPPORT, and DIAGNOSTIC and fished out one additional
error message during the boot-up (also below)

(((UNHAPPY DMESG + DIAGNOSTIC STUFF)))
...
ohci0: AcerLabs M5237 (Aladdin-V) USB controller
   mem 0xfedde000-0xfeddefff irq 9 at device 19.0 on pci0
usb0: OHCI version 1.0, legacy support
usb0: AcerLabs M5237 (Aladdin-V) USB controller on ohci0
usb0: USB revision 1.0
uhub0: AcerLabs OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ohci_close_pipe: pipe not empty sed=0xc08d27a0
   hd=0x3dc87d0 tl=0x3dc8650 pipe=0xc08d0a00, std=0xc08d47d0
ohci_close_pipe: pipe still not empty
uhub0: device problem, disabling port 1
...

Usually the ohci_close_pipe messages do not appear -- they are there thanks
to the additional kernel options I enabled.  (And if there are some other
options I should turn on, or other switches to twiddle, so as to get more
debug info, tell me and I'll try it.)

When I try my scanner or the CD-R burner I get the same schpiel:  a long
pause, then the message:

uhub0: device problem, disabling port 1

Does anybody know what is going on here?  How can I debug this?

(((MY COMPUTER'S DETAILS)))
I'm running 4.9-RELEASE on a Toshiba Satellite 1625CDT.  I have
usbd_enable=YES in /etc/rc.conf.  The printer (hpdeskjet 940c) is listed
under linprinters.org as working with CUPS, hpijs, and so on, so I'd think
it could be convinced to work.  The scanner is an HP ScanJet 3300C, which is
listed in /usr/src/sys/dev/usb/usbdevs.h, so someone somewhere must have
gotten it to work.  Again, my USB peripherals work under that otherOS
whichwas newin '98 . . . perhaps they all signed a treaty with resident of
/dev/ad0s1 not to cooperate with any other OS ;-)

I notice there's some dodgy stuff (disabled with #if 0) in
/usr/src/sys/dev/usb/ulpt.c -- a chunk of code in USB_ATTACH() with the
comment that, for unknown reasons, printing fails (just grep for sigh in
that directory).  I also notice the usb_quirks files.  Perhaps my
peripherals have some quirks that needs to be registered there?  Or was the
USB-attach code still a bit squishy when 4.9 was released?  Would it help to
upgrade to 5.X ??  Also, would this question be more appropriate
for -mobile?

I didn't say anything about lpd or cups, because I presume there's nothing
those programs can do until the printer is recognized (and CUPS is installed
and runs but it sure enough doesn't see any printer).

Thanks for any and all advice!

Andrew Predoehl
Bishkek, Kyrgyzstan


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]