commandApt-cache search libpngApt-cache search libjpegApt-cache search libfreetypeInstall the files found in sequence.For example:
Find the png package: apt-cache search libpngInstall the found related package: apt-get install cl-png libglpng-dev libimage-size-ruby1.8 libpng3-dev wait.Make
Make install
3. Install DirectFB-examples-1.2.0
A ). vi/boot/grub/menu. lst adds vga = 0x0317 (resolution: 1024*768) or vga
FPGA_VIP_V101 has been introduced for more than half a year, the functions of the routine has been transplanted, the main reference Crazybingo routines for porting and the development of a combination of board design a few instances of the routineMainly includes:Hardware configuration:FPGA:EP4CE6E22C8N (6k logical resource, can be nios developed)sdram:hy57v641620 (32M, can do video image cache, Nios memory)Communication interface: 1, USB2.0 (68013 high-speed data communication) 2, USB2.0 (cp2102
1. Several termsVGA, HVGA, QVGA, WVGA, WQVGAThese terms refer to the screen resolution.VGA: Video Graphics Array: displays the drawing matrix, which is equivalent to 640x480 pixels;HVGA: Half-size VGA; that is, Half of VGA, resolution: 480 × 320;QVGA: Quarter VGA; that is, 1/4 of VGA, resolution: 320 × 240;WVGA: Wide V
The computer CPU has a core graphics card, and the independent graphics card is NVIDIA's geforce. When fedora 20 64-bit is installed, it generally has a priority. There is a video card startup option in the computer bios. PCIe or igfx, PCIe is an independent video card, and igfx is an integrated Intel Core display. Perform two experiments. 1. Set the BIOS display to PCIe without disabling the kernel display. If you insert the VGA of the monitor int
is mostly above 600 yuan, this aspect capital investment is indispensable. In addition, when acquiring a second monitor, you also need to pay attention to the matching upgrade of the graphics card output interface type to match with the new monitor, such as your old monitor DVI interface, but the graphics card has only a D-VI interface and an HDMI interface, then the new monitor must be able to support the HDMI interface, Otherwise you have to buy another transfer device, this will be more trou
Now the computer has become the home of the multimedia center, computers can watch movies, listen to music, play games, surf the internet and so on, now the media resources on the network is very rich, 1080p/720p HD movies are also many, but the size of the computer monitor is small, even in the 24-inch display to see the film, the effect is not very cool, And sitting in front of the monitor for a long time, also very uncomfortable. The TV screen is much larger than the display, the color is mor
()) + ""). Substring (0,2);
g.DrawString (S, parent.) Font, New SolidBrush (ForeColor), bounds. X, bounds. Y
Dim BM as Bitmap
If M_row = rownum Then BM = me.m_facepressed Else BM = Me.m_face
G.drawimage (BM, bounds.) RIGHT-BM. Width, bounds. Y
End Sub
End Class
Calling code:
Private Function getdatagridstyle (ByVal table as DataTable) as DataGridTableStyle
Dim style as New DataGridTableStyle ()
Style. MappingName = table. TableName
Style. Rowheaderwidth = 15
Dim I as Integer
For i = 0 to
effect is unacceptable and is not recommended.Iv. Connection Method VGA
Note: "home theater. LCD TV. common interfaces (1)" describes VGA interfaces.
Method:The audio interface is on the right of the VGA interface.Select PC as the TV Signal SourceEffect:The display is completely normal, with slight audio noisesSummary:When Samsung and many other brand LCD TVs ar
1. Differences between drawable-(hdpi, mdpi, ldpi)DPI is the abbreviation of "dot Per Inch". The number of dots per inch.Four density classifications: ldpi (low), mdpi (medium), hdpi (high), and xhdpi (extra high)Normal screen: ldpi is 120, mdpi is 160, hdpi is 240, and xhdpi is 320.
2. Differences between WVGA, hvga, and qvgaVGA is the "video graphics array", and the display standard is 640*480.WVGA (wide VGA) Resolution is 480*800Hvga (half
shoshould recreate aclocal. M4 with macros from libtool 2.4.2 Debian-2.4.2-1ubuntu1Libtool: And run Autoconf again.
Solution:
Autoreconf -- force -- install./Configure
B) Make, error:
.../../Libtool: Line 984: G ++: Command not found
Solution: sudo apt-get-y install g ++
C) make, error:
Libtool: Link: unsupportedhardcodepropertiesLibtool: Link: see the libtool documentation for more information.Libtool: Link: fatal configuration error.
Solution:
./ConfigureMake cleanMake
5. Install DirectFB-exa
MenuconfigMake ZimageTest the compiled kernel imageThen use the Rpitools/mkimage/*.gz tool to convert the Zimage into kernel.imgTo compile the kernel module:Make modulesMake Modules_install Install_mod_path=/home/clbiao/rpi/linux-rpi-3.18.y/modulesInstall the new kernel: "To complete under Linux"Cd/mntmkdir SDB SDB1 SDB2Mount/dev/sdb2/mnt/sdb2Copy the kernel.img to the boot directory in the sdb2 of the SD card:CP ~/rpi/linux-rpi-3.18.y/kernel-new.img/mnt/sdb2/boot/To modify the boot script of t
is roughly the same as that of directfb. I will not go into details here.I only open the -- enable-debug option, and use its default value for others.
Cd ~ DirectFB-example-1.2.0Autoreconf./Configure -- enable-DebugMakeSudo make install
6. Now we have installed directfb and directfb-example.
II
The latest kernel already supports framebuffer. You only need to specify relevant parameters for startup, such as "VGA = resolution. The specific s
set the width attribute value to 320px.
That is, 160*320/160. Among them, 320/160 can be called the density proportion factor.
5. pixel and dip Calculation formula: pixel value = (dpi/160) * dip Value* Convert the cell phone resolution from dp to px (pixel)*/Public static int dip2px (Context context, float dpValue ){Final float scale = context. getResources (). getDisplayMetrics (). density;Return (int) (dpValue * scale + 0.5f );}/*** Convert pixel to dp based on the resolution of the mobile p
Lspci | grep-ivga can display the graphics card information on the machine, such as [root @ localhostconf] # lspci | grep-ivga01: 00.0 VGAcompatiblecontroller: nvidiaconfigurationdevice1081 (reva1). 0 VGAco
Lspci | grep-I vga
This will display the graphics card information on the machine, such
[Root @ localhost conf] # lspci | grep-I vga. 0 VGA compatible control
display screen. However, if you cannot transmit the video content to the display screen, everything is blank!
In the real world, buildings were built at least in the 1980s S, and are generally not designed for the cabling requirements of the Information Age. Cabling slots and channels are generally crowded. Cables required to support high-definition videos (VGA or XGA at least) (for example, coaxial cables connected at the top of a 5 BNC connector or
do not pay much attention to the wide screen resolution supported by integrated graphics cards, so they have not updated the BIOS. What should I do if I encounter such a problem? You can use CBROM to create one by yourself. For ease of operation, I renamed them old. Bin (wide screen resolution not supported) and new. Bin (wide screen resolution supported ). The operating principle is to use CBROM (the latest version is 2.19) to extract the VGA (displ
On the Internet, I went around randomly. Some of my friends said they could watch a movie under a character. I also wanted to try it! It's easy. Here we just record the process and Configuration:
1. Enable framebuffer
Determine whether framebuffer is opened and check whether/Dev has files such as FB. Ls. No! Check that menu. lst does not have the VGA parameter!
Most of the information on the Internet is about adding the
the main menu. You can also use the user option to manually set hard disk parameters. You must enter cyls, heads, precomp, landz, sectorxs ), mode and other parameters. The hard disk size is automatically generated after the above parameter settings. (2) available display types: accept/VGA (selected for the metric, VGA, Sega, sv ga, and PGA display adapter) and CGA 40 (CGA display card, 40 columns), cga80
//////////////////////////////////1. drawable -(
Hdpi, Mdpi, ldpi)
DPI is the abbreviation of "dot Per Inch". The number of dots per inch.
Four density classifications: ldpi (low), mdpi (medium ),Hdpi(High), and xhdpi (extra high)
Normal screen: ldpi is 120, mdpi is 160,HdpiIt is 240, and xhdpi is 320.
2. Differences between WVGA, hvga, and qvga
VGA is "video graphics array", and the display standard is 640*480.
WVGA (wide
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.