|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
Inteldrm set / change resolution during boot ?
Hello !
I am new here / new to BSD. At the moment I have here a Lenovo ThinkPad W541 (i7, Intel and nVidia GPU) with OpenBSD 5.7 from May without updates or installed software. I can't provide a dmesg at the moment because I have no internet connection at the moment - urndis(4) doesn't support my Android Nexus 7 and, I had no time to try configuring the N5321 gw WWAN card using ucom(4). OpenBSD works from boot till X (fvwm) without problems. The nVidia GPU is no topic because I know, there is no driver / binary blob in OpenBSD available and, I got the information, that the nVidia GPU is only useable if the ThinkPad is connected to a dock - which I don't have (it is also not possible to switch the GPU off using the BIOS). Back to my question, after the boot prompt and some boot messages, the display resolution switched to the highest available. The first line after the switch was Code:
inteldrm0: 2880x1620 Code:
xrandr -q xrandr -s ... Code:
config -ef /bsd disable inteldrm quit reboot How / where can I configure a resolution for inteldrm which gives me a nice console / X size ? Thanks for your answers. |
|
|||
Thanks for your answer and your welcome !
All informations will help ... I will write it down for all if I get it to work as desktop. |
|
|||
Depending on how you start X, you can do something like this:
First, run xrandr by itself to see what outputs you have and what resolution they support. Code:
/home/brian $ xrandr Screen 0: minimum 8 x 8, current 2732 x 768, maximum 32767 x 32767 LVDS1 connected 1366x768+0+0 (normal left inverted right x axis y axis) 309mm x 173mm 1366x768 60.10*+ 1024x768 60.00 800x600 60.32 56.25 640x480 59.94 DP1 disconnected (normal left inverted right x axis y axis) HDMI1 connected 1366x768+1366+0 (normal left inverted right x axis y axis) 760mm x 450mm 1360x768 60.02 + 1920x1080 50.00 24.00 1366x768 59.79* 1280x720 50.00 1440x576i 50.00 1024x768 75.08 70.07 60.00 1440x480i 59.94 800x600 72.19 75.00 60.32 720x576 50.00 720x480 59.94 640x480 72.81 60.00 59.94 720x400 70.08 VGA1 disconnected (normal left inverted right x axis y axis) VIRTUAL1 disconnected (normal left inverted right x axis y axis) If you start X via xdm, you can put it in /etc/X11/xdm/Xsetup_0 Code:
/usr/X11R6/bin/xrandr --output <your output name> --mode <resolution you want> Code:
--mode <resolution you want> Code:
--auto You should prefer --mode to -s. Console you are better off by changing font size. |
|
|||
Thanks for your answer.
For the console font size I tried section 7.5 from the FAQ's which doesn't worked. The problem is, that the console resolution is changed during boot from - I think - 640 x 480 (80x25) to 2880x1620 by the loaded inteldrm driver. Which is not bad because X workes out-of-the-box but in console round 25% on the right and left are not useable. The perfect solution would be to set the reselution for inteldrm during boot to the default 80x25 - I think which is 640x480. For xdm and X there is no need to care because if the reselution is set for inteldrm, it is kept also for xdm and X as default. Don't know how the display / xdm treat this. For X the needed things (like a higher resolution but a lower resolution then the native and to use the scale option of xrandr to use the full display) I will put in the .xinitrc (so I have to backup only $HOME and not to think about a xorg.conf). |
|
|||
@ibara xrandr reports as name for the ThinkPad display
Code:
eDPI @all I found in the FAQ point 5.8 which shows config(8). UKC shows for inteldrm flags 0x0 - is there any documentation about possible flags which can maybe used to change the resolution ? |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Need help with DNS resolution | betweendayandnight | OpenBSD General | 0 | 13th July 2015 06:21 PM |
Invalid Signature when trying to boot Ubuntu 14.04 (Dual Boot) | bsd007 | FreeBSD General | 7 | 18th September 2014 12:37 PM |
first install, first boot on netbsd, change password length | wesley | NetBSD General | 0 | 26th August 2010 08:18 AM |
Change consolle resolution | unixbsd | OpenBSD General | 7 | 16th March 2009 01:08 PM |
Dual-boot laptop won't boot OpenBSD after upgrade to 4.3 | kbeaucha | OpenBSD Installation and Upgrading | 17 | 30th May 2008 02:40 PM |