Switching from Xv hardware scaling to X11 output
Hello --- I'm trying to fix an application (cinelerra) that changes from using Xv hardware scaling to using unaccelerated X11 output in the middle of a video stream. Everything works fine, but there is a black flash (output window goes dark) for a fraction of a second at the switch. Current shutdown code looks something like this: case BC_YUV422: XvStopVideo(top_level-display, xv_portid, last_pixmap); for(int i = 0; i ring_buffers; i++) { XFree(xv_image[i]); } XShmDetach(top_level-display, shm_info); XvUngrabPort(top_level-display, xv_portid, CurrentTime); shmdt(shm_info.shmaddr); shmctl(shm_info.shmid, IPC_RMID, 0); break; Output window goes black soon after XvStopVideo call. Is there something I can do immediately before or after this call to avoid having a period of time when no image is shown? Something I can avoid doing? My blind attempts haven't worked. Thanks! Nathan Kurz ___ Devel mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/devel
Re: find a window and give it the focus
I realize this isn't exactly what you were asking to do, but perhaps you should look at the manpage for XCirculateSubwindows. XCirculateSubwindowsDown will lower your top window to the bottom and the one below it will be on top. This is very similar to what you wanted to do and doesn't require you to parse the window tree. Keep in mind though, for some users, the topmost window is not always the one that has focus (this is even true of win32 programming when focus follows pointer (or win32 XMouse) is set), and you must specifically set input focus to the window. Also some users detest it (read as I hate it) when window stacking order is changed on them by applications. -- Nathan Laredo [EMAIL PROTECTED] On Mon, 12 Jul 2004 11:02:05 +0300, Eugen Andronic [EMAIL PROTECTED] wrote: Hello all, I'm new to X window programming, so maybe my problem is very simple for many of you. The problem is: I have a stack of apps running on top of the X. None of them are stay on top. Let's say the following windows are on the system: desktop, x1, x2, ., xn From the xi window I want to find the main window of the app bellow xi ( let's say xi-1) and to give it the focus. My attempt was: int root; int parent; unsigned int nchildren; int* children; Display* d; d = XOpenDisplay(); int w = XDefaultRootWindow(d); //w should be the desktop int ret = XQueryTree(d, w, (Window*)root, (Window*)parent, (Window**)children, nchildren ); I have the ID of my window and I want to find which is the window imediately bellow it. Following the man of XQueryTree I thought the IDs are from bottom to top but I'm not sure the list is sorted from the point of view of Z order. so, my need is ID_bellow_me = Some_Func_To_Find_The_ID(); and then, XSetInputFocus( d, ID_bellow_me, RevertToNone, CurrentTime ); XFree( children ); XCloseDisplay(d); Thanks for your help, Eugen ___ Devel mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/devel ___ Devel mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/devel
[XFree86] M$ Intellimouse Explorer (wireless) v2.0 extra buttons?
Hi, I recently purchased the aforementioned mouse, which works quite well. I'm assuming that the tilting scroll wheel counts as two buttons, the vertical motion of said wheel counts as two, click down of wheel counts as one, LMB/RMB count as one each, and the forward backward buttons count as one each as well. My xf86config files options: Section InputDevice Identifier Mouse0 Driver mouse Option Protocol ExplorerPS/2 Option Device /dev/psaux Option Buttons 9 Option ZAxisMapping 6 7 Option Emulate3Buttons yes EndSection The emulate 3 buttons is on because the MMB is stiff, and the scroll wheel is smooth, it makes navigating using the MMB in blender quite a chore. What I really want to do is swap the mapping between the closest thumb button and the MMB, so that the thumb button acts as the MMB. Any thoughts on the matter? Thanks __ Do you Yahoo!? Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus ___ XFree86 mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xfree86
[XFree86] Newbie help...
Hello - Trying to get a new Fire GL X1 dual head setup running. I found some resources that pointed to it working well with xinerama turned on in 4.3.99. I have never compiled Xfree before and can't get it to compile. Are the any how-to's floating around on how to compile this, I can't find any. Or rpm's for this release floating around? TIA! -NCW ___ XFree86 mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xfree86
[XFree86] rh 9 on dell latitude c800
ok, i reloaded linux and get similar symptoms. i ran a diagnostics which was prompted and dumped info into my log file. i'm still baffled. anyone know how to get my x server running? thanks!! XFree86.0.log --- XFree86 Version 4.3.0 (Red Hat Linux release: 4.3.0-2) Release Date: 27 February 2003 X Protocol Version 11, Revision 0, Release 6.6 Build Operating System: Linux 2.4.20-3bigmem i686 [ELF] Build Date: 27 February 2003 Build Host: porky.devel.redhat.com Before reporting problems, check http://www.XFree86.Org/ to make sure that you have the latest version. Module Loader present OS Kernel: Linux version 2.4.20-6 ([EMAIL PROTECTED]) (gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)) #1 Thu Feb 27 10:06:59 EST 2003 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/XFree86.0.log, Time: Thu Oct 23 22:21:59 2003 (==) Using config file: /etc/X11/XF86Config (==) ServerLayout Default Layout (**) |--Screen Screen0 (0) (**) | |--Monitor Monitor0 (**) | |--Device Videocard0 (**) |--Input Device Mouse0 (**) |--Input Device Keyboard0 (**) Option XkbRules xfree86 (**) XKB: rules: xfree86 (**) Option XkbModel pc105 (**) XKB: model: pc105 (**) Option XkbLayout us (**) XKB: layout: us (==) Keyboard: CustomKeycode disabled (**) |--Input Device DevInputMice (**) FontPath set to unix/:7100 (**) RgbPath set to /usr/X11R6/lib/X11/rgb (==) ModulePath set to /usr/X11R6/lib/modules (++) using VT number 7 (II) Open APM successful (II) Module ABI versions: XFree86 ANSI C Emulation: 0.2 XFree86 Video Driver: 0.6 XFree86 XInput driver : 0.4 XFree86 Server Extension : 0.2 XFree86 Font Renderer : 0.4 (II) Loader running on linux (II) LoadModule: bitmap (II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a (II) Module bitmap: vendor=The XFree86 Project compiled for 4.3.0, module version = 1.0.0 Module class: XFree86 Font Renderer ABI class: XFree86 Font Renderer, version 0.4 (II) Loading font Bitmap (II) LoadModule: pcidata (II) Loading /usr/X11R6/lib/modules/libpcidata.a (II) Module pcidata: vendor=The XFree86 Project compiled for 4.3.0, module version = 1.0.0 ABI class: XFree86 Video Driver, version 0.6 (II) PCI: Probing config type using method 1 (II) PCI: Config type is 1 (II) PCI: stages = 0x03, oldVal1 = 0x, mode1Res1 = 0x8000 (II) PCI: PCI scan (all values are in hex) (II) PCI: 00:00:0: chip 8086,1130 card , rev 02 class 06,00,00 hdr 00 (II) PCI: 00:01:0: chip 8086,1131 card , rev 02 class 06,04,00 hdr 01 (II) PCI: 00:1e:0: chip 8086,2448 card , rev 03 class 06,04,00 hdr 01 (II) PCI: 00:1f:0: chip 8086,244c card , rev 03 class 06,01,00 hdr 80 (II) PCI: 00:1f:1: chip 8086,244a card 8086,4541 rev 03 class 01,01,80 hdr 00 (II) PCI: 00:1f:2: chip 8086,2442 card 8086,4541 rev 03 class 0c,03,00 hdr 00 (II) PCI: 01:00:0: chip 1002,4d46 card 1028,00a3 rev 00 class 03,00,00 hdr 00 (II) PCI: 02:03:0: chip 125d,1998 card 1028,00a3 rev 10 class 04,01,00 hdr 00 (II) PCI: 02:06:0: chip 10b7,6055 card 10b7,6456 rev 10 class 02,00,00 hdr 80 (II) PCI: 02:06:1: chip 10b7,1007 card 10b7,615b rev 10 class 07,80,00 hdr 00 (II) PCI: 02:0f:0: chip 104c,ac42 card 4000, rev 00 class 06,07,00 hdr 82 (II) PCI: 02:0f:1: chip 104c,ac42 card 4800, rev 00 class 06,07,00 hdr 82 (II) PCI: 02:0f:2: chip 104c,8027 card 1028,00a3 rev 00 class 0c,00,10 hdr 80 (II) PCI: End of PCI scan (II) Host-to-PCI bridge: (II) Bus 0: bridge is at (0:0:0), (0,0,7), BCTRL: 0x0008 (VGA_EN is set) (II) Bus 0 I/O range: [0] -1 0 0x - 0x (0x1) IX[B] (II) Bus 0 non-prefetchable memory range: [0] -1 0 0x - 0x (0x0) MX[B] (II) Bus 0 prefetchable memory range: [0] -1 0 0x - 0x (0x0) MX[B] (II) PCI-to-PCI bridge: (II) Bus 1: bridge is at (0:1:0), (0,1,1), BCTRL: 0x000c (VGA_EN is set) (II) Bus 1 I/O range: [0] -1 0 0xc000 - 0xc0ff (0x100) IX[B] [1] -1 0 0xc400 - 0xc4ff (0x100) IX[B] [2] -1 0 0xc800 - 0xc8ff (0x100) IX[B] [3] -1 0 0xcc00 - 0xccff (0x100) IX[B] (II) Bus 1 non-prefetchable memory range: [0] -1 0 0xfc00 - 0xfdff (0x200) MX[B] (II) Bus 1 prefetchable memory range: [0] -1 0 0xe800 - 0xebff (0x400) MX[B] (II) PCI-to-PCI bridge: (II) Bus 2: bridge is at (0:30:0), (0,2,16), BCTRL: 0x0006 (VGA_EN is cleared) (II) Bus 2 I/O range: [0] -1 0 0xe000 - 0xe0ff (0x100) IX[B] [1] -1 0 0xe400 - 0xe4ff (0x100) IX[B] [2] -1 0 0xe800 - 0xe8ff (0x100) IX[B] [3] -1 0 0xec00 - 0xecff
[XFree86] red hat 9.0 on dell latitude c800
hi all. i see others with similar problems but am unable to get this going when i try what's posted. my xserver won't start. i then get put into command line only mode. here is my XFree86.0.log file. XFree86 Version 4.3.0 (Red Hat Linux release: 4.3.0-2) Release Date: 27 February 2003 X Protocol Version 11, Revision 0, Release 6.6 Build Operating System: Linux 2.4.20-3bigmem i686 [ELF] Build Date: 27 February 2003 Build Host: porky.devel.redhat.com Before reporting problems, check http://www.XFree86.Org/ to make sure that you have the latest version. Module Loader present OS Kernel: Linux version 2.4.20-6 ([EMAIL PROTECTED]) (gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)) #1 Thu Feb 27 10:06:59 EST 2003 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/XFree86.0.log, Time: Thu Oct 23 20:40:03 2003 (==) Using config file: /etc/X11/XF86Config Parse error on line 115 of section Screen in file /etc/X11/XF86Config 1280x1024 is not a valid keyword in this section. (EE) Problem parsing the config file (EE) Error from xf86HandleConfigFile() Fatal server error: no screens found When reporting a problem related to a server crash, please send the full server output, not just the last messages. This can be found in the log file /var/log/XFree86.0.log. Please report problems to [EMAIL PROTECTED] here is my XF86Config file XFree86 Version 4.3.0 (Red Hat Linux release: 4.3.0-2) Release Date: 27 February 2003 X Protocol Version 11, Revision 0, Release 6.6 Build Operating System: Linux 2.4.20-3bigmem i686 [ELF] Build Date: 27 February 2003 Build Host: porky.devel.redhat.com Before reporting problems, check http://www.XFree86.Org/ to make sure that you have the latest version. Module Loader present OS Kernel: Linux version 2.4.20-6 ([EMAIL PROTECTED]) (gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)) #1 Thu Feb 27 10:06:59 EST 2003 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/XFree86.0.log, Time: Thu Oct 23 20:40:03 2003 (==) Using config file: /etc/X11/XF86Config Parse error on line 115 of section Screen in file /etc/X11/XF86Config 1280x1024 is not a valid keyword in this section. (EE) Problem parsing the config file (EE) Error from xf86HandleConfigFile() Fatal server error: no screens found When reporting a problem related to a server crash, please send the full server output, not just the last messages. This can be found in the log file /var/log/XFree86.0.log. Please report problems to [EMAIL PROTECTED] anyone that can me get this up and going i would really appreciate it! thanks! ___ XFree86 mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xfree86
[XFree86] redhat 9.0 on dell latitude c800
hi all. i see others with similar problems but am unable to get this going when i try what's posted. my xserver won't start. i then get put into command line only mode. here is my XFree86.0.log file. XFree86 Version 4.3.0 (Red Hat Linux release: 4.3.0-2) Release Date: 27 February 2003 X Protocol Version 11, Revision 0, Release 6.6 Build Operating System: Linux 2.4.20-3bigmem i686 [ELF] Build Date: 27 February 2003 Build Host: porky.devel.redhat.com Before reporting problems, check http://www.XFree86.Org/ to make sure that you have the latest version. Module Loader present OS Kernel: Linux version 2.4.20-6 ([EMAIL PROTECTED]) (gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)) #1 Thu Feb 27 10:06:59 EST 2003 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/XFree86.0.log, Time: Thu Oct 23 20:40:03 2003 (==) Using config file: /etc/X11/XF86Config Parse error on line 115 of section Screen in file /etc/X11/XF86Config 1280x1024 is not a valid keyword in this section. (EE) Problem parsing the config file (EE) Error from xf86HandleConfigFile() Fatal server error: no screens found When reporting a problem related to a server crash, please send the full server output, not just the last messages. This can be found in the log file /var/log/XFree86.0.log. Please report problems to [EMAIL PROTECTED] here is my XF86Config file # XFree86 4 configuration created by pyxf86config Section ServerLayout Identifier Default Layout Screen 0 Screen0 0 0 InputDeviceMouse0 CorePointer InputDeviceKeyboard0 CoreKeyboard InputDeviceDevInputMice AlwaysCore EndSection Section Files # RgbPath is the location of the RGB database. Note, this is the name of the # file minus the extension (like .txt or .db). There is normally # no need to change the default. # Multiple FontPath entries are allowed (they are concatenated together) # By default, Red Hat 6.0 and later now use a font server independent of # the X server to render fonts. RgbPath /usr/X11R6/lib/X11/rgb FontPath unix/:7100 EndSection Section Module Load dbe Load extmod Load fbdevhw Load glx Load record Load freetype Load type1 Load dri EndSection Section InputDevice # Specify which keyboard LEDs can be user-controlled (eg, with xset(1)) # Option Xleds 1 2 3 # To disable the XKEYBOARD extension, uncomment XkbDisable. # Option XkbDisable # To customise the XKB settings to suit your keyboard, modify the # lines below (which are the defaults). For example, for a non-U.S. # keyboard, you will probably want to use: # Option XkbModel pc102 # If you have a US Microsoft Natural keyboard, you can use: # Option XkbModel microsoft # # Then to change the language, change the Layout setting. # For example, a german layout can be obtained with: # Option XkbLayout de # or: # Option XkbLayout de # Option XkbVariantnodeadkeys # # If you'd like to switch the positions of your capslock and # control keys, use: # Option XkbOptionsctrl:swapcaps # Or if you just want both to be control, use: # Option XkbOptionsctrl:nocaps # Identifier Keyboard0 Driver keyboard Option XkbRules xfree86 Option XkbModel pc105 Option XkbLayout us EndSection Section InputDevice Identifier Mouse0 Driver mouse Option Protocol PS/2 Option Device /dev/psaux Option ZAxisMapping 4 5 Option Emulate3Buttons no EndSection Section InputDevice # If the normal CorePointer mouse is not a USB mouse then # this input device can be used in AlwaysCore mode to let you # also use USB mice at the same time. Identifier DevInputMice Driver mouse Option Protocol IMPS/2 Option Device /dev/input/mice Option ZAxisMapping 4 5 Option Emulate3Buttons no EndSection Section Monitor Identifier Monitor0 VendorName Monitor Vendor ModelNameDell 1280x1024 Laptop Display Panel DisplaySize 13 11 HorizSync31.5 - 90.0 VertRefresh 60.0 - 60.0 Option dpms EndSection Section Device Identifier Videocard0 Driver r128 VendorName Videocard vendor BoardName ATI Rage 128 Mobility VideoRam16384 EndSection Section Screen Identifier Screen0 Device Videocard0 MonitorMonitor0 DefaultDepth 24 SubSection Display Depth 24 Modes1600x1200 1400x1050 1280x1024 1280x960 1152x800
Re: Exporting sched_yield to the drivers
On Tue, 2003-09-23 at 05:58, Mark Vojkovich wrote: Can we export to the drivers some function that yields the CPU? Currently alot of drivers burn the CPU waiting for fifos, etc... usleep(0) is not good for this because it's jiffy based and usually never returns in less than 10 msec which has the effect of making interactivity worse instead of better. I'm not sure which platforms don't export sched_yield() and which will need alternative implementations. FIFO busy loops are very quick. You'll harm overall graphic performance by yielding. ___ Devel mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/devel
Re: Exporting sched_yield to the drivers
On Tue, 2003-09-23 at 07:55, Mark Vojkovich wrote: On Tue, 23 Sep 2003, Nathan Hand wrote: On Tue, 2003-09-23 at 05:58, Mark Vojkovich wrote: Can we export to the drivers some function that yields the CPU? Currently alot of drivers burn the CPU waiting for fifos, etc... usleep(0) is not good for this because it's jiffy based and usually never returns in less than 10 msec which has the effect of making interactivity worse instead of better. I'm not sure which platforms don't export sched_yield() and which will need alternative implementations. FIFO busy loops are very quick. You'll harm overall graphic performance by yielding. Your experience is out of date. If I've just filled a Megabyte DMA fifo and I'm waiting to cram another Megabyte into it, how quick is my FIFO busy loop then? I've had great success with sched_yield(). There's no disputing the first comment :-/ Wouldn't it be easier to dynamically adjust the size of the FIFO? So instead of slice 1) send 1 megabyte ... slice 2) fifo not drained, yield ... slice 3) fifo not drained, yield ... slice 4) fifo drained, send 1 megabyte ... repeat forever, many wasted slices Why not slice 1) send 1 megabyte ... slice 2) fifo not drained, reduce fifo to 512kB, wait ... slice 3) fifo not drained, reduce fifo to 256kB, wait ... slice 4) fifo drained, send 256kB ... slice 5) fifo drained, send 256kB A bigger FIFO reduces the risk of the FIFO emptying before you're ready but if your slices are arriving faster than the GPU can drain the FIFO, does it really matter? ___ Devel mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/devel
Re: DPI with multiple heads and virtual desktops
Dr Andrew C Aitchison wrote: On Wed, 20 Aug 2003, Alex Deucher wrote: this is a semi-fix, but it still does not deal with monitors that have different DPI. Perhaps this is something that needs to be looked at for xfree 5. Almost certainly not before XFree86 v5. Even then I don't think a solution to your problem is actually possible for Xinerama; I don't know whether it would be for MergedFB. Xinerama *hides* the fact that there are two heads, so there is no way for the app to be told a different DPI debending which head it is currently on - what should it be told if it is on both ? This is my point exactly. When I raised this issue it was not to elicit a correct solution, but rather to point out that the whole notion of DPI is nonsense WRT Xinerama/MergedFB. I would suggest this as a correct-ish solution: If Xinerama/MergedFB detects that both screens have nearly the same resolution (to within some configurable tolerance) then use the average of the two. Otherwise the user has to specify the DPI to use with the -dpi command line switch or some other mechanism. (Is there a DPI option in the XF86Config file?) It might be nice to be able to specify use DPI from screen foo in the ServerLayout section to simplify the process a bit. IMO either you want the same DPI on both screens (fake whatever value you want with DisplaySize or X -dpi NN) or you want two non-xinerama heads - display:0.0 and display:0.1, which allows apps on each head to get the right answer for that screen*, and stops the DPI changes which would occur if the window was allowed to move between screens. I agree, but I think that Xinerama/MergedFB could at least be smart enough to either: A. do the right thing if you have two displays with the same DPI or B. throw in the towel when you have two displays with very different DPI. Cheers, -n8 -- -- Nathaniel Gray -- Caltech Computer Science -- -- Mojave Project -- http://mojave.cs.caltech.edu -- ___ Devel mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/devel
Re: [XFree86] ps/2 mouse no longer working under X
On Wednesday 23 July 2003 10:35, Craig Ringer wrote: I am using RedHat 9 and just upgraded to kernel 2.4.20-19.9. After doing so, my ps/2 mouse (Logitech Trackman Marble FX) stopped working under X. It appears to function completely normally at runlevel 3, however. If anyone has any useful suggestions about how to get the mouse working again, I would greatly appreciate it. Attached is my config file and log. If you're running gpm as well as XFree86, try stopping gpm before you fire up XFree86 and see if that helps. Just an idle suggestion. Craig Ringer ___ XFree86 mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xfree86 I just went back to runlevel 3, killed gpm, restarted X, and checked for gpm. It was not running, and I still have a trackball-shaped paperweight. gpm does not appear to be interfering with X. ___ XFree86 mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xfree86
Re: [XFree86] can't startx on redhat advanced server
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sounds like xfs is no longer running. Please restart it and try logging in again. On Tuesday 22 July 2003 16:09, Neil Spencer wrote: Hi, I running RedHat Advanced Server. I was working in gnome, logged out, logged in as a new user, tried to run 'startx' but the X server crashed. The XFree86.0.log is attached. This is the screen output after the server crasheds: Could not init font path element unix/:7100, removing from list! Fatal server error: could not open default font 'fixed' When reporting a problem related to a server crash, please send the full server output, not just the last messages. This can be found in the log file /var/log/XFree86.0.log. Please report problems to [EMAIL PROTECTED] Any help with this issue would be aprieciated. Thanks, Neil Spencer - -- My public key available at: http://oliphantparts.org/nathan.asc -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE/HdDq/npQhg2lmv0RAjugAKDV9oDew68IoVs1qDFWCJOToCZdEwCg7URh JweP91XQNvLa+Q9S0GSF8AE= =CXbS -END PGP SIGNATURE- ___ XFree86 mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xfree86
[XFree86] XIO: fatal IO error 0 (Success) on X server
I have a SuSE8.1 system installed with the XFree86 4.3.0 packages from SuSE for 8.1 and KDE 3.1 on top of that. 50% of the times that I run an application we wrote I get the following error: XIO: fatal IO error 0 (Success) on X server ebony:0.0 after 14 requests (13 known processed) with 0 events remaining. then that is it and it exits. The other 50% of the time it runs perfectly. NOTE: I compiled the application using gcc3.1. If I compile it on a SuSE7.1 system with the SuSE X 4.2.0 packages and then run it on a SuSE8.1 system it works fine. Also note: this happens on all of the SuSe8.1 system I have (about 20 or so) so it can't be specific to Video card (they all have various cards). Bellow is the last lines of an strace on the application. Note: DRI is setup and working and loads just fine from the looks of the X log. Any clues?? thanks access(/homes/nathan/.Xauthority, R_OK) = 0 open(/homes/nathan/.Xauthority, O_RDONLY) = 8 fstat64(8, {st_mode=S_IFREG|0600, st_size=398, ...}) = 0 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40027000 read(8, \0\0\0\4\300\250\1K\0\0010\0\22MIT-MAGIC-COOKIE-1\0..., 4096) = 398 close(8)= 0 munmap(0x40027000, 4096)= 0 time([1057064720]) = 1057064720 writev(7, [{l\0\v\0\0\0\23\0\30\0\0\0, 12}, {XDM-AUTHORIZATION-1, 19}, {\0, 1}, {N\22Re\332\274F\3653\304c\350=\32:\330VR`\300\351|%\235..., 24}], 4) = 56 fcntl64(7, F_GETFL) = 0x2 (flags O_RDWR) fcntl64(7, F_SETFL, O_RDWR|O_NONBLOCK) = 0 read(7, 0xbfffe5a8, 8) = -1 EAGAIN (Resource temporarily unavailable) select(8, [7], NULL, NULL, NULL)= 1 (in [7]) read(7, \1\0\v\0\0\0\224\0, 8)= 8 read(7, \340\355f\2\0\0\0\4\377\377\37\0\0\1\0\0\30\0\377\377\1..., 592) = 592 write(7, 7\0\5\0\0\0\0\4H\0\0\0\10\0\0\0\377\377\377\0b\0\5\0\f..., 64) = 64 read(7, 0xbfffe5c0, 32) = -1 EAGAIN (Resource temporarily unavailable) select(8, [7], NULL, NULL, NULL)= 1 (in [7]) read(7, \1\0\2\0\0\0\0\0\1\202\0\0\0\0\0\0\0\0\0\0\1\0\0\0\310..., 32) = 32 read(7, \1\10\3\0t\16\0\0\37\0\0\0\0\0\0\0\3179\0\0\0\0\0\0\0\0..., 32) = 32 brk(0) = 0x925a000 brk(0x925e000) = 0x925e000 readv(7, [{*Box.background:\t#aeb2c3\n*Box.fo..., 14799}, {\0, 1}], 2) = 14800 write(7, \202\0\1\0, 4) = 4 read(7, 0xbfffe5e0, 32) = -1 EAGAIN (Resource temporarily unavailable) select(8, [7], NULL, NULL, NULL)= 1 (in [7]) read(7, \0019\4\0\0\0\0\0\377\377\17\0\0\0\0\0\1\0\0\0\1\0\0\0..., 32) = 32 writev(7, [{b\0\5\0\t\0\0\4, 8}, {XKEYBOARD, 9}, {\0\0\0, 3}], 3) = 20 read(7, 0xbfffe430, 32) = -1 EAGAIN (Resource temporarily unavailable) select(8, [7], NULL, NULL, NULL)= 1 (in [7]) read(7, \1\0\5\0\0\0\0\0\1\225n\260\0\0\0\0\1\0\0\0\1\0\0\0\310..., 32) = 32 write(7, \225\0\2\0\1\0\0\0, 8) = 8 read(7, 0xbfffe4f0, 32) = -1 EAGAIN (Resource temporarily unavailable) select(8, [7], NULL, NULL, NULL)= 1 (in [7]) read(7, \1\1\6\0\0\0\0\0\1\0\0\0\0\0\0\0\1\0\0\0\1\0\0\0\310\304..., 32) = 32 writev(7, [{b\0\3\0\3\0\0\0, 8}, {GLX, 3}, {\0, 1}], 3) = 12 read(7, 0xbfffe400, 32) = -1 EAGAIN (Resource temporarily unavailable) select(8, [7], NULL, NULL, NULL)= 1 (in [7]) read(7, \1\0\7\0\0\0\0\0\1\220M\234\0\0\0\0\1\0\0\0\1\0\0\0\310..., 32) = 32 write(7, \220\7\3\0\1\0\0\0\2\0\0\0, 12) = 12 read(7, 0xbfffe4b0, 32) = -1 EAGAIN (Resource temporarily unavailable) select(8, [7], NULL, NULL, NULL)= 1 (in [7]) read(7, \1\0\10\0\0\0\0\0\1\0\0\0\2\0\0\0p\33\25\t\0\0\0\0\0\0..., 32) = 32 writev(7, [{b\7\5\0\v\0\0\0, 8}, {XFree86-DRI, 11}, {\0, 1}], 3) = 20 read(7, 0xbfffe3b0, 32) = -1 EAGAIN (Resource temporarily unavailable) select(8, [7], NULL, NULL, NULL)= 1 (in [7]) read(7, \1\0\t\0\0\0\0\0\1\221\0\250\0\0\0\0\1\0\0\0\1\0\0\0\310..., 32) = 32 write(7, \221\0\1\0, 4) = 4 read(7, 0xbfffe470, 32) = -1 EAGAIN (Resource temporarily unavailable) select(8, [7], NULL, NULL, NULL)= 1 (in [7]) read(7, \1\0\n\0\0\0\0\0\4\0\1\0\0\0\0\0\1\0\0\0\1\0\0\0\310\304..., 32) = 32 write(7, \221\1\2\0\0\0\0\0, 8) = 8 read(7, 0xbfffe410, 32) = -1 EAGAIN (Resource temporarily unavailable) select(8, [7], NULL, NULL, NULL)= 1 (in [7]) read(7, \1\0\v\0\0\0\0\0\1\0\0\0\0\0\0\0\1\0\0\0\1\0\0\0\310\304..., 32) = 32 write(7, \221\4\2\0\0\0\0\0, 8) = 8 read(7, 0xbfffe400, 32) = -1 EAGAIN (Resource temporarily unavailable) select(8, [7], NULL, NULL, NULL)= 1 (in [7]) read(7, \1\30\f\0\1\0\0\0\4\0\0\0\0\0\0\0\1\0\0\0\4\0\0\0\310\304..., 32) = 32 readv(7, [{r128, 4}, {, 0}], 2) = 4 write(7, \220\16\2\0\0\0\0\0, 8) = 8 read(7, 0xbfffe4a0, 32) = -1 EAGAIN (Resource temporarily unavailable) select(8, [7], NULL
[XFree86] keyboard shift key gets stuck
This happens on about half of our SuSE 8.1 systems (that have the same configuration) anyone noticed this problem? I've run sax2 several times now changing the keyboard defintions without hope. System Details: SuSE 8.1 with the SuSE X4.3.0 and the kde 3.1.1 rpms from suse.com xf86config: Section InputDevice Driver Keyboard Identifier Keyboard[0] Option MapName Standard Keyboard [ pc104 ] Option Protocol Standard Option XkbLayout us Option XkbModel pc104 Option XkbRules xfree86 EndSection Have also tried pc101 with the same problem still happening. ___ XFree86 mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xfree86
[XFree86] (no subject)
How can i get my Microsoft WheelMouse to work in FreeBSD i thought it was suppose to be added to the xf86config: option Buttons 5 option ZAxisMapping4 5 ___ XFree86 mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xfree86
[I18n]Backspace
Hi all, I have modified the X source to support Indian languages. Here to delete the previous character through the code itself, I used the value '\b' in the buffer. It works fine. Now the problem is, for some key press, I need more than one back space, where I called some fakeKeyEvents() recursively. But whatever the no. of backspace I needed, it is not happening that much, it just deletes only one character backward and finished the backspacing. The routine in the source is processing, but it doesnt delete the character. This works fine for qt based applications. What might be the reason ? anyone have any idea ? pls with Regards -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Viveka Nathan K, DON Lab, IITM, Chennai-36, India. Ph:044-2578904/8353 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Do Best, will make you Best ___ I18n mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/i18n
Re: [Render] Another AA font rendering problem
--- Vadim Plessky [EMAIL PROTECTED] wrote: On Tuesday 29 October 2002 10:08 pm, Nathan Shepperd wrote: | Quite simple really - AA font rendering was working in OpenOffice.org, and | suddenly it stopped working. It seemed to be working in GNOME 2 and it | hasn't worked in KDE so far. Have you enabled AA support in KDE? AA works in my KDE since KDE 2.x time :-) | | Is there some kind of switch for turning it on and off? I'm running | Xfree86 4.2, so I shouldn't have a problem, should I? I can't work out how | to change any settings for AA rendering, since there's no longer and | Xftconfig file. KDE 3.1: KDE Control Center- AppearanceThemes-Fonts-Anti-Alias [x] Use anti-aliasing for fonts KDE3.1-RC1 has been released yesterday, I highly recommend you to give it a try. As as XftConfig: it is located in /etc/X11/XftConfig (XF 4.2.0) on my system. | | Running SuSE Linux 7.3 with updated Xfree86, KDE (3.0.4), Matrox G550 | graphics, latest beta drivers. | ___ | Render mailing list | [EMAIL PROTECTED] | http://XFree86.Org/mailman/listinfo/render -- Vadim Plessky http://kde2.newmail.ru (English) 33 Window Decorations and 6 Widget Styles for KDE http://kde2.newmail.ru/kde_themes.html KDE mini-Themes http://kde2.newmail.ru/themes/ ___ Render mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/render Vadim, I tried enabling AA in already - no joy. There is no XFTConfig file anywhere on my system - perhaps that's the problem. If it is, I don't know where it went. Can the file be generated somehow? __ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com ___ Render mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/render
[Fonts]Xft acceleration
Hello, I have found a problem with X and really fast scrolling terminal windows(named gnome-terminal from Gnome2) using Xft to render fonts. It will cause the mouse cursor to repeatedly freeze for a second as long as it's scrolling fast. I have been told this is caused by lack of Xft acceleration in video drivers. Is anyone working on this, planning to work on this, or could be convinced to work on this? It is a quite annoying problem and the only workaround I have found is to renice terminal windows to 3. P.S. I am not a member of the mailing list, so reply to the list and me directly, please. ___ Fonts mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/fonts
[I18n]unicode
Hi all.. I wish to use the unicode encoding. How can I know, which applications are supporting the unicode. What should I need to do, to make an application to support unicode ? -- Vivek -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= DON Lab, IITM, Chennai-36, India. Ph:044-2578904, 044-2578353 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Only weapon we are having from the beginning is BRAIN ___ I18n mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/i18n
Re: [Xpert]faking keyboard input
you can use XTestFakeKeyEvent() function as XTestFakeKeyEvent(dpy,x,y,z); where dpy for display, x is Keycode, y is keyPress or release and z is timeduration, after which this event generated. On Today [EMAIL PROTECTED] wrote to Vivek : MC:}Hello. MC:} MC:}I'd like to write a program which sends fake keyboard MC:}events to application windows. Not only to the MC:}currently focused window, but to any window. MC:}Preferably the window would be identified by its title MC:}(on the title bar). MC:} MC:}Is this possible? Could anyone point me in the right MC:}direction? I don't mind reading man pages or whatever, MC:}but I need to know which ones to read. :-) Any help MC:}would be much appreciated. MC:} MC:}Thank you MC:} MC:}/M MC:} MC:} MC:}__ MC:}Yahoo! - We Remember MC:}9-11: A tribute to the more than 3,000 lives lost MC:}http://dir.remember.yahoo.com/tribute MC:}___ MC:}Xpert mailing list MC:}[EMAIL PROTECTED] MC:}http://XFree86.Org/mailman/listinfo/xpert MC:} -- Vivek -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= DON Lab, IITM, Chennai-36, India. Ph:044-2578904, 044-2578353 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Only weapon we are having from the beginning is BRAIN ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
[Newbie]changing resolution on a Dell Inspiron 8000 / ATI Rage 128?
My main question: is it possible to get the LCD on a Dell Inspiron 8000 laptop to work with X at something other than a single resolution. In my case the LCD is 1400x1050, and I can't seem to come up with a modeline for lower resolution that doesn't get rejected. And all of the default modes are rejected too. I've seen other people asking about this on the lists, but couldn't find anywhere that the issue has been resolved. I don't know much about X, and got into all of this because I want to run quake3 and need to get the direct rendering to work (and higher res may be a problem, given that my video card only has 8MB of memory). I've included all sorts of stuff below... hopefully enough to go on for anyone willing to help. I am, but the way, running redhat 7.3 (kernel 2.4.18-3, XFree86 version 4.2.0); and the video card is an ATI Rage 128 Mobility M4. The screen does by the way work just fine in 1400x1050 mode. Thanks in advance, Nathan == /etc/X11/XF86Config-4 -- # modified from file generated by anaconda. Section ServerLayout Identifier Anaconda Configured Screen 0 Screen0 0 0 InputDeviceMouse0 CorePointer InputDeviceKeyboard0 CoreKeyboard EndSection Section Files # The location of the RGB database. Note, this is the name of the # file minus the extension (like .txt or .db). There is normally # no need to change the default. RgbPath /usr/X11R6/lib/X11/rgb # Multiple FontPath entries are allowed (they are concatenated together) # By default, Red Hat 6.0 and later now use a font server independent of # the X server to render fonts. FontPath unix/:7100 EndSection Section Module Load GLcore Load dbe Load extmod Load fbdevhw Load dri Load glx Load record Load freetype Load type1 EndSection Section InputDevice Identifier Keyboard0 Driver keyboard # Option AutoRepeat500 5 # when using XQUEUE, comment out the above line, and uncomment the # following line # Option Protocol Xqueue # Specify which keyboard LEDs can be user-controlled (eg, with xset(1)) # Option Xleds 1 2 3 # To disable the XKEYBOARD extension, uncomment XkbDisable. # Option XkbDisable # To customise the XKB settings to suit your keyboard, modify the # lines below (which are the defaults). For example, for a non-U.S. # keyboard, you will probably want to use: # Option XkbModel pc102 # If you have a US Microsoft Natural keyboard, you can use: # Option XkbModel microsoft # # Then to change the language, change the Layout setting. # For example, a german layout can be obtained with: # Option XkbLayout de # or: # Option XkbLayout de # Option XkbVariantnodeadkeys # # If you'd like to switch the positions of your capslock and # control keys, use: # Option XkbOptionsctrl:nocaps Option XkbRules xfree86 Option XkbModel pc105 Option XkbLayout us #Option XkbVariant #Option XkbOptions EndSection Section InputDevice Identifier Mouse0 Driver mouse Option Protocol PS/2 Option Device /dev/psaux Option ZAxisMapping 4 5 Option Emulate3Buttons no EndSection Section Monitor Identifier Monitor0 VendorName Monitor Vendor ModelNameMonitor Model HorizSync 31.5-90.0 VertRefresh 59.0-75.0 Option dpms # got off of web: Modeline 1024x768 65.000 1024 1048 1065 1344 768 770 776 806 Modeline 1280x1024 108.000 1400 1448 1462 1688 1050 1050 1053 1066 Modeline 800x600 37.44 800 816 928 1072 600 600 605 626 EndSection #Section Device # # no known options # Identifier ATI Rage 128 Mobility #Driver r128 #VendorName ATI Rage 128 Mobility #BoardName ATI Rage 128 Mobility # ##BusID #EndSection # from dri.sourceforge.net: Section Device Identifier Rage128 VendorName ATI Driver ati BoardName ATI Rage 128 Mobility Option AGPMode 1 Option UseCCEFor2D false #BusID EndSection Section Screen Identifier Screen0 #Device ATI Rage 128 Mobility Device Rage128 Monitor Monitor0 DefaultDepth24 Subsection Display Depth 16 Modes 1400x1050 1024x768 800x600 640x480 640x400 512x384 EndSubsection Subsection Display Depth 24 Modes 1400x1050 EndSubsection EndSection Section DRI Mode 0666 EndSection
[I18n]Event generations..
Hi,, I have a doubt.. As per the Indian languages, There are some consonants and vowels. On combination of Consonant and Vowel, the glyph to be display is different. It is not similar either to Consonant or Vowel, Its completely different. Normally , in English, if the consonant 't' is followed by vowel 'a', we will write it as 'ta', but in Indian languages, these two chars 'ta' will be written in some different way. For Indian language, I mapped (for eg.) 'D' to a vowel and 'K' to a consonant. If I type 'K' the corresponding consonant to that 'K' would be displayed. If I type the consonant again, it just display the corresponding consonants and going on and on. but, If I type the vowel character 'D' next to the consonant 'K', the already printed consonant, should be removed and the character corresponding to the combination of the Consonant+Vowel should be displayed. This is the thing needed for all the Koffice application( of course, KDE). so, I am modifying the Xlibrary. Do you have any Idea? How to do that? Things I have tried are : To delete the already displayed consonant, we have to generate backspace event, so, in the XTranslateKeySym(), while the match for Consonant and vowel comes, I just assign *sym_rtrn = 65288; (for backspace) and assigned the resulting glyph in buffer such as buffer = resultingValue; but it sends only backspace, not printing the content of the buffer.. If I assigned the values in buffer as buffer[0]='\b'; strcat(buffer,resultingValue); It displays a box for '\b' (in KDE Applns) and appended the resultingValue with that. Now, I think, what happen If I generate a seperate event for backspace ? for that, I have to give a KeyPress and KeyRelease Events, By using, XPeekEvent, I can get the KeyRelease event, but I couldnt get the Keypress event. I dont know, whether I am moving in a correct way... !! Give me your comments and Solutions.. or Is there anything available in i18n ? with Regards, Vivek (o---) \ Distributed Systems and Optical Networks Lab, \ \ IITM, Chennai-36, India (__)\ \ Ph:044-2578904 oo ) \ \ 044-2578353-=G=N=U=-|_/\ \ o)___) Expressions other than SMILES are Dangerous ___ I18n mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/i18n
[Xpert]Event generations..
Hi,, I have a doubt.. As per the Indian languages, There are some consonants and vowels. On combination of Consonant and Vowel, the glyph to be display is different. It is not similar either to Consonant or Vowel, Its completely different. Normally , in English, if the consonant 't' is followed by vowel 'a', we will write it as 'ta', but in Indian languages, these two chars 'ta' will be written in some different way. For Indian language, I mapped (for eg.) 'D' to a vowel and 'K' to a consonant. If I type 'K' the corresponding consonant to that 'K' would be displayed. If I type the consonant again, it just display the corresponding consonants and going on and on. but, If I type the vowel character 'D' next to the consonant 'K', the already printed consonant, should be removed and the character corresponding to the combination of the Consonant+Vowel should be displayed. This is the thing needed for all the Koffice application( of course, KDE). so, I am modifying the Xlibrary. Do you have any Idea? How to do that? Things I have tried are : To delete the already displayed consonant, we have to generate backspace event, so, in the XTranslateKeySym(), while the match for Consonant and vowel comes, I just assign *sym_rtrn = 65288; (for backspace) and assigned the resulting glyph in buffer such as buffer = resultingValue; but it sends only backspace, not printing the content of the buffer.. If I assigned the values in buffer as buffer[0]='\b'; strcat(buffer,resultingValue); It displays a box for '\b' (in KDE Applns) and appended the resultingValue with that. Now, I think, what happen If I generate a seperate event for backspace ? for that, I have to give a KeyPress and KeyRelease Events, By using, XPeekEvent, I can get the KeyRelease event, but I couldnt get the Keypress event. I dont know, whether I am moving in a correct way... !! Give me your comments and Solutions.. with Regards, Vivek (o---) \ Distributed Systems and Optical Networks Lab, \ \ IITM, Chennai-36, India (__)\ \ Ph:044-2578904 oo ) \ \ 044-2578353-=G=N=U=-|_/\ \ o)___) Expressions other than SMILES are Dangerous ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
[Xpert]KeyPress event
How can I get a KeyPress event through, the XPeekEvent? By using this, XPeekEvent, I can get the KeyRelease event, but I couldnt get the keypress event. I just want to send one KeyPress and KeyRelease event to the Event queue. With Regards, Vivek (o---) \ Distributed Systems and Optical Networks Lab, \ \ IITM, Chennai-36, India (__)\ \ Ph:044-2578904 oo ) \ \ 044-2578353-=G=N=U=-|_/\ \ o)___) Expressions other than SMILES are Dangerous ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
Re: [Xpert]KeyPress event
Hi Mark, Thanks for your response... While I peek the event using XPeekEvent, the only event available is KeyRelease, because, we can enter into the Xlookupstring function, only after the KeyPress happens, so in the queue, the available event is KeyRelease only. I want a KeyPress event to add in the EventQueue, So, I asked, how to generate the KeyPress event, (through anyother way, like XSendEvent etc.. I dont know how to generate that KeyPress event). On Yesterday [EMAIL PROTECTED] wrote to Vivek : MV:}On Thu, 6 Jun 2002, Viveka Nathan K wrote: MV:} MV:} MV:} How can I get a KeyPress event through, the MV:} XPeekEvent? MV:} MV:} By using this, XPeekEvent, I can get the KeyRelease event, but I couldnt get the MV:} keypress event. I just want to send one KeyPress and KeyRelease event to the MV:} Event queue. MV:} MV:} MV:} There's nothing different about presses. If you're not getting MV:}KeyPress events it's likely that you haven't asked for them. MV:} MV:} MV:}Mark. MV:} MV:}___ MV:}Xpert mailing list MV:}[EMAIL PROTECTED] MV:}http://XFree86.Org/mailman/listinfo/xpert MV:} -- Priyamudan, Vivek (o---) \ Distributed Systems and Optical Networks Lab, \ \ IITM, Chennai-36, India (__)\ \ Ph:044-2578904 oo ) \ \ 044-2578353-=G=N=U=-|_/\ \ o)___) Expressions other than SMILES are Dangerous ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
[Xpert]doubt in Sending Events
Hi I have already sent this message, I am sending it again.. I am doing a localization in X. Here, I need to send the backspace event and also some display item to the display. That is, If We press a key, the previously displayed character should be deleted and some glyph(character) should be displayed in that location. What can I do? Already, I doing modifications in XKBBind.c - XTranslateKeySym() for backspace, I am sending sym_rtrn[0]=65288; and assign the character, which is to be displayed, is in buffer as strcpy(buffer,tmpchar); but it only deletes, the previous character and not displaying the content of the buffer... what can I do? withRegards, Vivek (o---) \ Distributed Systems and Optical Networks Lab, \ \ IITM, Chennai-36, India (__)\ \ Ph:044-2578904 oo ) \ \ 044-2578353-=G=N=U=-|_/\ \ o)___) Expressions other than SMILES are Dangerous ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
[Xpert]doubt in Sending Events
Hi I am a newbie.. to this group. I am doing a localization in X. Here, I need to send the backspace event and also some display item to the display. That is, If We press a key, the previously displayed character should be deleted and some glyph(character) should be displayed in that location. What can I do? Already, I doing modifications in XKBBind.c - XTranslateKeySym() for backspace, I am sending sym_rtrn[0]=65288; and assign the character, which is to be displayed, is in buffer as strcpy(buffer,tmpchar); but it only deletes, the previous character and not displaying the content of the buffer... what can I do? withRegards, Vivek (o---) \ Distributed Systems and Optical Networks Lab, \ \ IITM, Chennai-36, India (__)\ \ Ph:044-2578904 oo ) \ \ 044-2578353-=G=N=U=-|_/\ \ o)___) Expressions other than SMILES are Dangerous ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
[Newbie](no subject)
i am sending this to both the expert and newbie lists. The log and config files can be found at the following addresses: http://members.aol.com/boylenate/XFree86.log.txt http://members.aol.com/boylenate/XF86Config.txt Every single time I type startx, it seems to load fine until just before the point where it shew the first graphics last time i got it working, then it drops me off at VT7 and stops. when i change back to VT1, it says it lost the connection to the X server. -- ___ Get Free Email at Swirve.com, http://www.swirve.com ___ Newbie mailing list [EMAIL PROTECTED] *** To unsubscribe , or change message options, see: http://XFree86.Org/mailman/listinfo/newbie
[Newbie]Connection to X server Broken
i am sending this to both the expert and newbie lists. The log and config files can be found at the following addresses: http://members.aol.com/boylenate/XFree86.log.txt http://members.aol.com/boylenate/XF86Config.txt Slakware 8.0 on i586 XFree 4.2.0[from slakware-current] Every single time I type startx, it seems to load fine until just before the point where it shew the first graphics last time i got it working, then it drops me off at VT7 and stops. when i change back to VT1, it says it lost the connection to the X server. -- ___ Get Free Email at Swirve.com, http://www.swirve.com ___ Newbie mailing list [EMAIL PROTECTED] *** To unsubscribe , or change message options, see: http://XFree86.Org/mailman/listinfo/newbie
[Xpert](no subject)
i am sending this to both the expert and newbie lists. The log and config files can be found at the following addresses: http://members.aol.com/boylenate/XFree86.log.txt http://members.aol.com/boylenate/XF86Config.txt Every single time I type startx, it seems to load fine until just before the point where it shew the first graphics last time i got it working, then it drops me off at VT7 and stops. when i change back to VT1, it says it lost the connection to the X server. -- ___ Get Free Email at Swirve.com, http://www.swirve.com ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
Re: [Newbie]No Screens found
try the XF86Config-vesa file insted of the default, i fixed a similer problem that way I have the regular Slakware 8.0, but with some packages from SLakware-current -Original Message- From: Jo Owen [EMAIL PROTECTED] Date: Sat, 16 Feb 2002 16:46:26 + To: [EMAIL PROTECTED] Subject: [Newbie]No Screens found Ive installed Xfree86, when i go to start i get this: XFree86 Version 4.1.0 / X Window System (protocol Version 11, revision 0, vendor release 6510) Release Date: 2 June 2001 If the server is older than 6-12 months, or if your card is newer than the above date, look for a newer version before reporting problems. (See http://www.XFree86.Org/FAQ) Build Operating System: Linux 2.2.19 i686 [ELF] Module Loader present (==) Log file: /var/log/XFree86.0.log, Time: Sat Feb 16 15:41:37 2002 (==) Using config file: /etc/X11/XF86Config Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) ServerLayout Simple Layout (**) |--Screen Screen 1 (0) (**) | |--Monitor My Monitor (**) | |--Device VESA Framebuffer (**) |--Input Device Mouse1 (**) |--Input Device Keyboard1 (**) Option AutoRepeat 500 30 (**) Option XkbRules xfree86 (**) XKB: rules: xfree86 (**) Option XkbModel pc101 (**) XKB: model: pc101 (**) Option XkbLayout us (**) XKB: layout: us (==) Keyboard: CustomKeycode disabled (WW) The directory /usr/X11R6/lib/X11/fonts/100dpi/ does not exist. Entry deleted from font path. (WW) The directory /usr/X11R6/lib/X11/fonts/Type1/ does not exist. Entry deleted from font path. (WW) The directory /usr/X11R6/lib/X11/fonts/Speedo/ does not exist. Entry deleted from font path. (WW) The directory /usr/X11R6/lib/X11/fonts/100dpi/ does not exist. Entry deleted from font path. (**) FontPath set to /usr/X11R6/lib/X11/fonts/local/,/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/75dpi/:unscaled,/usr/X11R6/lib/X11/fonts/75dpi/ (**) RgbPath set to /usr/X11R6/lib/X11/rgb (==) ModulePath set to /usr/X11R6/lib/modules (--) using VT number 7 (WW) Cannot open APM (II) Module ABI versions: XFree86 ANSI C Emulation: 0.1 XFree86 Video Driver: 0.4 XFree86 XInput driver : 0.2 XFree86 Server Extension : 0.1 XFree86 Font Renderer : 0.2 (II) Loader running on linux (II) LoadModule: bitmap (II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a (II) Module bitmap: vendor=The XFree86 Project compiled for 4.1.0, module version = 1.0.0 Module class: XFree86 Font Renderer ABI class: XFree86 Font Renderer, version 0.2 (II) Loading font Bitmap (II) LoadModule: pcidata (II) Loading /usr/X11R6/lib/modules/libpcidata.a (II) Module pcidata: vendor=The XFree86 Project compiled for 4.1.0, module version = 0.1.0 ABI class: XFree86 Video Driver, version 0.4 (II) PCI: Probing config type using method 1 (II) PCI: Config type is 1 (II) PCI: stages = 0x03, oldVal1 = 0x8000f800, mode1Res1 = 0x8000 (II) PCI: PCI scan (all values are in hex) (II) PCI: 00:00:0: chip 8086,7190 card , rev 03 class 06,00,00 hdr 00 (II) PCI: 00:01:0: chip 8086,7191 card , rev 03 class 06,04,00 hdr 01 (II) PCI: 00:07:0: chip 8086,7110 card , rev 02 class 06,01,00 hdr 80 (II) PCI: 00:07:1: chip 8086,7111 card , rev 01 class 01,01,80 hdr 00 (II) PCI: 00:07:2: chip 8086,7112 card , rev 01 class 0c,03,00 hdr 00 (II) PCI: 00:07:3: chip 8086,7113 card , rev 02 class 06,80,00 hdr 00 (II) PCI: 00:10:0: chip 127a,2013 card 1436,2113 rev 01 class 07,80,00 hdr 00 (II) PCI: 00:14:0: chip 1274,1371 card 1274,1371 rev 08 class 04,01,00 hdr 00 (II) PCI: 01:00:0: chip 121a,0005 card 121a,0034 rev 01 class 03,00,00 hdr 00 (II) PCI: End of PCI scan (II) LoadModule: scanpci (II) Loading /usr/X11R6/lib/modules/libscanpci.a (II) Module scanpci: vendor=The XFree86 Project compiled for 4.1.0, module version = 0.1.0 ABI class: XFree86 Video Driver, version 0.4 (II) UnloadModule: scanpci (II) Unloading /usr/X11R6/lib/modules/libscanpci.a (II) Host-to-PCI bridge: (II) PCI-to-ISA bridge: (II) PCI-to-PCI bridge: (II) Bus 0: bridge is at (0:0:0), (-1,0,0), BCTRL: 0x08 (VGA_EN is set) (II) Bus 0 I/O range: [0] -1 0x - 0x (0x1) IX[B] (II) Bus 0 non-prefetchable memory range: [0] -1 0x - 0x (0x0) MX[B] (II) Bus 0 prefetchable memory range: [0] -1 0x - 0x (0x0) MX[B] (II) Bus 1: bridge is at (0:1:0), (0,1,1), BCTRL: 0x88 (VGA_EN is set) (II) Bus 1 I/O range: [0] -1 0xb000 - 0xbfff (0x1000) IX[B] (II) Bus 1 non-prefetchable memory range: [0] -1 0xebe0 - 0xefef (0x410) MX[B] (II) Bus 1 prefetchable memory range: [0] -1 0xdfc0 - 0xe3cf (0x410)
[Newbie]video problem
it dosent show any errors in the logfile. OK, here's the problem: when i start xfree86, it start's normaly, but even after it starts the window manager, it show these tiny white, black, and grey dot's on the top inche of the screen[like it does before loading the window manager], it also show's 2 mouse cusor's and cut's off the top's of the windows[and places them elsewhere] -- ___ Get Free Email at Swirve.com, http://www.swirve.com ___ Newbie mailing list [EMAIL PROTECTED] *** To unsubscribe , or change message options, see: http://XFree86.Org/mailman/listinfo/newbie
Re: [Newbie]video problem
Slakware 8.0 -Original Message- From: Lionel Lecoq [EMAIL PROTECTED] Date: Thu, 14 Feb 2002 13:53:58 -0800 (PST) To: [EMAIL PROTECTED] Subject: Re: [Newbie]video problem Which distro do you have? I had something similar on a laptop with RH Roswell (4.1 beta) and could only get rid of it by switching to RH 7.2 enigma (4.1) Lionel --- Nathan Boyle [EMAIL PROTECTED] wrote: it dosent show any errors in the logfile. OK, here's the problem: when i start xfree86, it start's normaly, but even after it starts the window manager, it show these tiny white, black, and grey dot's on the top inche of the screen[like it does before loading the window manager], it also show's 2 mouse cusor's and cut's off the top's of the windows[and places them elsewhere] -- ___ Get Free Email at Swirve.com, http://www.swirve.com ___ Newbie mailing list [EMAIL PROTECTED] *** To unsubscribe , or change message options, see: http://XFree86.Org/mailman/listinfo/newbie __ Do You Yahoo!? Send FREE Valentine eCards with Yahoo! Greetings! http://greetings.yahoo.com ___ Newbie mailing list [EMAIL PROTECTED] *** To unsubscribe , or change message options, see: http://XFree86.Org/mailman/listinfo/newbie -- ___ Get Free Email at Swirve.com, http://www.swirve.com ___ Newbie mailing list [EMAIL PROTECTED] *** To unsubscribe , or change message options, see: http://XFree86.Org/mailman/listinfo/newbie
[Newbie]sorry about wasting your time...
it turns out that downloading[and installing] version 4.20 of xfree86 from Slakware-current fixed my video problem. [in KDE for the third time on this computer]NHB316 -- ___ Get Free Email at Swirve.com, http://www.swirve.com ___ Newbie mailing list [EMAIL PROTECTED] *** To unsubscribe , or change message options, see: http://XFree86.Org/mailman/listinfo/newbie
[Newbie]addscreen failed
platform: Pentium os: Slackware Linux default Slackware build of XFree86 4.2.0 -log file- XFree86 Version 4.2.0 / X Window System (protocol Version 11, revision 0, vendor release 6600) Release Date: 18 January 2002 If the server is older than 6-12 months, or if your card is newer than the above date, look for a newer version before reporting problems. (See http://www.XFree86.Org/) Build Operating System: Linux 2.4.17 i686 [ELF] 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/XFree86.0.log, Time: Fri Feb 8 23:19:06 2002 (==) Using config file: /etc/X11/XF86Config (==) ServerLayout Simple Layout (**) |--Screen Screen 1 (0) (**) | |--Monitor mon (**) | |--Device vid (**) |--Input Device Mouse1 (**) |--Input Device Keyboard1 (**) Option AutoRepeat 500 30 (**) Option XkbRules xfree86 (**) XKB: rules: xfree86 (**) Option XkbModel pc102 (**) XKB: model: pc102 (**) Option XkbLayout us (**) XKB: layout: us (==) Keyboard: CustomKeycode disabled (**) FontPath set to /usr/X11R6/lib/X11/fonts/local/,/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/75dpi/:unscaled,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/75dpi/ (**) RgbPath set to /usr/X11R6/lib/X11/rgb (==) ModulePath set to /usr/X11R6/lib/modules (--) using VT number 7 (WW) Open APM failed (/dev/apm_bios) (No such device) (II) Module ABI versions: XFree86 ANSI C Emulation: 0.1 XFree86 Video Driver: 0.5 XFree86 XInput driver : 0.3 XFree86 Server Extension : 0.1 XFree86 Font Renderer : 0.3 (II) Loader running on linux (II) LoadModule: bitmap (II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a (II) Module bitmap: vendor=The XFree86 Project compiled for 4.2.0, module version = 1.0.0 Module class: XFree86 Font Renderer ABI class: XFree86 Font Renderer, version 0.3 (II) Loading font Bitmap (II) LoadModule: pcidata (II) Loading /usr/X11R6/lib/modules/libpcidata.a (II) Module pcidata: vendor=The XFree86 Project compiled for 4.2.0, module version = 0.1.0 ABI class: XFree86 Video Driver, version 0.5 (II) PCI: Probing config type using method 1 (II) PCI: Config type is 1 (II) PCI: stages = 0x03, oldVal1 = 0x883c, mode1Res1 = 0x8000 (II) PCI: PCI scan (all values are in hex) (II) PCI: 00:00:0: chip 1106,0597 card , rev 04 class 06,00,00 hdr 00 (II) PCI: 00:01:0: chip 1106,8598 card , rev 00 class 06,04,00 hdr 01 (II) PCI: 00:07:0: chip 1106,0586 card 1106, rev 47 class 06,01,00 hdr 80 (II) PCI: 00:07:1: chip 1106,0571 card , rev 06 class 01,01,8a hdr 00 (II) PCI: 00:07:2: chip 1106,3038 card 0925,1234 rev 02 class 0c,03,00 hdr 00 (II) PCI: 00:07:3: chip 1106,3040 card , rev 10 class 06,00,00 hdr 00 (II) PCI: 00:08:0: chip 1282,9102 card 3030,5032 rev 31 class 02,00,00 hdr 00 (II) PCI: 00:0a:0: chip 5333,8811 card , rev 44 class 03,00,00 hdr 00 (II) PCI: End of PCI scan (II) LoadModule: scanpci (II) Loading /usr/X11R6/lib/modules/libscanpci.a (II) Module scanpci: vendor=The XFree86 Project compiled for 4.2.0, module version = 0.1.0 ABI class: XFree86 Video Driver, version 0.5 (II) UnloadModule: scanpci (II) Unloading /usr/X11R6/lib/modules/libscanpci.a (II) Host-to-PCI bridge: (II) PCI-to-ISA bridge: (II) Host-to-PCI bridge: (II) PCI-to-PCI bridge: (II) Bus 0: bridge is at (0:0:0), (-1,0,0), BCTRL: 0x08 (VGA_EN is set) (II) Bus 0 I/O range: [0] -1 0x - 0x (0x1) IX[B] (II) Bus 0 non-prefetchable memory range: [0] -1 0x - 0x (0x0) MX[B] (II) Bus 0 prefetchable memory range: [0] -1 0x - 0x (0x0) MX[B] (II) Bus 1: bridge is at (0:1:0), (0,1,1), BCTRL: 0x04 (VGA_EN is cleared) (II) Bus 1 I/O range: (II) Bus 1 non-prefetchable memory range: (II) Bus 1 prefetchable memory range: (II) Bus -1: bridge is at (0:7:0), (0,-1,0), BCTRL: 0x08 (VGA_EN is set) (II) Bus -1 I/O range: (II) Bus -1 non-prefetchable memory range: (II) Bus -1 prefetchable memory range: (II) Bus -1: bridge is at (0:7:3), (-1,-1,0), BCTRL: 0x08 (VGA_EN is set) (II) Bus -1 I/O range: [0] -1 0x - 0x (0x1) IX[B] (II) Bus -1 non-prefetchable memory range: [0] -1 0x - 0x (0x0) MX[B] (II) Bus -1 prefetchable memory range: [0] -1 0x - 0x (0x0) MX[B] (--) PCI:*(0:10:0) S3 Trio32/64 rev 68, Mem @ 0xd400/26 (II) Addressable bus resource ranges are [0] -1 0x - 0x (0x0) MX[B] [1] -1 0x - 0x (0x1) IX[B] (II) OS-reported resource ranges: [0] -1 0xffe0 - 0x (0x20) MX[B](B) [1] -1 0x0010 - 0x3fff (0x3ff0) MX[B]E(B) [2] -1 0x000f - 0x000f (0x1) MX[B]
[Newbie]looking for advice
i'm going to be getting a new video card soon. i'm running freebsd/Xfree-4. what card could you guys recommend? i'm not into 3D gaming, but i do like the extras. like transparent menus, fade-in's, etc, etc. i run KDE as my desktop enviroment. basically i want something that won't be out dated next week, but i don't need a ati-radeon 8500 either. is there anything that is being actively developed with open-source drivers? what about cards that have tv-tuners? is there any in paticalar that with linux/bsd better than the others? thanks. and please cc me any replies -- Nathan ___ Newbie mailing list [EMAIL PROTECTED] *** To unsubscribe , or change message options, see: http://XFree86.Org/mailman/listinfo/newbie
[Xpert]2 keyboards, 2 mice, 2 monitors, 2 users?
I have tried to set up my computer so that 2 people can use it at once. I followed what this guy did http://cambuca.ldhs.cetuc.puc-rio.br/multiuser/; and I realize that his setup is just a hack and patch job. I was wondering if there are plans to support this some time (may be option in layout to ignore VT inputs?) anyhow I am CLOSE to getting it done and managed to have one or the other (with 2nd mouse and keyboard working on it) but when I load it up it seems to freeze the current screen/terminal. The guy said that the setup does not work on all video cards and apparently a GeForce2Pro and ATI All-in-wonder (Mach64) or Diamond 550 (TNT) setup doesn't work right now (dang nvidia official drivers sometimes...). Now that I have babbled on for a bit i am asking is this is: already implemented,might be,kernel problem, never will work. I personally like the idea of 2 people able to use 1 computer (I KNOW about terminals over network (100bit) but ever tried to play a game or DVD on it? hehe SLOW! may be USB2.0 will fix that?). Linux is the multiuser at the same time and Windoz can only dream of it. (I hear there is some professional 2000 gold delux super server edition that can for 2000$ ha ha) if this is not in any plans but you think it is possible (officially) who can i bug err e-mail that would know for sure? Also is a PC a Personal Computer if 2+ people use it at once?hmmm if it sin't, no wonder Microsoft is going to win in the PC market because the rest are far superior than PC :-) _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
[Newbie]2 keyboards, 2 mince, 2 monitors, 2 users?
I have tried to set up my computer so that 2 people can use it at once. I followed what this guy did http://cambuca.ldhs.cetuc.puc-rio.br/multiuser/; and I realize that his setup is just a hack and patch job. I was wondering if there are plans to support this some time (may be option in layout to ignore VT inputs?) anyhow I am CLOSE to getting it done and managed to have one or the other (with 2nd mouse and keyboard working on it) but when I load it up it seems to freeze the current screen/terminal. The guy said that the setup does not work on all video cards and apparently a GeForce2Pro and ATI All-in-wonder (Mach64) or Diamond 550 (TNT) setup doesn't work right now (dang nvidia official drivers sometimes...). Now that I have babbled on for a bit i am asking is this is: already implemented,might be,kernel problem, never will work. I personally like the idea of 2 people able to use 1 computer (I KNOW about terminals over network (100bit) but ever tried to play a game or DVD on it? hehe SLOW! may be USB2.0 will fix that?). Linux is the multiuser at the same time and Windoz can only dream of it. (I hear there is some professional 2000 gold delux super server edition that can for 2000$ ha ha) if this is not in any plans but you think it is possible (officially) who can i bug err e-mail that would know for sure? Also is a PC a Personal Computer if 2+ people use it at once?hmmm if it sin't, no wonder Microsoft is going to win in the PC market because the rest are far superior than PC :-) _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp ___ Newbie mailing list [EMAIL PROTECTED] *** To unsubscribe , or change message options, see: http://XFree86.Org/mailman/listinfo/newbie