Re: [gentoo-user] Xgl and direct rendering or 'Would you like Xorg or Xgl, sir?'

2007-01-29 Thread Alan McKinnon
On Saturday 27 January 2007 09:58, Jan Stępień wrote:

 Is it possible to enable some kind of a chooser which would allow me
 to choose whether I'd like to launch Xgl or Xorg? While working on my
 /usr/share/gdm/default.conf I've spotted a server called 'chooser'.
 Could you tell me what is this server doing and could it be a
 solution for my problem?

I use a workaround to accomplish something similar. You'll have to adapt 
it as I use startx not a display manager. I have two ServerLayout 
sections in xorg.conf (RADEON and FGLRX), and xinit takes a -layout 
argument to choose between them. Like this:

startx -- -layout RADEON

The -- is required so that startx won't try and process the following 
arguments, but rather pass them through to xinit.

alan


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Xgl and direct rendering or 'Would you like Xorg or Xgl, sir?'

2007-01-28 Thread Jan Stępień
Albert Hopkins napisał(a):
 Then you probably don't want to use GDM or any other DM as they are
 primarily designed to manage displays that are already selected.  What
 you want is more of a chicken-and-egg issue for a display manager.
 
 What you likely need is something to be run from the command line (i.e.
 *before* X is started).  startx (or xinit) are perfect for this.  No
 need to write any fancy program, it can pretty much do what you're
 asking:
 
 $ startx /path/to/program/that/needs/X.org -- /usr/bin/X
 $ startx -- /usr/bin/Xgl

Thanks, now it works flawlessly. I can easily launch a slick desktop
with Xgl and Beryl, and if I require direct rendering I simply log out
and launch Xorg.

Now I'll try to find a clever solution and make this method a little bit
more automatic. We'll see what I'll be able to find around the web.

Thanks once again.

Regards,
Jan Stępień

-- 
Mailjan at stepien com pl
Jabber  jano at jabber aster pl
GG  1894343
Web http://stepien.com.pl



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Xgl and direct rendering or 'Would you like Xorg or Xgl, sir?'

2007-01-28 Thread Martins
You may choose to start X or Xgl generic way using startx or startxgl scripts. 
Out there are some.

m


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Xgl and direct rendering or 'Would you like Xorg or Xgl, sir?'

2007-01-27 Thread Jan Stępień
As far as I can see there is no chance neither to get my Radeon to
cooperate with open source driver nor to turn on AIGLX with my fglrx, at
least at the moment of writing. It's a pity, but allow me then to return
to the secondary topic of this thread.

Is it possible to enable some kind of a chooser which would allow me to
choose whether I'd like to launch Xgl or Xorg? While working on my
/usr/share/gdm/default.conf I've spotted a server called 'chooser'.
Could you tell me what is this server doing and could it be a solution
for my problem?

Of course the choice doesn't have to be done in GDM. It could be a tiny
bash script or a simple C++ application run in the default runlevel
which would ask me for pressing a specific key to run Xorg - otherwise
it will run Xgl - for example changing the line 0=Standard in the file
I've mentioned above. Have you got ideas or do I have to write such an
app by myself?

Regards,
Jan Stępień

-- 
Mailjan at stepien com pl
Jabber  jano at jabber aster pl
GG  1894343
Web http://stepien.com.pl



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Xgl and direct rendering or 'Would you like Xorg or Xgl, sir?'

2007-01-27 Thread Albert Hopkins
On Sat, 2007-01-27 at 08:58 +0100, Jan Stępień wrote:
[...]

 Is it possible to enable some kind of a chooser which would allow me to
 choose whether I'd like to launch Xgl or Xorg? While working on my
 /usr/share/gdm/default.conf I've spotted a server called 'chooser'.
 Could you tell me what is this server doing and could it be a solution
 for my problem?
 

A chooser in the GDM/XDMCP sense is a program that lists available
hosts to log into (via XDMCP).

I'm not aware of any program that will allow you to choose between X
servers any more than I'm aware of a program that will allow you to pick
MTAs.  The simplest solution is to just pick one.  Why would you want to
bounce back and forth between X servers?

 Of course the choice doesn't have to be done in GDM. It could be a tiny
 bash script or a simple C++ application run in the default runlevel
 which would ask me for pressing a specific key to run Xorg - otherwise
 it will run Xgl - for example changing the line 0=Standard in the file
 I've mentioned above. Have you got ideas or do I have to write such an
 app by myself?
 
 Regards,
 Jan Stępień
 

Why should you need to write anything.  Forget GDM and if you want to
run X then type X [ENTER].  If you want Xgl then Xgl [ENTER].  But
again, why would you want to complicate your life with 2 different X
servers?

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Xgl and direct rendering or 'Would you like Xorg or Xgl, sir?'

2007-01-27 Thread Jan Stępień
Albert Hopkins napisał(a):
 A chooser in the GDM/XDMCP sense is a program that lists available
 hosts to log into (via XDMCP).

Thanks. It may be useful some day.

 Why should you need to write anything.  Forget GDM and if you want to
 run X then type X [ENTER].  If you want Xgl then Xgl [ENTER].  But
 again, why would you want to complicate your life with 2 different X
 servers?

I've begun this thread because of my difficulties with running some
OpenGL applications, e.g. Americas Army, on my Xgl. If you'd like to
read any details you can take a look at first posts of this topic.

Regards,
Jan Stępień

-- 
Mailjan at stepien com pl
Jabber  jano at jabber aster pl
GG  1894343
Web http://stepien.com.pl



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Xgl and direct rendering or 'Would you like Xorg or Xgl, sir?'

2007-01-27 Thread Albert Hopkins
On Sat, 2007-01-27 at 15:06 +0100, Jan Stępień wrote:
[...]

 I've begun this thread because of my difficulties with running some
 OpenGL applications, e.g. Americas Army, on my Xgl. If you'd like to
 read any details you can take a look at first posts of this topic.

Then you probably don't want to use GDM or any other DM as they are
primarily designed to manage displays that are already selected.  What
you want is more of a chicken-and-egg issue for a display manager.

What you likely need is something to be run from the command line (i.e.
*before* X is started).  startx (or xinit) are perfect for this.  No
need to write any fancy program, it can pretty much do what you're
asking:

$ startx /path/to/program/that/needs/X.org -- /usr/bin/X
$ startx -- /usr/bin/Xgl

or whatever. There's probably a dozen other ways to do it.  See the
startx man page for details.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Xgl and direct rendering or 'Would you like Xorg or Xgl, sir?'

2007-01-27 Thread Jan Stępień
Albert Hopkins napisał(a):
 $ startx /path/to/program/that/needs/X.org -- /usr/bin/X
 $ startx -- /usr/bin/Xgl
 
 or whatever. There's probably a dozen other ways to do it.  See the
 startx man page for details.

Thanks, I'll take a look at the manual and give it a shot.

Regards,
Jan

-- 
Mailjan at stepien com pl
Jabber  jano at jabber aster pl
GG  1894343
Web http://stepien.com.pl



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Xgl and direct rendering or 'Would you like Xorg or Xgl, sir?'

2007-01-27 Thread Matthias Bethke
Hi Jan,
on Saturday, 2007-01-27 at 15:06:32, you wrote:
 I've begun this thread because of my difficulties with running some
 OpenGL applications, e.g. Americas Army, on my Xgl.

I reckon most in America's army would love to have your problems.

SCNR! =^
Matthias
-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgpPWJochKN5M.pgp
Description: PGP signature


Re: [gentoo-user] Xgl and direct rendering or 'Would you like Xorg or Xgl, sir?'

2007-01-23 Thread Jan Stępień
Iain Buchanan napisał(a):
 On Mon, 2007-01-22 at 21:47 +0100, Jan Stępień wrote:
 
 try these exact searches in google (include the site.. bit)
 
 INPUT_DEVICES VIDEO_CARDS site:http://www.gentoo.org
 and
 INPUT_DEVICES VIDEO_CARDS site:http://www.gentoo-wiki.org

I visited gentoo.org and skimmed the documentation. What I've read
doesn't make me cheerful at all. Quoting from
http://www.gentoo.org/doc/en/ati-faq.xml :

GPU Common Name  Support
snip
R300,R400,R500  Radeon 9500 - x800   xorg 2D, ATI DRI

If I understand it correctly, this means that if I want a 3D
acceleration I've got to use closed ATI's fglrx, and if I'd like to have
an open driver from Xorg I am forced to accept 2D only. So no fglrx is
no 3D at all. Please tell me that I'm mistaken.

Regards,
Jan

-- 
Mailjan at stepien com pl
Jabber  jano at jabber aster pl
GG  1894343
Web http://stepien.com.pl



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Xgl and direct rendering or 'Would you like Xorg or Xgl, sir?'

2007-01-22 Thread Jan Stępień

Richard Fish napisał(a):

On 1/20/07, Jan Stępień [EMAIL PROTECTED] wrote:

(/lib/modules/2.6.18-gentoo-r4/kernel/drivers/char/drm/drm.ko): Cannot
allocate memory


Try searching dmesg for drm.  My guess is either the radeonfb module
is conflicting, or the fglrx module.

-Richard



In fact the  radeon module conflicts with fglrx. I've unloaded fglrx, 
modprobed radeon (verified by lsmod) and relaunched gdm. But it's still 
refusing to use the new module:


(EE) Failed to load module radeon (module does not exist, 0)

Actually it does exist, it is loaded and besides listed in xorg.conf to 
be bound to my Radeon 9600XT. I'm can't get it. Any suggestions?


Thankful for your support so far and still asking for help, sincerely yours,

Jan

--
Mailjan at stepien com pl
Jabber  jano at jabber aster pl
GG  1894343
Web http://stepien.com.pl
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Xgl and direct rendering or 'Would you like Xorg or Xgl, sir?'

2007-01-22 Thread Richard Fish

On 1/22/07, Jan Stępień [EMAIL PROTECTED] wrote:

In fact the  radeon module conflicts with fglrx. I've unloaded fglrx,
modprobed radeon (verified by lsmod) and relaunched gdm. But it's still
refusing to use the new module:

(EE) Failed to load module radeon (module does not exist, 0)

Actually it does exist, it is loaded and besides listed in xorg.conf to
be bound to my Radeon 9600XT. I'm can't get it. Any suggestions?


Hmm, can you post your current xorg.conf and dmesg outputs?

-Richard

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Xgl and direct rendering or 'Would you like Xorg or Xgl, sir?'

2007-01-22 Thread Mick
On Monday 22 January 2007 17:29, Jan Stępień wrote:

 In fact the  radeon module conflicts with fglrx. I've unloaded fglrx,
 modprobed radeon (verified by lsmod) and relaunched gdm. But it's still
 refusing to use the new module:

 (EE) Failed to load module radeon (module does not exist, 0)

 Actually it does exist, it is loaded and besides listed in xorg.conf to
 be bound to my Radeon 9600XT. I'm can't get it. Any suggestions?

Did you try remerging xorg with the radeon VIDEO_DEVICE flag after you removed 
the fglrx module?
-- 
Regards,
Mick


pgpJ8vzjSeqxM.pgp
Description: PGP signature


Re: [gentoo-user] Xgl and direct rendering or 'Would you like Xorg or Xgl, sir?'

2007-01-22 Thread Boyd Stephen Smith Jr.
On Monday 22 January 2007 11:29, Jan Stępień [EMAIL PROTECTED] wrote 
about 'Re: [gentoo-user] Xgl and direct rendering or 'Would you like Xorg 
or Xgl, sir?'':
 In fact the  radeon module conflicts with fglrx. I've unloaded fglrx,
 modprobed radeon (verified by lsmod) and relaunched gdm. But it's still
 refusing to use the new module:

 (EE) Failed to load module radeon (module does not exist, 0)

 Actually it does exist, it is loaded and besides listed in xorg.conf to
 be bound to my Radeon 9600XT. I'm can't get it. Any suggestions?

Okay, this might not, be helpful but I just want to do a sanity check here:  

1. Check your xorg.log and make sure you are using the xorg.conf you think 
you are.

2. Make sure the required kernel module is in place.  It can be loaded by 
modprobe and that action confirmed by lsmod.  It will be somewhere 
under /lib/modules (sounds like you've already done this).

3. Make sure you aren't confusing a kernel module/driver with a X11 driver.  
Generally the later depends on the former, but they are provided by 
different packages and located differently on the filesystem -- and 
generally kernel modules are not listed by name in xorg.conf.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


pgpAQaLK0ue72.pgp
Description: PGP signature


Re: [gentoo-user] Xgl and direct rendering or 'Would you like Xorg or Xgl, sir?'

2007-01-22 Thread Jan Stępień
Mick napisał(a):
 On Monday 22 January 2007 17:29, Jan Stępień wrote:
 
 In fact the  radeon module conflicts with fglrx. I've unloaded fglrx,
 modprobed radeon (verified by lsmod) and relaunched gdm. But it's still
 refusing to use the new module:

 (EE) Failed to load module radeon (module does not exist, 0)

 Actually it does exist, it is loaded and besides listed in xorg.conf to
 be bound to my Radeon 9600XT. I'm can't get it. Any suggestions?
 
 Did you try remerging xorg with the radeon VIDEO_DEVICE flag after you 
 removed 
 the fglrx module?

Actually I haven't heard about this flag. I've just googled for it but
without any reasonably results. Could you tell me more about it or send
me a link to a proper website which could enlighten me?

Thanks in advance,

Jan

-- 
Mailjan at stepien com pl
Jabber  jano at jabber aster pl
GG  1894343
Web http://stepien.com.pl



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Xgl and direct rendering or 'Would you like Xorg or Xgl, sir?'

2007-01-22 Thread Jan Stępień
Richard Fish napisał(a):
 On 1/22/07, Jan Stępień [EMAIL PROTECTED] wrote:
 In fact the  radeon module conflicts with fglrx. I've unloaded fglrx,
 modprobed radeon (verified by lsmod) and relaunched gdm. But it's still
 refusing to use the new module:

 (EE) Failed to load module radeon (module does not exist, 0)

 Actually it does exist, it is loaded and besides listed in xorg.conf to
 be bound to my Radeon 9600XT. I'm can't get it. Any suggestions?
 
 Hmm, can you post your current xorg.conf and dmesg outputs?
 
 -Richard
 

Of course. Output of dmesg and xorg.conf attached.

Regards,
Jan

-- 
Mailjan at stepien com pl
Jabber  jano at jabber aster pl
GG  1894343
Web http://stepien.com.pl
Section ServerLayout
Identifier Simple Layout
Screen  0  aticonfig-Screen[0] 0 0
InputDeviceMouse1 CorePointer
InputDeviceKeyboard1 CoreKeyboard
#   Option  AIGLX true
EndSection

Section Files
#FontPath   /usr/share/fonts/TTF/
#FontPath   /usr/share/fonts/OTF
#FontPath   /usr/share/fonts/CID/
#FontPath   /usr/lib/X11/fonts/local/
#FontPath   /usr/lib/X11/fonts/misc/
#FontPath   /usr/lib/X11/fonts/75dpi/:unscaled
#FontPath   /usr/lib/X11/fonts/100dpi/:unscaled
#FontPath   /usr/lib/X11/fonts/Speedo/
#FontPath   /usr/lib/X11/fonts/Type1/
#FontPath   /usr/lib/X11/fonts/TrueType/
#FontPath   /usr/lib/X11/fonts/freefont/
#FontPath   /usr/lib/X11/fonts/75dpi/
#FontPath   /usr/lib/X11/fonts/100dpi/
FontPath /usr/share/fonts/misc/
FontPath /usr/share/fonts/Type1/
FontPath /usr/share/fonts/100dpi/
FontPath /usr/share/fonts/75dpi/
EndSection

Section Module
Loadtype1
Loadspeedo
Load  dbe # Double buffer extension
SubSection extmod
Option  omit xfree86-dga   # don't initialise the DGA 
extension
EndSubSection
Load  freetype
Load  xtt
Load  dri
Load  glx
EndSection

Section InputDevice

Identifier  Keyboard1
Driver  kbd
Option  AutoRepeat 500 30
Option  XkbRules xorg
Option  XkbModel pc105
Option  XkbLayout pl
EndSection

Section InputDevice
Identifier  Mouse1
Driver  mouse
Option  Protocol ExplorerPS/2   # Explorer PS/2
Option  Device /dev/psaux
Option  ZAxisMapping 4 5 6 7
EndSection

Section Monitor
Identifier   aticonfig-Monitor[0]
Option  VendorName ATI Proprietary Driver
Option  ModelName Generic Autodetecting Monitor
Option  DPMS true
EndSection

Section Device
Identifier  aticonfig-Device[0]
#   Driver  radeon
Driver  fglrx
Option  UseInternalAGPGART no
Option VideoOverlay   on
Option OpenGLOverlay  off
#   Option DRI on
EndSection

Section Screen
Identifier aticonfig-Screen[0]
Device aticonfig-Device[0]
Monitoraticonfig-Monitor[0]
DefaultDepth 24
SubSection Display
Viewport   0 0
Depth 24
Modes1280x1024 1024x768 800x600 640x480
EndSubSection
EndSection

Section dri
Mode 0666
EndSection

#Section Extensions
#   Option Composite Enable
#EndSection
Linux version 2.6.19-gentoo-r4 ([EMAIL PROTECTED]) (gcc version 4.1.1 (Gentoo 
4.1.1-r3)) #1 Sun Jan 21 23:34:32 CET 2007
BIOS-provided physical RAM map:
 BIOS-e820:  - 0009fc00 (usable)
 BIOS-e820: 0009fc00 - 000a (reserved)
 BIOS-e820: 000f - 0010 (reserved)
 BIOS-e820: 0010 - 3fffc000 (usable)
 BIOS-e820: 3fffc000 - 3000 (ACPI data)
 BIOS-e820: 3000 - 4000 (ACPI NVS)
 BIOS-e820: fec0 - fec01000 (reserved)
 BIOS-e820: fee0 - fee01000 (reserved)
 BIOS-e820:  - 0001 (reserved)
Warning only 896MB will be used.
Use a HIGHMEM enabled kernel.
896MB LOWMEM available.
Entering add_active_range(0, 0, 229376) 0 entries of 256 used
Zone PFN ranges:
  DMA 0 - 4096
  Normal   4096 -   229376
early_node_map[1] active PFN ranges
0:0 -   229376
On node 0 totalpages: 229376
  DMA zone: 32 pages used for memmap
  DMA zone: 0 pages reserved
  DMA zone: 4064 pages, LIFO batch:0
  Normal zone: 1760 pages used for memmap
  Normal zone: 223520 pages, LIFO batch:31
DMI 2.3 present.
ACPI: RSDP (v000 ASUS  ) @ 0x000f5e20
ACPI: RSDT (v001 ASUS   A7V8X-X  0x42302e31 MSFT 0x31313031) @ 0x3fffc000
ACPI: FADT (v001 ASUS   A7V8X-X  0x42302e31 MSFT 0x31313031) @ 0x3fffc0b2
ACPI: BOOT (v001 ASUS   A7V8X-X  0x42302e31 MSFT 0x31313031) @ 0x3fffc030
ACPI: MADT (v001 ASUS   A7V8X-X  0x42302e31 MSFT 0x31313031) @ 0x3fffc058
ACPI: DSDT (v001   

Re: [gentoo-user] Xgl and direct rendering or 'Would you like Xorg or Xgl, sir?'

2007-01-22 Thread Boyd Stephen Smith Jr.
On Monday 22 January 2007 14:59, Jan Stępień [EMAIL PROTECTED] wrote 
about 'Re: [gentoo-user] Xgl and direct rendering or 'Would you like Xorg 
or Xgl, sir?'':
 I've enabled an option in my kernel called
 CONFIG_DRM_RADEON and compiled it as a loadable module. Then I've added
 it to list in /etc/modules.autoload/2.6 (or at least something which
 sounds similar to that one)

IIRC, this is the kernel module required for DRI with the in-tree, libre 
drivers for ATI hardware.  The matching x11-driver is ati or radeon.

 commenting out the fglrx module to assure 
 myself that radeon is going to be loaded at each boot up and fglrx
 will not be loaded. /etc/X11/xorg.conf has been modified - fglrx has
 been replaced with radeon. That's all. Check xorg.conf I've posted in
 the other mail for details.

You other mail had this in the attachment:
 Section Device
 Identifier  aticonfig-Device[0]
 #   Driver      radeon
 Driver      fglrx
 Option  UseInternalAGPGART no
 Option VideoOverlay   on
 Option OpenGLOverlay  off
 #   Option DRI on
 EndSection
which indicates that you are attempting to use the fglrx x11-driver, and 
not the radeon x11-driver.

If you use the CONFIG_RADEON_DRM kernel module, you also need to use 
the ati or radeon x11 driver.  If your use the fglrx out-of-tree, 
esclavitud kernel module (at least I think there's a kernel module by this 
name) you'll alsa need to use the fglrx x11 driver.

You seem to be running into a simple misconfiguration at this point.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


pgpQCSJZ8RRJp.pgp
Description: PGP signature


Re: [gentoo-user] Xgl and direct rendering or 'Would you like Xorg or Xgl, sir?'

2007-01-22 Thread Jan Stępień
Boyd Stephen Smith Jr. napisał(a):
 You other mail had this in the attachment:
 Section Device
 Identifier  aticonfig-Device[0]
 #   Driver  radeon
 Driver  fglrx
 Option  UseInternalAGPGART no
 Option VideoOverlay   on
 Option OpenGLOverlay  off
 #   Option DRI on
 EndSection
 which indicates that you are attempting to use the fglrx x11-driver, and 
 not the radeon x11-driver.
 
 If you use the CONFIG_RADEON_DRM kernel module, you also need to use 
 the ati or radeon x11 driver.  If your use the fglrx out-of-tree, 
 esclavitud kernel module (at least I think there's a kernel module by this 
 name) you'll alsa need to use the fglrx x11 driver.
 
 You seem to be running into a simple misconfiguration at this point.
 

I'm sorry, I've forgotten to modify this line while attaching xorg.conf.
When I was trying to launch Xorg with radeon driver I obviously
commented out the fglrx driver and uncommented radeon driver's line
- inversely to what I have actually attached. So it should be:

 Driver  radeon
 #   Driver  fglrx

And to make it even more precise - while entering default init level
fglrx is NOT loaded and radeon is loaded.

Regards,
Jan

-- 
Mailjan at stepien com pl
Jabber  jano at jabber aster pl
GG  1894343
Web http://stepien.com.pl



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Xgl and direct rendering or 'Would you like Xorg or Xgl, sir?'

2007-01-22 Thread Richard Fish

On 1/22/07, Jan Stępień [EMAIL PROTECTED] wrote:

[drm:drm_unlock] *ERROR* Process 5256 using kernel context 0


Hmm, looks like kernel DRM is still having some issues.

Try changing your xorg.conf back to Driver radeon, comment out the
Option lines, and then do a full reboot.  You might want to
rc-update -d xdm before this so that you boot into a console, and
can then try things with a plain old startx.

HTH,
-Richard

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Xgl and direct rendering or 'Would you like Xorg or Xgl, sir?'

2007-01-22 Thread Iain Buchanan
On Mon, 2007-01-22 at 21:47 +0100, Jan Stępień wrote:
 Mick napisał(a):
  Did you try remerging xorg with the radeon VIDEO_DEVICE flag after you 
  removed 
  the fglrx module?
 
 Actually I haven't heard about this flag. I've just googled for it but
 without any reasonably results. Could you tell me more about it or send
 me a link to a proper website which could enlighten me?

try these exact searches in google (include the site.. bit)

INPUT_DEVICES VIDEO_CARDS site:http://www.gentoo.org
and
INPUT_DEVICES VIDEO_CARDS site:http://www.gentoo-wiki.org

cya,
-- 
Iain Buchanan iaindb at netspace dot net dot au

Of what you see in books, believe 75%.  Of newspapers, believe 50%.  And of
TV news, believe 25% -- make that 5% if the anchorman wears a blazer.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Xgl and direct rendering or 'Would you like Xorg or Xgl, sir?'

2007-01-21 Thread Richard Fish

On 1/20/07, Jan Stępień [EMAIL PROTECTED] wrote:

(/lib/modules/2.6.18-gentoo-r4/kernel/drivers/char/drm/drm.ko): Cannot
allocate memory


Try searching dmesg for drm.  My guess is either the radeonfb module
is conflicting, or the fglrx module.

-Richard

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Xgl and direct rendering or 'Would you like Xorg or Xgl, sir?'

2007-01-20 Thread Jan Stępień
Richard Fish napisał(a):
 On 1/19/07, Jan Stępień [EMAIL PROTECTED] wrote:
 Please verify my plan. I should recompile my kernel with device drivers
 - character devices - radeon built in (or as a module) and in
 xorg.conf set driver to radeon. Am I right?
 
 Yeah, I think that will work.  Good luck!
 
 -Richard
 

New problems came up.

# modprobe radeon
WARNING: Error inserting drm
(/lib/modules/2.6.18-gentoo-r4/kernel/drivers/char/drm/drm.ko): Cannot
allocate memory
FATAL: Error inserting radeon
(/lib/modules/2.6.18-gentoo-r4/kernel/drivers/char/drm/radeon.ko):
Unknown symbol in module, or unknown parameter (see dmesg)

# dmesg | grep radeon
radeonfb: Found Intel x86 BIOS ROM Image
radeonfb: Retrieved PLL infos from BIOS
radeonfb: Reference=27.00 MHz (RefDiv=12) Memory=500.00 Mhz,
System=297.00 MHz
radeonfb: PLL min 2 max 4
radeonfb: Monitor 1 type CRT found
radeonfb: EDID probed
radeonfb: Monitor 2 type no found
radeonfb (:01:00.0): ATI Radeon AR
radeon: Unknown symbol drm_open
radeon: Unknown symbol drm_fasync
radeon: Unknown symbol drm_poll
radeon: Unknown symbol drm_get_resource_len
radeon: Unknown symbol drm_core_get_reg_ofs
radeon: Unknown symbol drm_irq_uninstall
radeon: Unknown symbol drm_ioctl
radeon: Unknown symbol drm_exit
radeon: Unknown symbol drm_debug
radeon: Unknown symbol drm_core_get_map_ofs
radeon: Unknown symbol drm_init
radeon: Unknown symbol drm_addmap
radeon: Unknown symbol drm_ioremapfree
radeon: Unknown symbol drm_ioremap
radeon: Unknown symbol drm_get_resource_start
radeon: Unknown symbol drm_vbl_send_signals
radeon: Unknown symbol drm_ati_pcigart_init
radeon: Unknown symbol drm_mmap
radeon: Unknown symbol drm_order
radeon: Unknown symbol drm_ati_pcigart_cleanup
radeon: Unknown symbol drm_core_reclaim_buffers
radeon: Unknown symbol drm_release
radeon: Unknown symbol drm_open
radeon: Unknown symbol drm_fasync
radeon: Unknown symbol drm_poll
radeon: Unknown symbol drm_get_resource_len
radeon: Unknown symbol drm_core_get_reg_ofs
radeon: Unknown symbol drm_irq_uninstall
radeon: Unknown symbol drm_ioctl
radeon: Unknown symbol drm_exit
radeon: Unknown symbol drm_debug
radeon: Unknown symbol drm_core_get_map_ofs
radeon: Unknown symbol drm_init
radeon: Unknown symbol drm_addmap
radeon: Unknown symbol drm_ioremapfree
radeon: Unknown symbol drm_ioremap
radeon: Unknown symbol drm_get_resource_start
radeon: Unknown symbol drm_vbl_send_signals
radeon: Unknown symbol drm_ati_pcigart_init
radeon: Unknown symbol drm_mmap
radeon: Unknown symbol drm_order
radeon: Unknown symbol drm_ati_pcigart_cleanup
radeon: Unknown symbol drm_core_reclaim_buffers
radeon: Unknown symbol drm_release

Any ideas?

Regards,
Jan

-- 
Mailjan at stepien com pl
Jabber  jano at jabber aster pl
GG  1894343
Web http://stepien.com.pl



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Xgl and direct rendering or 'Would you like Xorg or Xgl, sir?'

2007-01-19 Thread Jan Stępień
Novensiles divi Flamen napisał(a):
 I use a script called xlaunch:

 http://forums.gentoo.org/viewtopic-t-483004-highlight-xlaunch.html

 I run it on my laptop and have absolutely no problems, the xserver
alone won't
 kill your performance.

 - Noven

Thanks, sounds interesting.

Hemmann, Volker Armin napisał(a):

 I don't know which drivers support AIGLX, but with aiglx (or nvidia),
 you can
 go from eye-candy-to-fast-to-eye-candy with two mouseclicks. (start
 beryl-manager, choose beryl from the menu for eye candy or your
 other wm, for
 speed).


Fredrik Tolf napisał(a):
 I'm no expert, but as far as I know, that's the reason why AIGLX
 succeeded Xgl. So if you ask me, I think AIGLX (if it works with ATI)
 would be the solution to your problem.
 

Fair enough. Firstly I'll check whether AIGLX will be working with my
video card, and in case of failure I'll give xlaunch a shot.

Thanks for support, guys,

Regards,
Jan Stępień

-- 
Mailjan at stepien com pl
Jabber  jano at jabber aster pl
GG  1894343
Web http://stepien.com.pl



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Xgl and direct rendering or 'Would you like Xorg or Xgl, sir?'

2007-01-19 Thread Jan Stępień
Jan Stępień napisał(a):
 
 Fair enough. Firstly I'll check whether AIGLX will be working with my
 video card, and in case of failure I'll give xlaunch a shot.
 

I've reemerged Xorg adding aiglx to USE variable, modified
/etc/X11/xorg.conf (actually I've been following these instructions:
http://gentoo-wiki.com/HOWTO_AIGLX) and tried to launch Xorg with AIGLX.
Unfortunately efforts were fruitless. Accordingly to article mentioned
above I have to enable composite in xorg.conf:

Section Extensions
Option Composite   Enable
EndSection

After launching X server with this setting it results in using Mesa
instead of fglrx, which means NO direct rendering, as proved by glxinfo.
Beryl cannot be launched because of lack of DRI.

If I turn composite off, the X server is driven by fglrx, which gives me
direct rendering and Beryl's refusal to start because of lack of
composite extension.

It's all quite suspicious, taking into account fact that Radeons are
listed at the website above as video cards able of running AIGLX. But
maybe only on FOSS drivers...?

Afterwards I've downloaded xlaunch. When trying to launch an app (in
this case armyops) starting xlaunch in a terminal in an existing X
server the screen blacks out, probably trying to launch new X session
and suddenly restarts GDM, meanwhile killing my original session.

I've also tried to use xlaunch in a text console having my previous X
server turned on. Results are the same.

Have you got any suggestions?

Best regards,
Jan Stępień

-- 
Mailjan at stepien com pl
Jabber  jano at jabber aster pl
GG  1894343
Web http://stepien.com.pl



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Xgl and direct rendering or 'Would you like Xorg or Xgl, sir?'

2007-01-19 Thread Jan Stępień
Hemmann, Volker Armin napisał(a):
 On Thursday 18 January 2007 23:47, Jan Stępień wrote:
 On 18 Sty, 19:50, Hemmann, Volker Armin

 Or you can start a second X with xinit. So you would have one
 desktop (on F7)
 with Xgl and one (F8) with 'normal' X.
 This method sounds interesting, but I have some doubts. Won't two
 separate X servers be too big challenge for my box? I've got an Athlon
 XP 3000+ (working at 2167 MHz) plus a GB of RAM. Having Xgl loaded in
 the background could be deadly for performance in OpenGL apps on Xorg.
 Please correct me if I'm wrong.
 
 well, I played ut2004 on my amd64 3200+/gf6600. One instance of Xgl one with 
 naked X (and a xterm). Worked well enough.
 

I managed to launch two X servers at one time, however I'm still far
from being successful. My /usr/share/gdm/defaults.conf

snip

[servers]
0=Standard
1=Xgl

[server-Standard]
name=Standard server
command=/usr/bin/X -audit 0
priority=0

[server-Xgl]
name=Xgl
command=/usr/bin/Xgl :1 -ac -accel glx:pbuffer -accel xv:pbuffer
flexible=true
chooser=false
handled=true
priority=0

snip

When entering default runlevel GDM starts and launches both servers.
First one, Standard, has got direct rendering turned on and OpenGL is
rendered by fglrx driver. OpenGL apps work fine. On the other hand
second server, Xgl, has not got direct rendering, and what is most
suspicious, it uses Mesa drivers, which cause Beryl to run at an
absolutely unacceptable performance. Why both servers are not rendered
using fglrx? Have you got any ideas how to do it?

Regards,
Jan

-- 
Mailjan at stepien com pl
Jabber  jano at jabber aster pl
GG  1894343
Web http://stepien.com.pl



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Xgl and direct rendering or 'Would you like Xorg or Xgl, sir?'

2007-01-19 Thread Richard Fish

On 1/19/07, Jan Stępień [EMAIL PROTECTED] wrote:

When entering default runlevel GDM starts and launches both servers.
First one, Standard, has got direct rendering turned on and OpenGL is
rendered by fglrx driver. OpenGL apps work fine. On the other hand
second server, Xgl, has not got direct rendering, and what is most
suspicious, it uses Mesa drivers, which cause Beryl to run at an
absolutely unacceptable performance. Why both servers are not rendered
using fglrx? Have you got any ideas how to do it?


Have you checked your /var/log/Xorg.*.log files?  They should reflect
why the Xgl server is not being accellerated.

Also, one other option may be to try the opensource radeon driver.
You can lookup your card's pci ID (use lspci  lspci -n) in
/usr/src/linux/drivers/char/drm/drm_pciids.h to see if it is supported
or not.  If so, you should be able to get aiglx working with
opensource drivers.

-Richard

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Xgl and direct rendering or 'Would you like Xorg or Xgl, sir?'

2007-01-19 Thread Jan Stępień
Richard Fish napisał(a):
 Have you checked your /var/log/Xorg.*.log files?  They should reflect
 why the Xgl server is not being accellerated.

Got it! Somewhere around 92% of /var/log/Xorg.94.log, which is logging
Xgl, I've found:

(EE) fglrx(0): Hardware has already been locked.
(II) fglrx(0): [drm] removed 1 reserved context for kernel
(II) fglrx(0): [drm] unmapping 8192 bytes of SAREA 0x2000 at 0xb7f7b000
(WW) fglrx(0): ***
(WW) fglrx(0): * DRI initialization failed!  *
(WW) fglrx(0): * (maybe driver kernel module missing or bad) *
(WW) fglrx(0): * 2D acceleraton available (MMIO) *
(WW) fglrx(0): * no 3D acceleration available*
(WW) fglrx(0): * *

Hardware's locked? Do they mean that I can render only one X server
simultaneously? They must be kidding...

And near the end of this file:

(EE) AIGLX: Screen 0 is not DRI capable

No doubt about it.

What's also interesting at the 96th per cent of Xorg.0.log, standard
server's log, I've got:

(EE) AIGLX error: dlopen of /usr/lib/dri/fglrx_dri.so failed
(/usr/lib/dri/fglrx_dri.so: cannot open shared object file: No such file
or directory)
(EE) AIGLX: reverting to software rendering

Did portage forgotten about something while emerging ati-drivers? Or
maybe it's my mistake to force AIGLX to start ('Option  AIGLX true'
in xorg.conf)?

 Also, one other option may be to try the opensource radeon driver.
 You can lookup your card's pci ID (use lspci  lspci -n) in
 /usr/src/linux/drivers/char/drm/drm_pciids.h to see if it is supported
 or not.  If so, you should be able to get aiglx working with
 opensource drivers.

Found it. In the section radeon_PCI_IDS I've found the following line:

{0x1002, 0x4152, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_RV350}, \

Please verify my plan. I should recompile my kernel with device drivers
- character devices - radeon built in (or as a module) and in
xorg.conf set driver to radeon. Am I right?

Thanks for your feedback,
Jan

-- 
Mailjan at stepien com pl
Jabber  jano at jabber aster pl
GG  1894343
Web http://stepien.com.pl



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Xgl and direct rendering or 'Would you like Xorg or Xgl, sir?'

2007-01-19 Thread Hemmann, Volker Armin
On Friday 19 January 2007 15:01, Jan Stępień wrote:
 Jan Stępień napisał(a):
  Fair enough. Firstly I'll check whether AIGLX will be working with my
  video card, and in case of failure I'll give xlaunch a shot.

 I've reemerged Xorg adding aiglx to USE variable, modified
 /etc/X11/xorg.conf (actually I've been following these instructions:
 http://gentoo-wiki.com/HOWTO_AIGLX) and tried to launch Xorg with AIGLX.
 Unfortunately efforts were fruitless. Accordingly to article mentioned
 above I have to enable composite in xorg.conf:

 Section Extensions
 Option Composite   Enable
 EndSection

 After launching X server with this setting it results in using Mesa
 instead of fglrx, which means NO direct rendering, as proved by glxinfo.
 Beryl cannot be launched because of lack of DRI.

 If I turn composite off, the X server is driven by fglrx, which gives me
 direct rendering and Beryl's refusal to start because of lack of
 composite extension.

 It's all quite suspicious, taking into account fact that Radeons are
 listed at the website above as video cards able of running AIGLX. But
 maybe only on FOSS drivers...?

 Afterwards I've downloaded xlaunch. When trying to launch an app (in
 this case armyops) starting xlaunch in a terminal in an existing X
 server the screen blacks out, probably trying to launch new X session
 and suddenly restarts GDM, meanwhile killing my original session.

 I've also tried to use xlaunch in a text console having my previous X
 server turned on. Results are the same.

 Have you got any suggestions?

Sounds like you are out of luck. The open drivers with AIGLX support don't 
support your card and the closed ones don't support AIGLX.

So your only hope: Xgl and a second X. That is a little bit sad. Send 
your 'thank yous' to ATI.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Xgl and direct rendering or 'Would you like Xorg or Xgl, sir?'

2007-01-19 Thread Richard Fish

On 1/19/07, Jan Stępień [EMAIL PROTECTED] wrote:

Please verify my plan. I should recompile my kernel with device drivers
- character devices - radeon built in (or as a module) and in
xorg.conf set driver to radeon. Am I right?


Yeah, I think that will work.  Good luck!

-Richard

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Xgl and direct rendering or 'Would you like Xorg or Xgl, sir?'

2007-01-19 Thread Novensiles divi Flamen
On Saturday 20 January 2007 00:31, Jan Stępień wrote:
 After launching X server with this setting it results in using Mesa
 instead of fglrx, which means NO direct rendering, as proved by glxinfo.
 Beryl cannot be launched because of lack of DRI.

 If I turn composite off, the X server is driven by fglrx, which gives me
 direct rendering and Beryl's refusal to start because of lack of
 composite extension.

 It's all quite suspicious, taking into account fact that Radeons are
 listed at the website above as video cards able of running AIGLX. But
 maybe only on FOSS drivers...?

It might be a proprietary drive issue. I use an intel chipset - composite on, 
direct rendering, AIGLX and Beryl all working together. Just as the wiki 
tells you to do.

 Afterwards I've downloaded xlaunch. When trying to launch an app (in
 this case armyops) starting xlaunch in a terminal in an existing X
 server the screen blacks out, probably trying to launch new X session
 and suddenly restarts GDM, meanwhile killing my original session.


 I've also tried to use xlaunch in a text console having my previous X
 server turned on. Results are the same.

 Have you got any suggestions?

Try turning off GDM, logging in via console and then running startx. Then from 
inside that xserver use xlaunch to start the game, see if the results are any 
different. Xlaunch works perfectly for me from within KDE or enlightenment, 
although I've never had GDM running (or even installed) on this machine.

- Noven
-- 
-- Novensiles divi Flamen --
 Miles Militis Fons 

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Xgl and direct rendering or 'Would you like Xorg or Xgl, sir?'

2007-01-18 Thread Jan Stępień
Hi everyone,

I've been using Xgl for quite a long time without any serious problems.
Recently I've tried to launch America's Army (emerged one, version
2.5.0) on my box, but...

~ armyops
Xlib:  extension XFree86-DRI missing on display :1.0.
Cheat protection disabled
open /dev/[sound/]mixer: No such file or directory
WARNING: ALC_EXT_capture is subject to change!
Either GL_EXT_bgra or glDrawRangeElements not supported- bailing out.
History:
Exiting due to error

Being quite disappointed I verified the first line of the output above
with glxinfo. And so...

~ glxinfo
name of display: :1.0
Xlib:  extension XFree86-DRI missing on display :1.0.
display: :1  screen: 0
direct rendering: No
snip

It sounds rather unbelievably. I've got running Xgl with Beryl's
dazzling animations and I'm informed that despite having over 4000 FPS
on glxgears I have not got direct rendering. What the...?

Few days later I've accidentally launched Xorg (using startx script)
instead of my Xgl. When I entered my old, two-dimension desktop I
thought that trying America's Army over here, without Xgl, could tell me
something more (i.e. that something's wrong with my configuration or
whatever else). So I typed armyops in the terminal... And surprisingly
enough the game has started. Furthermore, the framerate was quite
satisfactory.

After this quite long introduction I'll finally get to the point. I have
got two questions.

1. Is it possible to enable somehow direct rendering on Xgl, therefore
allowing OpenGL apps to work as ought to.

2. If the answer to the first questions is NO, then is there a method
of choosing which Xserver to use? Can I choose whether I'd like to
launch Xorg or Xgl? Or maybe I can even enable such choice in GDM login
screen?

If you need any further information regarding by box please don't
hesitate to ask. Any support would be highly appreciated.

Best regards,
Jan Stępień

-- 
Mailjan at stepien com pl
Jabber  jano at jabber aster pl
GG  1894343
Web http://stepien.com.pl



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Xgl and direct rendering or 'Would you like Xorg or Xgl, sir?'

2007-01-18 Thread Hemmann, Volker Armin
On Thursday 18 January 2007 18:32, Jan Stępień wrote:
 Hi everyone,

 I've been using Xgl for quite a long time without any serious problems.
 Recently I've tried to launch America's Army (emerged one, version
 2.5.0) on my box, but...

 ~ armyops
 Xlib:  extension XFree86-DRI missing on display :1.0.
 Cheat protection disabled
 open /dev/[sound/]mixer: No such file or directory
 WARNING: ALC_EXT_capture is subject to change!
 Either GL_EXT_bgra or glDrawRangeElements not supported- bailing out.
 History:
 Exiting due to error

 Being quite disappointed I verified the first line of the output above
 with glxinfo. And so...

 ~ glxinfo
 name of display: :1.0
 Xlib:  extension XFree86-DRI missing on display :1.0.
 display: :1  screen: 0
 direct rendering: No
 snip

 It sounds rather unbelievably. I've got running Xgl with Beryl's
 dazzling animations and I'm informed that despite having over 4000 FPS
 on glxgears I have not got direct rendering. What the...?

glxgears is not a benchmark.
it might be unbelievable, but it is true. If you use Xgl, no direct rendering 
there.



 Few days later I've accidentally launched Xorg (using startx script)
 instead of my Xgl. When I entered my old, two-dimension desktop I
 thought that trying America's Army over here, without Xgl, could tell me
 something more (i.e. that something's wrong with my configuration or
 whatever else). So I typed armyops in the terminal... And surprisingly
 enough the game has started. Furthermore, the framerate was quite
 satisfactory.

that is normal too.


 After this quite long introduction I'll finally get to the point. I have
 got two questions.

 1. Is it possible to enable somehow direct rendering on Xgl, therefore
 allowing OpenGL apps to work as ought to.

nope. It isn't.
Xgl and direct rendering are exclusive. One or the other.


 2. If the answer to the first questions is NO, then is there a method
 of choosing which Xserver to use? Can I choose whether I'd like to
 launch Xorg or Xgl? Or maybe I can even enable such choice in GDM login
 screen?

Yes. 

Or you can start a second X with xinit. So you would have one desktop (on F7) 
with Xgl and one (F8) with 'normal' X.

Any reason, you are using Xgl? No Aiglx with your card?


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Xgl and direct rendering or 'Would you like Xorg or Xgl, sir?'

2007-01-18 Thread Jan Stępień
On 18 Sty, 19:50, Hemmann, Volker Armin
[EMAIL PROTECTED] wrote:
 nope. It isn't.
 Xgl and direct rendering are exclusive. One or the other.


Pity. That would be lovely.


 Yes.

 Or you can start a second X with xinit. So you would have one
 desktop (on F7)
 with Xgl and one (F8) with 'normal' X.


This method sounds interesting, but I have some doubts. Won't two
separate X servers be too big challenge for my box? I've got an Athlon
XP 3000+ (working at 2167 MHz) plus a GB of RAM. Having Xgl loaded in
the background could be deadly for performance in OpenGL apps on Xorg.
Please correct me if I'm wrong.

 Any reason, you are using Xgl? No Aiglx with your card?


Actually, I haven't though about it. I've got an ATI Radeon 9600XT
running on proprietary drivers (emerged ati-drivers). It works fine, as
long as you can tell that Radeon works fine on Linux; I haven't got any
experience with NVidia's hardware. Returning to the topic, I haven't got
an idea neither whether Aiglx works with my Radeon nor why I'm not using
Aiglx. When I've started to play with fancy 3D servers I was using
Debian, and I found an article describing quite precisely how to get Xgl
running on unstable Debian. Worked fine, so I've found Xgl a nice
choice. Am I mistaken?

Thanks for your feedback,

Best regards,
Jan Stępień
-- 
Mailjan at stepien com pl
Jabber  jano at jabber aster pl
GG  1894343
Web http://stepien.com.pl



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Xgl and direct rendering or 'Would you like Xorg or Xgl, sir?'

2007-01-18 Thread Novensiles divi Flamen
On Friday 19 January 2007 09:17, Jan Stępień wrote:
 
  Or you can start a second X with xinit. So you would have one
  desktop (on F7)
  with Xgl and one (F8) with 'normal' X.

 This method sounds interesting, but I have some doubts. Won't two
 separate X servers be too big challenge for my box? I've got an Athlon
 XP 3000+ (working at 2167 MHz) plus a GB of RAM. Having Xgl loaded in
 the background could be deadly for performance in OpenGL apps on Xorg.
 Please correct me if I'm wrong.

I use a script called xlaunch:

http://forums.gentoo.org/viewtopic-t-483004-highlight-xlaunch.html

I run it on my laptop and have absolutely no problems, the xserver alone won't 
kill your performance.

- Noven
-- 
-- Novensiles divi Flamen --
 Miles Militis Fons 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Xgl and direct rendering or 'Would you like Xorg or Xgl, sir?'

2007-01-18 Thread Hemmann, Volker Armin
On Thursday 18 January 2007 23:47, Jan Stępień wrote:
 On 18 Sty, 19:50, Hemmann, Volker Armin

 [EMAIL PROTECTED] wrote:
  nope. It isn't.
  Xgl and direct rendering are exclusive. One or the other.

 Pity. That would be lovely.

  Yes.
 
  Or you can start a second X with xinit. So you would have one
  desktop (on F7)
  with Xgl and one (F8) with 'normal' X.

 This method sounds interesting, but I have some doubts. Won't two
 separate X servers be too big challenge for my box? I've got an Athlon
 XP 3000+ (working at 2167 MHz) plus a GB of RAM. Having Xgl loaded in
 the background could be deadly for performance in OpenGL apps on Xorg.
 Please correct me if I'm wrong.

well, I played ut2004 on my amd64 3200+/gf6600. One instance of Xgl one with 
naked X (and a xterm). Worked well enough.


  Any reason, you are using Xgl? No Aiglx with your card?

 Actually, I haven't though about it. I've got an ATI Radeon 9600XT
 running on proprietary drivers (emerged ati-drivers). It works fine, as
 long as you can tell that Radeon works fine on Linux; I haven't got any
 experience with NVidia's hardware. Returning to the topic, I haven't got
 an idea neither whether Aiglx works with my Radeon nor why I'm not using
 Aiglx. When I've started to play with fancy 3D servers I was using
 Debian, and I found an article describing quite precisely how to get Xgl
 running on unstable Debian. Worked fine, so I've found Xgl a nice
 choice. Am I mistaken?

I don't know which drivers support AIGLX, but with aiglx (or nvidia), you can 
go from eye-candy-to-fast-to-eye-candy with two mouseclicks. (start 
beryl-manager, choose beryl from the menu for eye candy or your other wm, for 
speed).

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Xgl and direct rendering or 'Would you like Xorg or Xgl, sir?'

2007-01-18 Thread Fredrik Tolf
On Thu, 2007-01-18 at 23:47 +0100, Jan Stępień wrote:
 On 18 Sty, 19:50, Hemmann, Volker Armin
 [EMAIL PROTECTED] wrote:
  nope. It isn't.
  Xgl and direct rendering are exclusive. One or the other.
 
 Pity. That would be lovely.

I'm no expert, but as far as I know, that's the reason why AIGLX
succeeded Xgl. So if you ask me, I think AIGLX (if it works with ATI)
would be the solution to your problem.

Fredrik Tolf




-- 
gentoo-user@gentoo.org mailing list