DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 26th December 2017
Prevet Prevet is offline
Shell Scout
 
Join Date: Oct 2017
Posts: 84
Default To get a new video card or not?

deleted

Last edited by Prevet; 2nd December 2022 at 04:01 PM.
Reply With Quote
  #2   (View Single Post)  
Old 26th December 2017
e1-531g e1-531g is offline
ISO Quartermaster
 
Join Date: Mar 2014
Posts: 628
Default

Does this SDL2 program can be installed from ports?
__________________
Signature: Furthermore, I consider that systemd must be destroyed.
Based on Latin oratorical phrase
Reply With Quote
  #3   (View Single Post)  
Old 26th December 2017
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,975
Default

Are you sure your graphics hardware is the limiting factor?

On my elderly Thinkpad X220 with Intel HD 3000 graphics, I'm able to sustain an SDL2 framerate greater than 60fps, as tested with this tutorial.

(I needed to install sdl2-image and sdl2-ttf, and build with $ g++ -w -L/usr/local/lib/ -lSDL2 -lSDL2_image -lSDL2_ttf -L/usr/X11R6/lib -I/usr/local/include/SDL2 -o test 24_calculating_frame_rate.cpp)

Edited to add: oh, yes, you have a 6-core Haswell processor, NVIDIA graphics, and you're using VESA, which limits your framerate.

Last edited by jggimi; 26th December 2017 at 01:03 PM.
Reply With Quote
  #4   (View Single Post)  
Old 26th December 2017
e1-531g e1-531g is offline
ISO Quartermaster
 
Join Date: Mar 2014
Posts: 628
Default

Quote:
ATM I am looking at cards in the 6850 - 6970 range. So what do you think? Should I spend up big on a new card to last me a long time, or get a burned out junker?
You are using software rendering (CPU) rather than GPU. It is no wonder that it is slow.
We don't know how resource-hungry your SDL2-based program is.
If it is just some simple program, any GPU from 2011 era which is supported by OpenBSD drivers, even the budget ones, should do. If it would be some simple SDL2-based program there is no need for mid-high-end and high-end GPU. Just something with decent graphics drivers.
You can also use other OS for this particular app, if you are not use it often.
__________________
Signature: Furthermore, I consider that systemd must be destroyed.
Based on Latin oratorical phrase
Reply With Quote
  #5   (View Single Post)  
Old 26th December 2017
ibara ibara is offline
OpenBSD language porter
 
Join Date: Jan 2014
Posts: 783
Default

Quote:
Originally Posted by jggimi View Post
(I needed to install sdl2-image and sdl2-ttf, and build with $ g++ -w -L/usr/local/lib/ -lSDL2 -lSDL2_image -lSDL2_ttf -L/usr/X11R6/lib -I/usr/local/include/SDL2 -o test 24_calculating_frame_rate.cpp)
Any reason you're using gcc-4.2.1 instead of clang?

Quote:
Originally Posted by jggimi View Post
Edited to add: oh, yes, you have a 6-core Haswell processor, NVIDIA graphics, and you're using VESA, which limits your framerate.
You should use your CPU's Intel graphics if you can.
Reply With Quote
  #6   (View Single Post)  
Old 26th December 2017
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,975
Default

Quote:
Originally Posted by ibara View Post
Any reason you're using gcc-4.2.1 instead of clang?
Not really, other than personal familiarity.
Reply With Quote
  #7   (View Single Post)  
Old 26th December 2017
e1-531g e1-531g is offline
ISO Quartermaster
 
Join Date: Mar 2014
Posts: 628
Default

Quote:
Originally Posted by Prevet View Post
Second hand they go for about $100 USD or less. Perhaps there is a collectors market for new old cards.
Problem with used consumer grade AMD GPUs is that they were designed for consumer workloads, but some of them were used by alternative cryptocurrency miners 24h/7days in a week, but this started especially with AMD's GCN-based GPU, I think.
If I were you, I would experiment/buy some HD [5,6]000-era used low-end GPU. If you don't do anything GPU hungry anything with decent GPU drivers should do.
__________________
Signature: Furthermore, I consider that systemd must be destroyed.
Based on Latin oratorical phrase

Last edited by e1-531g; 26th December 2017 at 10:42 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
Video card instead of sound card ripe OpenBSD General 12 2nd May 2013 04:02 PM
No boot w/o video card stevedb OpenBSD Installation and Upgrading 4 12th June 2012 05:53 PM
x11/xf86-video-intel and x11/xf86-video-intel29? Carpetsmoker FreeBSD Ports and Packages 2 23rd October 2011 01:23 PM
NetBSD amd64 NVidia Quadro NVS 285 video card morten42 NetBSD General 5 30th July 2008 03:49 PM
Adding Additional Video Card JMJ_coder General software and network 0 19th July 2008 07:16 PM


All times are GMT. The time now is 07:45 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