---
name: "fb_try_mode"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/fb_try_mode"
---

# fb\_try\_mode(9)

test a video mode

## NAME

fb\_try\_mode - test a video mode

## SYNOPSIS

**int fb\_try\_mode(struct fb\_var\_screeninfo \*** *var***, struct fb\_info \*** *info***, const struct fb\_videomode \*** *mode***, unsigned int** *bpp***);**

## ARGUMENTS

*var*

frame buffer user defined part of display

*info*

frame buffer info structure

*mode*

frame buffer video mode structure

*bpp*

color depth in bits per pixel

## DESCRIPTION

Tries a video mode to test it's validity for device *info*.

Returns 1 on success.

## COPYRIGHT
