[Xpert]error after server crash
Hi there, I'm Jose from toronto After a power shutdown, I've restarted the server and I couldn't init the graphic interface. Logged in as root, when I try to start the graphic interface "startx" the screen turns black and I get the error logged in the attached file. Server: Linux Red Hat 7.3 I would appreciate any help on this topic. thanks in advance JOSE XFree86.0.log Description: Binary data
Re: [Xpert]error after server crash
Am Donnerstag, 2. Januar 2003 17:51 schrieb Jose Avalis: Hi there, I'm Jose from toronto After a power shutdown, I've restarted the server and I couldn't init the graphic interface. Logged in as root, when I try to start the graphic interface startx the screen turns black and I get the error logged in the attached file. Seems as if some files on your hard disk are corrupted due to the power shutdown. Reinstalling all X-related packages should help. The other possibility is there are old temporary files (/tmp/.X*). Remove them and try again. But your logfile points to corrupted files, this may occur when these files were in use when the power failure happened. Sebastian -- while (!asleep) sheep++ ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
Re: [Xpert]error after server crash
On Thu, 2 Jan 2003 11:51:03 -0500 Jose Avalis [EMAIL PROTECTED] wrote: Hi there, I'm Jose from toronto After a power shutdown, I've restarted the server and I couldn't init the graphic interface. Logged in as root, when I try to start the graphic interface startx the screen turns black and I get the error logged in the attached file. The last part of the log file is the error you'd get if you forgot to start your font server. Is xfs running? Scott ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
Re: [Xpert]error after server crash
Hi Scott, thanks for your respond fxs is not running, but it is supoused to be loaded by startx, maybe I should reinstall the packages related to X, the thing is that I have no idea how to do that from command line. Could you tell me which utility should I use andwhich packages should I remorve and reinstall? thanks a lot. JOSE - Original Message - From: Scott Long [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, January 02, 2003 12:36 PM Subject: Re: [Xpert]error after server crash On Thu, 2 Jan 2003 11:51:03 -0500 Jose Avalis [EMAIL PROTECTED] wrote: Hi there, I'm Jose from toronto After a power shutdown, I've restarted the server and I couldn't init the graphic interface. Logged in as root, when I try to start the graphic interface startx the screen turns black and I get the error logged in the attached file. The last part of the log file is the error you'd get if you forgot to start your font server. Is xfs running? Scott ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
Re: [Xpert]error after server crash
On RedHat, which I am most familar with, xfs is in it's own package and has it's own startup script. Startx is not responsible for starting it. It must already be running. On Thursday 02 January 2003 10:57 am, Jose Avalis wrote: Hi Scott, thanks for your respond fxs is not running, but it is supoused to be loaded by startx, maybe I should reinstall the packages related to X, the thing is that I have no idea how to do that from command line. Could you tell me which utility should I use andwhich packages should I remorve and reinstall? thanks a lot. JOSE - Original Message - From: Scott Long [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, January 02, 2003 12:36 PM Subject: Re: [Xpert]error after server crash On Thu, 2 Jan 2003 11:51:03 -0500 Jose Avalis [EMAIL PROTECTED] wrote: Hi there, I'm Jose from toronto After a power shutdown, I've restarted the server and I couldn't init the graphic interface. Logged in as root, when I try to start the graphic interface startx the screen turns black and I get the error logged in the attached file. The last part of the log file is the error you'd get if you forgot to start your font server. Is xfs running? Scott ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
Re: [Xpert]error after server crash
Sorry, I'm relatively new in Linux, I've tried to start fxs from command line, but nothing happened, should I specify any parameter?? thanks a lot. - Original Message - From: Eric Princen [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, January 02, 2003 10:16 AM Subject: Re: [Xpert]error after server crash On RedHat, which I am most familar with, xfs is in it's own package and has it's own startup script. Startx is not responsible for starting it. It must already be running. On Thursday 02 January 2003 10:57 am, Jose Avalis wrote: Hi Scott, thanks for your respond fxs is not running, but it is supoused to be loaded by startx, maybe I should reinstall the packages related to X, the thing is that I have no idea how to do that from command line. Could you tell me which utility should I use andwhich packages should I remorve and reinstall? thanks a lot. JOSE - Original Message - From: Scott Long [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, January 02, 2003 12:36 PM Subject: Re: [Xpert]error after server crash On Thu, 2 Jan 2003 11:51:03 -0500 Jose Avalis [EMAIL PROTECTED] wrote: Hi there, I'm Jose from toronto After a power shutdown, I've restarted the server and I couldn't init the graphic interface. Logged in as root, when I try to start the graphic interface startx the screen turns black and I get the error logged in the attached file. The last part of the log file is the error you'd get if you forgot to start your font server. Is xfs running? Scott ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
Re: [Xpert]error after server crash
With RedHat, it starts automatically on boot. I don't know what distro you have, so that may vary. If it's RedHat or Mandrake, you should have a /etc/init.d/xfs script if the correct package is installed. To make sure it starts up automatically, there should be a link to it in the runlevel directory corresponding to the runlevel you are entering on startup (it sounds like you are starting at runlevel 5.) If you don't understand what I am talking about, do some homework. :-) The best way to understand things is to do the research and learn. I personally use ntsysv to manage my startup script links. Use man ntsysv to learn how to use it. It's very simple. There are a lot of other programs that you can use to do this, or you can create and delete the links by hand. Again, you probably want to do some research and find the way you prefer to do it. One of the strengths of Linux is that it does not dictate policy to the user, but that's also a weakness. If you want a standard way to do things, you are going to hate it because there seldom is one. If you like options, you will have plenty. :-) On Thursday 02 January 2003 11:20 am, Jose Avalis wrote: Sorry, I'm relatively new in Linux, I've tried to start fxs from command line, but nothing happened, should I specify any parameter?? thanks a lot. - Original Message - From: Eric Princen [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, January 02, 2003 10:16 AM Subject: Re: [Xpert]error after server crash On RedHat, which I am most familar with, xfs is in it's own package and has it's own startup script. Startx is not responsible for starting it. It must already be running. On Thursday 02 January 2003 10:57 am, Jose Avalis wrote: Hi Scott, thanks for your respond fxs is not running, but it is supoused to be loaded by startx, maybe I should reinstall the packages related to X, the thing is that I have no idea how to do that from command line. Could you tell me which utility should I use andwhich packages should I remorve and reinstall? thanks a lot. JOSE - Original Message - From: Scott Long [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, January 02, 2003 12:36 PM Subject: Re: [Xpert]error after server crash On Thu, 2 Jan 2003 11:51:03 -0500 Jose Avalis [EMAIL PROTECTED] wrote: Hi there, I'm Jose from toronto After a power shutdown, I've restarted the server and I couldn't init the graphic interface. Logged in as root, when I try to start the graphic interface startx the screen turns black and I get the error logged in the attached file. The last part of the log file is the error you'd get if you forgot to start your font server. Is xfs running? Scott ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
Re: [Xpert]error after server crash
Am Donnerstag, 2. Januar 2003 18:57 schrieb Jose Avalis: Hi Scott, thanks for your respond fxs is not running, but it is supoused to be loaded by startx, maybe I should reinstall the packages related to X, the thing is that I have no idea how to do that from command line. Could you tell me which utility should I use andwhich packages should I remorve and reinstall? Doesn't RedHat have some kind of package manager? Simply reinstall the X server package and the font server. There may be some different packages for the server drivers, simply reinstall everything that's already installed. Before that I would look if there are dead lockfiles or pidfiles that prevent a new instance from running. This is most common when X crashes but may also happen if the font server terminates. Look for those files in /temp and in /var/lock, and don't forget to specify the -a-option for the ls command to see the files starting with a dot. Are there any hints in the /var/log/messages (or whatever the system log file is called on your distribution) about the start or failure of the font server? Sebastian -- while (!asleep) sheep++ ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
Re: [Xpert]error after server crash
On Thursday 02 January 2003 12:52 pm, Sebastian Voitzsch wrote: Doesn't RedHat have some kind of package manager? Simply reinstall the X server package and the font server. There may be some different packages for the server drivers, simply reinstall everything that's already installed. I have to laugh because that is such the Windows tech support solution. :-) customer: My modem is working Win-support: Try reinstalling Windows customer: My computer crashes every time I open Word Win-support: Try reinstalling Windows ;-) ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
[Xpert]mouse configuration
Hi. When the system load is high, for example a program is starting or mozilla is loading a page, and I'm moving the mouse, the pointer on the screen is not moving continuously but jumping. Is there a way to fix it? My system: Geforce2 MX, Athlon TB 800, mouse: optic, wheel, ps2/usb, SuSE 8.1, XFree 4.0.2, Nvidia 1.0-4191. My XF86Config: Section InputDevice Driver mouse Identifier Mouse[1] Option ButtonNumber 3 Option Device /dev/input/mice Option Name Autodetection Option Protocol imps/2 Option Vendor Sysp Option ZAxisMapping 4 5 Option Resolution 300 EndSection I tried to optimize the mouse: According to Logitech the resolution of the mouse is higher if the usb connector is used. But then I read the option Resolution is only applicable if the ps2 connector is used. And what values for Resolution are allowed? Although the mouse is now connected to a usb port, the protocol is imps/2 and not usb. The document Mouse Support in XFree86 couldn't answer my questions. Thanks for your help. Fabian __ Ihr FreeMail-Postfach kann von jedem Telekom Festnetzanschluss erreicht werden? Mit der Voicebox - http://freemail.web.de/features/?mc=021163 ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
Re: [Xpert]error after server crash
Am Donnerstag, 2. Januar 2003 21:34 schrieb Eric Princen: On Thursday 02 January 2003 12:52 pm, Sebastian Voitzsch wrote: Doesn't RedHat have some kind of package manager? Simply reinstall the X server package and the font server. There may be some different packages for the server drivers, simply reinstall everything that's already installed. I have to laugh because that is such the Windows tech support solution. :-) customer: My modem is working Win-support: Try reinstalling Windows customer: My computer crashes every time I open Word Win-support: Try reinstalling Windows Wellahem...uhh...think you're right! ;o) Cheers, Sebastian -- while (!asleep) sheep++ ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
Re: [Xpert]mouse configuration
Quoting Fabian Niestroj [EMAIL PROTECTED]: Hi. When the system load is high, for example a program is starting or mozilla is loading a page, and I'm moving the mouse, the pointer on the screen is not moving continuously but jumping. Is there a way to fix it? There can be a number of causes - the mouse is not sampled often enough is unlikely. More likely is that X isn't getting enough cycles to update everything at the same time, or isn't getting cycles often enough to provide the illusion of smooth movement. I tried to optimize the mouse: According to Logitech the resolution of the mouse is higher if the usb connector is used. But then I read the option Resolution is only applicable if the ps2 connector is used. And what values for Resolution are allowed? Although the mouse is now connected to a usb port, the protocol is imps/2 and not usb. There is a way to modify the resolution of the sensor on some Logitech USB mice (400dpi or 800dpi) - you need to use certain vendor specific (non-standard) commands. It works on most mice that have the dual optical sensor. I can't tell if your mouse is one of those that are supported (since you didn't bother to identify the mouse), but from memory, MX300, MX500, and recent iFeel are amongst those that are supported. I have a full list at home. I also have an application to check what setting is in use, and to change the setting. I guess I should post it here. Ping me in a couple of days if I forget. Brad ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
Re: [Xpert]mouse configuration
Run a `hdparm /dev/hda` and see if your drive is in DMA mode. If it is not set it in DMA mode otherwise disk access will eat far more cycles than needed. Also, check to make sure your machine isn't constantly swapping to disk. Memory is cheap. schu ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
Re: [Xpert]mouse configuration
[EMAIL PROTECTED] schrieb am 02.01.03 23:17:30: Run a `hdparm /dev/hda` and see if your drive is in DMA mode. If it is not set it in DMA mode otherwise disk access will eat far more cycles than needed. Also, check to make sure your machine isn't constantly swapping to disk. Memory is cheap. DMA is on. I don't want to bother my cpu with this, too. Memory was really cheap - my box has 512MB and is not swapping at all. Fabian __ Ent- oder weder? Nein! Wer den nicht kauft, der platzt vor Neid: M E D I O N - PC P4 2.4 kompl. nur 969,- http://www.mempag.de/xmas3.php ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
Re: [Xpert]error after server crash
On Thu, 2 Jan 2003 13:20:03 -0500 Jose Avalis [EMAIL PROTECTED] wrote: Sorry, I'm relatively new in Linux, I've tried to start fxs from command line, but nothing happened, should I specify any parameter?? thanks a lot. If you are using RedHat (other distros may be the same, I have no idea) the command: service xfs start should get XFS running. This is only a temporary solution, however. You really need to figure out WHY the font server isn't getting started automatically at boot. It could also be possible that XFS is unable to start for some reason (e.g., as someone else pointed out, there could be something like a stale lock file or other problem). Good luck, Scott Long ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
Re: [Xpert]mouse configuration
There is a way to modify the resolution of the sensor on some Logitech USB mice (400dpi or 800dpi) - you need to use certain vendor specific (non-standard) commands. It works on most mice that have the dual optical sensor. I can't tell if your mouse is one of those that are supported (since you didn't bother to identify the mouse), but from memory, MX300, MX500, and recent iFeel are amongst those that are supported. I have a full list at home. I also have an application to check what setting is in use, and to change the setting. I guess I should post it here. Ping me in a couple of days if I forget. It has a single optical sensor. Model: M-BJ69. __ Jetzt 52 verschiedene Briefpapiere fur Ihre E-Mails bei WEB.DE FreeMail - http://freemail.web.de/features/?mc=021140 ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
Re: [Xpert]FreeBSD 5.0 XFree86 4_2_1 source anyone?
nil wrote: Thanks for the datapoint. I did not use HEAD for either cvsup. I tried 5.0 HEAD for 2 days, each day I got different compile errors, leading me to conclude it wasn't stable enough to do an initial make world. So I used RELENG_5_0, but the date was 12/30, close enough. Like you, I also put the xf86 cvs source tree elsewhere. For xf86, I decided to use 4_2_1 because of what I saw on 5.0, but from what you're describing, HEAD is stable, so maybe I'll try that then... Hi, I just check the docs for 4.2.1 and it looks like i810e is supported. In that case, I'd try install the XFree86-4 port first. I use the head of cvs because my card is not supported in 4.2.1. But you definitely should make your port tree up to date. Though the main x11 port (x11/XFree86-4) has version 4.2.0, the server port x11-servers/XFree86-4-Server does have version 4.2.1. If you still have problems building or installing the ports, then you should try [EMAIL PROTECTED] to see if it's FreeBSD issue. Cheers, yushun. Anyone has other suggestions? (I did find out that the ports does have 4.2.0 available, so that's another option.) I have i810e display, so I assume whichever version would work? Regards and thanks, Gilbert Yu-Shun Wang wrote: Hi, I built and installed xfree86 from the head of cvs a while ago under 5.0 because the one from port could not recognize my ATI Radeon 9000. I did not have the problems you described below, but keep in mind that my -CURRENT might be different from your -CURRENT. :-) Here's a snapshot from my world.lod: === Building Release 6.6 of the X Window System. I hope you checked the configuration parameters in ./config/cf to see if you need to pass BOOTSTRAPCFLAGS. Mon Dec 23 17:02:25 PST 2002 cd ./config/imake make -f Makefile.ini BOOTSTRAPCFLAGS= CC=cc clean ... ... make -f xmakefile VerifyOS Building on FreeBSD 5.0-CURRENT i386 [ELF] (5.0.0). GCC version: 3.2 ^ === Install went fine, too. Notice the date which is most likely the date of the head of cvs for both FreeBSD CURRENT and XFree86. I did have to install the XFree86 CVS build into a separate directory (/usr/local/X11R6) while keeping the one from ports (/usr/X11R6) to satisfy tons of port dependencies (such as gnome, etc.). Just a data point for your reference because the version of gcc is not the same as yours (3.2.1). Cheers, yushun. [EMAIL PROTECTED] wrote: I've cvsup RELENG_5_0 yesterday, make kernel, make world. Then I've cvsup xf-4_2_1 into another source directory, make World, make install. make World gave warnings of no big big integers, but completed. make install failed because the FreeBSD.cf supplied apparently called for ansic.inc version that's different. [all names above I recall from memory, maybe slightly off..] Question: anyone has include file or source or patch or instruction to make above combination work? I'm guessing it's because 5.0 uses gcc 3.2.1 and not 2.9 anymore, and include files changed... If above combination is not good, any suggestions? I'm starting off with a new hard drive, though I'm sort of committed now using FreeBSD 5.0. (I also have it dual boot to Windows and Linux.) As came with the cvsup, the ports supplied is Xfree86 3.3.6... Regards, Gilbert ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert -- Yu-Shun Wang [EMAIL PROTECTED] Information Sciences Institute University of Southern California ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
[Xpert]how to add a new driver
Hello, I'm currently trying to write a simple driver and add it to the source tree to compile. I can find much resources from DESIGN doc and also by reading other driver examples. But I don't know how to add this new driver to the source tree for it to compile. I made a new directory in the Xserver/hw/xfree86/drivers directory and modified other's Imakefile for it to compile, but it seems that doing make will simply jump over it. How can I assure that the driver will be compile ? Better still if it can compile only my driver without re-making other modules. Also, I find that the SDK /usr/X11/lib/Server is not working well, I try a make there and most of the drivers could not be make from there. Thanks, WeiChong, Tan. -- Get your free email from http://www.bsdmail.org Powered by Outblaze ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
[Xpert]HEAD compile failure - programs/x11perf/do_traps.c
Hi all! do_traps.c from HEAD fails, ostensibly because XTrapezoid is undefined: -- gcc -g -O2 -ansi -pedantic -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Wundef -I/usr/include -I/usr/include/freetype2 -I../.. -I../../exports/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DFUNCPROTO=15 -DNARROWPROTO-DMITSHM -DXFT -DXRENDER-c -o do_traps.o do_traps.c do_traps.c:113: parse error before `*' do_traps.c:113: warning: type defaults to `int' in declaration of `traps' do_traps.c:113: ANSI C forbids data definition with no type or storage class do_traps.c: In function `InitFixedTrapezoids': do_traps.c:125: `XTrapezoid' undeclared (first use in this function) do_traps.c:125: (Each undeclared identifier is reported only once do_traps.c:125: for each function it appears in.) do_traps.c:125: `curTrap' undeclared (first use in this function) do_traps.c:125: warning: statement with no effect do_traps.c:126: parse error before `color' do_traps.c:132: parse error before `)' do_traps.c:158: `color' undeclared (first use in this function) do_traps.c:186: warning: implicit declaration of function `XDoubleToFixed' do_traps.c:185: warning: value computed is not used do_traps.c: In function `DoFixedTrapezoids': do_traps.c:222: `XTrapezoid' undeclared (first use in this function) do_traps.c:222: `curTrap' undeclared (first use in this function) do_traps.c:222: warning: statement with no effect do_traps.c:223: parse error before `white' do_traps.c:225: `white' undeclared (first use in this function) do_traps.c:225: warning: implicit declaration of function `XftDrawSrcPicture' do_traps.c:226: `black' undeclared (first use in this function) do_traps.c:227: `dst' undeclared (first use in this function) do_traps.c:227: warning: implicit declaration of function `XftDrawPicture' do_traps.c:229: `src' undeclared (first use in this function) do_traps.c:232: warning: implicit declaration of function `XRenderCompositeTrapezoids' make[5]: *** [do_traps.o] Error 1 -- This is with an untouched do_traps.c, and x11perf in general. The lines above it include X11/extensions/Xrender.h, which is where XTrapezoid is defined ... any ideas? Thanks! :) d (BTW: Previous failure was due to PIC funniness). -- Daniel Stone [EMAIL PROTECTED] Developer, Trinity College, University of Melbourne msg11883/pgp0.pgp Description: PGP signature
[Xpert]does kdrive have locale support?
I'm noticing that using kdrive, XSupportsLocale() is returning false. I am using kdrive. Does kdrive support locales or does my X locale configuration have problems? Thanks. Alex Pavloff - [EMAIL PROTECTED] Eason Technology -- www.eason.com ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
Re: [Xpert]how to add a new driver
Tan Wei Chong wrote: Hello, I'm currently trying to write a simple driver and add it to the source tree to compile. I can find much resources from DESIGN doc and also by reading other driver examples. But I don't know how to add this new driver to the source tree for it to compile. I made a new directory in the Xserver/hw/xfree86/drivers directory and modified other's Imakefile for it to compile, but it seems that doing make will simply jump over it. How Which other's Imakefile? Or do you mean you made one in the new drivers directory? Did you add your driver to the files in xc/config/cf? For example xfree86.cf lists card drivers. You need to touch that or add your driver to host.def. At least a 'make Makefiles' is required for the full tree after that, possibly a 'make Everything'. I thought there where more changes required, but I don't see any evidence of it in the places I looked. can I assure that the driver will be compile ? Better still if it can compile only my driver without re-making other modules. Also, I find that the SDK /usr/X11/lib/Server is not working well, I try a make there and most of the drivers could not be make from there. -- Kevin ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
[Xpert]GLX not initializing
Hi, I tried XFree86 4.2.99 that comes with redhat phoebe. i'm using geforce 2 mx GPU on an nforce based system. as far as teh nvidia drivers go, everything compiles fine and i changed XF86Config to load 'nvidia' drivers and removed loading DRI as per nvidia's instructions. i have 2 situations: 1. with load glx in XF86Config, startx crashes with the following log (only relevant part due to size limits) (II) NVIDIA(0): AGP 4X successfully initialized (II) NVIDIA(0): Setting mode 1024x768 (II) NVIDIA(0): Using the NVIDIA 2D acceleration architecture (==) NVIDIA(0): Backing store disabled (==) NVIDIA(0): Silken mouse enabled (**) Option dpms (**) NVIDIA(0): DPMS enabled (II) Loading extension NV-GLX (II) Loading extension NV-CONTROL (II) Initializing built-in extension MIT-SHM (II) Initializing built-in extension XInputExtension (II) Initializing built-in extension XTEST (II) Initializing built-in extension XKEYBOARD (II) Initializing built-in extension LBX (II) Initializing built-in extension XC-APPGROUP (II) Initializing built-in extension SECURITY (II) Initializing built-in extension XINERAMA (II) Initializing built-in extension XFree86-Bigfont (II) Initializing built-in extension RENDER (II) Initializing built-in extension RANDR (II) [GLX]: Initializing GLX extension *** If unresolved symbols were reported above, they might not *** be the reason for the server aborting. Fatal server error: Caught signal 11. Server aborting 2. with no load glx in XF86Config everything is OK except for lacking OpenGL support. i checked ldd /glxgears and it says i'm using correct nvidia GLX libraries. any suggestions/ideas/fixes? thanks, Venkat. my XF86Config file looks like: # File generated by anaconda. Section ServerLayout Identifier Anaconda Configured Screen 0 Screen0 0 0 InputDeviceMouse0 CorePointer InputDevice Mouse1 SendCoreEvents InputDeviceKeyboard0 CoreKeyboard EndSection Section Files RgbPath /usr/X11R6/lib/X11/rgb FontPath unix/:7100 EndSection Section Module Load dbe Load extmod Load fbdevhw # Load dri Load glx Load record Load freetype Load type1 EndSection Section InputDevice Identifier Keyboard0 Driver keyboard Option XkbRules xfree86 Option XkbModel pc105 Option XkbLayout us EndSection Section InputDevice Identifier Mouse0 Driver mouse Option Protocol IMPS/2 Option Device /dev/psaux Option ZAxisMapping 4 5 Option Emulate3Buttons no EndSection Section InputDevice Identifier Mouse1 Driver mouse Option Device /dev/input/mice Option Protocol IMPS/2 Option Emulate3Buttons no Option ZAxisMapping 4 5 EndSection Section Monitor Identifier Monitor0 VendorName Monitor Vendor ModelNameMonitor Model HorizSync 31-60 VertRefresh 56-75 Option dpms EndSection Section Device # no known options Identifier NVIDIA GeForce 2 MX (generic) Driver nvidia VendorName NVIDIA GeForce 2 MX (generic) BoardName NVIDIA GeForce 2 MX (generic) #BusID EndSection Section Screen Identifier Screen0 Device NVIDIA GeForce 2 MX (generic) Monitor Monitor0 DefaultDepth 24 Subsection Display Depth 24 Modes 1024x768 800x600 640x480 EndSubsection EndSection #Section DRI # Mode 0666 #EndSection _ Help STOP SPAM: Try the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
[Xpert]XFree86 4.2.0 for SiS650
I am trying to get a SiS650 video card to work with XFree86 4.2.0 (kernel 2.4.18-6mdk; all from Mandrake 8.2). I recently learned that most recent sis driver (under development by Thomas Winischhofer) supports SiS650, but I am having some trouble getting my hands on the binaries of this driver (I have problems gunzipping the files on his website). Questions: (1) Can anybody pass me binaries for a sis driver (I think I need sis_drv.o and sis_dri.so) new enough to support SiS650 for my system? (2) Is there a way to set up the card for now with some generic driver, however poor the performance? E.g., with XFree86 3.3.6 it runs with FBDev. --Alan ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
Re: [Xpert]mouse configuration
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 3 Jan 2003 09:45, [EMAIL PROTECTED] wrote: I also have an application to check what setting is in use, and to change the setting. I guess I should post it here. Ping me in a couple of days if I forget. This is the application. Probably doesn't work with your mouse though. In addition to mouse resolution, it can test wireless features and disable smart scroll on some mice. Requires: libusb (http://libusb.sf.net) Brad - -- http://linux.conf.au. 22-25Jan2003. Perth, Aust. I'm registered. Are you? -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE+FS1DW6pHgIdAuOMRAllWAJ44iEvQpnHYVt0k97nLWU54bQG7JQCfZZ1l FZhYHv3E6/3Ee6STe17fuVY= =Ssby -END PGP SIGNATURE- /* * Get / set resolution on logitech dual optical mice. * Requires libusb. */ #include stdio.h #include getopt.h #include stdint.h #include usb.h #define VERSION 0.0 #define VENDOR_LOGITECH 0x046D int get_resolution(struct usb_device *dev) { char resolution; int result; usb_dev_handle *usb_h; usb_h = usb_open(dev); if (0 usb_h) { printf(Error opening usbfs file: %s, usb_strerror()); return -1; } result = usb_control_msg(usb_h, USB_TYPE_VENDOR | USB_ENDPOINT_IN, 0x01, 0x000E, 0x, resolution, 0x0001, 100); if (0 result) { printf(Error getting resolution from device : %s, usb_strerror()); } usb_close(usb_h); return resolution; } int get_csr(struct usb_device *dev, uint8_t *status) { int result; usb_dev_handle *usb_h; usb_h = usb_open(dev); if (0 usb_h) { printf(Error opening usbfs file: %s, usb_strerror()); return -1; } result = usb_control_msg(usb_h, USB_TYPE_VENDOR | USB_ENDPOINT_IN, 0x09, 0x0003, 0x, status, 0x0008, 1000); if (0 result) { printf(Error getting cordless status from device : %s, usb_strerror()); } usb_close(usb_h); return result; } int get_cruise(struct usb_device *dev) { char cruise; int result = 0; usb_dev_handle *usb_h; usb_h = usb_open(dev); if (0 usb_h) { printf(Error opening usbfs file: %s, usb_strerror()); return -1; } #if 0 result = usb_control_msg(usb_h, USB_TYPE_VENDOR | USB_ENDPOINT_IN, 0x01, 0x17, 0x, cruise, 0x0001, 1000); #endif if (0 result) { printf(Error getting cruise control setting from device : %s, usb_strerror()); } usb_close(usb_h); return cruise; } /* resolution should be 0x03 for 400cpi, 0x04 for 800cpi */ int set_resolution(struct usb_device *dev, int resolution) { usb_dev_handle *usb_h; usb_h = usb_open(dev); usb_control_msg(usb_h, USB_TYPE_VENDOR, 0x02, 0x000E, resolution, NULL, 0x, 100); usb_close(usb_h); return 0; } void usage(void) { printf(Logitech Mouse Applet, Version %s\n, VERSION); printf( --set-res X set the sensor resolution to X, where X is 400 or 800\n); printf( --get-res read the current sensor resolution\n); printf( --get-cc read the current Cruise Control setting\n); printf( --version display the program version\n); printf( --helpprint this usage information\n); printf( -s X same as --set-res X\n); printf( -gsame as --get-res\n); printf( -vsame as --version\n); printf( -hsame as --help\n); printf( -csame as --get-cc\n); printf( -dsame as --disable-cc\n); printf( -esame as --enable-cc\n); printf(Copyright (C) 2002 Brad Hards [EMAIL PROTECTED]\n); } void version(void) { printf(Logitech Mouse Applet, Version %s\n, VERSION); } #define HAS_RES 0x01 /* mouse supports variable resolution */ #define HAS_SS 0x02 /* mouse supports smart scroll control */ #define HAS_CSR 0x04 /* mouse supports smart scroll control */ struct device_table { int idVendor; int idProduct; char* Model; char* Name; int flags; } device_table[] = { { VENDOR_LOGITECH, 0xC00E, M-BJ58, Wheel Mouse Optical, HAS_RES }, { VENDOR_LOGITECH, 0xC00F, M-BJ79, MouseMan Traveler, HAS_RES }, { VENDOR_LOGITECH, 0xC012, M-BL63B, MouseMan Dual Optical, HAS_RES }, { VENDOR_LOGITECH, 0xC024, M-BP82, MX300 Optical Mouse, HAS_RES }, { VENDOR_LOGITECH, 0xC025, M-BP81A, MX500 Optical Mouse, HAS_RES | HAS_SS }, { VENDOR_LOGITECH, 0xC031, M-UT58A, iFeel Mouse (silver), HAS_RES }, { VENDOR_LOGITECH, 0xC501, C-BA4-MSE, Mouse Receiver, HAS_CSR }, { VENDOR_LOGITECH, 0xC502, C-UA3-DUAL, Dual Receiver, HAS_CSR }, { VENDOR_LOGITECH, 0xC504, C-BD9-DUAL, Cordless Freedom Optical, HAS_CSR }, { VENDOR_LOGITECH, 0xC505, C-BG17-DUAL, Cordless Elite Duo, HAS_SS | HAS_CSR }, { VENDOR_LOGITECH, 0xC506, C-BF16-MSE,
Re: [Xpert]mouse configuration
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, On Thursday 02 January 2003 22:45, [EMAIL PROTECTED] wrote: There can be a number of causes - the mouse is not sampled often enough is unlikely. More likely is that X isn't getting enough cycles to update everything at the same time, or isn't getting cycles often enough to provide the illusion of smooth movement. Under Debian, X runs with priority -10 which should help to prevent this. Maybe increasing the priority of X will help (renice -10 `pidof XFree86`). - -- Cheers, Chris Howells -- [EMAIL PROTECTED], [EMAIL PROTECTED] Web: http://chrishowells.co.uk, PGP key: http://chrishowells.co.uk/pgp.txt KDE: http://www.koffice.org, http://printing.kde.org, http://usability.kde.org -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.0 (GNU/Linux) iD8DBQE+FNiuF8Iu1zN5WiwRAv3NAJ4id4DHEQAcm+EN0TjUEdAYOdXC4wCeNFxi OqXnCwFSZr+YxCfvUC146+s= =Lhq1 -END PGP SIGNATURE- ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert