public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user]  vlc dies on GL
@ 2005-11-09 19:52 James
  2005-11-09 20:55 ` abhay
  0 siblings, 1 reply; 19+ messages in thread
From: James @ 2005-11-09 19:52 UTC (permalink / raw
  To: gentoo-user

Hello,

upon emerging several different video based applications:
vlc, mythtv etc, I run into a common problem now:

for vlc heres the error message that is essentially identical
to other packages that are complaining:

/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bin/ld:
cannot find -lGL


I know 'GL' is not a use flag, but I cannot seem to find what i need to install
to fix this problem. Or the package that contains GL. I run KDE 3.4.


Ideas?

James


-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [gentoo-user]  vlc dies on GL
  2005-11-09 19:52 [gentoo-user] vlc dies on GL James
@ 2005-11-09 20:55 ` abhay
  2005-11-09 21:08   ` [gentoo-user] " James
  2005-11-10  2:01   ` James
  0 siblings, 2 replies; 19+ messages in thread
From: abhay @ 2005-11-09 20:55 UTC (permalink / raw
  To: gentoo-user

On Thursday 10 Nov 2005 1:22 am, James wrote:
> /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bin/
>ld: cannot find -lGL
>
>
> I know 'GL' is not a use flag, but I cannot seem to find what i need to
> install to fix this problem. Or the package that contains GL. I run KDE
> 3.4.

You are having problems with OpenGL. Did you compile xorg with opengl support? 
What is the output of these two commands?
emerge -pv xorg-x11
opengl-update --get-implementation

Abhay
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 19+ messages in thread

* [gentoo-user]  Re: vlc dies on GL
  2005-11-09 20:55 ` abhay
@ 2005-11-09 21:08   ` James
  2005-11-10  7:14     ` abhay
  2005-11-10  2:01   ` James
  1 sibling, 1 reply; 19+ messages in thread
From: James @ 2005-11-09 21:08 UTC (permalink / raw
  To: gentoo-user

abhay <abhay.ilugd <at> gmail.com> writes:


> > /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bin/
> >ld: cannot find -lGL

> > I know 'GL' is not a use flag, but I cannot seem to find what i need to
> > install to fix this problem. Or the package that contains GL. I run KDE
> > 3.4.

> You are having problems with OpenGL. Did you compile xorg with opengl support? 

I tried to install mythtv and it failed because of "-lGL". I then tried to update
vlc, and it failed with the error message above. I then discover that I had
'v4l' in my make.conf file, so I change it to 'v4l2' and ran
"emerge -uD --newuse world'
which again dies on the missing GL.

I even tried

USE="opengl" emerge mythtv
which failed at the same point.


> What is the output of these two commands?
> emerge -pv xorg-x11

[ebuild   R   ] x11-base/xorg-x11-6.8.2-r4  -3dfx +3dnow +bitmap-fonts -cjk
-debug -dlloader -dmx +doc -font-server -insecure-drivers +ipv6 -minimal +mmx
+nls -nocxx +opengl +pam -sdk +sse -static +truetype-fonts +type1-fonts
(-uclibc) -xprint +xv

> opengl-update --get-implementation
ati


I guess I need to rebuild xorg-x11, and put opengl in
make.conf?


Here are the latest USE flags in make.conf:
USE="-gtk -gnome java qt kde dvd cdr sse mmx 3dnow alsa apache2 calendar cups
divx4linux encode ethereal aac jack perl php mysql postgres spell ssl tiff xv 
ffmpeg mplayer v4l2 dvdr jpeg lm_sensors quicktime xmms xvid  mozilla mpeg
scanner doc xine theora nsplugin"

Note vlc has been installed for a while. It's the rebuild, now that
I changed v4l to v4l2 that causing it to die.

media-video/vlc
      Latest version available: 0.8.1-r1
      Latest version installed: 0.8.1-r1

emerge -uDp world --newuse

These are the packages that I would merge, in order:

Calculating world dependencies ...done!
[ebuild   R   ] dev-java/blackdown-jre-1.4.2.02
[ebuild   R   ] dev-java/blackdown-jdk-1.4.2.02
[ebuild   R   ] media-video/vlc-0.8.1-r1
[ebuild   R   ] media-video/mjpegtools-1.6.2-r4
[ebuild   R   ] media-video/transcode-0.6.14-r2




-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 19+ messages in thread

* [gentoo-user]  Re: vlc dies on GL
  2005-11-09 20:55 ` abhay
  2005-11-09 21:08   ` [gentoo-user] " James
@ 2005-11-10  2:01   ` James
  2005-11-10  7:16     ` abhay
  1 sibling, 1 reply; 19+ messages in thread
From: James @ 2005-11-10  2:01 UTC (permalink / raw
  To: gentoo-user

abhay <abhay.ilugd <at> gmail.com> writes:


> On Thursday 10 Nov 2005 1:22 am, James wrote:
> > /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../
../../../i686-pc-linux-gnu/bin/
> >ld: cannot find -lGL

> You are having problems with OpenGL. Did you compile 
> xorg with opengl support? 
> What is the output of these two commands?

System 1 where niether vlc or mythtv install:

> emerge -pv xorg-x11
 x11-base/xorg-x11-6.8.2-r4  -3dfx +3dnow +bitmap-fonts -cjk -debug 
-dlloader -dmx +doc -font-server -insecure-drivers +ipv6 -minimal 
+mmx +nls -nocxx +opengl +pam -sdk +sse -static +truetype-fonts 
 +type1-fonts (-uclibc) -xprint +xv 0 kB

> opengl-update --get-implementation
ati

System 2 where mythtv installs but vlc does not:

> emerge -pv xorg-x11
x11-base/xorg-x11-6.8.2-r4  -3dfx +3dnow +bitmap-fonts -cjk -debug 
-dlloader -dmx +doc -font-server -insecure-drivers +ipv6 -minimal 
+mmx +nls -nocxx +opengl +pam -sdk +sse -static +truetype-fonts 
+type1-fonts (-uclibc) -xprint +xv

> opengl-update --get-implementation
xorg-x11

I'm not so sure. I have a second system with the same (USE) flags
 set, and mythtv installs  but vlc fails without the GL error:

make[2]: Entering directory`/var/tmp/portage/vlc-0.8.1-r1/work/vlc-0.8.1/mozilla'
 usr/bin/xpidl  -I/usr/share/idl/mozilla \
  -I/usr/lib/mozilla/include/idl \
  -m header -o vlcintf ./vlcintf.idl
make[2]: /usr/bin/xpidl: Command not found
make[2]: *** [vlcintf.h] Error 127
make[2]: Leaving directory  var/tmp/portage/vlc-0.8.1-r1/work/vlc-0.8.1/mozilla'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/vlc-0.8.1-r1/work/vlc-0.8.1'
make: *** [all] Error 2


On system 1 having a problem with 'GL' I ran revdep a month or so ago
and I've had minor problems with several packages. Nothing very 
memorable but the running of revdep is the only significant difference
in the 2 systems.


On  system 2 where mythtv works, vlc fails, it's  unable to find:
 usr/bin/xpidl: Command not found

Not sure what the problem really is as vlc fails for 2 different
reasons on 2 different systems.

Ideas?

James


-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [gentoo-user]  Re: vlc dies on GL
  2005-11-09 21:08   ` [gentoo-user] " James
@ 2005-11-10  7:14     ` abhay
  2005-11-10 14:47       ` James
  0 siblings, 1 reply; 19+ messages in thread
From: abhay @ 2005-11-10  7:14 UTC (permalink / raw
  To: gentoo-user

On Thursday 10 Nov 2005 2:38 am, James wrote:
> I tried to install mythtv and it failed because of "-lGL". I then tried to
> update vlc, and it failed with the error message above.
When you compiled ati drivers did you enable opengl use flag? you can check by 
passing this command.
emerge -pv ati-drivers

Once you re-compile the drivers with opengl, pass the command
opengl-update ati

If you have already compiled the drivers with OpenGL then pass the 
above-mentioned "update" command to make sure that your system uses the 
driver's opengl. If it still doesn't work then you can pass "-opengl" use 
flag for vlc and mythtv to disable opengl.
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [gentoo-user]  Re: vlc dies on GL
  2005-11-10  2:01   ` James
@ 2005-11-10  7:16     ` abhay
  2005-11-10 15:30       ` James
  0 siblings, 1 reply; 19+ messages in thread
From: abhay @ 2005-11-10  7:16 UTC (permalink / raw
  To: gentoo-user

On Thursday 10 Nov 2005 7:31 am, James wrote:
> I'm not so sure. I have a second system with the same (USE) flags
>  set, and mythtv installs  but vlc fails without the GL error:
>
> make[2]: Entering
> directory`/var/tmp/portage/vlc-0.8.1-r1/work/vlc-0.8.1/mozilla'
> usr/bin/xpidl  -I/usr/share/idl/mozilla \
>   -I/usr/lib/mozilla/include/idl \
>   -m header -o vlcintf ./vlcintf.idl
> make[2]: /usr/bin/xpidl: Command not found
> make[2]: *** [vlcintf.h] Error 127
> make[2]: Leaving directory 
> var/tmp/portage/vlc-0.8.1-r1/work/vlc-0.8.1/mozilla' make[1]: ***
> [all-recursive] Error 1
> make[1]: Leaving directory `/var/tmp/portage/vlc-0.8.1-r1/work/vlc-0.8.1'
> make: *** [all] Error 2
Do you use vlc in mozilla to play videos? If you don't, then pass "-mozilla" 
use flag for vlc on this system.

Abhay
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 19+ messages in thread

* [gentoo-user]  Re: vlc dies on GL
  2005-11-10  7:14     ` abhay
@ 2005-11-10 14:47       ` James
  2005-11-10 16:28         ` Holly Bostick
  0 siblings, 1 reply; 19+ messages in thread
From: James @ 2005-11-10 14:47 UTC (permalink / raw
  To: gentoo-user

abhay <abhay.ilugd <at> gmail.com> writes:



> When you compiled ati drivers did you enable opengl use flag? you can check by 
> passing this command.
This was a over a year ago, so I do not recall the details of getting xorg
and the ati 7500 video driver to work.

> emerge -pv ati-drivers

On System 1:

emerge -pv ati-drivers

These are the packages that I would merge, in order:
Calculating dependencies -
!!! All ebuilds that could satisfy "app-admin/eselect-opengl" have been masked.
!!! One of the following masked packages is required to complete your request:
- app-admin/eselect-opengl-1.0.2-r1 (masked by: ~x86 keyword)
- app-admin/eselect-opengl-1.0.3 (masked by: ~x86 keyword)

For more information, see MASKED PACKAGES section in the emerge man page or
section 2.2 "Software Availability" in the Gentoo Handbook.
!!!    (dependency required by "media-video/ati-drivers-8.18.8-r1" [ebuild])


> Once you re-compile the drivers with opengl, pass the command
> opengl-update ati

> If you have already compiled the drivers with OpenGL then pass the 
> above-mentioned "update" command to make sure that your system uses the 
> driver's opengl. If it still doesn't work then you can pass "-opengl" use 
> flag for vlc and mythtv to disable opengl.

Hmmm. I not sure I did compile the ati-drivers:

media-video/ati-drivers
     Available versions:  8.14.13-r2 [M]8.14.13-r3 8.14.13-r4 8.14.13-r5
*8.16.20 *8.16.20-r1 8.18.6 8.18.6-r1 8.18.8 8.18.8-r1
     Installed:           none

If I recall correctly, at one time  I was confused and trying
to use the ati supplied binaries and the ati-drivers package.
I think I got things working with the binaries and remove
the ati-drivers....It was over a year ago, so I'm not too
certain.


James

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 19+ messages in thread

* [gentoo-user]  Re: vlc dies on GL
  2005-11-10  7:16     ` abhay
@ 2005-11-10 15:30       ` James
  2005-11-10 16:02         ` ellotheth rimmwen
  0 siblings, 1 reply; 19+ messages in thread
From: James @ 2005-11-10 15:30 UTC (permalink / raw
  To: gentoo-user

abhay <abhay.ilugd <at> gmail.com> writes:


> > I'm not so sure. I have a second system with the same (USE) flags
> >  set, and mythtv installs  but vlc fails without the GL error:
> >
> > make[2]: Entering
> > directory`/var/tmp/portage/vlc-0.8.1-r1/work/vlc-0.8.1/mozilla'
> > usr/bin/xpidl  -I/usr/share/idl/mozilla \
> >   -I/usr/lib/mozilla/include/idl \
> >   -m header -o vlcintf ./vlcintf.idl
> > make[2]: /usr/bin/xpidl: Command not found
> > make[2]: *** [vlcintf.h] Error 127
> > make[2]: Leaving directory 
> > var/tmp/portage/vlc-0.8.1-r1/work/vlc-0.8.1/mozilla' make[1]: ***
> > [all-recursive] Error 1
> > make[1]: Leaving directory `/var/tmp/portage/vlc-0.8.1-r1/work/vlc-0.8.1'
> > make: *** [all] Error 2

> Do you use vlc in mozilla to play videos? If you don't, then pass "-mozilla" 
> use flag for vlc on this system.

No.
OK, googling I read about some vague relation ship between 'xpidl' and mozilla,
but it was not very clear.

OK so I tried:

USE="-mozilla" emerge vlc

On system 2, (the one where mythtv works and vlc fails as shown
above, it fails in the same place....?

Perhaps my command line attempt is less than sufficiently robust?

Ideas?

James


-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [gentoo-user] Re: vlc dies on GL
  2005-11-10 15:30       ` James
@ 2005-11-10 16:02         ` ellotheth rimmwen
  2005-11-10 18:43           ` James
  0 siblings, 1 reply; 19+ messages in thread
From: ellotheth rimmwen @ 2005-11-10 16:02 UTC (permalink / raw
  To: gentoo-user

On 11/10/05, James <wireless@tampabay.rr.com> wrote:
> abhay <abhay.ilugd <at> gmail.com> writes:
> > Do you use vlc in mozilla to play videos? If you don't, then pass "-mozilla"
> > use flag for vlc on this system.

FWIW, emerge -pv vlc on my machine shows an nsplugin, but not a
mozilla use flag. Try it with -nsplugin, p'raps?

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [gentoo-user]  Re: vlc dies on GL
  2005-11-10 14:47       ` James
@ 2005-11-10 16:28         ` Holly Bostick
  2005-11-10 18:52           ` James
  0 siblings, 1 reply; 19+ messages in thread
From: Holly Bostick @ 2005-11-10 16:28 UTC (permalink / raw
  To: gentoo-user

James schreef:

> Hmmm. I not sure I did compile the ati-drivers:
> 
> media-video/ati-drivers Available versions:  8.14.13-r2 [M]8.14.13-r3
> 8.14.13-r4 8.14.13-r5 *8.16.20 *8.16.20-r1 8.18.6 8.18.6-r1 8.18.8
> 8.18.8-r1 Installed:           none
> 

Well, depending on which ATI video card you have, the ati-driver package
may be the only one which supplies OpenGL for your video card's chipset
(above the 9250 must use the drivers, 9250 and below can use the kernel
'radeon' driver and X.org MESA to get OpenGL support). So if you're
getting an error in OpenGL, that may be because you have no video
drivers with OpenGL support installed.

HTH,
Holly
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 19+ messages in thread

* [gentoo-user]  Re: vlc dies on GL
  2005-11-10 16:02         ` ellotheth rimmwen
@ 2005-11-10 18:43           ` James
  0 siblings, 0 replies; 19+ messages in thread
From: James @ 2005-11-10 18:43 UTC (permalink / raw
  To: gentoo-user

ellotheth rimmwen <ellotheth <at> gmail.com> writes:


> > > Do you use vlc in mozilla to play videos? If you don't, then
> > > pass "-mozilla" use flag for vlc on this system.

> FWIW, emerge -pv vlc on my machine shows an nsplugin, but not a
> mozilla use flag. Try it with -nsplugin, p'raps?


Yes you are correct. I'm not sure how I missed that flag but

USE="-nsplugin" emerge vlc 

Did the trick,

Thanks to all!


James

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 19+ messages in thread

* [gentoo-user]  Re: vlc dies on GL
  2005-11-10 16:28         ` Holly Bostick
@ 2005-11-10 18:52           ` James
  2005-11-10 19:18             ` abhay
  2005-11-10 20:12             ` Richard Fish
  0 siblings, 2 replies; 19+ messages in thread
From: James @ 2005-11-10 18:52 UTC (permalink / raw
  To: gentoo-user

Holly Bostick <motub <at> planet.nl> writes:


> Well, depending on which ATI video card you have, the ati-driver package
> may be the only one which supplies OpenGL for your video card's chipset
> (above the 9250 must use the drivers, 9250 and below can use the kernel
> 'radeon' driver and X.org MESA to get OpenGL support). So if you're
> getting an error in OpenGL, that may be because you have no video
> drivers with OpenGL support installed.

lscpi reveals:

0000:01:00.0 VGA compatible controller: ATI Technologies Inc Radeon R250 Lf
[Radeon Mobility 9000 M9] (rev 01)


So I need to add MESA to get OpenGL fixed?
media-libs/mesa [ Masked ]
      Latest version available: 6.4
      Latest version installed: [ Not Installed ]

Any other way to get opengl working with the radeon kernel driver?

Should/can I use ati-drivers? or should I stick with the radeon
supplied binary driver?


James



-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [gentoo-user]  Re: vlc dies on GL
  2005-11-10 18:52           ` James
@ 2005-11-10 19:18             ` abhay
  2005-11-12  3:27               ` James
  2005-11-10 20:12             ` Richard Fish
  1 sibling, 1 reply; 19+ messages in thread
From: abhay @ 2005-11-10 19:18 UTC (permalink / raw
  To: gentoo-user

On Friday 11 Nov 2005 12:22 am, James wrote:
> lscpi reveals:
>
> 0000:01:00.0 VGA compatible controller: ATI Technologies Inc Radeon R250 Lf
> [Radeon Mobility 9000 M9] (rev 01)
>
>
> So I need to add MESA to get OpenGL fixed?
> media-libs/mesa [ Masked ]
>       Latest version available: 6.4
>       Latest version installed: [ Not Installed ]
>
> Any other way to get opengl working with the radeon kernel driver?
>
> Should/can I use ati-drivers? or should I stick with the radeon
> supplied binary driver?
>
>
> James
You can always compile without opengl support by using -opengl flag or you can 
try to use opengl from xorg-x11 driver by issuing command
opengl-update xorg-x11
I am not sure whether this will work but you can try nonetheless.

Abhay
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [gentoo-user] Re: vlc dies on GL
  2005-11-10 18:52           ` James
  2005-11-10 19:18             ` abhay
@ 2005-11-10 20:12             ` Richard Fish
  2005-11-10 22:59               ` Holly Bostick
  2005-11-12  3:24               ` James
  1 sibling, 2 replies; 19+ messages in thread
From: Richard Fish @ 2005-11-10 20:12 UTC (permalink / raw
  To: gentoo-user

On 11/10/05, James <wireless@tampabay.rr.com> wrote:
> 0000:01:00.0 VGA compatible controller: ATI Technologies Inc Radeon R250 Lf
> [Radeon Mobility 9000 M9] (rev 01)
>
>
> So I need to add MESA to get OpenGL fixed?

No.  Why do you think this?  You only need xorg (merged with +opengl),
the radeon driver plus the appropriate DRI section in your xorg.conf
file, and the radeon DRM/DRI kernel module configured and loaded.

> Any other way to get opengl working with the radeon kernel driver?
> Should/can I use ati-drivers? or should I stick with the radeon
> supplied binary driver?

What "radeon supplied binary driver"?  The only binary driver
available for ATI cards is the ati-drivers, provided by ATI.  The
radeon driver that comes with x.org is open source.

As for which to use, well, use whatever works best for you.  If you
want to try the ati-drivers, generally you just need to merge the
package and change the "Driver" setting in xorg.conf from radeon to
fglrx.

-Richard

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [gentoo-user] Re: vlc dies on GL
  2005-11-10 20:12             ` Richard Fish
@ 2005-11-10 22:59               ` Holly Bostick
  2005-11-10 23:31                 ` Richard Fish
  2005-11-12  3:24               ` James
  1 sibling, 1 reply; 19+ messages in thread
From: Holly Bostick @ 2005-11-10 22:59 UTC (permalink / raw
  To: gentoo-user

Richard Fish schreef:

> If you want to try the ati-drivers, generally you just need to merge 
> the package and change the "Driver" setting in xorg.conf from radeon 
> to fglrx.
> 

Not completely true; the ati-driver module (fglrx) will not work if the
kernel DRM is compiled (either as a module or statically). Further, the
driver has an included agpgart, but this does not cover all mobo agp
chipsets (no idea which ones it does cover, but not mine apparently)--
so while the kernel agpgart must be available (preferably as a module,
since the fglrx install script checks this before it will compile),
depending on whether you need to use the internal (fglrx) agpgart, or an
external one (from the kernel; I use via-agp), one may need to do some
kernel voodoo (compiling the correct agpgart for your mobo) or some
xorg.conf voodoo (turning on "UseInternalAGPGART" yes or no), some
/etc/modules.autoload.d/kernel-2.6 voodoo (to load your agpgart before
the driver agpgart), or possibly even some /etc/hotplug/blacklist voodoo
(to prevent the kernel DRM from loading, because if the kernel loads its
own DRM, the ATI DRM won't load, and the driver does not work with the
kernel DRM). It's quite likely that several forms of voodoo will be
necessary.

Apparently the fglrx module does not work in combination with the
radeonfb driver, either, so if one used that, and the driver did not
work, one might not know why.

In any case, the fglrx requires a specific kernel configuration in order
to work even as well as it does (which may, or may not, be that well,
depending on what you want to do with it), and switching to it is not
necessarily a matter of simply changing the setting in xorg.conf.

Holly
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [gentoo-user] Re: vlc dies on GL
  2005-11-10 22:59               ` Holly Bostick
@ 2005-11-10 23:31                 ` Richard Fish
  2005-11-11 16:07                   ` James
  0 siblings, 1 reply; 19+ messages in thread
From: Richard Fish @ 2005-11-10 23:31 UTC (permalink / raw
  To: gentoo-user

On 11/10/05, Holly Bostick <motub@planet.nl> wrote:
> Richard Fish schreef:
> > If you want to try the ati-drivers, generally you just need to merge
> > the package and change the "Driver" setting in xorg.conf from radeon
> > to fglrx.
>
> Not completely true; the ati-driver module (fglrx) will not work if the

All true.  Sorry for the oversimplification.

> Apparently the fglrx module does not work in combination with the
> radeonfb driver,

My experience is that it works partially.  When I have used radeonfb
with fglrx, everything starts normally, including X and KDE.  But if I
try to switch to a console (or shutdown the system!), the system hangs
with a corrupted display.  So yes, radeonfb and fglrx should not be
used together.  Vesafb-tng behaves much better, although that is a
different thread altogether.

-Richard.

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 19+ messages in thread

* [gentoo-user]  Re: vlc dies on GL
  2005-11-10 23:31                 ` Richard Fish
@ 2005-11-11 16:07                   ` James
  0 siblings, 0 replies; 19+ messages in thread
From: James @ 2005-11-11 16:07 UTC (permalink / raw
  To: gentoo-user

Richard Fish <bigfish <at> asmallpond.org> writes:


> My experience is that it works partially.  When I have used radeonfb
> with fglrx, everything starts normally, including X and KDE.  But if I
> try to switch to a console (or shutdown the system!), the system hangs
> with a corrupted display.  So yes, radeonfb and fglrx should not be
> used together.  Vesafb-tng behaves much better, although that is a
> different thread altogether.


Thanks for all of the input. I have vlc and mythtv working everywhere,
except on the portable with the ATI issues. I'm going to try a few 
things as suggested in this thread and see what I can get working
and what I have trouble with. If I run into any further ATI issues,
I'll start a new thread, as this thread "vlc dies on GL" is fixed.


Thanks for all of the input and help, from everyone!


James





-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 19+ messages in thread

* [gentoo-user]  Re: vlc dies on GL
  2005-11-10 20:12             ` Richard Fish
  2005-11-10 22:59               ` Holly Bostick
@ 2005-11-12  3:24               ` James
  1 sibling, 0 replies; 19+ messages in thread
From: James @ 2005-11-12  3:24 UTC (permalink / raw
  To: gentoo-user

Richard Fish <bigfish <at> asmallpond.org> writes:


> No.  Why do you think this?  You only need xorg (merged with +opengl),
> the radeon driver plus the appropriate DRI section in your xorg.conf
> file, and the radeon DRM/DRI kernel module configured and loaded.

> > Any other way to get opengl working with the radeon kernel driver?
> > Should/can I use ati-drivers? or should I stick with the radeon
> > supplied binary driver?

> What "radeon supplied binary driver"?  The only binary driver
> available for ATI cards is the ati-drivers, provided by ATI.  The
> radeon driver that comes with x.org is open source.

> As for which to use, well, use whatever works best for you.  If you
> want to try the ati-drivers, generally you just need to merge the
> package and change the "Driver" setting in xorg.conf from radeon to
> fglrx.

"opengl-update xorg-x11" got mythtv installed
and 
USE="-nsplugin" emerge vlc got vlc installed on this (ATI) portable

My xorg.conf file says:
Section "Device"
    Identifier  "Radeon-9000-M9"
    Driver      "radeon"
    VideoRam    65536

The DRI section is empty:

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

EndSection


lspci -v reveals:
0000:01:00.0 VGA compatible controller: ATI Technologies Inc Radeon R250 Lf
[Radeon Mobility 9000 M9] (rev 01) (prog-if 00 [VGA])
        Subsystem: CLEVO/KAPOK Computer: Unknown device 0402
        Flags: bus master, stepping, fast Back2Back, 66Mhz, medium devsel,
latency 66, IRQ 11
        Memory at f0000000 (32-bit, prefetchable) [size=128M]
        I/O ports at 9000 [size=256]
        Memory at ec100000 (32-bit, non-prefetchable) [size=64K]

So this means I'm using the kernel built binaries from xorg sources
 or the ATI-driver binaries built from ati-drivers?

Also, can I set the memory up to 128M or is the non-prefetched 64M
the limit of this card?

James


-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 19+ messages in thread

* [gentoo-user]  Re: vlc dies on GL
  2005-11-10 19:18             ` abhay
@ 2005-11-12  3:27               ` James
  0 siblings, 0 replies; 19+ messages in thread
From: James @ 2005-11-12  3:27 UTC (permalink / raw
  To: gentoo-user

abhay <abhay.ilugd <at> gmail.com> writes:

> > Any other way to get opengl working with the radeon kernel driver?

> > Should/can I use ati-drivers? or should I stick with the radeon
> > supplied binary driver?

> You can always compile without opengl support by using -opengl flag or you can 
> try to use opengl from xorg-x11 driver by issuing command
> opengl-update xorg-x11
> I am not sure whether this will work but you can try nonetheless.
 
Well, I took the easy way out:
Since xorg-x11 did show opengl as being compile in:

x11-base/xorg-x11-6.8.2-r4  -3dfx +3dnow +bitmap-fonts -cjk -debug -dlloader
-dmx +doc -font-server -insecure-drivers +ipv6 -minimal +mmx +nls -nocxx +opengl
+pam -sdk +sse -static +truetype-fonts +type1-fonts (-uclibc) -xprint +xv

As you suggested I tried:

opengl-update xorg-x11

Now both mythtv and vlc are emerged.



-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2005-11-12  3:38 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-09 19:52 [gentoo-user] vlc dies on GL James
2005-11-09 20:55 ` abhay
2005-11-09 21:08   ` [gentoo-user] " James
2005-11-10  7:14     ` abhay
2005-11-10 14:47       ` James
2005-11-10 16:28         ` Holly Bostick
2005-11-10 18:52           ` James
2005-11-10 19:18             ` abhay
2005-11-12  3:27               ` James
2005-11-10 20:12             ` Richard Fish
2005-11-10 22:59               ` Holly Bostick
2005-11-10 23:31                 ` Richard Fish
2005-11-11 16:07                   ` James
2005-11-12  3:24               ` James
2005-11-10  2:01   ` James
2005-11-10  7:16     ` abhay
2005-11-10 15:30       ` James
2005-11-10 16:02         ` ellotheth rimmwen
2005-11-10 18:43           ` James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox