Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
external nvidia card with integrated hdmi slot
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
blueberry
n00b
n00b


Joined: 07 Jul 2016
Posts: 5

PostPosted: Thu Jul 07, 2016 5:43 pm    Post subject: external nvidia card with integrated hdmi slot Reply with quote

I have 2 desktop displays and tv. The tv has only hdmi input and desktop displays has hdmi and vga. My nvidia gtx 660 however has only hdmi, dvi and display port interfaces one each. Those desktop displays are connected to hdmi and vga -> dvi adapter -> nvidia card. I would like to use my tv as third display either expanded or mirror of one or the other of my desktop displays. Fortunately there is a hdmi interface on my motherboard so in theory it could be possible to use that nvidia card and stream its output to that integrated hdmi port, right?

So basically my problem is that there is only 2 usable display interfaces in the external card but I have 3 displays for use.
First I noticed that even lspci or lshw did not recognized that integrated (i7-6700k) gpu or any display interfaces on the motherboard. (Asus z170-k)
So I rebooted the system and turned "IGPU multi monitor" option to enabled in my bios. After that lspci lists also my intel gpu as normal.

Xrandr however did not recognized that connected tv or any integrated interfaces so I tried that trick in the nvidia manual:
http://us.download.nvidia.com/XFree86/Linux-x86_64/325.15/README/randr14.html
Quote:
Version 1.4 of the X Resize, Rotate, and Reflect Extension (RandR 1.4 for short) adds a way for drivers to work together so that one graphics device can display images rendered by another.

That worked and xrandr now lists my tv and even claims that its in use ('*' on the output). However I cant get any picture to the tv and it only says "no signal".

So at this point I have 3 displays and xrandr recognizes them all, but there is no image on the tv..

I tried
xrandr --output HDMI-1-1 --auto
and
xrandr --output DVI-I-0 --auto --output HDMI-1-1 --auto --same-as DVI-I-0
and few other commands. Everyone of the xrandr commands only returns nothing.

From gentoo wiki:
Quote:
Some graphic drivers like the binary Nvidia or AMD, do not support xrandr


I have no idea does it work or does it work partially. For example I tried to rotate my screens and it worked without problems. Also xrandr does not even
list my tv (hdmi-1-1) before those commands from nvidia manual are executed.

Does anyone have any suggestions? All help would be highly appreciated.

There is kernel version 4.4.1 installed on the system.

lspci:
Code:
lspci
00:00.0 Host bridge: Intel Corporation Sky Lake Host Bridge/DRAM Registers (rev 07)
00:01.0 PCI bridge: Intel Corporation Sky Lake PCIe Controller (x16) (rev 07)
00:02.0 Display controller: Intel Corporation Sky Lake Integrated Graphics (rev 06)
00:14.0 USB controller: Intel Corporation Sunrise Point-H USB 3.0 xHCI Controller (rev 31)
00:16.0 Communication controller: Intel Corporation Sunrise Point-H CSME HECI #1 (rev 31)
00:17.0 SATA controller: Intel Corporation Device a102 (rev 31)
00:1b.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Root Port #17 (rev f1)
00:1c.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #1 (rev f1)
00:1c.2 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #3 (rev f1)
00:1c.3 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #4 (rev f1)
00:1d.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #9 (rev f1)
00:1f.0 ISA bridge: Intel Corporation Sunrise Point-H LPC Controller (rev 31)
00:1f.2 Memory controller: Intel Corporation Sunrise Point-H PMC (rev 31)
00:1f.3 Audio device: Intel Corporation Sunrise Point-H HD Audio (rev 31)
00:1f.4 SMBus: Intel Corporation Sunrise Point-H SMBus (rev 31)
01:00.0 VGA compatible controller: NVIDIA Corporation GK104 [GeForce GTX 660 Ti] (rev a1)
01:00.1 Audio device: NVIDIA Corporation GK104 HDMI Audio Controller (rev a1)
03:00.0 USB controller: ASMedia Technology Inc. ASM1142 USB 3.1 Host Controller
04:00.0 PCI bridge: ASMedia Technology Inc. ASM1083/1085 PCIe to PCI Bridge (rev 04)
06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)


xrandr:
Code:
Screen 0: minimum 8 x 8, current 3840 x 1080, maximum 16384 x 16384
DVI-I-0 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 521mm x 293mm
   1920x1080     60.00*+
   1680x1050     59.95 
   1440x900      59.89 
   1280x1024     75.02    60.02 
   1280x960      60.00 
   1280x720      60.00 
   1024x768      75.03    70.07    60.00 
   800x600       75.00    72.19    60.32    56.25 
   640x480       75.00    72.81    59.94 
DVI-I-1 disconnected (normal left inverted right x axis y axis)
HDMI-0 connected 1920x1080+1920+0 (normal left inverted right x axis y axis) 521mm x 293mm
   1920x1080     60.00*+  59.94    50.00    60.00    50.04 
   1680x1050     59.95 
   1440x900      59.89 
   1280x1024     75.02    60.02 
   1280x960      60.00 
   1280x720      60.00    59.94    50.00 
   1024x768      75.03    70.07    60.00 
   800x600       75.00    72.19    60.32    56.25 
   720x576       50.00 
   720x480       59.94 
   640x480       75.00    72.81    59.94    59.93 
DP-0 disconnected (normal left inverted right x axis y axis)
DVI-D-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-1-0 disconnected (normal left inverted right x axis y axis)
HDMI-1-1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 598mm x 336mm
   1920x1080     60.00*+  60.00    50.00    50.00    59.94    30.00    24.00    29.97    23.98 
   1920x1080i    60.00    50.00    59.94 
   1680x1050     59.95 
   1280x1024     75.02    60.02 
   1280x960      75.04 
   1152x864      75.00    59.97 
   1280x720      60.00    60.00    50.00    59.94 
   1024x768      75.08    70.07    60.00 
   832x624       74.55 
   800x600       75.00    60.32 
   720x576       50.00 
   720x576i      50.00 
   720x480       60.00    59.94 
   720x480i      60.00    59.94 
   640x480       75.00    60.00    59.94 
   720x400       70.08 
DisplayPort-1-0 disconnected (normal left inverted right x axis y axis)
  1920x1080 (0x47) 148.500MHz
        h: width  1920 start 2008 end 2052 total 2200 skew    0 clock  67.50KHz
        v: height 1080 start 1084 end 1089 total 1125           clock  60.00Hz
  1920x1080 (0x49) 148.500MHz
        h: width  1920 start 2448 end 2492 total 2640 skew    0 clock  56.25KHz
        v: height 1080 start 1084 end 1089 total 1125           clock  50.00Hz
  1680x1050 (0x52) 146.250MHz
        h: width  1680 start 1784 end 1960 total 2240 skew    0 clock  65.29KHz
        v: height 1050 start 1053 end 1059 total 1089           clock  59.95Hz
  1280x1024 (0x53) 135.000MHz
        h: width  1280 start 1296 end 1440 total 1688 skew    0 clock  79.98KHz
        v: height 1024 start 1025 end 1028 total 1066           clock  75.02Hz
  1280x1024 (0x54) 108.000MHz
        h: width  1280 start 1328 end 1440 total 1688 skew    0 clock  63.98KHz
        v: height 1024 start 1025 end 1028 total 1066           clock  60.02Hz
  1280x720 (0x59) 74.250MHz
        h: width  1280 start 1390 end 1430 total 1650 skew    0 clock  45.00KHz
        v: height  720 start  725 end  730 total  750           clock  60.00Hz
  1280x720 (0x5a) 74.250MHz
        h: width  1280 start 1720 end 1760 total 1980 skew    0 clock  37.50KHz
        v: height  720 start  725 end  730 total  750           clock  50.00Hz
  1024x768 (0x5d) 75.000MHz
        h: width  1024 start 1048 end 1184 total 1328 skew    0 clock  56.48KHz
        v: height  768 start  771 end  777 total  806           clock  70.07Hz
  1024x768 (0x5e) 65.000MHz
        h: width  1024 start 1048 end 1184 total 1344 skew    0 clock  48.36KHz
        v: height  768 start  771 end  777 total  806           clock  60.00Hz
  800x600 (0x60) 49.500MHz
        h: width   800 start  816 end  896 total 1056 skew    0 clock  46.88KHz
        v: height  600 start  601 end  604 total  625           clock  75.00Hz
  800x600 (0x61) 40.000MHz
        h: width   800 start  840 end  968 total 1056 skew    0 clock  37.88KHz
        v: height  600 start  601 end  605 total  628           clock  60.32Hz
  720x576 (0x62) 27.000MHz
        h: width   720 start  732 end  796 total  864 skew    0 clock  31.25KHz
        v: height  576 start  581 end  586 total  625           clock  50.00Hz
  720x480 (0x65) 27.000MHz
        h: width   720 start  736 end  798 total  858 skew    0 clock  31.47KHz
        v: height  480 start  489 end  495 total  525           clock  59.94Hz
  640x480 (0x68) 31.500MHz
        h: width   640 start  656 end  720 total  840 skew    0 clock  37.50KHz
        v: height  480 start  481 end  484 total  500           clock  75.00Hz
  640x480 (0x6a) 25.175MHz
        h: width   640 start  656 end  752 total  800 skew    0 clock  31.47KHz
        v: height  480 start  490 end  492 total  525           clock  59.94Hz
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6308
Location: /usr/lib64/lv2

PostPosted: Sun Jul 10, 2016 1:03 am    Post subject: Reply with quote

I've wanted to take advantage of multiple video cards in the past... but you can't. You need to decide which one you want. If you want the discrete card, you have to disable the motherboard's card, and vice versa. Most likely you'll be better off with the config you had with your Nvidia card.

I wonder, though, if you can chain your monitors together...
_________________
Gentoo Studio: A Gentoo-based, professional digital audio workstation OS.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 6961
Location: Saint Amant, Acadiana

PostPosted: Sun Jul 10, 2016 1:52 am    Post subject: Reply with quote

https://www.startech.com/Cables/Audio-Video/HDMI/HDMI-to-HDMI-DVI-Splitter-Cable~HDMISPL1DH
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
blueberry
n00b
n00b


Joined: 07 Jul 2016
Posts: 5

PostPosted: Mon Jul 11, 2016 6:48 pm    Post subject: Reply with quote

audiodef wrote:
I've wanted to take advantage of multiple video cards in the past... but you can't. You need to decide which one you want. If you want the discrete card, you have to disable the motherboard's card, and vice versa. Most likely you'll be better off with the config you had with your Nvidia card.

I wonder, though, if you can chain your monitors together...


Are you sure? What does
Quote:
Version 1.4 of the X Resize, Rotate, and Reflect Extension (RandR 1.4 for short) adds a way for drivers to work together so that one graphics device can display images rendered by another. This can be used on Optimus-based laptops to display a desktop rendered by an NVIDIA GPU on a screen connected to another graphics device, such as an Intel integrated graphics device or a USB-to-VGA adapter.

then mean?

Its from NVIDIA Accelerated Linux Graphics Driver README and Installation Guide
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 42580
Location: 56N 3W

PostPosted: Mon Jul 11, 2016 7:35 pm    Post subject: Reply with quote

blueberry,

blueberry wrote:
My nvidia gtx 660 however has only hdmi, dvi and display port interfaces ...


For the video signal, at 1920x1080 (and a little above), hdmi, dvi and display port are electrically identical.
HDMI and display port provide digital audio too.
For higher resolutions they begin to diverge.

Invest a few shillings in a suitable mix of cables, which is what Jaglover is suggesting.

Quote:
This can be used on Optimus-based laptops ...
Optimus is a hybrid graphics solution where and Intel graphics chip can both draw in the pixel buffer and refresh the display surface. Its low power, so its good for battery life. With low power come low performance.
Optimus provides for an nVidia graphics chip too. Unfortunately, it can only draw in the pixel buffer. It has no connection to the display surface, so when the nVidia graphics chip is used for drawing, the Intel chip in still used refresh the display. That's not the arrangement you have.

This does suggest that you could use the modeswitching driver on your Intel card and the nVidia binary blob with your nvidia card.
They must coexist as that's required for Optimus to work. However, modeswitching in a completely non accelerated driver, so you may find the performance unacceptable.
Its unlikely you can use the Intel driver and the nVidia binary blob together as they require conflicting kernel configurations.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3806
Location: Austro Bavaria

PostPosted: Tue Jul 12, 2016 5:27 pm    Post subject: Reply with quote

I have read recently a bit the nvidia binary driver documentaion.

What i rememer you need to create a config file

which contains for each display: gpu / gpu port / display / display resolution / position of the display to the overall screen

e,g,

http://us.download.nvidia.com/XFree86/Linux-x86/173.14.12/README/chapter-13.html

https://wiki.archlinux.org/index.php/NVIDIA

It all depends if the hardware is capable off (thats your duty to find out!). Means electically capable of. I am not a specialist on every possible setup out there and gpu cards are different

And it also depends if you succeed to write a proper config file

pay attention to

MetaModes

and

Quote:
Section "Device"
Identifier "Card A"
Driver "nvidia"
BusID "PCI:1:00:0"
EndSection

Section "Device"
Identifier "Card B"
Driver "nvidia"
BusID "PCI:2:00:0"
EndSection


and something likethis

Quote:
Section "Device"
Identifier "Card0"
Driver "nvidia"
VendorName "NVIDIA Corporation"

#refer to the link below for more information on each of the following options.
Option "HorizSync" "DFP-0: 28-33; DFP-1 28-33"
Option "VertRefresh" "DFP-0: 43-73; DFP-1 43-73"
Option "MetaModes" "1920x1080, 1920x1080"
Option "ConnectedMonitor" "DFP-0, DFP-1"
Option "MetaModeOrientation" "DFP-1 LeftOf DFP-0"
EndSection


--

you may end up buying / just a recommendation, an used gpu card from nvidia, quite cheap on the second hand market to utilize your third screen ...

I assume your hdmi connector of your mainboard is from the intel gpu crap thing from the intel cpu. that should be also possible when you proper define your xorg.config

It needs a lot of reading of those guides, and knowing how the hardware works, which specs can work and how to setup the virtual screen.

an easier approach is, costs money, to buy a second nvidia gpu card, and utilize that card to use the third screen. as the intel gpus are genereally crap in my expierence, no gpu ram and such, you are better off with a second gpu card anyway ...
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 5592

PostPosted: Tue Jul 12, 2016 7:17 pm    Post subject: Re: external nvidia card with integrated hdmi slot Reply with quote

blueberry wrote:
I tried
xrandr --output HDMI-1-1 --auto
and
xrandr --output DVI-I-0 --auto --output HDMI-1-1 --auto --same-as DVI-I-0
and few other commands. Everyone of the xrandr commands only returns nothing.

Have you tried xrandr --setprovideroutputsource? That's the RandR 1.4 feature your quote was referring to.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum