CN107423019B - Implementation method for controlling 3D (three-dimensional) graphic acceleration based on Feiteng platform - Google Patents

Implementation method for controlling 3D (three-dimensional) graphic acceleration based on Feiteng platform Download PDF

Info

Publication number
CN107423019B
CN107423019B CN201710641154.2A CN201710641154A CN107423019B CN 107423019 B CN107423019 B CN 107423019B CN 201710641154 A CN201710641154 A CN 201710641154A CN 107423019 B CN107423019 B CN 107423019B
Authority
CN
China
Prior art keywords
display
acceleration
graphic
feiteng
platform
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710641154.2A
Other languages
Chinese (zh)
Other versions
CN107423019A (en
Inventor
刘毅枫
刘庆喜
吴登勇
陈亮甫
刘怀泉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chaoyue Technology Co Ltd
Original Assignee
Shandong Chaoyue CNC Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shandong Chaoyue CNC Electronics Co Ltd filed Critical Shandong Chaoyue CNC Electronics Co Ltd
Priority to CN201710641154.2A priority Critical patent/CN107423019B/en
Publication of CN107423019A publication Critical patent/CN107423019A/en
Application granted granted Critical
Publication of CN107423019B publication Critical patent/CN107423019B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1407General aspects irrespective of display type, e.g. determination of decimal point position, display with fixed or driving decimal point, suppression of non-significant zeros
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/005General purpose rendering architectures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2200/00Indexing scheme for image data processing or generation, in general
    • G06T2200/28Indexing scheme for image data processing or generation, in general involving image processing hardware

Abstract

The invention relates to a realization method for controlling 3D (three-dimensional) graphic acceleration based on a Feiteng platform. The invention provides a realization method for controlling 3D graphics acceleration based on a Feiteng platform, aiming at the problem that the stability of the platform is affected by the fact that a driver of a video card of the Feiteng platform completely starts a 3D graphics acceleration function. The invention adopts a mode of controlling the domestic soar CPU and GPU to be heterogeneous, manages the opening and closing of the 3D graphic acceleration part function of the display card, does not influence the stability of high-performance graphic display, and furthest hands the graphic acceleration multitask which consumes CPU resources to the GPU which is very good at graphic data processing.

Description

Implementation method for controlling 3D (three-dimensional) graphic acceleration based on Feiteng platform
Technical Field
The invention relates to a realization method for controlling 3D (three-dimensional) graphic acceleration based on a Feiteng platform, belonging to the technical field of graphic display acceleration.
Background
With the development of computer technology, image display technology plays an increasingly important role in various fields, and particularly, the demand for high-performance display in the aspects of 3D terrain display, military battlefield situation, meteorological cloud chart and the like is more urgent. Graphics display acceleration techniques are particularly important to improve the operating efficiency of graphics systems. Graphics display acceleration is the acceleration of graphics processing throughout the system by some dedicated technique. These specialized technologies fall into two main categories. One is a software acceleration method; the other is a hardware acceleration method. The software acceleration method comprises the continuous improvement of a graphic processing algorithm and the improvement of the efficiency of display processing in a graphic system through the optimization of software codes. The hardware acceleration method is to carry out the acceleration processing of the graphic images by the repartitioning of the software and hardware work, and to send the graphic image display task which is completely realized by the software to a special hardware unit for processing, thereby reducing the heavy task of the CPU of the system for processing the graphic images.
If the kernel of the Feiteng platform operating system closes some functions of GPU graphic acceleration, the logic operation, graphic rendering calculation, texture calculation and the like related to 3D graphic display can be completed by the GPU, so that the operations need to be completed by the CPU, and the display efficiency is reduced.
Disclosure of Invention
Aiming at the defects of the prior art, the invention provides a realizing method for controlling 3D (three-dimensional) graphic acceleration based on a Feiteng platform.
Summary of the invention:
the invention provides a realization method for controlling 3D graphics acceleration based on a Feiteng platform, aiming at the problem that the stability of the platform is affected by the fact that a driver of a video card of the Feiteng platform completely starts a 3D graphics acceleration function. The invention adopts a mode of controlling the domestic soar CPU and GPU to be heterogeneous, manages the opening and closing of the 3D graphic acceleration part function of the display card, does not influence the stability of high-performance graphic display, and furthest hands the graphic acceleration multitask which consumes CPU resources to the GPU which is very good at graphic data processing.
The technical scheme of the invention is as follows:
a realization method for controlling 3D graphics acceleration based on a Feiteng platform comprises the following steps:
1) the Feiteng CPU reads the application program data model from the main memory, the Feiteng CPU classifies the display data and transmits the display data to the GPU through the display card driving program, and the GPU performs operation, space change, grating and fragment processing operation on the display data; modifying the code of the display card driver to enable the display card driver to provide a graphic display acceleration function interface; the graphic display acceleration function interface comprises a GPU vertex processing interface, a geometric change interface, a rasterization interface and a fragment processing interface;
2) calling the graphic display acceleration function interface through the 3D graphic display acceleration control service, and changing a configuration file of the 3D graphic display acceleration control service to realize the control of 3D graphic acceleration; on the premise of not influencing the display stability of the Feiteng platform, the 3D graphic display acceleration control service realizes the control of 3D graphic acceleration by calling the modified display card driving source code;
3) storing the display data processed in the step 2) into a display memory, mapping the display data into a memory through a PCIE bus, and finally displaying the display data on display equipment.
According to the preferable implementation method for controlling the 3D graphics acceleration based on the Feiteng platform, a Feiteng desktop computer carrying an AMD R7450 graphics card is used as a development platform, and an AMD open-source graphics card driver xf86 is used as a development basis; the CPU model of the feiteng desktop is a feiteng 1500 processor.
Preferably, the graphics driver codes are AMD open source driver source codes amdgpu _ video, amdgpu _ pixmap, amdgpu _ sync and amdgpu _ misc.
Preferably, the step 2) is implemented as follows,
2.1) gradually starting the 3D acceleration function through the 3D graphic display acceleration control service, and starting the 3D acceleration function to the maximum extent on the premise of ensuring the stability of the 3D graphic display; if the 3D graphic display is unstable, closing part of the 3D acceleration function;
2.2) after the configuration file of the 3D graphic display acceleration control service is set, adding the configuration file into rc, and using the configuration file as a background service for starting default starting;
2.3) realizing the control of 3D graphic acceleration through the 3D graphic display acceleration control service.
According to the invention, the display device is a Feiteng desktop or Feiteng all-in-one 3D terrain display device.
The invention has the beneficial effects that:
1. operations such as floating point operation, space geometric change, rasterization, fragment processing and the like of the 3D graph are transmitted to the GPU for processing, and great influence is generated on the dispatching and display control of the Feiteng CPU and the display stability of the 3D graph of the Feiteng platform; aiming at the problem, the implementation method for controlling the acceleration of the 3D graphics based on the Feiteng platform, disclosed by the invention, has the advantages that by designing a service for controlling the acceleration function of the 3D graphics, and by starting the designed 3D display control service, part of the acceleration function of the 3D graphics is started according to the configuration file, and the display performance of the 3D graphics of the Feiteng platform is improved under the condition that the display is not influenced;
2. the implementation method for controlling the acceleration of the 3D graphics based on the Feiteng platform is characterized in that a user can start the function of the acceleration of the Feiteng 3D graphics only by configuring the provided control service; under the condition that the display stability of the 3D graph of the Feiteng platform is not influenced, the 3D graph acceleration function is started to the maximum extent, and the display performance of the 3D graph of the platform is improved.
Drawings
FIG. 1 is a flow chart of accelerated display data of a 3D graphic of a Feiteng platform;
fig. 2 is a flow chart of a design of a 3D graphic acceleration control service of the soar platform.
Detailed Description
The invention is further described below, but not limited thereto, with reference to the following examples and the accompanying drawings.
Example 1
As shown in fig. 1-2.
A realization method for controlling 3D graphics acceleration based on a Feiteng platform comprises the following steps:
1) the Feiteng CPU reads the application program data model from the main memory, the Feiteng CPU classifies the display data and transmits the display data to the GPU through the display card driving program, and the GPU performs operation, space change, grating and fragment processing operation on the display data; modifying the code of the display card driver to enable the display card driver to provide a graphic display acceleration function interface; the graphic display acceleration function interface comprises a GPU vertex processing interface, a geometric change interface, a rasterization interface and a fragment processing interface;
2) calling the graphic display acceleration function interface through the 3D graphic display acceleration control service, and changing a configuration file of the 3D graphic display acceleration control service to realize the control of 3D graphic acceleration; on the premise of not influencing the display stability of the Feiteng platform, the 3D graphic display acceleration control service realizes the control of 3D graphic acceleration by calling the modified display card driving source code;
3) storing the display data processed in the step 2) into a display memory, mapping the display data into a memory through a PCIE bus, and finally displaying the display data on display equipment.
Example 2
The method for implementing 3D graphics acceleration based on the FT platform according to embodiment 1, except that the method for implementing 3D graphics acceleration based on the FT platform is based on a FT desktop with an AMD R7450 graphics card as a development platform and an AMD open source graphics card driver xf86 as a development basis; the CPU model of the feiteng desktop is a feiteng 1500 processor.
Example 3
The method for implementing 3D graphics acceleration based on the platform of embodiment 1, except that the driver codes of the graphics card are AMD open source driver source codes amdgpu _ video, amdgpu _ pixmap, amdgpu _ sync, and amdgpu _ misc.
Example 4
The implementation method for controlling 3D graphics acceleration based on the FT platform as described in embodiment 1, except that the specific implementation process of step 2) is as follows,
2.1) gradually starting the 3D acceleration function through the 3D graphic display acceleration control service, and starting the 3D acceleration function to the maximum extent on the premise of ensuring the stability of the 3D graphic display; if the 3D graphic display is unstable, closing part of the 3D acceleration function;
2.2) after the configuration file of the 3D graphic display acceleration control service is set, adding the configuration file into rc, and using the configuration file as a background service for starting default starting;
2.3) realizing the control of 3D graphic acceleration through the 3D graphic display acceleration control service.
Example 5
The implementation method for controlling 3D graphics acceleration based on the FT platform as in embodiment 1, except that the display device is a FT desktop.

Claims (4)

1. A realization method for controlling 3D graphics acceleration based on a Feiteng platform is characterized by comprising the following steps:
1) the Feiteng CPU reads the application program data model from the main memory, the Feiteng CPU classifies the display data and transmits the display data to the GPU through the display card driving program, and the GPU performs operation, space change, grating and fragment processing operation on the display data; modifying the code of the display card driver to enable the display card driver to provide a graphic display acceleration function interface; the graphic display acceleration function interface comprises a GPU vertex processing interface, a geometric change interface, a rasterization interface and a fragment processing interface;
2) calling the graphic display acceleration function interface through the 3D graphic display acceleration control service, and changing a configuration file of the 3D graphic display acceleration control service to realize the control of 3D graphic acceleration;
3) storing the display data processed in the step 2) into a display memory, mapping the display data into a memory through a PCIE bus, and finally displaying the display data on display equipment;
wherein, the specific implementation process of the step 2) is as follows,
2.1) gradually starting the 3D acceleration function through the 3D graphic display acceleration control service, and starting the 3D acceleration function to the maximum extent on the premise of ensuring the stability of the 3D graphic display; if the 3D graphic display is unstable, closing part of the 3D acceleration function; realizing the change of the 3D graphic display acceleration control service configuration file;
2.2) adding the configuration file into rc, and starting the default started background service;
2.3) realizing the control of 3D graphic acceleration through the 3D graphic display acceleration control service.
2. The method for realizing the FT-based platform-controlled 3D graphics acceleration according to claim 1, wherein the method for realizing the FT-based platform-controlled 3D graphics acceleration is based on a FT desktop with AMD R7450 graphics card as a development platform and AMD open source graphics card driver xf86 as a development basis; the CPU model of the feiteng desktop is a feiteng 1500 processor.
3. The method of claim 1, wherein the graphics driver code is AMD open source driver source code amdgpu _ video, amdgpu _ pixmap, amdgpu _ sync, and amdgpu _ misc.
4. The implementation method for controlling 3D graphic acceleration based on the Feiteng platform according to claim 1, wherein the display device is a Feiteng desktop or a Feiteng all-in-one 3D terrain display device.
CN201710641154.2A 2017-07-31 2017-07-31 Implementation method for controlling 3D (three-dimensional) graphic acceleration based on Feiteng platform Active CN107423019B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710641154.2A CN107423019B (en) 2017-07-31 2017-07-31 Implementation method for controlling 3D (three-dimensional) graphic acceleration based on Feiteng platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710641154.2A CN107423019B (en) 2017-07-31 2017-07-31 Implementation method for controlling 3D (three-dimensional) graphic acceleration based on Feiteng platform

Publications (2)

Publication Number Publication Date
CN107423019A CN107423019A (en) 2017-12-01
CN107423019B true CN107423019B (en) 2020-11-10

Family

ID=60431708

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710641154.2A Active CN107423019B (en) 2017-07-31 2017-07-31 Implementation method for controlling 3D (three-dimensional) graphic acceleration based on Feiteng platform

Country Status (1)

Country Link
CN (1) CN107423019B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108460718B (en) * 2018-03-06 2022-04-12 湖南翰博薇微电子科技有限公司 Three-dimensional graphic display system optimization method and device based on low-power-consumption Feiteng

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101017566A (en) * 2006-10-24 2007-08-15 图诚科技股份有限公司 System and method for geometrical graphics processing
CN101118644A (en) * 2006-08-01 2008-02-06 深圳安凯微电子技术有限公司 Graphic accelerators and graphic processing method
CN104503950A (en) * 2014-12-09 2015-04-08 中国航空工业集团公司第六三一研究所 OpenGL (open graphic library) API (application program interface)-oriented graphic processor
CN105630441A (en) * 2015-12-11 2016-06-01 中国航空工业集团公司西安航空计算技术研究所 GPU (Graphics Processing Unit) system architecture based on uniform dyeing technology

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6825844B2 (en) * 2001-01-16 2004-11-30 Microsoft Corp System and method for optimizing a graphics intensive software program for the user's graphics hardware
US8607151B2 (en) * 2006-08-01 2013-12-10 Nvidia Corporation Method and system for debugging a graphics pipeline subunit
US9069622B2 (en) * 2010-09-30 2015-06-30 Microsoft Technology Licensing, Llc Techniques for load balancing GPU enabled virtual machines
CN105069015A (en) * 2015-07-13 2015-11-18 山东超越数控电子有限公司 Web acceleration technology implementation method of domestic platform
KR20170034727A (en) * 2015-09-21 2017-03-29 삼성전자주식회사 Shadow information storing method and apparatus, 3d rendering method and apparatus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101118644A (en) * 2006-08-01 2008-02-06 深圳安凯微电子技术有限公司 Graphic accelerators and graphic processing method
CN101017566A (en) * 2006-10-24 2007-08-15 图诚科技股份有限公司 System and method for geometrical graphics processing
CN104503950A (en) * 2014-12-09 2015-04-08 中国航空工业集团公司第六三一研究所 OpenGL (open graphic library) API (application program interface)-oriented graphic processor
CN105630441A (en) * 2015-12-11 2016-06-01 中国航空工业集团公司西安航空计算技术研究所 GPU (Graphics Processing Unit) system architecture based on uniform dyeing technology

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于飞腾平台的GPU图形加速技术研究及应用;李荣振;《中国优秀硕士学位论文全文数据库 信息科技辑》;20160315;全文 *

Also Published As

Publication number Publication date
CN107423019A (en) 2017-12-01

Similar Documents

Publication Publication Date Title
CN115668298B (en) Method and apparatus for atlas management of augmented reality content
US11232534B2 (en) Scheme for compressing vertex shader output parameters
US20180374195A1 (en) Varying effective resolution by screen location by changing active color sample count within multiple render targets
JP2021061041A (en) Foveated geometry tessellation
EP3008700B1 (en) Fragment shaders perform vertex shader computations
EP2946364B1 (en) Rendering graphics data using visibility information
KR102381945B1 (en) Graphic processing apparatus and method for performing graphics pipeline thereof
EP3937118A1 (en) Graphics rendering method and apparatus, and computer readable storage medium
CN109213607B (en) Multithreading rendering method and device
CN109254826B (en) Suspension detection for virtualized acceleration processing device
KR102521654B1 (en) Computing system and method for performing graphics pipeline of tile-based rendering thereof
CN107423019B (en) Implementation method for controlling 3D (three-dimensional) graphic acceleration based on Feiteng platform
US10769753B2 (en) Graphics processor that performs warping, rendering system having the graphics processor, and method of operating the graphics processor
CN116762062A (en) Processing system utilizing selective priority-based two-stage binning
US20220068004A9 (en) Varying effective resolution by screen location by changing active color sample count within multiple render targets
CN106415668B (en) Techniques for reduced pixel shading
US10409359B2 (en) Dynamic bin ordering for load synchronization
EP3646178B1 (en) Varying firmware for virtualized device
CN106296564B (en) Embedded SOC (system on chip)
US20230360305A1 (en) Heuristics enabled tiled rendering
CN205050209U (en) Cloud calculates desktop terminal with figure is function with higher speed
US9727943B1 (en) Remote rendering control objects
KR20230149319A (en) Scalable primitive rate architecture for geometry processing of batches of primitives
WO2022084666A1 (en) Graphics processing systems
CN117788666A (en) Computer special effect generation method and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 250100, No. 2877, fairway, Sun Town, Ji'nan hi tech Zone, Shandong

Applicant after: SHANDONG CHAOYUE CNC ELECTRONICS Co.,Ltd.

Address before: 250000, No. 2877, fairway, Sun Town, Ji'nan hi tech Zone, Shandong

Applicant before: SHANDONG CHAOYUE NUMERICAL CONTROL ELECTRONIC Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: 250100 No. 2877 Kehang Road, Sun Village Town, Jinan High-tech District, Shandong Province

Patentee after: Chaoyue Technology Co.,Ltd.

Address before: 250100 No. 2877 Kehang Road, Sun Village Town, Jinan High-tech District, Shandong Province

Patentee before: SHANDONG CHAOYUE DATA CONTROL ELECTRONICS Co.,Ltd.

CP01 Change in the name or title of a patent holder