LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-21-2005, 08:20 PM   #1
monohouse
Member
 
Registered: Oct 2004
Distribution: Arch
Posts: 206

Rep: Reputation: 30
strange problems with libsdl


hi, I got this funny problem maybe someone might know something about it, my LFS system was recently built and everything is working fine, but when im trying to use SDL 1.2.8 the rendering of video data is very slow, as in slower than software mode (e.g. 1 FPS or less) are there any options during SDL configuration I should have used but was supposed to ? the BLFS book version 6.0 is not yet complete but it does not seem to have any special options, so I think it should have worked, the strange thing is that when I use the GLX rendering mode it is also just as slow, if the SDL has anything to do with GLX or X then my video drivers are ok and working but not in the LFS system, would anyone know what is happening ?

but 2D acceleration is working fine, and all software rendering as well

as far as I know openGL is fully supported by the nvidia drivers (they wouldn't be of any use otherwise)

Last edited by monohouse; 03-21-2005 at 08:24 PM.
 
Old 03-23-2005, 02:37 PM   #2
monohouse
Member
 
Registered: Oct 2004
Distribution: Arch
Posts: 206

Original Poster
Rep: Reputation: 30
ooopsssss............sorry I think this information should help, haven't noticed that and I think it has a lot to do with the problem :

Code:
Vendor     : NVIDIA Corporation
Renderer   : GeForce4 MX 440 with AGP8X/AGP/SSE/3DNOW!/forceSW
Version    : 1.5.3 NVIDIA 71.67
I *think* the "forceSW" is the problem, but I haven't done anything to trigger it therefore I don't know how to turn it off, would you know how to fix it ?

my guess is that the "forceSW" means "force software" as for how and why it was turned on I have no idea :/

Last edited by monohouse; 03-23-2005 at 02:39 PM.
 
Old 03-23-2005, 04:48 PM   #3
monohouse
Member
 
Registered: Oct 2004
Distribution: Arch
Posts: 206

Original Poster
Rep: Reputation: 30
the funny thing about it is that it worked before, and now it doesn't, so I started thinking what would cause it to simply stop working
after finding out about the above I also looked into 2 other things :

I had "options nvidia NVreg_ReqAGPFW=1" in the modprobe.conf file
which I recently disabled, but it did not help.

I have also tried other version of the driver, but none of them seem to work with both fluxbox and 2.6.10
so this is the only driver, but it should work so now I know it is not a driver problem for sure, the rest of the problem is this :

Code:
bash-3.00# cat /proc/interrupts 
           CPU0       
  0:     401422    IO-APIC-edge  timer
  1:       2543    IO-APIC-edge  i8042
  9:          0   IO-APIC-level  acpi
 12:      16282    IO-APIC-edge  i8042
 14:         23    IO-APIC-edge  ide0
 15:         15    IO-APIC-edge  ide1
169:       4385   IO-APIC-level  ide3
177:          0   IO-APIC-level  EMU10K1
185:      30921   IO-APIC-level  eth0, nvidia
193:          0   IO-APIC-level  eth1
NMI:          0 
LOC:     401388 
ERR:          0
MIS:          0
in addition to the above information, I have also installed an another network card recently into the system
apperantly one of them is sharing an interrupt with the video card, it is true that before all the interrupts had their own
channel so I think this could be it, my BIOS supports assigning IRQ to pci slots individully but my kernel is configured
to use direct pci access, should this really be the problem I believe it would fix it, if not I hope to find a good
pci configuration by moving the cards around (not that there is much to move as you may have noticed), but in the former case
I will need to recompile the kernel with BIOS PCI access I believe, assuming it would work, what is the difference between direct
pci access and bios ? and why would there be an interrupt problem if I have APIC ? APIC does allow sharing IRQ safely does it not ?

oh and while we're on this subject, what do all those additional digits in the 16 and higher interrupt range ? and the 4 3-letter names at the bottom what are those ?

and last but not least..........I don't have an SMP system, I know that io-apic allows assigning an interrupt per cpu some sorts of irq-routing, but does it have any meaning for single-processor system ? would a non-io apic and an io-apic make any difference for a single-cpu system ?

Last edited by monohouse; 03-23-2005 at 04:53 PM.
 
Old 03-29-2005, 01:03 AM   #4
monohouse
Member
 
Registered: Oct 2004
Distribution: Arch
Posts: 206

Original Poster
Rep: Reputation: 30
does anyone know why this is happening ?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
What is libSDL-1.2.so.0? ccerino Linux - Hardware 1 07-29-2005 12:46 PM
libSDL.so.0 t3gah Linux - Software 5 03-16-2005 05:19 AM
libsdl vs libsdl-devel Micro420 Linux - Software 3 01-13-2005 11:19 AM
libSDL Ryan450 Linux - Software 10 08-30-2004 06:48 PM
Problems statically linking with libsdl jakobf Programming 3 08-27-2004 12:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration