Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Thread Tools
Old 06-07-10, 02:33 PM   #1
Registered User
Join Date: Jun 2010
Posts: 1
Default Framebuffer video stops tearing after X is loaded..

Hey everyone,

I'm writing a console based video application that uses the Linux framebuffer. Currently I am experiencing tearing issues with this program. However, the issues go away if I run Xwindows (using the nvidia driver). I can either kill X afterwords, or leave it running and the tearing issue goes away for the rest of the Linux session (until reboot).

My question is, does some vsync or buffering setting exist that the nvidia driver sets when X is loaded? I'd like to avoid having to load X beforehand in order to run my program.

If it helps, I am using the TV-out portion as the main display (VGA BIOS) on the nvidia card I am using.

I am also using double buffering from within my application, like so:

// 1.) draw stuff to backbuffer
// 2.) copy backbuffer contents to memory-mapped framebuffer device (fbd -> /dev/fb0)
memcpy(fbp, backbuffer, 640*480*4);

If you're wondering why I need the nvidia driver in the first place, it is to run CUDA applications alongside the video app I am writing.

Attached is my nvidia-bug-report.

Thanks in advance for any help.
Attached Files
File Type: gz nvidia-bug-report.log.gz (28.4 KB, 88 views)
mmx1337 is offline   Reply With Quote

Thread Tools

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 On
HTML code is Off
Forum Jump

All times are GMT -5. The time now is 03:12 AM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.