You are not logged in.

#1 2016-11-20 02:28:46

brittanderson
Member
Registered: 2010-09-16
Posts: 34

Modesetting Problem on GPDWIN

I have a GPDWIN (see Indiegogo site for details https://www.indiegogo.com/projects/gpd- … -laptop#/). It's a tiny windows laptop, and works fine in Windows 10. I have installed ARCH to dual boot, and am having trouble with the on-board screen. With a stock install, you will see the messages start to flash by, get a few rainbow colored lines, and all goes black. If you plug in to a monitor using the hdmi port you can see all the messages, log in, and boot to an x display (I set it to use XFCE4). But you can never get any output to the onboard screen.

The video is from an integrated intel graphics on an atom X8700 chip. I believe the problem has something to do with KMS because if I add as options to the boot nomodeset and i915.modeset=0 then with the gpdwin disconnected from the hdmi monitor I can get all the console messages to the onboard screen just fine and use that as a terminal just fine, but I cannot start X. It always fails with the error no screens detected (whether or not I have a second monitor connected).

Is this just an issue where I have to wait for someone to write a driver for whatever screen they installed, or are there some suggestions on how to make it work? I don't want to play games on it or do 3d graphics, I just want a little pocket computer for some portable writing and a little web surfing.

Thank you all.

Offline

#2 2016-11-20 15:48:02

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

Re: Modesetting Problem on GPDWIN

That looks like a Cherry Trail processor. Those often have a special type of bus for connecting peripherals .

please post lspci -k, that should help to narrow down the issue.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#3 2016-11-20 23:26:27

brittanderson
Member
Registered: 2010-09-16
Posts: 34

Re: Modesetting Problem on GPDWIN

Thanks for your interest. Here is the output from lspci -k

00:00.0 Host bridge: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series SoC Transaction Register (rev 20)
	Subsystem: Intel Corporation Device 7270
	Kernel driver in use: iosf_mbi_pci
00:02.0 VGA compatible controller: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series PCI Configuration Registers (rev 20)
	Subsystem: Intel Corporation Device 7270
	Kernel driver in use: i915
	Kernel modules: i915
00:0b.0 Signal processing controller: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series Power Management Controller (rev 20)
	Subsystem: Intel Corporation Device 7270
	Kernel driver in use: proc_thermal
	Kernel modules: processor_thermal_device
00:14.0 USB controller: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series USB xHCI Controller (rev 20)
	Subsystem: Intel Corporation Device 7270
	Kernel driver in use: xhci_hcd
	Kernel modules: xhci_pci
00:1a.0 Encryption controller: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series Trusted Execution Engine (rev 20)
	Subsystem: Intel Corporation Device 7270
	Kernel driver in use: mei_txe
	Kernel modules: mei_txe
00:1c.0 PCI bridge: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series PCI Express Port #1 (rev 20)
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:1f.0 ISA bridge: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series PCU (rev 20)
	Subsystem: Intel Corporation Device 7270
	Kernel driver in use: lpc_ich
	Kernel modules: lpc_ich
01:00.0 Network controller: Broadcom Limited BCM4356 802.11ac Wireless Network Adapter (rev 02)
	Subsystem: Gemtek Technology Co., Ltd Device 0036
	Kernel driver in use: brcmfmac
	Kernel modules: brcmfmac

Offline

#4 2016-11-21 00:43:17

brittanderson
Member
Registered: 2010-09-16
Posts: 34

Re: Modesetting Problem on GPDWIN

I have also run the command dmesg | grep drm and found the following including some errors:

[britt@brittli ~]$ dmesg | grep drm
[    1.162020] [drm] Initialized drm 1.1.0 20060810
[    1.191493] [drm] Memory usable by graphics device = 4096M
[    1.191501] fb: switching to inteldrmfb from EFI VGA
[    1.191885] [drm] Replacing VGA console driver
[    1.192107] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    1.192108] [drm] Driver supports precise vblank timestamp query.
[    1.210841] [drm:pwm_setup_backlight [i915]] *ERROR* Failed to own the pwm chip
[    1.239374] [drm] Initialized i915 1.6.0 20160711 for 0000:00:02.0 on minor 0
[    2.157669] fbcon: inteldrmfb (fb0) is primary device
[    2.713366] i915 0000:00:02.0: fb0: inteldrmfb frame buffer device
[   97.558483] [drm:intel_dsi_post_disable [i915]] *ERROR* DSI LP not going Low
[   98.152779] [drm:intel_cpu_fifo_underrun_irq_handler [i915]] *ERROR* CPU pipe A FIFO underrun
[  156.767205] [drm:intel_pipe_update_end [i915]] *ERROR* Atomic update failure on pipe B (start=6470 end=6471) time 16 us, min 1272, max 1279, scanline start 1280, end 1281

Maybe that helps?

Offline

#5 2016-11-26 17:01:56

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

Re: Modesetting Problem on GPDWIN

Looks like those are related to the intel graphics kernelmodule .

Ok, you have intel microcode updates configured and are running latest bios/uefi firmware ?

If the answer is yes, try booting with the linux-lts kernel (can be installed alongside your normal kernel)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#6 2016-11-27 22:33:56

brittanderson
Member
Registered: 2010-09-16
Posts: 34

Re: Modesetting Problem on GPDWIN

Close, but not quite. With the lts version I can get a screen on the gpd, but it is rotated to the left, and if one uses xrandr to try and rotate it then you lose it to black again. Plug in the hdmi and you can see the screen on the hdmi monitor. This is the same situation for using the stock kernel, but there the trick is to add

 i915.fastboot=1 

as an option .

Since the screen works in the landscape format under windows, I booted into that side and extracted the edid with dumpedid. It shows two "large" monitors that I don't have connected, and two entries for the a 5.5 inch that would fit the size of the screen on the little laptop and the only resolution shown is also rotated with the long axis running from left to right? I don't need a lot of modes. Is there a suggestion whether I can create something that will fake the the computer in to using a vertical instead of horizontal layout?

Here is the edid dump.

DumpEDID v1.05

Copyright (c) 2006 - 2015 Nir Sofer

Web site: http://www.nirsoft.net



*****************************************************************

Active                   : No

Registry Key             : DISPLAY\BBY0032\4&14407d74&0&UID198155

Monitor Name             : NS-19E310A13

Manufacture Week         : 30 / 2012

ManufacturerID           : 22792 (0x5908)

ProductID                : 50 (0x0032)

Serial Number (Numeric)  : 1 (0x00000001)

EDID Version             : 1.3

Display Gamma            : 2.20

Vertical Frequency       : 55 - 76 Hz

Horizontal Frequency     : 30 - 80 KHz

Image Size               : 64.0 X 38.4 cm (29.4 Inch)

Maximum Image Size       : 41 X 23 cm (18.5 Inch)

Maximum Resolution       : 1680 X 1050

Support Standby Mode     : No

Support Suspend Mode     : No

Support Low-Power Mode   : No

Support Default GTF      : No

Digital                  : Yes



Supported Display Modes  :

     720 X  400  70 Hz

     640 X  480  60 Hz

     800 X  600  56 Hz

     800 X  600  60 Hz

    1024 X  768  60 Hz

    1280 X  720  60 Hz

    1280 X  800  60 Hz

    1280 X  800  75 Hz

    1360 X  768  60 Hz

    1280 X  960  60 Hz

    1440 X  900  60 Hz

    1280 X 1024  60 Hz

    1680 X 1050  60 Hz



*****************************************************************



*****************************************************************

Active                   : No

Registry Key             : DISPLAY\MS_9001\1&8713bca&0&UID0

Manufacture Week         : 0 / 2002

ManufacturerID           : 32566 (0x7F36)

ProductID                : 36865 (0x9001)

Serial Number (Numeric)  : 1 (0x00000001)

EDID Version             : 1.3

Display Gamma            : 2.20

Vertical Frequency       : 60 - 60 Hz

Horizontal Frequency     : 219 - 219 KHz

Maximum Image Size       : 7 X 12 cm (5.5 Inch)

Maximum Resolution       : 720 X 1280

Support Standby Mode     : No

Support Suspend Mode     : No

Support Low-Power Mode   : Yes

Support Default GTF      : Yes

Digital                  : Yes



Supported Display Modes  :

     720 X 1280  60 Hz



*****************************************************************



*****************************************************************

Active                   : Yes

Registry Key             : DISPLAY\MS_9001\4&14407d74&0&UID266500

Manufacture Week         : 0 / 2002

ManufacturerID           : 32566 (0x7F36)

ProductID                : 36865 (0x9001)

Serial Number (Numeric)  : 1 (0x00000001)

EDID Version             : 1.3

Display Gamma            : 2.20

Vertical Frequency       : 60 - 60 Hz

Horizontal Frequency     : 219 - 219 KHz

Maximum Image Size       : 7 X 12 cm (5.5 Inch)

Maximum Resolution       : 720 X 1280

Support Standby Mode     : No

Support Suspend Mode     : No

Support Low-Power Mode   : Yes

Support Default GTF      : Yes

Digital                  : Yes



Supported Display Modes  :

     720 X 1280  60 Hz



*****************************************************************



*****************************************************************

Active                   : No

Registry Key             : DISPLAY\RAW0000\4&14407d74&0&UID198155

Monitor Name             : AAA

Manufacture Week         : 6 / 2012

ManufacturerID           : 14152 (0x3748)

ProductID                : 0 (0x0000)

Serial Number (Numeric)  : 1 (0x00000001)

EDID Version             : 1.3

Display Gamma            : 2.20

Vertical Frequency       : 50 - 76 Hz

Horizontal Frequency     : 30 - 80 KHz

Image Size               : 57.5 X 32.3 cm (26.0 Inch)

Maximum Resolution       : 1440 X 900

Support Standby Mode     : No

Support Suspend Mode     : No

Support Low-Power Mode   : No

Support Default GTF      : No

Digital                  : Yes



Supported Display Modes  :

     720 X  400  70 Hz

     640 X  480  60 Hz

     640 X  480  72 Hz

     640 X  480  75 Hz

     800 X  600  56 Hz

     800 X  600  60 Hz

     800 X  600  72 Hz

     800 X  600  75 Hz

    1024 X  768  60 Hz

    1024 X  768  70 Hz

    1024 X  768  75 Hz

    1280 X  720  60 Hz

    1280 X  800  60 Hz

    1280 X  960  60 Hz

    1440 X  900  60 Hz



*****************************************************************

Offline

#7 2016-11-28 13:15:41

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

Re: Modesetting Problem on GPDWIN

This may help: https://wiki.archlinux.org/index.php/Ke … s_and_EDID

Vertical Frequency       : 60 - 60 Hz

Horizontal Frequency     : 219 - 219 KHz

Those 2 lines are very likely the problem, If you can figure out the real values an alternative would be to put them in a 10-monitor.conf-file to override the ones X gets from edid .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#8 2017-01-19 15:31:51

brittanderson
Member
Registered: 2010-09-16
Posts: 34

Re: Modesetting Problem on GPDWIN

Apologies for the time gap.

I have just learned that I can run Manjaro KDE live from the USB, and that while xrandr rotate still results in black screen the manjaro gui display tool does allow me to rotate the display correctly. Could someone give me some pointers as to how I can maybe use this to get the information to allow plain old arch to do the same? Since Manjaro is built on arch maybe someone knows what utility the display gui in Manjaro is using to achieve this outcome? Thank you.

Offline

#9 2017-01-19 16:42:15

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,442
Website

Re: Modesetting Problem on GPDWIN

Electrical wires are made of copper - that doesn't mean I'd ask a Chilean pit miner how to safely wire my house. They may know about copper production, but I'd prefer to ask an electrician for advice on using that copper wire.

If you wan to know how a manjaro-specific tool works, you'll have to ask the manjaro community.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#10 2017-01-19 16:52:41

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,420

Re: Modesetting Problem on GPDWIN

Tbh I doubt that Manjaro developed their own display management tool. As you use the KDE spin I'd assume that kscreen is being employed, which is in the Arch repos just the same.

Online

#11 2017-01-20 16:30:01

brittanderson
Member
Registered: 2010-09-16
Posts: 34

Re: Modesetting Problem on GPDWIN

My goal is to get arch working on this small machine. Currently though I can't get rotation to work to make it useable. However rotation does work with the Manjaro live. As I know that Manjaro is based on Arch I thought the arch community might be able to hazard a guess at to what Manjaro (or kde's kscreen tool) is doing or setting that I could then explore in order to leverage whatever is working in that distribution in order to set up an arch xorg.conf correctly. I wasn't asking for help on using Manjaro or KDE tools, but just an educated guess about what might not be present in Arch that is present in this related distribution to help me direct my hunting. As it is I am trying to get the verbose output of the xrandr command of the Manjaro instance with the screen rotated to see if those values can be used when I launch Arch (with XFCE4) to achieve rotation. If there are other suggestions on settings I can look up and try to get into the Arch instance I would be happy to hear them. Cheers,

Offline

#12 2017-01-20 16:37:38

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,442
Website

Re: Modesetting Problem on GPDWIN

My point is why as usk to hazard guesses (hazardously, haphazardly, or otherwise) or to make assumptions as V1del has been lead to do.  Just go ask the people would would know for sure.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#13 2017-01-26 08:58:29

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

Re: Modesetting Problem on GPDWIN

brittanderson,

are you using xf86-video-intel ?

If so, try removing it so X will use modesetting instead.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

Board footer

Powered by FluxBB