DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 29th June 2013
Martillo Martillo is offline
Semper deinceps corda
 
Join Date: Apr 2013
Location: Madrid, Spain
Posts: 79
Default Multithreaded video.

Is there any video player that takes advantage of multithread? As my Nvidia card is not useful under OpenBSD (so I have to use X11 output), I would like to play video using more cores. I tried mplayer/smplayer to not avail, only one thread is used and hence the resolution is limited and full screen is painful.

I tried to re-encode the video to H264 through mencoder, and it did it using multithread, but mplayer did not used it when playing the re-encoded video.

Am I missing something or is it just impossible?
Reply With Quote
  #2   (View Single Post)  
Old 30th June 2013
LeFrettchen's Avatar
LeFrettchen LeFrettchen is offline
Marveled user
 
Join Date: Aug 2012
Location: France
Posts: 405
Default

First of all, did you install the bsd.mp kernel ?

See OpenBSD FAQ 8.12 - SMP.


Edit : and I think VLC is a multi-threaded decoder since version 2.0
__________________
ThinkPad W500 P8700 6GB HD3650 - faultry
ThinkStation P700 2x2620v3 32GB 1050ti 3xSSD 1xHDD

Last edited by LeFrettchen; 30th June 2013 at 09:56 PM. Reason: remembered VLC
Reply With Quote
  #3   (View Single Post)  
Old 30th June 2013
Martillo Martillo is offline
Semper deinceps corda
 
Join Date: Apr 2013
Location: Madrid, Spain
Posts: 79
Default

Yes, I installed OpenBSD on a multiprocessor machine and I can see the processors up to CPU7 going online at boot time.

VLC hangs.

Code:
OpenBSD asuka.familyworks.local 5.3 GENERIC.MP#3 amd64
Reply With Quote
  #4   (View Single Post)  
Old 1st July 2013
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,318
Default

Quote:
Originally Posted by Martillo View Post
Yes, I installed OpenBSD on a multiprocessor machine...
Please provide the complete output of dmesg(8).
Reply With Quote
  #5   (View Single Post)  
Old 1st July 2013
Martillo Martillo is offline
Semper deinceps corda
 
Join Date: Apr 2013
Location: Madrid, Spain
Posts: 79
Default

OK, here it goes.
Attached Files
File Type: txt dmesg.txt (12.5 KB, 58 views)
Reply With Quote
  #6   (View Single Post)  
Old 1st July 2013
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,975
Default

Resolution won't have anything to do with the number of cores you use or have. It's entirely a function of the display, graphics hardware, and the OS's video driver. Since you're apparently using the VESA driver, you're limited to VESA resolutions.

Your Nvidia GTX 260 is apparently not supported by the nv(4) driver, which is the only other possible solution for Nvidia graphics on OpenBSD. The graphics card is not in OpenBSD's table of known PCI devices, either:
Code:
vga1 at pci2 dev 0 function 0 vendor "NVIDIA", unknown product 0x05e2 rev 0xa1

Last edited by jggimi; 1st July 2013 at 03:56 PM. Reason: clarity, typo
Reply With Quote
  #7   (View Single Post)  
Old 1st July 2013
Martillo Martillo is offline
Semper deinceps corda
 
Join Date: Apr 2013
Location: Madrid, Spain
Posts: 79
Default

Well, I see in top that what uses more CPU cycles is Xorg.

So I am Xorg limited because of my Nvidia graphics card

Last edited by Martillo; 4th July 2013 at 12:46 PM.
Reply With Quote
Reply

Thread Tools
Display Modes

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
How run h.264 video? aleunix OpenBSD Packages and Ports 6 16th March 2012 06:01 AM
x11/xf86-video-intel and x11/xf86-video-intel29? Carpetsmoker FreeBSD Ports and Packages 2 23rd October 2011 01:23 PM
Resample video graudeejs General software and network 1 3rd November 2008 10:40 PM
Video For BSD Fritz_Katz FreeBSD General 11 2nd October 2008 01:33 AM
How to play an avi video? aleunix OpenBSD Packages and Ports 3 16th June 2008 06:25 AM


All times are GMT. The time now is 06:00 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick