You are not logged in.

#1 2013-05-30 18:00:04

skinney6
Member
From: Oakland, CA
Registered: 2013-05-25
Posts: 50

Change default monitor linux uses BEFORE X is loaded

i can't seem to find the answer for this. eveything talks about monitors in x

--  i need to get linux to boot up on the VGA  while the TV plugged in via HDMI

--  if tv is plugged in it boots up on the tv

if i boot with only my VGA plugged in it's fine but if i boot up with my VGA and my TV (hdmi)
my monitor switches over to the tv before i get the login prompt (x has not loaded yet).

if i startx i loose the tv picture as well (now both screens are black)

I have on-board ATI radeon HD7560D using xf86-video-ati driver (new install, never installed any other graphix drivers)

thx in advance!

Last edited by skinney6 (2013-05-30 19:12:31)

Offline

#2 2013-05-30 23:43:58

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,097

Re: Change default monitor linux uses BEFORE X is loaded

video=whatever boot param usually works. See https://www.kernel.org/doc/Documentation/fb/modedb.txt etc.

Example: video=HDMI-0:d video=VGA-1:1024x768@60

To get the correct name of the outputs, check /sys/class/drm/

Last edited by Mr.Elendig (2013-05-30 23:53:20)


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#3 2013-05-31 05:23:14

skinney6
Member
From: Oakland, CA
Registered: 2013-05-25
Posts: 50

Re: Change default monitor linux uses BEFORE X is loaded

can i add it to the refind_linux.conf?
thanks for your help?

Offline

#4 2013-05-31 05:25:27

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Change default monitor linux uses BEFORE X is loaded

In my Thinkpad there is an option in the bios to indicate which output you would like to set as the primary.  I'm sure that the kernel command line stuff will work, but if you were looking to really fix the problem in the machine itself, maybe your bios offers a similar option.

Offline

#5 2013-05-31 14:59:15

skinney6
Member
From: Oakland, CA
Registered: 2013-05-25
Posts: 50

Re: Change default monitor linux uses BEFORE X is loaded

WonderWoofy wrote:

option in the bios

i actually looked for that already. didn't see anything.

Offline

#6 2013-05-31 17:00:46

skinney6
Member
From: Oakland, CA
Registered: 2013-05-25
Posts: 50

Re: Change default monitor linux uses BEFORE X is loaded

well i tried all the different names i found in /sys/class/drm but it always boots to the tv i can see the resolutions change but it wont display on the VGA

Mr.Elendig wrote:

Example: video=HDMI-0:d video=VGA-1:1024x768@60

can you explain this HDMI-0:d ?

Offline

#7 2013-05-31 18:18:09

skinney6
Member
From: Oakland, CA
Registered: 2013-05-25
Posts: 50

Re: Change default monitor linux uses BEFORE X is loaded

this is from my kernel boot journal

Radeon Display Connectors
May 31 02:56:25 aries kernel: [drm] Connector 0:
May 31 02:56:25 aries kernel: [drm]   HDMI-A-1
May 31 02:56:25 aries kernel: [drm]   HPD1
May 31 02:56:25 aries kernel: [drm]   DDC: 0x6530 0x6530 0x6534 0x6534 0x6538 0x6538 0x653c 0x653c
May 31 02:56:25 aries kernel: [drm]   Encoders:
May 31 02:56:25 aries kernel: [drm]     DFP1: INTERNAL_UNIPHY2
May 31 02:56:25 aries kernel: [drm] Connector 1:
May 31 02:56:25 aries kernel: [drm]   VGA-1
May 31 02:56:25 aries kernel: [drm]   HPD2
May 31 02:56:25 aries kernel: [drm]   DDC: 0x6540 0x6540 0x6544 0x6544 0x6548 0x6548 0x654c 0x654c
May 31 02:56:25 aries kernel: [drm]   Encoders:
May 31 02:56:25 aries kernel: [drm]     CRT1: INTERNAL_UNIPHY2
May 31 02:56:25 aries kernel: [drm]     CRT1: NUTMEG
May 31 02:56:25 aries kernel: [drm] Connector 2:
May 31 02:56:25 aries kernel: [drm]   DP-1
May 31 02:56:25 aries kernel: [drm]   HPD3
May 31 02:56:25 aries kernel: [drm]   DDC: 0x6550 0x6550 0x6554 0x6554 0x6558 0x6558 0x655c 0x655c
May 31 02:56:25 aries kernel: [drm]   Encoders:
May 31 02:56:25 aries kernel: [drm]     DFP2: INTERNAL_UNIPHY

and this...

kernel: fbcon: radeondrmfb (fb0) is primary device

Last edited by skinney6 (2013-05-31 18:22:25)

Offline

#8 2013-05-31 18:39:04

skinney6
Member
From: Oakland, CA
Registered: 2013-05-25
Posts: 50

Re: Change default monitor linux uses BEFORE X is loaded

Mr.Elendig, your example worked
i thought i was to use one or the other not the whole line
does the ':d' disable the hdmi?

thanks for your help!

Last edited by skinney6 (2013-05-31 18:42:54)

Offline

#9 2013-05-31 19:05:26

skinney6
Member
From: Oakland, CA
Registered: 2013-05-25
Posts: 50

Re: Change default monitor linux uses BEFORE X is loaded

however... if i startx and do xrandr is says HDMI-0 is disconected
only VGA-0 is connected per xrandr results

will that parm keep me from using the HDMI tv?

Offline

#10 2013-05-31 21:13:01

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Change default monitor linux uses BEFORE X is loaded

skinney6, instead of playing twenty questions, you know you have a system in front of you with which you can try it, don't you?

Offline

#11 2013-06-01 13:48:57

skinney6
Member
From: Oakland, CA
Registered: 2013-05-25
Posts: 50

Re: Change default monitor linux uses BEFORE X is loaded

i'm trying man. I'm not just sitting on my hands here.
using xrandr to change the HDMI mode breaks video altogether
i've tried several video=VGAyadayada in refind_linux.conf but it always goes to the TV if i dont use

video=HDMI-A-1:d

i'm also trying to create another xorg.conf but i can't tell if my syntax isn't correct or the if it simply wont work because HDMI is "disconnected"
so i'm curious about what the

:d

is and i can't find an answer

Offline

#12 2013-06-01 14:57:05

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,097

Re: Change default monitor linux uses BEFORE X is loaded

yes, d means disable. If you got multiple fb devices, you can change the primary display that way instead of disabeling the hdmi out.

Last edited by Mr.Elendig (2013-06-01 14:58:17)


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#13 2013-06-01 23:27:10

skinney6
Member
From: Oakland, CA
Registered: 2013-05-25
Posts: 50

Re: Change default monitor linux uses BEFORE X is loaded

thanks Mr. Elendig

Offline

Board footer

Powered by FluxBB