Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Disable monitor in framebuffer, but not X11?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
nasaiya
Tux's lil' helper
Tux's lil' helper


Joined: 17 May 2007
Posts: 147

PostPosted: Sun Mar 27, 2016 5:49 pm    Post subject: Disable monitor in framebuffer, but not X11? Reply with quote

Is there a way to disable an output in framebuffer console (radeon driver) without having it remain disabled for X?

I've been trying to get bootsplash to work well but I have a multihead setup with 2 displayports and 2 dvi. The problem is one of the dvi monitors is smaller than the rest and as a result the best I can get in the console is 1440x900. The other all support 1600x900 or larger.

I've managed to get the console to behave perfectly with the kernel command line: "vga=0x176 video=DP-1:1600x900R video=DVI-I-1:d splash=verbose,theme:natural_gentoo console=tty1 quiet"

This disables the offending DVI monitor and the framebuffer console and splash works great, but apparently this completely disables it because xrandr shows it as disconnected so I can't use it in X either...

Is there a way to have both? Maybe a better way to exclude this monitor from the console? Or a way to re-enable it for X and disable it again when dropping back to console?

I've been searching around for two days trying to get this to work the way I want and just can't find anything relevant.

Any tips would be greatly appreciated!!
_________________
If it ain't broke - fix it till it is!
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6228
Location: Room 101

PostPosted: Sun Mar 27, 2016 6:08 pm    Post subject: Re: Disable monitor in framebuffer, but not X11? Reply with quote

nasaiya wrote:
This disables the offending DVI monitor and the framebuffer console and splash works great, but apparently this completely disables it because xrandr shows it as disconnected so I can't use it in X either...

nasaiya ... can you re-enable it?

Code:
# xrandr --output DVI-1 --auto

... or whatever 'xrandr' lists the device as named.

best ... khay
Back to top
View user's profile Send private message
nasaiya
Tux's lil' helper
Tux's lil' helper


Joined: 17 May 2007
Posts: 147

PostPosted: Sun Mar 27, 2016 6:17 pm    Post subject: Reply with quote

Nope... still says:
Code:
DVI-1 disconnected (normal left inverted right x axis y axis)


After trying that...

I also tried
Code:
xrandr --addmode DVI-1 1440x900


Without any luck.

I think it may be being disabled deep in the driver with the kernel option...
dmesg shows:
Code:
[    5.141336] [drm] forcing DVI-I-1 connector OFF


Maybe such a thing cannot be reversed once booted? I'm not set on using this method to disable it, but it does work and I couldn't find any mention anywhere of another way to do it.

Thanks
_________________
If it ain't broke - fix it till it is!
Back to top
View user's profile Send private message
nasaiya
Tux's lil' helper
Tux's lil' helper


Joined: 17 May 2007
Posts: 147

PostPosted: Sun Mar 27, 2016 7:08 pm    Post subject: Reply with quote

Well I tried something that shouldn't work but apparently does...
"vga=0x176 video=DP-1:1600x900R video=DVI-I-1:1600x900 splash=verbose,theme:natural_gentoo console=tty1 quiet"

This makes the splash/fbcondecor work properly on all monitors without being stuck at 1440x900 (which left console decorations not fitting the whole screen except on the smallest monitor).

Forcing it to 1600x900 on the monitor that only supports 1440x900 made them all fit equally.

So now the question is how the heck is that working? Frankly I expected it to fail to boot but it worked fine... this doesn't seem healthy... I don't see any smoke coming from the monitor yet but this just seems wrong...
_________________
If it ain't broke - fix it till it is!
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6228
Location: Room 101

PostPosted: Sun Mar 27, 2016 7:10 pm    Post subject: Reply with quote

nasaiya wrote:
Maybe such a thing cannot be reversed once booted? I'm not set on using this method to disable it, but it does work and I couldn't find any mention anywhere of another way to do it.

nasaiya ... well, it was a long-shot, "disconnected" is basically what you'd see if the cable were disconnected, so I imagine that the parameter is, as you suspect, causing driver to not initialise the device.

best ... khay
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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