LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-19-2019, 05:32 AM   #1
Irbis
Member
 
Registered: Jul 2018
Posts: 34

Rep: Reputation: Disabled
Ubuntu 16 - display port no sound


My configuration:
  • Ubuntu 16.04 LTS
  • Nvidia Quadro K1000M
  • Nvidia driver 418

I want to connect my laptop to TV, but the laptop has only a display port so I have bought hdmi to display port adapter which supports audio and video transfer. A video transfer works fine but I can't play sound from the TV speakers. System settings / Sound doesn't contain any option besides Speakers (Built-in Audo). Even when I disable a laptop screen sound is still played from the laptop speakers. How to fix that ?
 
Old 05-19-2019, 08:56 PM   #2
drillsar
Member
 
Registered: Jan 2017
Posts: 144

Rep: Reputation: Disabled
Try this.. go to Settings>Sound what is in the output? Should see HDMI/DisplayPort or something like that.. can you give a screenshot? Also run the command lspci to get an idea of your hardware.. perhaps a module not installed or not built in kernel.

Last edited by drillsar; 05-19-2019 at 08:58 PM.
 
Old 05-20-2019, 04:57 AM   #3
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2926Reputation: 2926Reputation: 2926Reputation: 2926Reputation: 2926Reputation: 2926Reputation: 2926Reputation: 2926Reputation: 2926Reputation: 2926Reputation: 2926
To set sound output to the HDMI port:

Code:
pactl set-card-profile 0 output:hdmi-stereo
To switch it back:

Code:
pactl set-card-profile 0 output:analog-stereo
Once the above has been done at least once, you can use the GUI pavucontrol->configuration: Digital Stereo (HDMI) Output & Analogue Stereo Output to switch between the two.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Just installed Linux Mint 17.3 - No audio. Sound Settings says "play sound through HDMI/Display port 2" but no option for speakers klazarski Linux - Newbie 4 05-29-2016 01:43 AM
we have vfd pole display detected as hiddev0. how to display data on the vfd display kpr_hrc Linux - Newbie 2 03-21-2016 06:03 AM
Tomcat6 stops listening on port 80 when i change from port 8080 to port 80 trongthect Linux - Server 1 07-27-2012 05:41 PM
No sound with Diamond Xtreme Sound 5.1 Sound Card - PCI Port Jmccmw Linux - Software 1 07-30-2009 08:43 AM
--destination-ports port[,port[,port...]] KevinGuy Linux - Networking 1 03-16-2004 06:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration