Re: evdev keyboard, messed arrow keys - how to fix it?

2009-07-13 Thread Rémi Cardona
Le 12/07/2009 20:22, Tomasz Chmielewski a écrit :
 When using an evdev keyboard, arrow keys do not work as they should:

 - Left, Down - key works, but do not repeat
 - Up - key do not work at all
 - Right - works correctly

Already reported at https://bugs.freedesktop.org/show_bug.cgi?id=17925

FTR, there's an increasing number of users getting bit by this, among 
various distro.

Cheers,

Rémi
___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


Re: evdev keyboard, messed arrow keys - how to fix it?

2009-07-13 Thread Tomasz Chmielewski
Rémi Cardona wrote:
 Le 12/07/2009 20:22, Tomasz Chmielewski a écrit :
 When using an evdev keyboard, arrow keys do not work as they should:

 - Left, Down - key works, but do not repeat
 - Up - key do not work at all
 - Right - works correctly
 
 Already reported at https://bugs.freedesktop.org/show_bug.cgi?id=17925
 
 FTR, there's an increasing number of users getting bit by this, among 
 various distro.

Yes, I've seen lots of reports for repeat delays when googling to solve 
my problem.
For which there are solutions/workarounds, like using xset r 

Unfortunately, I didn't find a solution for a not-working up key 
(which is also not mentioned in the bug report you mention).

Which is really bad when someone is using the PC for 
programming/administering :(


-- 
Tomasz Chmielewski
http://wpkg.org
___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


Re: does radeon driver support HDMI video?

2009-07-13 Thread Alex Deucher
On Sun, Jul 12, 2009 at 3:55 AM, Tomasz Chmielewskiman...@wpkg.org wrote:
 Tomasz Chmielewski wrote:


 But coming back to the HDMI problem, it was not detected by fglrx driver as
 well.
 I think the problem is here that I use a HDMI extender (LevelOne HVE-9001,
 over cat. 5e cable),
 which does not seem to follow HDMI specs fully. What's interesting, if I
 start X with HDMI cable connected to the
 monitor directly, and then changed to HDMI extender, I could still see the
 video correctly.
 That's why I thought forcing HDMI output would help here (fglrx has such
 an option, but it can't use it
 when randr is used, go figure).

You should be able to force the output on with xrandr via your xorg
config file.  Add a monitor section section for your hdmi monitor
called HDMI-0, the set Option Enable True and specify the sync
ranges and preferred mode.

e.g., (replace the sync ranges and preferred mode as per your desired config):
Section Monitor
Identifier  HDMI-0
HorizSync   30-81
VertRefresh 56-76
Modeline 1280x1024_60.00  108.88  1280 1360 1496 1712  1024 1025
1028 1060  -HSync +Vsync
Option PreferredMode 1280x1024_60.00
EndSection
___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


Re: Problem starting X server on debian lenny

2009-07-13 Thread Imtiaz Ahmed
Hi, I am  still waiting for some response on this.

imtiaz

Imtiaz Ahmed wrote:
 Hi,

 I am having problems starting the xorg server on my desktop that has 
 Intel 965G Graphic adapter. I have tried many things but still no luck 
 and kett getting the error
 intel(0): No valid modes
 Screen(s) found, but none have a usable configuration.


 Have tried without a conf file (so it can use the default)
 tried to create a conf file using xorg -configure (same error)

 If use use vesa driver instead of intel x server starts but with a 
 blank screen and i could just see the mouse pointer.

 Can someone please help me out of this issue?
 I also tried to upgrade the debian from stable to testing release but 
 still same result.
 lspci | grep Graphic
 00:02.0 VGA compatible controller: Intel Corporation 82G965 Integrated 
 Graphics Controller (rev 02)
 lsmod | grep intel
 snd_hda_intel 325688 0
 snd_pcm 62596 2 snd_hda_intel,snd_pcm_oss
 snd 45604 9 
 snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
  

 snd_page_alloc 7816 2 snd_hda_intel,snd_pcm
 intel_agp 22556 1
 agpgart 28776 1 intel_agp

 Regards,
 Imtiaz


 = Config file Generated by xorg -configure ==
 Section ServerLayout
 Identifier X.org Configured
 Screen 0 Screen0 0 0
 InputDevice Mouse0 CorePointer
 InputDevice Keyboard0 CoreKeyboard
 EndSection

 Section Files
 RgbPath /etc/X11/rgb
 ModulePath /usr/lib/xorg/modules
 FontPath /usr/share/fonts/X11/misc
 FontPath /usr/share/fonts/X11/cyrillic
 FontPath /usr/share/fonts/X11/100dpi/:unscaled
 FontPath /usr/share/fonts/X11/75dpi/:unscaled
 FontPath /usr/share/fonts/X11/Type1
 FontPath /usr/share/fonts/X11/100dpi
 FontPath /usr/share/fonts/X11/75dpi
 FontPath /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType
 EndSection

 Section Module
 Load dbe
 Load xtrap
 Load extmod
 Load GLcore
 Load record
 Load glx
 Load dri
 EndSection

 Section InputDevice
 Identifier Keyboard0
 Driver kbd
 EndSection

 Section InputDevice
 Identifier Mouse0
 Driver mouse
 Option Protocol auto
 Option Device /dev/input/mice
 Option ZAxisMapping 4 5 6 7
 EndSection

 Section Monitor
 Identifier Monitor0
 VendorName Monitor Vendor
 ModelName Monitor Model
 EndSection

 Section Device
 ### Available Driver options are:-
 ### Values: i: integer, f: float, bool: True/False,
 ### string: String, freq: f Hz/kHz/MHz
 ### [arg]: arg optional
 #Option NoAccel # [bool]
 #Option SWcursor # [bool]
 #Option ColorKey # i
 #Option CacheLines # i
 #Option Dac6Bit # [bool]
 Option DRI false
 #Option NoDDC # [bool]
 #Option ShowCache # [bool]
 #Option XvMCSurfaces # i
 #Option PageFlip # [bool]
 Option ModeDebug true
 Identifier Card0
 Driver intel
 VendorName Intel Corporation
 BoardName 82G965 Integrated Graphics Controller
 BusID PCI:0:2:0
 EndSection

 Section Screen
 Identifier Screen0
 Device Card0
 Monitor Monitor0
 SubSection Display
 Viewport 0 0
 Depth 1
 EndSubSection
 SubSection Display
 Viewport 0 0
 Depth 4
 EndSubSection
 SubSection Display
 Viewport 0 0
 Depth 8
 EndSubSection
 SubSection Display
 Viewport 0 0
 Depth 15
 EndSubSection
 SubSection Display
 Viewport 0 0
 Depth 16
 EndSubSection
 SubSection Display
 Viewport 0 0
 Depth 24
 EndSubSection
 EndSection

  END of Config File===
 Xorg.0.log

 X.Org X Server 1.4.2
 Release Date: 11 June 2008
 X Protocol Version 11, Revision 0
 Build Operating System: Linux Debian (xorg-server 2:1.4.2-11)
 Current Operating System: Linux imt-debian 2.6.26-2-686 #1 SMP Sun Jun 
 21 04:57:38 UTC 2009 i686
 Build Date: 20 February 2009 03:06:29AM

 Before reporting problems, check http://wiki.x.org
 to make sure that you have the latest version.
 Module Loader present
 Markers: (--) probed, (**) from config file, (==) default setting,
 (++) from command line, (!!) notice, (II) informational,
 (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
 (==) Log file: /var/log/Xorg.0.log, Time: Sun Jul 5 13:42:50 2009
 (++) Using config file: /root/xorg.conf.new
 (==) ServerLayout X.org Configured
 (**) |--Screen Screen0 (0)
 (**) | |--Monitor Monitor0
 (**) | |--Device Card0
 (**) |--Input Device Mouse0
 (**) |--Input Device Keyboard0
 (==) Automatically adding devices
 (==) Automatically enabling devices
 (WW) The directory /usr/share/fonts/X11/cyrillic does not exist.
 Entry deleted from font path.
 (WW) `fonts.dir' not found (or not valid) in 
 /usr/share/fonts/X11/Type1.
 Entry deleted from font path.
 (Run 'mkfontdir' on /usr/share/fonts/X11/Type1).
 (==) Including the default font path 
 /usr/share/fonts/X11/misc,/usr/share/fonts/X11/cyrillic,/usr/share/fonts/X11/100dpi/:unscaled,/usr/share/fonts/X11/75dpi/:unscaled,/usr/share/fonts/X11/Type1,/usr/share/fonts/X11/100dpi,/usr/share/fonts/X11/75dpi,/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType.
  

 (**) FontPath set to:
 /usr/share/fonts/X11/misc,
 /usr/share/fonts/X11/100dpi/:unscaled,
 /usr/share/fonts/X11/75dpi/:unscaled,
 

KMS Howto

2009-07-13 Thread tsuraan
Does anybody have a Howto, or even a requirements document, for
running Intel with KMS?  I now have it mostly working on my sony
laptop; compositing is broken, and glxgears has some really nasty
tearing on it, but it seems to be mostly functional.  I'm wonder,
though, is there some listing somewhere on freedesktop, or x.org, or
somewhere, what versions xorg-server, xf86-video-intel, mesa, linux
kernel, etc are ideal for running KMS?  A document that includes that
information, as well as any xorg.conf settings would be really
appreciated.
___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


Re: KMS Howto

2009-07-13 Thread Stephan Raue
and any for Radeon KMS - i havn't found any libdrm that compiles with 
linux-2.6.31-rc2 without havy patching

Stephan

Am 13.07.2009 18:57, schrieb tsuraan:
 Does anybody have a Howto, or even a requirements document, for
 running Intel with KMS?  I now have it mostly working on my sony
 laptop; compositing is broken, and glxgears has some really nasty
 tearing on it, but it seems to be mostly functional.  I'm wonder,
 though, is there some listing somewhere on freedesktop, or x.org, or
 somewhere, what versions xorg-server, xf86-video-intel, mesa, linux
 kernel, etc are ideal for running KMS?  A document that includes that
 information, as well as any xorg.conf settings would be really
 appreciated.
 ___
 xorg mailing list
 xorg@lists.freedesktop.org
 http://lists.freedesktop.org/mailman/listinfo/xorg




-- 
   ### OpenELEC.tv ###
The free and open Mediacenter Distribution 4 you
  http://www.openelec.tv

___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


Re: KMS Howto

2009-07-13 Thread Alex Deucher
On Mon, Jul 13, 2009 at 1:22 PM, Stephan Rauemailingli...@openelec.tv wrote:
 and any for Radeon KMS - i havn't found any libdrm that compiles with
 linux-2.6.31-rc2 without havy patching


You need to configure libdrm from git master with
--enable-radeon-experimental-api

Alex


 Stephan

 Am 13.07.2009 18:57, schrieb tsuraan:
 Does anybody have a Howto, or even a requirements document, for
 running Intel with KMS?  I now have it mostly working on my sony
 laptop; compositing is broken, and glxgears has some really nasty
 tearing on it, but it seems to be mostly functional.  I'm wonder,
 though, is there some listing somewhere on freedesktop, or x.org, or
 somewhere, what versions xorg-server, xf86-video-intel, mesa, linux
 kernel, etc are ideal for running KMS?  A document that includes that
 information, as well as any xorg.conf settings would be really
 appreciated.
 ___
 xorg mailing list
 xorg@lists.freedesktop.org
 http://lists.freedesktop.org/mailman/listinfo/xorg




 --
               ### OpenELEC.tv ###
 The free and open Mediacenter Distribution 4 you
              http://www.openelec.tv

 ___
 xorg mailing list
 xorg@lists.freedesktop.org
 http://lists.freedesktop.org/mailman/listinfo/xorg

___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


Re: Problem starting X server on debian lenny

2009-07-13 Thread Justin P. Mattock
Imtiaz Ahmed wrote:
 Hi, I am  still waiting for some response on this.

 imtiaz

 Imtiaz Ahmed wrote:

 Hi,

 I am having problems starting the xorg server on my desktop that has
 Intel 965G Graphic adapter. I have tried many things but still no luck
 and kett getting the error
 intel(0): No valid modes
 Screen(s) found, but none have a usable configuration.


 Have tried without a conf file (so it can use the default)
 tried to create a conf file using xorg -configure (same error)

 If use use vesa driver instead of intel x server starts but with a
 blank screen and i could just see the mouse pointer.

 Can someone please help me out of this issue?
 I also tried to upgrade the debian from stable to testing release but
 still same result.
 lspci | grep Graphic
 00:02.0 VGA compatible controller: Intel Corporation 82G965 Integrated
 Graphics Controller (rev 02)
 lsmod | grep intel
 snd_hda_intel 325688 0
 snd_pcm 62596 2 snd_hda_intel,snd_pcm_oss
 snd 45604 9
 snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device

 snd_page_alloc 7816 2 snd_hda_intel,snd_pcm
 intel_agp 22556 1
 agpgart 28776 1 intel_agp

 Regards,
 Imtiaz


 = Config file Generated by xorg -configure ==
 Section ServerLayout
 Identifier X.org Configured
 Screen 0 Screen0 0 0
 InputDevice Mouse0 CorePointer
 InputDevice Keyboard0 CoreKeyboard
 EndSection

 Section Files
 RgbPath /etc/X11/rgb
 ModulePath /usr/lib/xorg/modules
 FontPath /usr/share/fonts/X11/misc
 FontPath /usr/share/fonts/X11/cyrillic
 FontPath /usr/share/fonts/X11/100dpi/:unscaled
 FontPath /usr/share/fonts/X11/75dpi/:unscaled
 FontPath /usr/share/fonts/X11/Type1
 FontPath /usr/share/fonts/X11/100dpi
 FontPath /usr/share/fonts/X11/75dpi
 FontPath /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType
 EndSection

 Section Module
 Load dbe
 Load xtrap
 Load extmod
 Load GLcore
 Load record
 Load glx
 Load dri
 EndSection

 Section InputDevice
 Identifier Keyboard0
 Driver kbd
 EndSection

 Section InputDevice
 Identifier Mouse0
 Driver mouse
 Option Protocol auto
 Option Device /dev/input/mice
 Option ZAxisMapping 4 5 6 7
 EndSection

 Section Monitor
 Identifier Monitor0
 VendorName Monitor Vendor
 ModelName Monitor Model
 EndSection

 Section Device
 ### Available Driver options are:-
 ### Values:i: integer,f: float,bool: True/False,
 ###string: String,freq: f  Hz/kHz/MHz
 ### [arg]: arg optional
 #Option NoAccel # [bool]
 #Option SWcursor # [bool]
 #Option ColorKey #i
 #Option CacheLines #i
 #Option Dac6Bit # [bool]
 Option DRI false
 #Option NoDDC # [bool]
 #Option ShowCache # [bool]
 #Option XvMCSurfaces #i
 #Option PageFlip # [bool]
 Option ModeDebug true
 Identifier Card0
 Driver intel
 VendorName Intel Corporation
 BoardName 82G965 Integrated Graphics Controller
 BusID PCI:0:2:0
 EndSection

 Section Screen
 Identifier Screen0
 Device Card0
 Monitor Monitor0
 SubSection Display
 Viewport 0 0
 Depth 1
 EndSubSection
 SubSection Display
 Viewport 0 0
 Depth 4
 EndSubSection
 SubSection Display
 Viewport 0 0
 Depth 8
 EndSubSection
 SubSection Display
 Viewport 0 0
 Depth 15
 EndSubSection
 SubSection Display
 Viewport 0 0
 Depth 16
 EndSubSection
 SubSection Display
 Viewport 0 0
 Depth 24
 EndSubSection
 EndSection

  END of Config File===
 Xorg.0.log

 X.Org X Server 1.4.2
 Release Date: 11 June 2008
 X Protocol Version 11, Revision 0
 Build Operating System: Linux Debian (xorg-server 2:1.4.2-11)
 Current Operating System: Linux imt-debian 2.6.26-2-686 #1 SMP Sun Jun
 21 04:57:38 UTC 2009 i686
 Build Date: 20 February 2009 03:06:29AM

 Before reporting problems, check http://wiki.x.org
 to make sure that you have the latest version.
 Module Loader present
 Markers: (--) probed, (**) from config file, (==) default setting,
 (++) from command line, (!!) notice, (II) informational,
 (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
 (==) Log file: /var/log/Xorg.0.log, Time: Sun Jul 5 13:42:50 2009
 (++) Using config file: /root/xorg.conf.new
 (==) ServerLayout X.org Configured
 (**) |--Screen Screen0 (0)
 (**) | |--Monitor Monitor0
 (**) | |--Device Card0
 (**) |--Input Device Mouse0
 (**) |--Input Device Keyboard0
 (==) Automatically adding devices
 (==) Automatically enabling devices
 (WW) The directory /usr/share/fonts/X11/cyrillic does not exist.
 Entry deleted from font path.
 (WW) `fonts.dir' not found (or not valid) in
 /usr/share/fonts/X11/Type1.
 Entry deleted from font path.
 (Run 'mkfontdir' on /usr/share/fonts/X11/Type1).
 (==) Including the default font path
 /usr/share/fonts/X11/misc,/usr/share/fonts/X11/cyrillic,/usr/share/fonts/X11/100dpi/:unscaled,/usr/share/fonts/X11/75dpi/:unscaled,/usr/share/fonts/X11/Type1,/usr/share/fonts/X11/100dpi,/usr/share/fonts/X11/75dpi,/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType.

 (**) FontPath set to:
 /usr/share/fonts/X11/misc,
 /usr/share/fonts/X11/100dpi/:unscaled,
 /usr/share/fonts/X11/75dpi/:unscaled,
 

Re: Problem starting X server on debian lenny

2009-07-13 Thread Julien Cristau
On Mon, Jul 13, 2009 at 11:14:10 -0700, Justin P. Mattock wrote:

  From looking at this:
 
 (II) intel(0): EDID for output VGA
 (II) intel(0): Output VGA disconnected
 (EE) intel(0): No valid modes.
 (II) UnloadModule: intel
 (II) UnloadModule: vgahw
 (II) Unloading /usr/lib/xorg/modules//libvgahw.so
 (II) UnloadModule: vbe
 (II) Unloading /usr/lib/xorg/modules//libvbe.so
 (II) UnloadModule: int10
 (II) Unloading /usr/lib/xorg/modules//libint10.so
 (EE) Screen(s) found, but none have a usable configuration.
 
 somehow the xserver is not recognizing the module
 from the kernel, do you have it loaded?

No, this has nothing to do with kernel modules.  The driver just doesn't
seem to detect any connected monitors.

Cheers,
Julien
___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


Re: KMS Howto

2009-07-13 Thread Stephan Raue
is there already support for HD3xxx based Cards or is there a libdrm 
with first support for this cards?


Am 13.07.2009 20:38, schrieb Alex Deucher:

On Mon, Jul 13, 2009 at 1:22 PM, Stephan Rauemailingli...@openelec.tv  wrote:
   

and any for Radeon KMS - i havn't found any libdrm that compiles with
linux-2.6.31-rc2 without havy patching

 


You need to configure libdrm from git master with
--enable-radeon-experimental-api

Alex


   

Stephan

Am 13.07.2009 18:57, schrieb tsuraan:
 

Does anybody have a Howto, or even a requirements document, for
running Intel with KMS?  I now have it mostly working on my sony
laptop; compositing is broken, and glxgears has some really nasty
tearing on it, but it seems to be mostly functional.  I'm wonder,
though, is there some listing somewhere on freedesktop, or x.org, or
somewhere, what versions xorg-server, xf86-video-intel, mesa, linux
kernel, etc are ideal for running KMS?  A document that includes that
information, as well as any xorg.conf settings would be really
appreciated.
___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


   

--
   ### OpenELEC.tv ###
The free and open Mediacenter Distribution 4 you
  http://www.openelec.tv

___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg

 


   



--
  ### OpenELEC.tv ###
The free and open Mediacenter Distribution 4 you
 http://www.openelec.tv

___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg

Re: KMS Howto

2009-07-13 Thread Alex Deucher
On Mon, Jul 13, 2009 at 2:52 PM, Stephan Rauemailingli...@openelec.tv wrote:
 is there already support for HD3xxx based Cards or is there a libdrm with
 first support for this cards?


KMS doesn't support r6xx or r7xx cards yet.  It currently only
supports r1xx-r5xx cards.

Alex

 Am 13.07.2009 20:38, schrieb Alex Deucher:

 On Mon, Jul 13, 2009 at 1:22 PM, Stephan Rauemailingli...@openelec.tv
 wrote:


 and any for Radeon KMS - i havn't found any libdrm that compiles with
 linux-2.6.31-rc2 without havy patching



 You need to configure libdrm from git master with
 --enable-radeon-experimental-api

 Alex




 Stephan

 Am 13.07.2009 18:57, schrieb tsuraan:


 Does anybody have a Howto, or even a requirements document, for
 running Intel with KMS?  I now have it mostly working on my sony
 laptop; compositing is broken, and glxgears has some really nasty
 tearing on it, but it seems to be mostly functional.  I'm wonder,
 though, is there some listing somewhere on freedesktop, or x.org, or
 somewhere, what versions xorg-server, xf86-video-intel, mesa, linux
 kernel, etc are ideal for running KMS?  A document that includes that
 information, as well as any xorg.conf settings would be really
 appreciated.
 ___
 xorg mailing list
 xorg@lists.freedesktop.org
 http://lists.freedesktop.org/mailman/listinfo/xorg




 --
               ### OpenELEC.tv ###
 The free and open Mediacenter Distribution 4 you
              http://www.openelec.tv

 ___
 xorg mailing list
 xorg@lists.freedesktop.org
 http://lists.freedesktop.org/mailman/listinfo/xorg





 --
   ### OpenELEC.tv ###
 The free and open Mediacenter Distribution 4 you
  http://www.openelec.tv

___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


Problems while writing a Composite Manager with Damage, Render, XFixes and Composite

2009-07-13 Thread Arnaud Fontaine
Hello,

I'm currently  writing a Composite  Manager with XCB as  an university
project[0]. I'm using  a library for EWMH[1] I  have written and which
has not been committed yet to xcb-util because it is not finished yet.

I read xcompmgr code along  with the extensions specifications to figure
out how all these extensions interacts together.  At the moment, I'm not
writing the code from a performance point of view, so I'm just trying to
stick to the minimum features and especially to make it work.

However, I  have the  following problems and  I really can't  figure out
what's wrong (the main code is in render.c for Render related functions,
window.c and event.c):

1/  When receiving  a DestroyNotify  event, I  use DamageDestroy  on the
   previously created damage object but  I get a BadDamage error whereas
   it  is the same  damage object  identifier from  its creation  to the
   DamageDestroy request.

2/ I  don't have  any problem when  starting the Composite  Manager when
   windows already  exist (e.g.  existing  are correctly painted  on the
   screen), but it does not work  when trying to paint new window on the
   screen (I don't  get any error though).  Basically,  my code does the
   following:

   1) Initialization (working fine):

 a)  RenderCreatePicture with  the root  window identifier  and with
SubwindowMode equals to  IncludeInferiors and assigned to global
variable globalconf.root_picture.

 b) Get the  root background pixmap, if there is  none, create a new
pixmap  of  1x1  pixels,  then RenderCreatePicture  with  Repeat
equals  to true,  then  fill it  with RenderFillRectangles,  and
assigned to a global variable
globalconf.root_background_picture.

 c) RenderComposite from b) to a).
   
   2) When a CreateNotify event is received:

  a) DamageCreate on the new window identifier.

   3) When a MapNotify event is received:

  a) Set the map state to Viewable.
  b) Get the window pixmap with CompositeNameWindowPixmap.
   
   4) When a DamageNotify is received:

  a) Set the window as damaged.
   
   5) Paint all the windows:

  a) RenderComposite from 1b) to 1a) in order to repaint the screen.
  b) RenderCreatePicture on the pixmap 3b).
  c) RenderComposite from b) to 1a).
   
Is there  anything wrong  in these  requests? I think  I may  have not
understood an  important concept but I  can't figure out  which one. I
have not used  XFixes for now because I don't really  know when to use
it because  as far  as I have  understood, XFixes would  avoid useless
copy of pixels.  I'm also a bit confused  about DamageSubtract too and
don't know exactly when it would be useful (for handling opacity?).

Thank you very much in advance for your answers.

Regards,
Arnaud Fontaine

[0] http://git.mini-dweeb.org/?p=arnau/pcompmgr.git;a=summary
[1] http://git.mini-dweeb.org/?p=arnau/xcb-util.git;a=summary
___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


Re: Problem starting X server on debian lenny

2009-07-13 Thread Justin P. Mattock
Julien Cristau wrote:
 On Mon, Jul 13, 2009 at 11:14:10 -0700, Justin P. Mattock wrote:


From looking at this:

 (II) intel(0): EDID for output VGA
 (II) intel(0): Output VGA disconnected
 (EE) intel(0): No valid modes.
 (II) UnloadModule: intel
 (II) UnloadModule: vgahw
 (II) Unloading /usr/lib/xorg/modules//libvgahw.so
 (II) UnloadModule: vbe
 (II) Unloading /usr/lib/xorg/modules//libvbe.so
 (II) UnloadModule: int10
 (II) Unloading /usr/lib/xorg/modules//libint10.so
 (EE) Screen(s) found, but none have a usable configuration.

 somehow the xserver is not recognizing the module
 from the kernel, do you have it loaded?
  

 No, this has nothing to do with kernel modules.  The driver just doesn't
 seem to detect any connected monitors.

 Cheers,
 Julien


Sh^t I swear that said module
(I need glasses!!)

Justin P. Mattock
___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


Re: Radeon X300, dual head

2009-07-13 Thread Kenvor Cothey
  On Fri, Nov 21, 2008 at 5:50 PM, Hans J. Koch hjk at linutronix.de 
http://lists.freedesktop.org/mailman/listinfo/xorg wrote:
   Hi,

  I used to have a working system with a Radeon X300 (RV370) card and two
  monitors 1680x1050 each. I used an ancient xorg version (something like
  6.8, can't recall) and had a MergedFB+Xinerama configuration. Worked well
  for me.
 
  A few days ago I dist-upgraded my Debian sid which brought me version
  7.3 of xserver-xorg. Since that I'm trying to get my dual head setup
  working again...
 
  I understand that MergedFB has been replaced by RandR 1.2 extensions.
  Sounds like a good concept to me, but unfortunately it doesn't work here.
 
  X correctly detects my hardware, but no matter what I do, I always have
  the same output on DVI-0 and VGA-0. I googled around and found a lot of
  pages describing how to setup xorg.conf, and I think it's OK.
 
  Question: Is this supposed to work or a known problem? What do I have
  to do to get a working dual head setup again?
 
 yes it should work.  you may need to add a virtual line to your config
 to reserve enough framebuffer space for your config.  This page gives
 a pretty good overview of how to configure things with xrandr:
 http://wiki.debian.org/XStrikeForce/HowToRandR12

 One problem that comes up from time to time is that the xserver will
 clone the outputs (drive both monitors with the same display
 controller rather than with independent display controllers).  The
 xrandr utility doesn't seem to be smart enough to grab a new crtc when
 you select multi-head, so you sometimes have to specify the crtc.  run
 xrandr --verbose to see how the topology is configured.

 You can use this set of commands to specify a crtc:
 xrandr --output VGA-0 --off
 xrandr --output VGA-0 --crtc1 --mode 1680x1050
 xrandr --output VGA-0 --right-of DVI-0


 Alex
   

Hi -

I've recently upgraded my desktop distribution from Fedora 10 to Fedora 
11, having worked up from various prior versions of Fedora. I too have 
an X300, which was working magnificently in dual head mode, originally 
in F9, and then, with a minor hack (I had to downgrade the radeon driver 
to the F9 version, 6.8.0-12) in F10. Now I'm at F11, it seems I can no 
longer make dual head work (the downgrade hack doesn't work, presumably 
due to incompatible versions). Having googled around, the description 
above is the best, most recent, fit I can find for the symptoms I'm 
experiencing.

However, the solution that Alex suggests is not solving the problem; I 
am still stuck with both monitors displaying either the left hand side 
or the right hand side of the desktop (which exists, virtually - I can 
drag and drop windows off the side of the display and subsequently 
switch the monitors' - collective - view to see them). Worse, xrandr 
--verbose reports DVI-0 and VGA-0 on different CRTCs. Could the x server 
be cloning upstream of the video hardware?

I am on version 1.6.1.901 of the Xorg server, and 6.12.2 of the radeon 
driver. Any suggestions much appreciated. I'm happy to post appropriate 
logs/dumps/etc if these will be of help (mostly greek to me).

Thanks,
Kenvor.


___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


Radeon KMS testing ( RV280 )

2009-07-13 Thread Dan


Hi all. 

I've finally built a 2.6.31-rc kernel that boots. Not sure what's been
going on there. Anyway, I've been keen to test KMS  TTM stuff.
Unfortunatley, it's a double no-go. 

When the radeon module loads ( I assume for flicker-free boot, I'll have
to build it into the kernel, and not as a module ), the screen goes black,
and I get a warning that the current mode is out of range. Is there some
kernel arg to override the default settings? Should the radeon module
already be detecting supported modes? 

Next, when X tried to load, it crashes ( with a very corrupted image -
didn't switch back to the console and give me 'current mode out of range'
error ... should it? ). See log at:
http://entropy.homelinux.org/Xorg.KMS.log 

Luckily, CTRL-ALT-DEL cleanly rebooted things. 

I've built xf86-video-ati from git a little while back ( doesn't build at
the moment ). Same for mesa and xserver ( ie from a little while back -
also doesn't build at the moment ). I built libdrm with
the
--enable-radeon-experimental-api switch. 

Dan___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg