Re: [CentOS] CentOS 5 + XGL + fglrx (ati) + dualhead

2007-06-30 Thread ArcosCom Linux User
Does anyone want to help me please?

El Vie, 29 de Junio de 2007, 17:16, ArcosCom Linux User escribió:
 Well, some progress.

 I had installed xgl and appears to be working.

 Now the problem is that on the right screen don't load the desktop, I can
 only view a black screen and the mouse cursor appears as a X over that
 screen.

 I can play with beryl on the laptop flat fine (1600x1050 with 24bpp), but
 not with the external LCD (1280x1024 with 24bpp). The right screen
 (external LCD) works fine witout XGL, and appears to work fine with Xgl,
 but the secondary desktop is not loaded into the secondary screen.

 With ps aux I can see 2 xorg process and only one Xgl process.

 Perhaps I need to make modifications into any gdm configuration files?
 What files I have to modify? How?

 Perhaps I need to make modifications into xorg.conf to adapt it for Xgl
 use?

 Please, I need help about this.

 I attach the relevant .conf files to the e-mail.

 Regards

 El Jue, 28 de Junio de 2007, 13:33, ArcosCom Linux User escribió:
 Hi again.

 I've got a laptop with an ATI X600 inside, perfectly working xorg with
 dual head configuration, 2 desktops (without xinerama).
 I've got 2 xorg.conf files, one for propietary ATI (fglrx) driver, and
 other to use the open source driver. The difference is very notorious. The
 problem I have is that I read (Saint Google) that to work with
 compiz/beryl and dual-head configuration, I need to install XGL. That is
 why I wrote this message.
 Has anyone been installed XGL under Centos 6 using dual-head
 configuration
 and fglrx driver?

 Does anyone know links to tutorials/repositoris that I can use to
 install
 XGL?

 Does anyone know information on How-to configure XGL to allow the
 dual-head configuration use?

 My system is updated and is working perfectly with xorg. But I want to
 know how to run beryl in my system and make a mini how-to to configure it
 with xgl+fglrx+dual-head and send it to centos wiki. I have been reading
 info about the same, but under Ubuntu or FC distros, but it is
 incomplete
 or difficult to translate on Centos distro (at least for me).

 Thanks you for any start point (links, howtos, repositories, etc...)
 that
 help me in this documentation/configuration process.

 Regards

 === Spanish version ===

 Hola de nuevo, colisteros.
 Tengo un portátil con una ATI X600 en el cuál tengo perfectamente
 configurado las Xorg para el uso de 2 monitores con escritorios
 independientes, sin Xinerama.
 Tengo 2 xorg.conf, uno para usar el driver propietario ATI (fglrx) y
 otro
 para el uso del driver de código abierto y, sinceramente, se nota mucho
 la
 diferencia entre el uso de uno y otro.
 El tema es que para que beryl/compiz funcione con el driver propietario
 de
 ATI y con 2 monitores, se ve que necesito hacerlo usando XGL. Por ello
 es
 por lo que os escribo el siguiente e-mail.

 ¿Alguno ha instalado XGL bajo CentOS 5 usando fglrx y 2 monitores?

 ¿Alguno conoce links hacia tutoriales/repositorios que pueda usar para
 instalar XGL?

 ¿Información sobre cómo configurar XGL para usar 2 monitores?

 Indicaros que el sistema está actualizado y está funcionando
 perfectamente
 con las xorg. El tema es que me apetece probar cómo montar beryl en el
 mismo y hacer un pequeño HOW-TO para 2 monitores y publicarlo o mandarlo
 al wiki, ya que he visto información para Ubuntu/FC6, pero o es
 incompleta
 o difícil de adaptar (al menos para mí) a Centos 5.

 Os agradecería mucho cualquier punto de partida que me ayude a
 documentarme sobre XGL y configurarlo bien para su uso con 2 monitores,
 ya
 luego veré cómo meter compiz o beryl.

 Salu2

 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos




 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 5 + XGL + fglrx (ati) + dualhead

2007-06-30 Thread maze
I'm actually curious about how you got the XGL part installed (I've been 
trying to get CentOS 5 + fglrx + XGL + beryl + dualhead as well).

I got everything but XGL and beryl working.

As for the dualhead part.
You want to not use XINERAMA or TwinView (nvidia specific) but instead use 
Pairmodes (ati specific).
It basically amounts to having only 1 device and screen section (ie. 
you configure everything for one single screen) and then you add to the 
main Device section


Option Mode2 1920x1200,1600x1200  (second monitor modes)
Option PairModes 1440x900+1920x1200,1440x900+1600x1200

Once X is booted you can use xrandr (command line) to switch between 
various display modes (and aticonfig --lsp, aticonfig --set-powerstate=X, 
aticonfig --query-monitor also come in handy).


Here's my /etc/X11/xorg.conf (this is for an ATI fglrx driven 1440x900 
LCD with occasional external monitor/LCD/projector):


Section ServerLayout
Identifier Layout
Screen  0  Screen0 0 0
InputDeviceKeyboard0 CoreKeyboard
Option  Clone off
Option  Xinerama off
EndSection

Section Files
EndSection

Section Module
EndSection

Section ServerFlags
Option  AIGLX false
Option  Xinerama false
EndSection

Section InputDevice
Identifier  Keyboard0
Driver  kbd
Option  XkbModel pc105
Option  XkbLayout pl
EndSection

Section Monitor
Identifier   Monitor0
Option  VendorName ATI Proprietary Driver
Option  ModelName Generic Autodetecting Monitor
Option  DPMS true
EndSection

Section Device
Identifier  Device0
Driver  fglrx
Option  DesktopSetup horizontal
Option  Mode2 
1920x1200,1600x1200,1440x900,1152x864,1024x768,800x600,640x480
Option  PairModes 
1440x900+1920x1200,1440x900+1600x1200,1440x900+1440x900,1440x900+1152x864,1440x900+1024x768,1440x900+800x600,1440x900+640x480
Option  EnableMonitor lvds

Option  MonitorLayout lvds,auto
Option  Centermode on
Option  DRI true
Option  VideoOverlay on
Option  OpenGLOverlay off
Option  EnablePrivateBackZ yes
BusID   PCI:1:0:0
EndSection

Section Screen
Identifier Screen0
Device Device0
MonitorMonitor0
DefaultDepth 24
SubSection Display
Viewport   0 0
Virtual   1920 1200
Depth 24
Modes1440x900 1152x864 1024x768 800x600
EndSubSection
EndSection

Section DRI
Group0
Mode 0666
EndSection

Section Extensions
Option  Composite false
EndSection



---

so any help on XGL and beryl?

Thanks,
Maciej
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos