LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 04-10-2010, 07:23 PM   #1
chris1379
LQ Newbie
 
Registered: Aug 2009
Posts: 18

Rep: Reputation: 1
Poor video performance with Neomagic in Ubuntu Karmic Vs. Win2K


I have a Sony PCG-F580K with a PIII 700, 384MB RAM, and Neomagic NM2380 (MagicMedia 256XL+) video in a dual boot with Ubuntu 9.10 and Windows 2000. I originally posted my issues to the Ubuntu forums here http://ubuntuforums.org/showthread.php?t=1445432 . Now I'm thinking that maybe it's not just an Ubuntu issue so I wanted to continue it here.

The biggest symptom is higher CPU usage than Win2K when playing DVD or other video. VLC seems to have about the same CPU usage in Win2K and Ubuntu but Ubuntu shows X using an additional 20-30%. Is this normal? I even had to change my MTRR settings to get that.

The other issue is that Win2K can play an h.264 video in full screen with a few tweaks but Ubuntu has to display it in a smaller window or the video is corrupt. The video in question is 960 x 540. I will be glad to post any output or files one might need to help me.

Thanks,
Chris

Last edited by chris1379; 04-10-2010 at 07:24 PM.
 
Old 04-12-2010, 07:05 PM   #2
fbsduser
Member
 
Registered: Oct 2009
Distribution: Hackintosh, SlackWare
Posts: 267

Rep: Reputation: 30
It's likelly your videocard. You got a pretty crappy onboard card what's worst in performance and linux compatibility than even the S3 unichrome.
 
Old 04-13-2010, 01:01 AM   #3
chris1379
LQ Newbie
 
Registered: Aug 2009
Posts: 18

Original Poster
Rep: Reputation: 1
I agree that it's a poor video card but the point is I don't believe it's living up to its full potential in Linux. I took the opportunity today to try OpenSuse and Fedora and the results are the same. The newer Kernel doesn't even give any 2D acceleration because it fails to set the MTRR's at all. I gathered some data from Windows and Ubuntu and here's what I have.

From Windows 2000:
0xA0000-0xBFFFF Intel 82443BX Pentium(r) II Processor to AGP Controller OK
0xA0000-0xBFFFF NeoMagic MagicMedia256XL+ OK
0xFE800000-0xFECFFFFF Intel 82443BX Pentium(r) II Processor to AGP Controller OK
0xFE800000-0xFECFFFFF NeoMagic MagicMedia256XL+ OK
0xFC000000-0xFDFFFFFF Intel 82443BX Pentium(r) II Processor to AGP Controller OK
0xFC000000-0xFDFFFFFF NeoMagic MagicMedia256XL+ OK
0x40000000-0x40FFFFFF Intel 82443BX Pentium(r) II Processor to AGP Controller OK
0xFEC00000-0xFECFFFFF NeoMagic MagicMedia256XL+ OK


Notice that there are 3 locations shared between the CPU and Video.

From Xorg.log
(--) NEOMAGIC(0): FB base address is set at 0xFC000000.
(--) NEOMAGIC(0): MMIO base address is set at 0xFE800000.
(--) NEOMAGIC(0): MMIO base address2 is set at 0xFEC00000.
(II) NEOMAGIC(0): Using linear framebuffer at: 0xFC000000
(--) NEOMAGIC(0): 4718592 bytes off-screen memory available
(II) NEOMAGIC(0): Overlay at 0x480000

From lspci
01:00.0 VGA compatible controller: Neomagic Corporation NM2380 [MagicMedia 256XL+] (rev 10)
Subsystem: Sony Corporation Device 8088
Flags: bus master, fast Back2Back, medium devsel, latency 128, IRQ 9
Memory at fc000000 (32-bit, prefetchable) [size=32M]
Memory at fe800000 (32-bit, non-prefetchable) [size=4M]
Memory at fec00000 (32-bit, non-prefetchable) [size=1M]
Capabilities: [d0] AGP version 1.0
Capabilities: [dc] Power Management version 1
Kernel modules: neofb

cat /proc/mtrr
reg00: base=0x000000000 ( 0MB), size= 256MB, count=1: write-back
reg01: base=0x010000000 ( 256MB), size= 128MB, count=1: write-back
reg02: base=0x0fc000000 ( 4032MB), size= 8MB, count=1: write-combining

So what isn't right with this picture?
 
Old 05-25-2010, 01:27 PM   #4
chris1379
LQ Newbie
 
Registered: Aug 2009
Posts: 18

Original Poster
Rep: Reputation: 1
I recently read something about DirectFB but I can't seem to find the answers I need. Is DirectFB the Linux equivalent of DirectX? Would it help in my situation? If so, how would I implement it?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
LXer: Ubuntu 10.04 Is Off To A Poor Performance Start LXer Syndicated Linux News 0 12-09-2009 01:20 PM
Poor Video Playback Performance?? Nukem Ubuntu 3 03-14-2009 05:30 AM
nforce2 integrated video - poor glx performance hkctr Fedora 5 12-30-2003 12:21 AM
Poor Video Performance yoink Linux - Newbie 3 12-03-2002 12:07 PM
Poor video performance after dual monitor setup? Wilb Linux - Hardware 15 11-14-2002 10:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 02:22 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration