Programming :: Memory Video Driver ?

Feb 9, 2010

I have have to write a video device driver, but rendering will happening in memory, not on a physical card. I already wrote a simple driver stripping out hardware piece code from an existent vodoo driver. I an install it, uninstall it but i dont know how to map it to a file /dev/mydevice_video

Is there a field in fb_info or fb_vscreenifo where the device name has to be passed before calling register_framebuffer.

View 2 Replies


ADVERTISEMENT

Programming :: Searching For Video Or Screen Cast Which Shows Device Driver Programming?

May 30, 2010

I did searched you tube but my results were not great.I have 2 books on KernelProgramming.I feel I need if some where I can get a video tutorial which can help me to understand how to develop a Linux Device driver that will be great.I had a look at Greg Kroah Hartmans video lecture of developing patches on ......I have been reading books and a lot of stuff.So I wish if I could get a video lecture that would be better

View 1 Replies View Related

Programming :: Memory Leaks - Glibc Detected - ./SuffixTree: Malloc() - Memory Corruption - 0x00

Mar 21, 2011

I am new to C and linux. My code below does arbitary writes but I cant figure out where or how it does it.

I am calling the insertNode() function with seq = 'MISSISSPPI$' and alphabets = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ$'

Code:

Weird behaviour I should mention is that when I check for NULL pointer in node->child[index], the unassigned values are not null anymore, they point to arbitary memory.

View 12 Replies View Related

Programming :: Write A Script That Can Show Me Total Memory Vs Used Memory?

Apr 13, 2010

How do I write a script for my Linux that can show me total memory vs used memory and have it email me results if it's over 70 percent?

View 2 Replies View Related

Programming :: SHM Memory Counted As Cache Memory With Kernel 2.6.18?

Aug 25, 2010

Is that possible that SHM shared memory is counted as cache memory on Linux with kernel 2.6.18?If find it really odd since this memory is not file backed, but I have a piece of code that loads data using shm_open+mmap, and it generates an amount of cache memory in /proc/meminfo that corresponds exactly to the amount of shared memory (I load that data from a file but I am using posix_fadvise(fd,0,0,POSIX_FADV_DONTNEED) to ensure this file is not cached and I made sure that it is working as expected). As far as I know SHM memory was not tagged as cache memory with kernel 2.6.9.If it is the case it is really unfortunate since normally cache memory can be considered to be part of the "available" memory since it can be flushed promptly but this is clearly not the case with SHM memory... Is there an easy way to get the total amount of used SHM memory on a system?

View 4 Replies View Related

Ubuntu :: Video Card Swap - Screen Using A Default Video Driver

Jan 25, 2011

If I take out the existing video card and put in another one of a different type (but not a different brand), how does Ubuntu behave? I know what Windows typically does. Windows starts up the screen using a default video driver which is at least 1024 by 768 and then asks you what this new bit of hardware is and asks where the drivers are. I'm pretty sure Ubuntu has default drivers of its own, but I don't know what their resolution is.

View 3 Replies View Related

General :: Activate Wireless Network Card Driver And Video Driver?

Jul 20, 2010

I just installed Linux Mint 9 as a dual boot install with Win XP. Trying to activate wireless network card driver and video driver. Pops up: "You are not authorized to perform this action".How do I get authorized?

Now every time I boot Win XP, the Internet Explorer menu bar is all blacked out and goofy. If I log out and back in it corrects itself. If I reboot it's blacked out again. Re-installed IE8. Still blacks out.Also Firefox in Win XP crashes expectantly. It has NEVER crashed on me previously.

View 9 Replies View Related

General :: Video Driver - Some Video Games Are Unusually Slow

Feb 13, 2011

I installed Debian recently, and everything seems to be working fine, except some video games are unusually slow compared to what they would normally be. Tremulous, for example, worked reasonably fine on this computer with Windows XP, but now (Debian) for some reason it's laggy even on the title screen.
Something wrong with my video drivers?

All of the information I know:
The computer is a Dell Dimension 3000
RAM: 256mb? Gnome System Monitor says 247.1mb, SWAP: about 730mb
Processor: Intel Celeron 2.40GHz
HD: 25gb out of a 40gb HD free, and an external 1tb HD with about 920gb free
Debian Release 6.0 (squeeze)
Kernel Linux 2.6.32-5-686
GNOME 2.30.2 (I've tried LXDE also, no noticeable change)
Only linux on the machine.

glxinfo told me this:

Code:

64 GLX Visuals

128 GLXFBConfigs:

lspci told me this:

Code:

View 9 Replies View Related

Ubuntu :: Severe Lag For All 3-d Video Games - Video Driver ?

Aug 6, 2011

I am running gnome 3 on ubuntu 11.04, a clean installation from the gNatty version, 32 bit. The machine is a Lenovo t420, with 6GB RAM and a integrated video card.

Everything is running smoothly but not for games. I tried urban terror, Tremulous, Nexuiz, all of the lags from the very beginning as if I was using a machine 5 years ago to run today's video games (ie, takes 10 seconds for a mouse move a show, audio lags, .etc). From my experience it should come from video card driver not installed, but the update manager shows all device works fine (indeed, the screen resolution is 1600X900).

View 9 Replies View Related

Fedora :: Play Video From Memory Stick Pro Duo?

Sep 5, 2011

I just got a Sony DCR-DVD108. It uses a mini dvd and a memory stick pro duo. It was a gift, and it's the first time through the rodeo for me using this set up. I can get the card recognized when I plug it in using a card reader. I want to record video, and that's where I run into problems. When I insert it, I get something saying that I have still photos, and Shotwell is the default photo software. That would be OK if I had still photos, but like I said, I'm going for video with this set up. I have VLC, but when I tell VLC to "open capture device" under "Media" it gives me a dialog box with (I think) Linux 2 as the capture method (this is going to get a little fuzzy as I have no idea what it's looking for here) and a couple of blanks that need filled in. I may be going about this bass-ackwards, in fact I probably am, but like I said, this is the first time I've messed with a memory stick pro duo. I guess since it's Sony they want me to go out and buy a Play Station to get this to work. I don't think I want to go there. I might be barking up the wrong forest with VLC, but Wikipedia says it will play it.

View 14 Replies View Related

Debian Multimedia :: ATI Driver: Can't Allocate Memory?

Oct 24, 2010

This is a clean install of Debian Lenny, using KDE3.5.10 desktopHave followed these instructions:http://wiki.debian.org/ATIProprietary

Using kernel 2.6.26-2-686, I think the fglrx module has been built correctly.
orac:~# modinfo fglrx
filename: /lib/modules/2.6.26-2-686/nonfree/fglrx/fglrx.ko

[code]....

View 2 Replies View Related

Debian :: Plymouth - Cannot Reserve Video Memory At 0xdf00000

Sep 13, 2015

I'm trying to install plymouth on my Debian 8.2 Jessie (Stable), but when I boot my pc I get this error:

Code: Select alluvesafb: cannot reserve video memory at 0xdf000000

This is my configuration:

Code: Select allcat /etc/default/grub   
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

[Code] ....

View 0 Replies View Related

Debian Multimedia :: How To Decrease Video Memory Size

Jun 14, 2010

How can I decrease the amount of video memory in a debian squeeze laptop? The amount of video memory is 1GB and I want to reduce it to 512MB or 256MB. How can I do this

View 2 Replies View Related

Fedora Installation :: How Much Video Memory Will Need To Install F15 With Gnome 3

Aug 8, 2011

How much video memory will I need to install Fedora 15 with gnome 3.I have an Ati Radeon Hd 4250 with 256 mb of memory.

View 14 Replies View Related

Ubuntu Multimedia :: Nvidia Video Memory Misreported

Feb 24, 2011

I'm trying to increase my framerate on World of Warcraft, and I'm not sure if this will help but it should in theory. I'm not even sure if I'm right in my assumption that it's currently non-optimal. nvidia-settings reports the full 1024MB of onboard video memory from my 420GT, but lspci reports three separate figures which don't even add up to 256MB:

[Code]....

Now, I don't know which to trust, is all the video memory being detected or just the pittance that lspci reports? To my mind, more graphics memory means you can store more graphical code and data closer to the gpu resulting in faster framerates, right?

View 4 Replies View Related

Ubuntu :: Nvidia 195.36.24 Driver 10.04 Lucid Memory Leak?

May 21, 2010

I dont know if this issue has already been solved, or if there are other threads dealing with it, but Im quite desperate with this bug that has been annoying me since I upgraded from 9.10 to 10.04.

Firs I thought it would be GEM related, but Im using a proprietary graphics card, so thats not the way to solve it. I experience the problems a memory leak provokes, mainly that, as time goes by with the laptop turned on, the system needs more resources to execute simple actions, and it freezes too many times. Plus IBUS will, suddenly, stop working (I still don't know if it is related or not), and, most of the times I log in, Notification Area 2.30.0 will load with errors.

View 3 Replies View Related

General :: XFX Radeon 5450 Card - Video Memory 256M

Jun 22, 2011

I recently bought 1GB video card of 'xfx radeon hd 5450'. It came with cd for drivers of windows.
I installed fglrx. Still in ubuntu 10.10 (lucid) I ran: lspci -v | grep -i prefetchable
which shows 256M which is video memory of my ASUS motherboard.

View 4 Replies View Related

Ubuntu Installation :: Boot, Plymouth D Out Of Memory Nvidia Driver?

May 13, 2010

Upgraded to 10.04 with proprietary Nvidia driver. No plymouth at boot, but dmesg gives error below. On shutdown get large plymouth display. Tried several hints but none work.

2.985912] 1179648 pages RAM
[ 2.985914] 951810 pages HighMem
[ 2.985915] 149486 pages reserved
[ 2.985916] 642 pages shared
[ 2.985917] 208097 pages non-shared

[Code]...

View 2 Replies View Related

Fedora :: What Programs Can Be Used To Test And Find Faulty Memory (RAM, Video Adapters, Cache)

Oct 23, 2009

What programs can be used to test and find faulty memory (RAM, Video adapters, cache)?

View 2 Replies View Related

Programming :: .ogv Video Does Not Display With <video> Tag In Firefox 3.5?

Jul 3, 2009

I was trying to take advantage of that new HTML5 <video> tag, and Firefox 3.5's native Ogg support, by embedding an .ogv video. Here is the references I used:

[code].....

Here was the code I put on my web page:

Code:

<video width="640" height="480" controls="controls">
<source src="http://path/to/uploaded/video/on/my/site.ogv" />
Your browser does not support the <code>video</code> element.
</video>

However, when I view it I get a video box, but it is grey and will not play a video. I keep playing with the various attributes but the result always seems to be the same. I also tried it on a Windows box with Firefox 3.5 (to make sure it didn't have something to do with my Linux config) but the results were the same.

View 4 Replies View Related

Programming :: Memory Leak In C++?

Mar 3, 2011

I'm currently developping a program in C++, using Qt, for an embedded board (SBC9261).It works well but crashes after some time, due to a system memory overload (my program uses more and more memory until 100%, when it crashes).I've been able to figure out the source of the memory leak :The function f is called by my program every second. f instanciates a new object (a QImage from the Qt lib), does a bunch of processing on it, and returns it to the calling function :

Code:
QImage *MyClass::f(QString filename) {// Open image
QImage *image = new QImage(filename);

[code]....

View 5 Replies View Related

Programming :: Regarding Memory Errors In G++?

Jul 22, 2011

I have a general question regarding memory errors. I frequently ran into memory errors such as seg fault, double free, etc. Sometimes I got the following traces for example.

*** glibc detected *** /mnt/click: free(): invalid pointer: 0xb7ed8450 ***
======= Backtrace: =========
/lib/libc.so.6[0xb7dff905]
/lib/libc.so.6[0xb7e011a3]

[code]....

Then, I just run gdb, valgrind things and suddenly I started ask questions myself that what are those traces and how can I analyze?

View 1 Replies View Related

Programming :: How To Get Usage Of CPU Memory?

Jan 11, 2009

i am wondering How to get usage of CPU, Memory in linux environment? So would you able to tell me the ways?

View 10 Replies View Related

Programming :: Totem Python Plugin Programming: Any Signal For Video Mouse Click?

Feb 9, 2011

I want that I click with the mouse on the video, it paused.I notice that there is "BaconVideoWidget" which I guess is the video rendering widget but it don't have signal named "clicked":

Code:
vd = totem_object.get_video_widget()
vd.connect("clicked", vd.hide)

[code]....

View 3 Replies View Related

Programming :: Shared Memory IPC Variations ?

Apr 19, 2010

I have 2 applications that send and receive messages through shared memory IPC. When I run the app ..it works but the number of messages per sec keeps changing drastically sometimes it is 400-500 per sec..then 800 then 1200 then 2000. is this normal with SHM IPC or could it be a code related issue.

View 9 Replies View Related

Programming :: Getting The CPU & (Virtual) Memory Of A Process?

Aug 23, 2010

Is there any program which gets the CPU and memory of a process ?

View 1 Replies View Related

Programming :: Pthread Not Release Memory

Jan 1, 2011

I have faced a problem with my code (a small tcp server). After the thread returns, the memory not decreases, but when a new connection is made, memory not increases and the new connection initialize a new thread with a same thread id of the previous thread. When two connections are made at same time, two thread ids are created and when the respective threads returns the memory not decreases. The Valgrind indicates that not memory leak occurs, the pointers are released. Indeed, more memory are allocate when new thread id is created. i used gcc and debian.

[Code]....

View 1 Replies View Related

Programming :: Process Memory Allocation

Apr 30, 2011

I have been assigned a school project on detecting memory leaks in linux processes. I am reading.. but have found it hard and inefficient to go through the very vast documentation not knowing what to really look for. Could you please give me some guidelines on this subject?

View 4 Replies View Related

Programming :: What's Share Memory Technology?

Jan 24, 2011

what's the share memory technology?when did this technology appear?what are the key steps in c programming to use shm?

View 1 Replies View Related

Programming :: Byte At Memory Location 45 With Immediate Value 03

Jul 10, 2011

As 2.17
I want to code this:
and byte[45],03

In words, AND the byte at memory location 45 with immediate value 03. As reports "Ambiguous operand size for and". How could I code the instruction such that as understands my intention?

john: .byte 45
and byte[john],03
gives the same error.

View 8 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved