pavement

Hardware Configuration, Audio/Video

From FreeBSDwiki
(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
 
+
Information on audio and video configuration of hardware.
 
+
 
+
  
 
==Audio Selection==
 
==Audio Selection==
Line 13: Line 11:
 
Partially supported Radeon video cards, linked to in the section "GPU Hardware" below, usually don't support HDMI audio out. Other Radeon cards require extra configuration.
 
Partially supported Radeon video cards, linked to in the section "GPU Hardware" below, usually don't support HDMI audio out. Other Radeon cards require extra configuration.
  
To do this, edit the line ''int radeon_audio" ''/usr/src/sys/dev/drm2/radeon/radeon_drv.c'' to:
+
To do this, edit the line "int radeon_audio" in ''/usr/src/sys/dev/drm2/radeon/radeon_drv.c'' to:
 
  int radeon_audio=1
 
  int radeon_audio=1
  
After this you may rebuild the modules only or whole kernel as typical:
+
After this, you may rebuild the modules only or whole kernel as typical:
 
  /usr/src/sys/modules/make clean; make; make install
 
  /usr/src/sys/modules/make clean; make; make install
  
Line 39: Line 37:
  
 
To see the obsolete way of configuring dual monitors for Nvidia cards, see [[Dual Screen]]
 
To see the obsolete way of configuring dual monitors for Nvidia cards, see [[Dual Screen]]
 +
 +
[[Category:Configuring FreeBSD]]

Revision as of 17:02, 7 August 2015

Information on audio and video configuration of hardware.

Contents

Audio Selection

To check the information on which sound output is used type:

cat /dev/sndstat

Example of command to choose the soundcard, that can also be inserted into /etc/sysctl.conf:

sysctl hw.snd.default_unit=0

Radeon HDMI audio out

Partially supported Radeon video cards, linked to in the section "GPU Hardware" below, usually don't support HDMI audio out. Other Radeon cards require extra configuration.

To do this, edit the line "int radeon_audio" in /usr/src/sys/dev/drm2/radeon/radeon_drv.c to:

int radeon_audio=1

After this, you may rebuild the modules only or whole kernel as typical:

/usr/src/sys/modules/make clean; make; make install

See the previous section for selecting HDMI audio out.

  • Note: Enabling audio on HDMI may alter the tv setting. Nothing is wrong with the software implementation, just adjust the resolution or scan settings on the tv.

GPU Hardware

Here is a list of FreeBSD supported video cards, https://wiki.freebsd.org/Graphics .

AMD

Many Radeon cards are compatible with FreeBSD.

Nvidia

Nvidia cards haven't always been compatible with FreeBSD, but recently they are and have video card support.

Multiple monitors

Use the program xrandr to be able to use and configure multiple monitors. With this program, a basic video card can use both of it's HDMI and DVI outputs for dual configured monitors.

Example of command line that can be used in the file .xinitrc:

xrandr --output DVI-0 --right-of HDMI-0

To see the obsolete way of configuring dual monitors for Nvidia cards, see Dual Screen

Personal tools