Nvidia Optimus and hybrid graphics

2011-04-19 Thread Marco Bajo
Is there any plans to develop a Xorg version that supports the latest
hardware with hybrid graphics (e.g. Nvidia optimus)?
___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com

Pb Start X

2011-04-19 Thread MONDON Daniel
Hi,

I am under TinyCore Linux.
My configuration:
Board : intel Atom Z510 1.1 Ghz + US15W (menlow)
Screen 800x600x24bits on LVDS port
512Mo DDR2
4Go Nand Flash (on USB).

I am using Xorg 7.5 (X V1.7.7).

Looking Xorg.0.log, video seems to be configured.
But X is blocked after 2 screen graphics flash with upper left cursor
on.
Nothing is visible in var/log/messages
Both files are here:
http://dl.free.fr/mh6thDBUN

Now (without any genius idea), I'm looking to have more traces ... or
launching X in debug mode.

How can I do that ?

Thanks

Daniel.
___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com


Re: Every newcomers to X think that servers and clients are reversed because they are

2011-04-19 Thread Peter Hutterer
On Tue, Apr 19, 2011 at 11:36:17PM -0400, Paul Dufresne wrote:
> For years I have heard of how we must rethink what is the server and
> what are the clients when coming to X.
> 
> But the more I think about it, the more I conclude X is wrong, and
> should reverse their order.
> 
> What you call the X server should be an X client.
> You could think as the applications being the server... but I guess
> this is not really correct either.
> 
> An X server should wait for clients to connect (yes, that point X does
> the right thing).
> But what is now the client, should have a list of X server (that does
> not exist yet) to connect to.
> When you connect to an X server, you should be given a list of
> applications allowable to connect to. Then, you would be able to open
> one of the applications available, at your choice.
> 
> From there, a new connection would be open between the application and
> the client (what is now called the X server), pretty much like a new
> connection is created right now.
> 
> This would make X system much more useful I believe, because it would
> fit the way people expect server and clients to work. Then making a
> multi-user game would be pretty obvious, because it would just means
> to add some new avatar each time a new X client would connect to the
> game application on a given X server.
> 
> At least, that the way I think it should be.

sigh. I never understood why people claim that one must rethink
server/client when it comes to X. X server and client notion are _not_
reversed.

The X server sits there, waiting for connections. 
Just like FTP servers.

The X server provides auth mechanisms, restricting which clients can
connect.
Just like FTP servers.

Once a client connects, the server provides a specific protocol to
communicate. 
Just like FTP servers.

The protocol allows access to certain resources local to the machine. 
Just like FTP servers.
(in the FTP server's case the resources are files, in the X server's case
they are hardware resources)

The clients can upload data (e.g. pixel data) and download data (e.g. events
or state information).
Just like FTP servers.

When a client disconnects, the server continues to serve the other clients.
Just like FTP servers.

A client can connect to multiple servers, uploading data and downloading
data to all of them.
Just like FTP clients.

When the server shuts down, all clients are disconnected, but only from this
server. Connections to other servers stay open and active.
Just like FTP clients.

(I'm sure I could come up with more, but ...)

I repeat, X server and client notion are _not_ reversed. People seem get it
wrong because back in the days of yonder, there was a big machine that was
also referred to as "The server" and user's machines were referred to as
"the clients". And all the server processes like FTP, NFS, etc. were running
on "the server". All except X, where the user was running the server
software and "the server" was running the clients.

Hardware is not software, and this problem is little more than 
the English language using the same word for two different things.
You don't even have to rethink what servers and clients are. You just simply
ignore the hardware-specific definitions because quite frankly, they make
little sense these days anyway. My laptop runs several server processes yet
I would never think of it a server (in the hardware specific meaning).
I wouldn't consider my phone to be "the server" either, even though it
can run server software.

Cheers,
  Peter
___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com


Every newcomers to X think that servers and clients are reversed because they are

2011-04-19 Thread Paul Dufresne
Hi!
For years I have heard of how we must rethink what is the server and
what are the clients when coming to X.

But the more I think about it, the more I conclude X is wrong, and
should reverse their order.

What you call the X server should be an X client.
You could think as the applications being the server... but I guess
this is not really correct either.

An X server should wait for clients to connect (yes, that point X does
the right thing).
But what is now the client, should have a list of X server (that does
not exist yet) to connect to.
When you connect to an X server, you should be given a list of
applications allowable to connect to. Then, you would be able to open
one of the applications available, at your choice.

>From there, a new connection would be open between the application and
the client (what is now called the X server), pretty much like a new
connection is created right now.

This would make X system much more useful I believe, because it would
fit the way people expect server and clients to work. Then making a
multi-user game would be pretty obvious, because it would just means
to add some new avatar each time a new X client would connect to the
game application on a given X server.

At least, that the way I think it should be.
___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com


Re: Touchpad not recognized

2011-04-19 Thread Peter Hutterer
On Tue, Apr 19, 2011 at 09:57:27AM +0200, Xianwen Chen wrote:
> Hi there,
> 
> I'm runnig Arch Linux X64 on a Dell Latitude E5410. The version of X
> Server is 1.10.1.
> 
> The laptop's touchpad is not recognized as "xinput list" only shows following:
> 
> ⎡ Virtual core pointer                        id=2    [master pointer  (3)]
> ⎜   ↳ Virtual core XTEST pointer                  id=4    [slave  pointer  
> (2)]
> ⎜   ↳ PS/2 Generic Mouse                          id=12    [slave  pointer  
> (2)]

    if you see this line, it usually means the kernel
doesn't support your specific touchpad. That's the part that needs fixing.
Once supported, it's likely to just work.

Cheers,
  Peter

> ⎣ Virtual core keyboard                       id=3    [master keyboard (2)]
>    ↳ Virtual core XTEST keyboard                 id=5    [slave  keyboard (3)]
>    ↳ Power Button                                id=6    [slave  keyboard (3)]
>    ↳ Video Bus                                   id=7    [slave  keyboard (3)]
>    ↳ Power Button                                id=8    [slave  keyboard (3)]
>    ↳ Sleep Button                                id=9    [slave  keyboard (3)]
>    ↳ Laptop_Integrated_Webcam_2M                 id=10    [slave  keyboard 
> (3)]
>    ↳ AT Translated Set 2 keyboard                id=11    [slave  keyboard 
> (3)]
>    ↳ Dell WMI hotkeys                            id=13    [slave  keyboard 
> (3)]
> 
> xf86-input-synaptics (1.4.0-2) and xf86-input-evdev (2.6.0-3) are
> installed. The system runs on a 2.6.38.2 kernel.
> 
> Does someone have an idea on how to fix the problem? ;)
> 
> Xianwen
> ___
> xorg@lists.freedesktop.org: X.Org support
> Archives: http://lists.freedesktop.org/archives/xorg
> Info: http://lists.freedesktop.org/mailman/listinfo/xorg
> Your subscription address: peter.hutte...@who-t.net
> 
___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com

egalax USB touchscreen problems

2011-04-19 Thread Ken Emmons Jr.
Hello,
 
I tried to post this yesterday but I am not sure if it showed up on the
mailing list. I am trying to get an egalax touchscreen working on an
embedded PowerPC target using Debian Lenny distribution and custom
compiled kernel for 2.6.30.3. Xorg is 1.4.2 and evdev is 2.0.8 (See log
below). 
 
Anyhow I have more data:
 
Using HAL I was able to pass some information to the X server using this
file:
 






  evdev
  32 3990 48
3990
  true





The xorg server didn't seem to like loading the evdev driver though, and
seems to be interpreting my touchscreen as a mouse with absolute
coordinates, and the wrong calibration. See the following output:
 
Log file output pertaining to input (I have a USB mouse and the USB
touchscreen plugged in):


 
(WW) Configured Mouse: No Device specified, looking for one...
(II) Configured Mouse: Setting Device option to "/dev/input/mice"
(--) Configured Mouse: Device: "/dev/input/mice"
(==) Configured Mouse: Protocol: "Auto"
(**) Option "CorePointer"
(**) Configured Mouse: always reports core events
(**) Option "Device" "/dev/input/mice"
(==) Configured Mouse: Emulate3Buttons, Emulate3Timeout: 50
(**) Configured Mouse: ZAxisMapping: buttons 4 and 5
(**) Configured Mouse: Buttons: 9
(**) Configured Mouse: Sensitivity: 1
(**) Option "CoreKeyboard"
(**) Generic Keyboard: always reports core events
(**) Option "Protocol" "standard"
(**) Generic Keyboard: Protocol: standard
(**) Option "AutoRepeat" "500 30"
(**) Option "XkbRules" "xorg"
(**) Generic Keyboard: XkbRules: "xorg"
(**) Option "XkbModel" "pc105"
(**) Generic Keyboard: XkbModel: "pc105"
(**) Option "XkbLayout" "us"
(**) Generic Keyboard: XkbLayout: "us"
(**) Option "CustomKeycodes" "off"
(**) Generic Keyboard: CustomKeycodes disabled
(II) evaluating device (Configured Mouse)
(II) XINPUT: Adding extended input device "Configured Mouse" (type:
MOUSE)
(II) evaluating device (Generic Keyboard)
(II) XINPUT: Adding extended input device "Generic Keyboard" (type:
KEYBOARD)
(--) Configured Mouse: PnP-detected protocol: "ExplorerPS/2"
(II) Configured Mouse: ps2EnableDataReporting: succeeded
(II) Module evdev: vendor="X.Org Foundation"
compiled for 1.4.2, module version = 2.0.8
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 2.0
(**) eGalax Inc. USB TouchController: always reports core events
(**) eGalax Inc. USB TouchController: Device: "/dev/input/event4"
(II) eGalax Inc. USB TouchController: Found x and y absolute axes
(II) eGalax Inc. USB TouchController: Found absolute touchpad
(WW) eGalax Inc. USB TouchController: Don't know how to use device
(II) UnloadModule: "evdev"
(EE) PreInit returned NULL for "eGalax Inc. USB TouchController"
(**) eGalax Inc. USB TouchController: always reports core events
(**) eGalax Inc. USB TouchController: Device: "/dev/input/event3"
(II) eGalax Inc. USB TouchController: Found x and y absolute axes
(II) eGalax Inc. USB TouchController: Found mouse buttons
(II) eGalax Inc. USB TouchController: Configuring as mouse
(II) XINPUT: Adding extended input device "eGalax Inc. USB
TouchController" (type: MOUSE)

output of xinput list:
***
 
"eGalax Inc. USB TouchController"   id=4[XExtensionPointer]
Num_buttons is 32
Num_axes is 2
Mode is Absolute
Motion_buffer is 256
Axis 0 :
Min_value is 42
Max_value is 1981
Resolution is 1
Axis 1 :
Min_value is 42
Max_value is 1981
Resolution is 1

The touchscreen does seem to work, but the input appears to be coming to
my "Generic Mouse" Any clue as to how to troubleshoot this? 
 
thanks,
 
~Ken
___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com

Re: arious x apps (xterm, xfontsel) don't start due to missing fonts

2011-04-19 Thread walter harms
does "xterm -fn fixed" work ?

re,
 wh


Am 24.03.2011 22:19, schrieb Shiva Persaud:
> Hi folks,
> 
> I'm having what appears to be a common problem but not of the solutions I've 
> found on various forums and threads have worked for me.
> 
> I noticed this issue after I configured my system to use the en_US.utf8 
> locale but it's possible that this issue existed before that change. Note 
> that in debugging I've gone back to using having POSIX as my locale and the 
> problem persists.
> 
> I noticed then when I did a ctrl-right click xterm windows would close. I
> started an xterm from an xterm and ctrl-right clicked on the new xterm and 
> saw the following error message:
> 
> 
> ~(245)$ xterm
> Warning: Cannot convert string
> "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-iso8859-*" to type FontStruct
> Warning: Unable to load any usable ISO8859 font
> Warning: Unable to load any usable ISO8859 font
> Error: Aborting: no font found
> 
> 
> I see the following with trying to launch xfontsel:
> 
> 
> $ xfontsel
> Warning: Unable to load any usable ISO8859 font
> Warning: Missing charsets in String to FontSet conversion
> Warning: Unable to load any usable fontset
> Error: Aborting: no font found
> 
> 
> xclock starts but it prints the following:
> 
> 
> $ xclock
> Warning: Unable to load any usable ISO8859 font
> ^C
> $
> 
> 
> I've found, and tried, the following suggestions with no luck:
> 
> 1. Ensured that media-fonts/font-misc-misc is installed.
> 2. Ensured that the FontPath is set is /etc/X11/xorg.conf.
> 
> Other details like which versions of various X components I have installed 
> and  "xset q fp" output can be found in a distro bug opened: 
> http://bugs.gentoo.org/show_bug.cgi?id=359679. Please note that in Googling 
> around I've found that users on other distros have experienced this issue. 
> I've attached "strace editres" output @ 
> http://bugs.gentoo.org/attachment.cgi?id=266879.
> 
> Any suggestions on how to address this would be much appreciated.
> 
> Thanks!
>  
> 
> 
>   
> ___
> xorg@lists.freedesktop.org: X.Org support
> Archives: http://lists.freedesktop.org/archives/xorg
> Info: http://lists.freedesktop.org/mailman/listinfo/xorg
> Your subscription address: wha...@bfs.de
> 
___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com


Touchpad not recognized

2011-04-19 Thread Xianwen Chen
Hi there,

I'm runnig Arch Linux X64 on a Dell Latitude E5410. The version of X
Server is 1.10.1.

The laptop's touchpad is not recognized as "xinput list" only shows following:

⎡ Virtual core pointer                        id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                  id=4    [slave  pointer  (2)]
⎜   ↳ PS/2 Generic Mouse                          id=12    [slave  pointer  (2)]
⎣ Virtual core keyboard                       id=3    [master keyboard (2)]
   ↳ Virtual core XTEST keyboard                 id=5    [slave  keyboard (3)]
   ↳ Power Button                                id=6    [slave  keyboard (3)]
   ↳ Video Bus                                   id=7    [slave  keyboard (3)]
   ↳ Power Button                                id=8    [slave  keyboard (3)]
   ↳ Sleep Button                                id=9    [slave  keyboard (3)]
   ↳ Laptop_Integrated_Webcam_2M                 id=10    [slave  keyboard (3)]
   ↳ AT Translated Set 2 keyboard                id=11    [slave  keyboard (3)]
   ↳ Dell WMI hotkeys                            id=13    [slave  keyboard (3)]

xf86-input-synaptics (1.4.0-2) and xf86-input-evdev (2.6.0-3) are
installed. The system runs on a 2.6.38.2 kernel.

Does someone have an idea on how to fix the problem? ;)

Xianwen
___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com

Re: xorg-macros does not install the .pc file in the standard location

2011-04-19 Thread Vincent Torri



On Mon, 18 Apr 2011, Dan Nicholson wrote:


On Sun, Apr 17, 2011 at 11:36 PM, Vincent Torri  wrote:


hey

in Makefile.am,

pkgconfigdir = $(datadir)/pkgconfig

should be replaced by

pkgconfigdir = $(libdir)/pkgconfig


Since the macros are arch-independent $datadir/pkgconfig is the
correct location. See the default setting for PKG_CONFIG_PATH in
pkg-config(1).


indeed, sorry for the noise.

Vincent Torri
___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com