Re: defining sound card in xorg.conf
for usb audio cards there's a good explanation here https://help.ubuntu.com/community/UbuntuStudio/UsbAudioDevices anyway to make it simple: 1) check that your system recognized the usb audio: cat/proc/asound/cards 2) set the desired card as default used: sudo nano /etc/modprobe.d/alsa-base go to the bottom and change the index of the default card from -2 to 0 cheers. On Sat, Jun 16, 2012 at 10:54 PM, stompdagg...@yahoo.com stompdagg...@yahoo.com wrote: Hello All, I'm about to reinstate my 3 way multiseat configuration (2 seats and one for the tv), up until now I didn't used the sound cards but now as I got a usb sound card I want to add sound support. is there a way to define in xorg.conf what sound card will be used by what seat? Thanks. An wise Scandinavian old man once said: in the end, everything is going to be alright ___ xorg@lists.x.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.x.org/mailman/listinfo/xorg Your subscription address: gius...@gmail.com ___ xorg@lists.x.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.x.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: defining sound card in xorg.conf
Hello, Thanks for the replay but I'm not sure how this answers my question. using xorg I can seats, e.g. xorg will run a session limited to a specific combination of gpu, screen, keyboard and mouse. I just want to add sound card to it. An wise Scandinavian old man once said: in the end, everything is going to be alright From: Giuseppe Penone gius...@gmail.com To: stompdagg...@yahoo.com stompdagg...@yahoo.com Cc: x...@lists.freedesktop.org x...@lists.freedesktop.org Sent: Monday, June 18, 2012 9:31 AM Subject: Re: defining sound card in xorg.conf for usb audio cards there's a good explanation here https://help.ubuntu.com/community/UbuntuStudio/UsbAudioDevices anyway to make it simple: 1) check that your system recognized the usb audio: cat/proc/asound/cards 2) set the desired card as default used: sudo nano /etc/modprobe.d/alsa-base go to the bottom and change the index of the default card from -2 to 0 cheers. On Sat, Jun 16, 2012 at 10:54 PM, stompdagg...@yahoo.com stompdagg...@yahoo.com wrote: Hello All, I'm about to reinstate my 3 way multiseat configuration (2 seats and one for the tv), up until now I didn't used the sound cards but now as I got a usb sound card I want to add sound support. is there a way to define in xorg.conf what sound card will be used by what seat? Thanks. An wise Scandinavian old man once said: in the end, everything is going to be alright ___ xorg@lists.x.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.x.org/mailman/listinfo/xorg Your subscription address: gius...@gmail.com ___ xorg@lists.x.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.x.org/mailman/listinfo/xorg Your subscription address: stompdagg...@yahoo.com___ xorg@lists.x.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.x.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: Why is XSetStandardProperties freezing?
On Thu, 2012-06-14 at 13:52 +0100, Myrosia Dzikovska wrote: Hi, I have a program using an X graphics library that works on FC 13 and ScientificLinux 6, but freezes on OpenSuse 12.1. I need to get it running, and I am trying to determine the cause of failure. I'm not an X developer, and because the library is complex, I am struggling to come up with a minimal example. The specific cause of the problem is the call in the code: XSetStandardProperties(win-theDisp, win-theWindow, wname, hgraf, None, NULL, 0, (win-hints)); I verified by putting print statements around it that it never returns, the program freezes there. The initialization code is complex, but the best I can tell it boils down to char *hgraf = HGraf; win-theDisp = XOpenDisplay(0) win-theScreen=DefaultScreen(win-theDisp); win-rootW=RootWindow(win-theDisp, win-theScreen); win-theWindow = XCreateSimpleWindow(win-theDisp, win-rootW, x, y, w, h, bw, black, white ); I am at a loss as to what I should be checking here, and what could cause the program to hang at that XSetStandardProperties call, with no error messages or exceptions. How can I debug this? I would probably start by calling XSynchronize(dpy, 1) just after XOpenDisplay, to see if that changes where the hang happens. Another strategy would be to compare the generated X protocol between the OSes that work and the ones that don't. You can use wireshark for this if you set DISPLAY=localhost:0 (and didn't start your X server with -nolisten tcp); alternatively, there's xscope(1). Are you using the same window manager across all systems? If not, that's a pretty likely place to start looking. - ajax signature.asc Description: This is a digitally signed message part ___ xorg@lists.x.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.x.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: defining sound card in xorg.conf
Thanks for the input but using pulseaudio is not an option. An wise Scandinavian old man once said: in the end, everything is going to be alright From: linux-service.be bvba g...@linux-service.be To: xorg@lists.x.org Sent: Monday, June 18, 2012 5:56 PM Subject: Re: defining sound card in xorg.conf start such script when user is logging in: #!/bin/bash # in order to match a screen-set to a pulseaudio sink : if [ $DISPLAY ] then if [ $DISPLAY = :1 ] then sleep 3 pacmd set-default-sink alsa_output.usb-0d8c_C-Media_USB_Headphone_Set-00-Set_1.analog-stereo pulseaudio -D fi if [ $DISPLAY = :2 ] then sleep 3 pacmd set-default-sink alsa_output.usb-0d8c_C-Media_USB_Headphone_Set-00-Set.analog-stereo pulseaudio -D fi if [ $DISPLAY = :3 ] then sleep 3 pacmd set-default-sink alsa_output.usb-0d8c_C-Media_USB_Headphone_Set-00-Set_2.analog-stereo pulseaudio -D fi fi ofcourse edit script with your sound devices and find out where the sound is going to( at which display). Make sure the user's /home/user/.pulse is empty upon login. Enjoy guy Hi, Actually it goes out of scope space of X. You should ask to sound system developers, how i can set default sound card according to my environment variables with multiple sound cards on board. Here is little outdated link: http://perso.nnx.com/pludov/sessiond/ This tool will replace sound device files like /dev/dsp* with links to each sound card files depending of DISPLAY variable. Aivils Citējot stompdagg...@yahoo.com stompdagg...@yahoo.com: Hello, Thanks for the replay but I'm not sure how this answers my question. using xorg I can seats, e.g. xorg will run a session limited to a specific combination of gpu, screen, keyboard and mouse. I just want to add sound card to it. An wise Scandinavian old man once said: in the end, everything is going to be alright From: Giuseppe Penone gius...@gmail.com To: stompdagg...@yahoo.com stompdagg...@yahoo.com Cc: x...@lists.freedesktop.org x...@lists.freedesktop.org Sent: Monday, June 18, 2012 9:31 AM Subject: Re: defining sound card in xorg.conf for usb audio cards there's a good explanation here https://help.ubuntu.com/community/UbuntuStudio/UsbAudioDevices anyway to make it simple: 1) check that your system recognized the usb audio: cat/proc/asound/cards 2) set the desired card as default used: sudo nano /etc/modprobe.d/alsa-base go to the bottom and change the index of the default card from -2 to 0 cheers. On Sat, Jun 16, 2012 at 10:54 PM, stompdagg...@yahoo.com stompdagg...@yahoo.com wrote: Hello All, I'm about to reinstate my 3 way multiseat configuration (2 seats and one for the tv), up until now I didn't used the sound cards but now as I got a usb sound card I want to add sound support. is there a way to define in xorg.conf what sound card will be used by what seat? Thanks. An wise Scandinavian old man once said: in the end, everything is going to be alright ___ xorg@lists.x.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.x.org/mailman/listinfo/xorg Your subscription address: gius...@gmail.com ___ xorg@lists.x.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.x.org/mailman/listinfo/xorg Your subscription address: stompdagg...@yahoo.com ___ xorg@lists.x.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.x.org/mailman/listinfo/xorg Your subscription address: g...@linux-service.be ___ xorg@lists.x.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.x.org/mailman/listinfo/xorg Your subscription address: stompdagg...@yahoo.com___ xorg@lists.x.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.x.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: problem with building xserver-xorg-1.12.2
Hi, I disabled dri when cross compiled xorg for ambedded used something like: ./configure --prefix=$CROSS_PREFIX --host=arm-none-linux --disable-glx * --disable-dri* --disable-xinerama --disable-xdmcp --disable-xdm-auth-1 --disable-libdrm --disable-dmx make make install note the option to disable direct rendering... if you need it you have to install the package (don't know its exact name and where to download right now). to list all options ./configure -h or ./configure -h | grep dri for options regarding dri. Cheers. Giuseppe. On Mon, Jun 18, 2012 at 1:45 PM, 王洪虎 wanghon...@loongson.cn wrote: Hi, Mr/Mrs while i building building xserver-xorg-1.12.2,it indicates configure: error: Package requirements (glproto = 1.4.14 dri = 7.8.0) were not met: No package 'dri' found could you give me some ideas? ___ xorg@lists.x.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.x.org/mailman/listinfo/xorg Your subscription address: gius...@gmail.com ___ xorg@lists.x.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.x.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
xorg get windows visible stack (active, behind the active, behind again…)
Hi, thanks to the excellent wmctrl (http://tomas.styblo.name/wmctrl/) it was easy for me to retrieve the C code needed to list the visible windows. What I still need though is to obtain the information about what is the active window, what is behind the active window, what behind again then... Does anybody know if and how I can obtain this information? Thanks. Giuseppe. ___ xorg@lists.x.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.x.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: defining sound card in xorg.conf
Hello. I would be very much interested in a proper solution for this. Best 18.06.2012, 19:45, Yan Seiner y...@seiner.com: You can do something similar with alsa + udev; you just have to create fixed device names using udev, and then write a script that sets the default alsa device to the appropriate fixed name based on the DISPLAY variable. On Mon, June 18, 2012 8:00 am, stompdagg...@yahoo.com wrote: Thanks for the input but using pulseaudio is not an option. An wise Scandinavian old man once said: in the end, everything is going to be alright From: linux-service.be bvba g...@linux-service.be To: xorg@lists.x.org Sent: Monday, June 18, 2012 5:56 PM Subject: Re: defining sound card in xorg.conf start such script when user is logging in: #!/bin/bash # in order to match a screen-set to a pulseaudio sink : if [ $DISPLAY ] then if [ $DISPLAY = :1 ] then sleep 3 pacmd set-default-sink alsa_output.usb-0d8c_C-Media_USB_Headphone_Set-00-Set_1.analog-stereo pulseaudio -D fi if [ $DISPLAY = :2 ] then sleep 3 pacmd set-default-sink alsa_output.usb-0d8c_C-Media_USB_Headphone_Set-00-Set.analog-stereo pulseaudio -D fi if [ $DISPLAY = :3 ] then sleep 3 pacmd set-default-sink alsa_output.usb-0d8c_C-Media_USB_Headphone_Set-00-Set_2.analog-stereo pulseaudio -D fi fi ofcourse edit script with your sound devices and find out where the sound is going to( at which display). Make sure the user's /home/user/.pulse is empty upon login. Enjoy guy Hi, Actually it goes out of scope space of X. You should ask to sound system developers, how i can set default sound card according to my environment variables with multiple sound cards on board. Here is little outdated link: http://perso.nnx.com/pludov/sessiond/ This tool will replace sound device files like /dev/dsp* with links to each sound card files depending of DISPLAY variable. Aivils Citējot stompdagg...@yahoo.com stompdagg...@yahoo.com: Hello, Thanks for the replay but I'm not sure how this answers my question. using xorg I can seats, e.g. xorg will run a session limited to a specific combination of gpu, screen, keyboard and mouse. I just want to add sound card to it. An wise Scandinavian old man once said: in the end, everything is going to be alright From: Giuseppe Penone gius...@gmail.com To: stompdagg...@yahoo.com stompdagg...@yahoo.com Cc: x...@lists.freedesktop.org x...@lists.freedesktop.org Sent: Monday, June 18, 2012 9:31 AM Subject: Re: defining sound card in xorg.conf for usb audio cards there's a good explanation here https://help.ubuntu.com/community/UbuntuStudio/UsbAudioDevices anyway to make it simple: 1) check that your system recognized the usb audio: cat/proc/asound/cards 2) set the desired card as default used: sudo nano /etc/modprobe.d/alsa-base go to the bottom and change the index of the default card from -2 to 0 cheers. On Sat, Jun 16, 2012 at 10:54 PM, stompdagg...@yahoo.com stompdagg...@yahoo.com wrote: Hello All, I'm about to reinstate my 3 way multiseat configuration (2 seats and one for the tv), up until now I didn't used the sound cards but now as I got a usb sound card I want to add sound support. is there a way to define in xorg.conf what sound card will be used by what seat? Thanks. An wise Scandinavian old man once said: in the end, everything is going to be alright ___ xorg@lists.x.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.x.org/mailman/listinfo/xorg Your subscription address: gius...@gmail.com ___ xorg@lists.x.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.x.org/mailman/listinfo/xorg Your subscription address: stompdagg...@yahoo.com ___ xorg@lists.x.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.x.org/mailman/listinfo/xorg Your subscription address: g...@linux-service.be ___ xorg@lists.x.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.x.org/mailman/listinfo/xorg Your subscription address: stompdagg...@yahoo.com !DSPAM:4fdf4365245151290716676! ___ xorg@lists.x.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.x.org/mailman/listinfo/xorg Your subscription address: y...@seiner.com !DSPAM:4fdf4365245151290716676! -- Q: How can you tell Spring is here in Oregon? A: The rain is warmer. My daughter is racing a triathlon to raise money for
Re: Issue with mouse when starting X
On Sun, Jun 17, 2012 at 11:06:24PM -0700, John Ettedgui wrote: *Sometimes* when X starts it does detect the mouse as seen in the log but when I move it nothing happens on screen, and doing a cat on the /dev/input/eventX does not produce anything either when moving the mouse. if you don't see events on /dev/input/eventX this is a kernel or, more likely, a hardware issue. device going to sleep, losing connection, something like that. Cheers, Peter To get the mouse to work, most of the time I have to unplug the USB adapter and replug it, although sometimes I need to switch it with the keyboard USB adapter. I am not sure why and how as it does not always happen. I know of at least one other person with similar symptoms. As for my configuration, I am running Arch Linux with a 3.4 Linux kernel, xorg-server 1.12.2, evdev 2.7.0. My mouse is a Logitech performance MX with a USB wireless unifying receiver. My keyboard is a diNovo keyboard with a USB bluetooth receiver. Xorg is auto-started by kdm which is started by systemd. Here is my log: http://pastebin.com/pWnHwF2d In this one I cold started the computer, then got no mouse so I unplugged / replugged the receiver but nothing so then I switched they keyboard and mouse receivers and then it worked. Everything was working fine before shutting down the computer though. Thank you, John ___ xorg@lists.x.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.x.org/mailman/listinfo/xorg Your subscription address: peter.hutte...@who-t.net ___ xorg@lists.x.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.x.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: [PATCH] dri2: Pass a ScreenPtr through to the driver's AuthMagic function.
On Mon, 2012-06-18 at 11:52 +1000, Christopher James Halse Rogers wrote: xwayland drivers need access to their screen private data to authenticate. Now that drivers no longer have direct access to the global screen arrays, this needs to be passed in as function context. v2: Don't break ABI Signed-off-by: Christopher James Halse Rogers christopher.halse.rog...@canonical.com Reviewed-by: Michel Dänzer michel.daen...@amd.com -- Earthling Michel Dänzer | http://www.amd.com Libre software enthusiast | Debian, X and DRI developer ___ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
Re: [PATCH] dri2: Pass a ScreenPtr through to the driver's AuthMagic function.
On Sun, Jun 17, 2012 at 9:52 PM, Christopher James Halse Rogers christopher.halse.rog...@canonical.com wrote: xwayland drivers need access to their screen private data to authenticate. Now that drivers no longer have direct access to the global screen arrays, this needs to be passed in as function context. v2: Don't break ABI Yeah, looks good to me now. Reviewed-by: Kristian Høgsberg k...@bitplanet.net Signed-off-by: Christopher James Halse Rogers christopher.halse.rog...@canonical.com --- hw/xfree86/dri2/dri2.c | 35 --- hw/xfree86/dri2/dri2.h | 9 - 2 files changed, 36 insertions(+), 8 deletions(-) diff --git a/hw/xfree86/dri2/dri2.c b/hw/xfree86/dri2/dri2.c index babf32f..412feb3 100644 --- a/hw/xfree86/dri2/dri2.c +++ b/hw/xfree86/dri2/dri2.c @@ -104,7 +104,8 @@ typedef struct _DRI2Screen { DRI2ScheduleSwapProcPtr ScheduleSwap; DRI2GetMSCProcPtr GetMSC; DRI2ScheduleWaitMSCProcPtr ScheduleWaitMSC; - DRI2AuthMagicProcPtr AuthMagic; + DRI2AuthMagic2ProcPtr AuthMagic; + DRI2AuthMagicProcPtr LegacyAuthMagic; DRI2ReuseBufferNotifyProcPtr ReuseBufferNotify; DRI2SwapLimitValidateProcPtr SwapLimitValidate; DRI2GetParamProcPtr GetParam; @@ -1110,12 +,22 @@ DRI2Connect(ScreenPtr pScreen, unsigned int driverType, int *fd, return TRUE; } +static Bool +DRI2AuthMagic (ScreenPtr pScreen, int fd, uint32_t magic) +{ + DRI2ScreenPtr ds = DRI2GetScreen(pScreen); + if (ds == NULL || (*ds-LegacyAuthMagic) (ds-fd, magic)) + return FALSE; + + return TRUE; +} + Bool DRI2Authenticate(ScreenPtr pScreen, uint32_t magic) { DRI2ScreenPtr ds = DRI2GetScreen(pScreen); - if (ds == NULL || (*ds-AuthMagic) (ds-fd, magic)) + if (ds == NULL || (*ds-AuthMagic) (pScreen, ds-fd, magic)) return FALSE; return TRUE; @@ -1202,8 +1213,11 @@ DRI2ScreenInit(ScreenPtr pScreen, DRI2InfoPtr info) cur_minor = 1; } + if (info-version = 8) { + ds-AuthMagic = info-AuthMagic2; + } if (info-version = 5) { - ds-AuthMagic = info-AuthMagic; + ds-LegacyAuthMagic = info-AuthMagic; } if (info-version = 6) { @@ -1218,14 +1232,21 @@ DRI2ScreenInit(ScreenPtr pScreen, DRI2InfoPtr info) /* * if the driver doesn't provide an AuthMagic function or the info struct - * version is too low, it relies on the old method (using libdrm) or fail + * version is too low, call through LegacyAuthMagic */ - if (!ds-AuthMagic) + if (!ds-AuthMagic) { + ds-AuthMagic = DRI2AuthMagic; + /* + * If the driver doesn't provide an AuthMagic function + * it relies on the old method (using libdrm) or fails + */ + if (!ds-LegacyAuthMagic) #ifdef WITH_LIBDRM - ds-AuthMagic = drmAuthMagic; + ds-LegacyAuthMagic = drmAuthMagic; #else - goto err_out; + goto err_out; #endif + } /* Initialize minor if needed and set to minimum provied by DDX */ if (!dri2_minor || dri2_minor cur_minor) diff --git a/hw/xfree86/dri2/dri2.h b/hw/xfree86/dri2/dri2.h index f849be6..004d286 100644 --- a/hw/xfree86/dri2/dri2.h +++ b/hw/xfree86/dri2/dri2.h @@ -64,6 +64,7 @@ typedef void (*DRI2CopyRegionProcPtr) (DrawablePtr pDraw, DRI2BufferPtr pSrcBuffer); typedef void (*DRI2WaitProcPtr) (WindowPtr pWin, unsigned int sequence); typedef int (*DRI2AuthMagicProcPtr) (int fd, uint32_t magic); +typedef int (*DRI2AuthMagic2ProcPtr) (ScreenPtr pScreen, int fd, uint32_t magic); /** * Schedule a buffer swap @@ -192,7 +193,7 @@ typedef int (*DRI2GetParamProcPtr) (ClientPtr client, /** * Version of the DRI2InfoRec structure defined in this header */ -#define DRI2INFOREC_VERSION 7 +#define DRI2INFOREC_VERSION 8 typedef struct { unsigned int version; /** Version of this struct */ @@ -229,6 +230,12 @@ typedef struct { /* added in version 7 */ DRI2GetParamProcPtr GetParam; + + /* added in version 8 */ + /* AuthMagic callback which passes extra context */ + /* If this is NULL the AuthMagic callback is used */ + /* If this is non-NULL the AuthMagic callback is ignored */ + DRI2AuthMagic2ProcPtr AuthMagic2; } DRI2InfoRec, *DRI2InfoPtr; extern _X_EXPORT int DRI2EventBase; -- 1.7.10.4 ___ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel ___ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
Re: [PATCH] dri2: Pass a ScreenPtr through to the driver's AuthMagic function.
Christopher James Halse Rogers christopher.halse.rog...@canonical.com writes: +typedef int (*DRI2AuthMagic2ProcPtr) (ScreenPtr pScreen, int fd, uint32_t magic); Bikeshed -- seems like the 'fd' parameter is not needed in this API? I'll note that in the implementation of the wrapper, you pull it from the screen private instead of using the provided parameter... -- keith.pack...@intel.com pgpH60QR8VD8D.pgp Description: PGP signature ___ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
[PATCH xorg-gtest] Ensure xorg-gtest implementation is included in xorg-gtest{-all, _main}.cpp
GNU automake puts -I. -I.. at the beginning of every invocation of g++. This breaks xorg-gtest compilation if there is a file of the same name as an xorg-gtest implementation file in ../src/ or ../../src. For example, if compiling xorg-gtest-all.cpp in /home/user1/library/test and there exists /home/user1/library/src/device.cpp, the library's device.cpp file will be included instead of xorg-gtest's. This change adds a -iquote option to xorg-gtest compilation performed in Makefile-xorg-gtest.am. Directories specified with -iquote are searched ahead of directories specified by -I. This changes Makefile-xorg-gtest.am, which projects can copy to provide rules for building xorg-gtest in autotools projects. For substantial changes, projects will want to import the latest version of this file, but this particular fix is only needed if a project runs into build issues. If your project builds without issue, there is no need to replace the existing version of Makefile-xorg-gtest.am. Signed-off-by: Chase Douglas chase.doug...@canonical.com --- src/Makefile-xorg-gtest.am |2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Makefile-xorg-gtest.am b/src/Makefile-xorg-gtest.am index 20983eb..4f36b13 100644 --- a/src/Makefile-xorg-gtest.am +++ b/src/Makefile-xorg-gtest.am @@ -42,6 +42,7 @@ libxorg_gtest_a_CPPFLAGS = \ $(XORG_GTEST_CPPFLAGS) \ $(GTEST_CPPFLAGS) \ $(AM_CPPFLAGS) \ + -iquote$(XORG_GTEST_SOURCE) \ -w libxorg_gtest_a_CXXFLAGS = \ $(XORG_GTEST_CXXFLAGS) \ @@ -54,6 +55,7 @@ libxorg_gtest_main_a_CPPFLAGS = \ $(XORG_GTEST_CPPFLAGS) \ $(GTEST_CPPFLAGS) \ $(AM_CPPFLAGS) \ + -iquote$(XORG_GTEST_SOURCE) \ -w libxorg_gtest_main_a_CXXFLAGS = \ $(XORG_GTEST_CXXFLAGS) \ -- 1.7.9.5 ___ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
Re: [PATCH 1/4] AC_SUBST the GLX_SYS_LIBS
On 06/17/12 08:40 PM, Peter Hutterer wrote: libxservertest needs -lpthread from glxapi.c's pthread_once() call. Usually this would be pulled in by the XORG_LIBS but not when building without Xorg. This commit has no visible effect on the current tree, preparation for test cleanups. Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- configure.ac |1 + test/Makefile.am |2 +- test/xi2/Makefile.am |2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 763ca7a..9cf2821 100644 --- a/configure.ac +++ b/configure.ac @@ -1060,6 +1060,7 @@ if test x$GLX_USE_TLS = xyes ; then GLX_SYS_LIBS=$GLX_SYS_LIBS -lpthread fi AC_SUBST([GLX_DEFINES]) +AC_SUBST([GLX_SYS_LIBS]) Isn't that bit already in git master from fd115ee114e ? -- -Alan Coopersmith- alan.coopersm...@oracle.com Oracle Solaris Engineering - http://blogs.oracle.com/alanc ___ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
Re: [PATCH 1/4] AC_SUBST the GLX_SYS_LIBS
On Mon, Jun 18, 2012 at 03:45:28PM -0700, Alan Coopersmith wrote: On 06/17/12 08:40 PM, Peter Hutterer wrote: libxservertest needs -lpthread from glxapi.c's pthread_once() call. Usually this would be pulled in by the XORG_LIBS but not when building without Xorg. This commit has no visible effect on the current tree, preparation for test cleanups. Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- configure.ac |1 + test/Makefile.am |2 +- test/xi2/Makefile.am |2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 763ca7a..9cf2821 100644 --- a/configure.ac +++ b/configure.ac @@ -1060,6 +1060,7 @@ if test x$GLX_USE_TLS = xyes ; then GLX_SYS_LIBS=$GLX_SYS_LIBS -lpthread fi AC_SUBST([GLX_DEFINES]) +AC_SUBST([GLX_SYS_LIBS]) Isn't that bit already in git master from fd115ee114e ? yes, looks like it, thanks. serves me right for working off the 1.12 branch. Cheers, Peter ___ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
dropping UMS - xf86-video-ati-7.0.0
Michael Dänzer wrote: On Don, 2012-06-14 at 20:19 +0100, Dave Airlie wrote: I'm seriously thinking of resurrecting the kms killing branch, I'm not opposed, it's becoming rather painful to keep UMS building, let alone working. can anyone give me a reason not too, Not sure a reason is enough, someone would need to step up and take care of UMS vs. ongoing development. If people were interested in working on UMS to use on non-linux systems how would they get the documentation on recent chips ? Robert Swindells ___ xorg-driver-ati mailing list xorg-driver-ati@lists.x.org http://lists.x.org/mailman/listinfo/xorg-driver-ati
Re: dropping UMS - xf86-video-ati-7.0.0
On Mon, Jun 18, 2012 at 04:04:05PM +0100, Robert Swindells wrote: Michael D?nzer wrote: On Don, 2012-06-14 at 20:19 +0100, Dave Airlie wrote: I'm seriously thinking of resurrecting the kms killing branch, I'm not opposed, it's becoming rather painful to keep UMS building, let alone working. can anyone give me a reason not too, Not sure a reason is enough, someone would need to step up and take care of UMS vs. ongoing development. If people were interested in working on UMS to use on non-linux systems how would they get the documentation on recent chips ? Robert Swindells The only answer would be: read the kernel source. Here are the docs that are available: http://www.x.org/docs/AMD/ http://developer.amd.com/documentation/guides/Pages/default.aspx#open_gpu Afaict, there is no register documentation being made available by ATI anymore. All you get is the shader instruction sets from AMDs GPGPU people. The deal with AMD at the time was that all basic hw and display information would be made public (these days, our proposal can be read at http://www.phoronix.com/scan.php?page=articleitem=amd_radeonhd_fournum=1), and that we at SuSE would not get any documentation that was not meant to be made public, but that we would get it already while it was in the process of being cleared legally. While the documents that we did get initially (soon 5 years ago) were cleared during the time the SuSE/AMD contract was in place, are made public today, the documents that we got later on, like some ATI R7xx registers docs and R7xx AtomBIOS documentation (we never saw AtomBIOS documentation for R5xx or any R6xx type chip), were not cleared in that timeframe and were subsequently not released, despite Mr Bridgmans initial assurance that these docs would go out. So all you have is the kernel source and Matthias Hopfs excellent AtomBIOS disassembler (in as far as the latter is still useful on recent AtomBIOSes). The disassembler is a real life saver when trying to figure out how the AtomBIOS interface changes, or with spotting bugs in the BIOS, but i have no idea how useful that becomes without any register information. Luc Verhaegen. ___ xorg-driver-ati mailing list xorg-driver-ati@lists.x.org http://lists.x.org/mailman/listinfo/xorg-driver-ati