Re: Black screen when starting Xorg with new laptop.

2018-02-28 Thread George Ramirez
Sure. But I am not sure in which state you want me to send them. I
haven't disabled inteldrm like pstern suggested. tbh, I wouldn't know
how to do that yet. What I did do was upgrade to the latest snapshot
from February 28th and  give it another syspatch but that didn't fix
the problem. Here is my dmesg and Xorg.0.log.

On Wed, Feb 28, 2018 at 4:11 PM, Noth <nothingn...@citycable.ch> wrote:
> Can you boot without X running, copy /var/log/Xorg.0.log and dmesg to a usb
> stick or another machine and then upload those to this thread? This is an
> ongoing acpi issue with inteldrm I believe, it stopped working in 6.2 for
> Skylake and newer intel GPUs. No change in sight...
>
>
> Noth
>
>
> On 26/02/18 23:11, George Ramirez wrote:
>>
>> Sadly this didn't work. I tried the keys for the screen brightness but
>> nothing changed.
>>
>> On Thu, Feb 22, 2018 at 3:29 PM, Andrew <and...@quickstick.net> wrote:
>>
>>> On 02/22/18 09:27, George Ramirez wrote:
>>>
>>>> with intel 620 UHD graphics. At first, the console shows with underscan,
>>>> then the resolution changes to the native one, and finally it goes
>>>> black.
>>>>
>>> It's a frustrating problem because there are no errors and it seemingly
>>> doesn't work. I bet X is actually running properly but xbacklight
>>> somehow ended up = 0. Tap the "brightness" key on your keyboard a couple
>>> times and see if it illuminates the display properly. On my ThinkPad
>>> it's [Fn]+[Home]. Also check out man xbacklight(1). Good luck !!!
>>>
>


dmesg
Description: Binary data
# cat /var/log/Xorg.0.log
[23.819] (--) checkDevMem: using aperture driver /dev/xf86
[23.842] (--) Using wscons driver on /dev/ttyC4
[23.860] 
X.Org X Server 1.19.6
Release Date: 2017-12-20
[23.861] X Protocol Version 11, Revision 0
[23.861] Build Operating System: OpenBSD 6.2 amd64 
[23.861] Current Operating System: OpenBSD novao.home 6.2 GENERIC.MP#15 amd64
[23.861] Build Date: 27 February 2018  10:32:31PM
[23.861]  
[23.861] Current version of pixman: 0.34.0
[23.861]Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[23.861] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[23.861] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Mar  1 02:40:44 2018
[23.862] (==) Using system config directory "/usr/X11R6/share/X11/xorg.conf.d"
[23.863] (==) No Layout section.  Using the first Screen section.
[23.863] (==) No screen section available. Using defaults.
[23.863] (**) |-->Screen "Default Screen Section" (0)
[23.863] (**) |   |-->Monitor ""
[23.863] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[23.864] (==) Automatically adding devices
[23.864] (==) Automatically enabling devices
[23.864] (==) Not automatically adding GPU devices
[23.864] (==) Max clients allowed: 256, resource mask: 0x1f
[23.868] (==) FontPath set to:
/usr/X11R6/lib/X11/fonts/misc/,
/usr/X11R6/lib/X11/fonts/TTF/,
/usr/X11R6/lib/X11/fonts/OTF/,
/usr/X11R6/lib/X11/fonts/Type1/,
/usr/X11R6/lib/X11/fonts/100dpi/,
/usr/X11R6/lib/X11/fonts/75dpi/
[23.868] (==) ModulePath set to "/usr/X11R6/lib/modules"
[23.868] (II) The server relies on wscons to provide the list of input devices.
If no devices become available, reconfigure wscons or disable AutoAddDevices.
[23.868] (II) Loader magic: 0x351bf42000
[23.868] (II) Module ABI versions:
[23.868]X.Org ANSI C Emulation: 0.4
[23.868]X.Org Video Driver: 23.0
[23.868]X.Org XInput driver : 24.1
[23.868]X.Org Server Extension : 10.0
[23.868] (--) PCI:*(0:0:2:0) 8086:5917:1558:1313 rev 7, Mem @ 0xdb00/16777216, 0x9000/268435456, I/O @ 0xf000/64
[23.868] (II) LoadModule: "glx"
[23.870] (II) Loading /usr/X11R6/lib/modules/extensions/libglx.so
[23.877] (II) Module glx: vendor="X.Org Foundation"
[23.877]compiled for 1.19.6, module version = 1.0.0
[23.877]ABI class: X.Org Server Extension, version 10.0
[23.877] (==) Matched modesetting as autoconfigured driver 0
[23.877] (==) Assigned the driver to the xf86ConfigLayout
[23.877] (II) LoadModule: "modesetting"
[23.878] (II) Loading /usr/X11R6/lib/modules/drivers/modesetting_drv.so
[23.878] (II) Module m

Re: Black screen when starting Xorg with new laptop.

2018-02-26 Thread George Ramirez
Sadly this didn't work. I tried the keys for the screen brightness but
nothing changed.

On Thu, Feb 22, 2018 at 3:29 PM, Andrew <and...@quickstick.net> wrote:

> On 02/22/18 09:27, George Ramirez wrote:
>
>> with intel 620 UHD graphics. At first, the console shows with underscan,
>> then the resolution changes to the native one, and finally it goes black.
>>
>
> It's a frustrating problem because there are no errors and it seemingly
> doesn't work. I bet X is actually running properly but xbacklight
> somehow ended up = 0. Tap the "brightness" key on your keyboard a couple
> times and see if it illuminates the display properly. On my ThinkPad
> it's [Fn]+[Home]. Also check out man xbacklight(1). Good luck !!!
>


Black screen when starting Xorg with new laptop.

2018-02-22 Thread George Ramirez
So far I have been unable to start X with a new OpenBSD install on my
laptop. I am a complete beginner to OpenBSD. I did manage to get to the
desktop environment in a virtualbox vm. I tried both the default fvwm and
gnome, with both xenodm and gdm. This all worked fine, albeit very slow on
non accelerated vm graphics. However, on my N130WU laptop the screen goes
black right after the boot up messages. This is a kaby lake refresh laptop
with intel 620 UHD graphics. At first, the console shows with underscan,
then the resolution changes to the native one, and finally it goes black. I
was still able to connect through SSH while the laptop was in this state
and get the Xorg.0.log. The log told me to add machdep.allowaperture=1 to
/etc/sysctl.conf which I did, but the screen went black again after I
rebooted. From the new Xorg.0.log I can not understand what went wrong this
time. Here are the new Xorg.0.log and dmesg output.
https://pastebin.com/F9Gf26mb  https://pastebin.com/SQRgxBdz

George