xrandr problem
Hi, all,
I use a laptop with slackware (the version now I use is 14) for a long time but there is an issue I never figure out. When I connect the laptop with a VGA monitor, I use xrandr to set up the displays. First, I close the monitor on the laptop: Code:
xrandr --output LVDS1 --off Code:
xrandr --output VGA1 --mode 1280x1024 Then, if you reboot the laptop using the laptop monitor only, everything is OK until the screen resolution is changing (I don't know whether this description is enough or not). The screen will turn into total black. However, the boot process is still running. My temporary solution is that: instead of booting slackware, I boot into windows first. Once I get the login interface of windows, I reboot the laptop and choose slackware in lilo. Then the problem can be fixed. Is there a direct solution or setting for this problem? I didn't have this problem in the same laptop on debian. So I think it may be related with slackware. Any ideas? Thanks! |
I did some testing with my HP netbook and an external monitor, Slack 14 32 bit system.
I can turn on the external monitor with Quote:
I can then turn off the netbook display with Quote:
I shutdown the netbook through the gui, I run XFCE. I booted, with the external monitor connected. I see what you describe, the messages from the lilo boot screen to the first mode change appear only on the internal monitor. Once the modes set happens, ( font size changes ), I see the rest of the boot messages on both screens. The KDM screen shows up, I can log in. ( Still visible on both monitors), I log in, both monitors show the desktop. I can turn off the netbook monitor, either by the command line, or through the 'Display' app in the Settings menu. What is a little strange, ( at least to me ) is the internal monitor is not in the correct mode. It normally runs in 1024x600 ( a 16x9 format ) and the external ( a 4x3 format ) is 1024x768. The bottom 1/3'rd of the screen is cut off on the internal monitor. Now, if I try to turn the internal monitor back on, either with xrandr, or the Display app, I can not turn in on. If I run shutdown, both work on reboot. I did get into a situation, once where I had both external and internal blank. I have not figured out how I did that though. I ssh'ed into the netbook, and ran shutdown. So, in summary, it appears if both monitors are attached, on boot, the mode is picked for the external monitor. Don't know if you have another system to ssh to your system, if you do, that may be another way to gain control. Not sure if the fact I can not turn the internal back on is a bug or not. Hope this sheds a little light... |
Thanks for your reply. However, I notice that you reboot your laptop with the external monitor connected:
Quote:
If after rebooting your laptop monitor turns off when the font size is changing, I think you may face the same situation as I have. Also, what's your display card? Mine is Intel 945 mobile (I think). |
No problem. First of all, the VGA controller.
Quote:
|
I booted the system, connected the external monitor, ran the 2 xrandar commands as before; and shutdown with the external monitor running. Once shut down, disconnected he external monitor; and booted.
All was normal. The netbook monitor came up it 1024 x 600, as it should. |
Thanks a lot! It seems you don't face my problem.
Do you know what are the possible issues there? It troubles me much. Thanks! |
Quote:
Once you power down, nothing should be left in memory or hardware registers that is not reset. So, it is a mystery why your system boots with some in-useable video mode, that you can reset with a windoze boot. Can you switch back to the system monitor after having the external monitor on? This is the one thing that does not work for me. |
My netbook has a LVDS with a native resolution of 1024x600. The output from '/sbin/lspci' shows
Quote:
Quote:
Quote:
Quote:
|
All times are GMT -5. The time now is 05:14 AM. |