Re: [rtl] user space program hangs
If u use SDL, you'll use X ! Why don't try OpenGL too for 3D graphism; ;-) The best way is to have a realtime PC without X, and to connect to it with an other PC through ssh for example. Or through rtcom(for RTAI, or the equivalent for rtlinux) will be better but less confortable. On Tue, Aug 21, 2001 at 09:38:05PM +0200, David Olofson wrote : On Tuesday 21 August 2001 17:57, Dan Peters wrote: David Olofson wrote: On Saturday 18 August 2001 09:36, Herman Bruyninckx wrote: On Fri, 17 Aug 2001, Dan Peters wrote: [...] I believe it all has to do somehow with interrupting X calls. Do you have any experience with running X under rtlinux? I have work with X many times in a non RT environment and have not had these problems. Is there a better alternative to running X for doing graphical stuff under RT linux. Don't use X! Or make sure you've got a properly configured X server and a video card with a decent driver... Some work, but shouldn't by a major issue if you need RTLinux on the machine in the first place. (You don't run RTLinux on the average workstation anyway.) The video chip is a CT 65550, and as far as I know, the server has been configured properly. I don't know anything specific about this chip. This is part of a control system, which I feel needs RTlinux. The only reason to use X is to display an image and display some other data on a display. Are there any better alternatives to X. Try SDL; http://www.libsdl.org - nice and simple API, handles graphics (windowed and fullscreen modes wherever possible), sound, keyboard, mouse, joysticks, threads etc, and there are some helper stuff like graphics loading and saving and image blitting with alpha blending or colorkeying with RLE acceleration. It runs on several different platforms, and most video and audio driver APIs on those platforms. More specifically; on Linux, you can transparently use X (windowed, fullscreen, DGA), GGI (and whatever that supports on your system), fbdev and svgalib without even recompiling your program. If you want to fiddle with raw graphics data, you don't *have* to support all sorts of pixel formats (like with DirectX and other direct access APIs) - SDL emulates your favorite pixel format on pretty much any target with acceptable speed. If you want a higher level rendering API, there are various add-on libraries for SDL; fast game toolkits, widget toolkits and the like. //David Olofson --- Programmer, Reologica Instruments AB .- M A I A -. | Multimedia Application Integration Architecture | | A Free/Open Source Plugin API for Professional Multimedia | ` http://www.linuxdj.com/maia -' .- David Olofson ---. | Audio Hacker - Open Source Advocate - Singer - Songwriter | `-- [EMAIL PROTECTED] -' -- [rtl] --- To unsubscribe: echo unsubscribe rtl | mail [EMAIL PROTECTED] OR echo unsubscribe rtl Your_email | mail [EMAIL PROTECTED] -- For more information on Real-Time Linux see: http://www.rtlinux.org/ -- Stéphane LIST -- [EMAIL PROTECTED] Alcôve, l'informatique est libre -- http://www.alcove.com/ -- [rtl] --- To unsubscribe: echo unsubscribe rtl | mail [EMAIL PROTECTED] OR echo unsubscribe rtl Your_email | mail [EMAIL PROTECTED] -- For more information on Real-Time Linux see: http://www.rtlinux.org/
Re: [rtl] user space program hangs
Thanks David! David Olofson wrote: On Tuesday 21 August 2001 17:57, Dan Peters wrote: David Olofson wrote: On Saturday 18 August 2001 09:36, Herman Bruyninckx wrote: On Fri, 17 Aug 2001, Dan Peters wrote: [...] I believe it all has to do somehow with interrupting X calls. Do you have any experience with running X under rtlinux? I have work with X many times in a non RT environment and have not had these problems. Is there a better alternative to running X for doing graphical stuff under RT linux. Don't use X! Or make sure you've got a properly configured X server and a video card with a decent driver... Some work, but shouldn't by a major issue if you need RTLinux on the machine in the first place. (You don't run RTLinux on the average workstation anyway.) The video chip is a CT 65550, and as far as I know, the server has been configured properly. I don't know anything specific about this chip. This is part of a control system, which I feel needs RTlinux. The only reason to use X is to display an image and display some other data on a display. Are there any better alternatives to X. Try SDL; http://www.libsdl.org - nice and simple API, handles graphics (windowed and fullscreen modes wherever possible), sound, keyboard, mouse, joysticks, threads etc, and there are some helper stuff like graphics loading and saving and image blitting with alpha blending or colorkeying with RLE acceleration. It runs on several different platforms, and most video and audio driver APIs on those platforms. More specifically; on Linux, you can transparently use X (windowed, fullscreen, DGA), GGI (and whatever that supports on your system), fbdev and svgalib without even recompiling your program. If you want to fiddle with raw graphics data, you don't *have* to support all sorts of pixel formats (like with DirectX and other direct access APIs) - SDL emulates your favorite pixel format on pretty much any target with acceptable speed. If you want a higher level rendering API, there are various add-on libraries for SDL; fast game toolkits, widget toolkits and the like. //David Olofson --- Programmer, Reologica Instruments AB .- M A I A -. | Multimedia Application Integration Architecture | | A Free/Open Source Plugin API for Professional Multimedia | ` http://www.linuxdj.com/maia -' .- David Olofson ---. | Audio Hacker - Open Source Advocate - Singer - Songwriter | `-- [EMAIL PROTECTED] -' -- [rtl] --- To unsubscribe: echo unsubscribe rtl | mail [EMAIL PROTECTED] OR echo unsubscribe rtl Your_email | mail [EMAIL PROTECTED] -- For more information on Real-Time Linux see: http://www.rtlinux.org/ -- [rtl] --- To unsubscribe: echo unsubscribe rtl | mail [EMAIL PROTECTED] OR echo unsubscribe rtl Your_email | mail [EMAIL PROTECTED] -- For more information on Real-Time Linux see: http://www.rtlinux.org/
Re: [rtl] user space program hangs
I'll second the notion that there are no real problems with fwvm(2) which I used with RTL v1 for over a year with no noticeable degradation. If -- and this is a big IF that I'm going to have to investigate -- the only problem with the Gnome desktop is with the automount features, they can be turned off fairly easily with the configuration manager. Norm - Original Message - From: Ron [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, August 22, 2001 3:16 AM Subject: Re: [rtl] user space program hangs The video chip is... (long thread) While I like both the Gnome and KDE desktop projects, they contain a lot of cruff that can cause problems, and not just strange RTL interactions. If you really need X I recommend an older window manager like twm or what I use, an old version of fvwm (old slackware version with the nice motif look to the windows). If you just need to show some graphics, then SVGALIB is the way to go. If you ever used the old msdos libraries from GENUS (gxGraphics) you might want to take a look at Greg Haerr's Microwindows. It also has a MS Windows feel upper layer that may make former windows people feel at home. -- [rtl] --- To unsubscribe: echo unsubscribe rtl | mail [EMAIL PROTECTED] OR echo unsubscribe rtl Your_email | mail [EMAIL PROTECTED] -- For more information on Real-Time Linux see: http://www.rtlinux.org/ -- [rtl] --- To unsubscribe: echo unsubscribe rtl | mail [EMAIL PROTECTED] OR echo unsubscribe rtl Your_email | mail [EMAIL PROTECTED] -- For more information on Real-Time Linux see: http://www.rtlinux.org/
[rtl] c200+PCM3680+rtlinux3.1
Hi, I try to modify the rtlcan200 CAN driver (written by Heinz Haeberle) to make it work with the PCM3680 and rtlinux-3.1. This is what I did to the original source : 1. replace inb/outb with readb/writeb 2. hard coded the base address 0xDA00 and irq(10) When I insmod the driver, I got the following error message: Unable to handle kernel paging request at virtual address da00 printing eip: c484207e *pde = Oops: CPU:0 EIP:0010:[c484207e] EFLAGS: 00010292 eax: 007d ebx: c4842000 ecx: da00 edx: da00 esi: 0004 edi: 0064 ebp: c2735eb8 esp: c2735eb8 ds: 0018 es: 0018 ss: 0018 Process insmod (pid: 1203, stackpage=c2735000) Stack: c2735ee8 c484217d da00 c2735ee8 c482affe c2735ee8 c482b05c 0286 0286 c4842000 0004 0040 c2735f28 c48426bf da00 007d da0001ff c4842a01 c0128594 0200 c02a0954 c1044010 c02a0780 Call Trace: [c484217d] [da00] [c482affe] [c482b05c] [c4842000] [c48426bf] [da00] [da0001ff] [c4842a01] [c0128594] [c4842000] [c4842000] [c0112257] [c4846c80] [c483a000] [c4842060] [c0106d17] Code: 8a 02 83 c8 01 88 02 8a 02 f7 d0 83 e0 01 5d c3 89 f6 55 89 When I lsmod, it shown that the module is initializing. What could be likely cause? did I left out something? I can't rmmod because the device is busy. Is there any way to remove this module beside re-booting the system? My system configuration: Pentium MMX with 64M RAM Redhat 7.1 with kernel 2.4.4 rtlinux-3.1 If anyone out there have the solution, pls help. Thanks in advance for any help render. Lim KC _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp -- [rtl] --- To unsubscribe: echo unsubscribe rtl | mail [EMAIL PROTECTED] OR echo unsubscribe rtl Your_email | mail [EMAIL PROTECTED] -- For more information on Real-Time Linux see: http://www.rtlinux.org/