External USB C Monitor not working
#21
(10-18-2020, 08:50 PM)wdt Wrote: Err, did you actually do this?
sudo pacman -Syyu linux-pinebookpro linux-pinebookpro-headers
A normal update does NOT install this, must be explicitly installed
Yes, I did it. It is a downgrade, not an upgrade. If someone install these, they will NOT BE UPDATED with a normal Manjaro release update, they would have to explicitly install linux and linux-headers, then reboot, check that HDMI is not working again, then install again linux-pinebookpro and linux-pinebookpro-headers. After 20.10 I had to reinstall linux-pinebookpro from the root account, because KDE didn't start. The Linux experience Big Grin
  Reply
#22
Hi, I also have a similar problem, just got the pinebook pro with Manjaro, external keyboard and mouse plug & Play no problem but USB C to HDMI no signal recognized by the monitor.

Tried flipping the USBC plug, tried plugging in the cables before powering up, i've tried two different monitors 1080p and 1440p i've also tried two different adaptors one which comes with the pinephone but that also doesn't work.

So I don't know who should I be looking at, installing drivers?

Im new to Linux.

Kernel 5.9.1-3
KDE Plasma 5.20.1
  Reply
#23
(11-13-2020, 12:44 PM)Laksh515 Wrote: i've also tried two different adaptors one which comes with the pinephone but that also doesn't work.

That is *guaranteed* not to work: there are different signals that can be carried over a USB-C port.
- Pinebook Pro can only exclusively send its video out as Display Port (DP)
- Pinephone will exclusively send its video out as HDMI (edit: I was wrong, see maxjrh's answer, there's a HDMI-to-DP converter)
(- And for the record, Apple Macs and some Intel-based laptops will output Thunderbird, which is a mix of Display port and PCIe multiplexed on the same connector).

A USB-C video out adapter that you have for either is guaranteed to not work with the other.
(Unless you find a special dock that can accept both DP and HDMI)

For the Pinebook Pro, you specifically need a dock that works with DP (and features it's own internal DP to HDMI converter if you need).

(11-13-2020, 12:44 PM)Laksh515 Wrote: but USB C to HDMI no signal recognized by the monitor.

For the monitor to work, you need:
- a dock that is designed to work with Dispaly Port signals as that's what the Pinebook Pro's USB-C emits. (See above) - check no-name asian docks that list Mac Books and PC laptops on their compatibility list. The Docking Deck by Pine64 will also support the correct standard.
- a video mode on the Pinebook Pro that isn't to high resolution/high refresh rate. (4k60p would require using 4 lanes for DP. Whereas most USB-C Docks expect 2 lanes only used for DP and the remaining 2 lanes used to USB3) If you have a 4K monitor, try setting a lower refresh rate in the video-output setting of your Linux.
- trying the other way around (Pinebook Pro has trouble negociating which 2 lanes are used for what)
- luck and trial and errors: the drivers are still actively being developed and sometime fail (maybe you're just running a bad version of the kernel (maybe it will get fixed in 5.9.6 or some other update), or maybe you just hit a weird bug in the order in which you plugged everything). With the Docking Deck being released soon, I expect things to get better.
  Reply
#24
This is incorrect. HDMI over USB-C alt-mode is a completely dead standard. Nowadays it is virtually impossible to find devices or cables that support it.
(11-15-2020, 07:30 PM)DrYak Wrote: - Pinephone will exclusively send its video out as HDMI
The processor on the pinephone does that, but the pinephone includes a converter chip that turns it into a DP alt-mode signal.

@Laksh515 I recommend you to read the release posts on the manjaro forum (https://forum.manjaro.org/c/arm/100)
HDMI not working is a known issue of the mainline kernel. It is recommended to install linux-pinebookpro if you need that feature.
  Reply
#25
(08-24-2020, 01:33 PM)wdt Wrote: You didn't say,,,, manjaro???.. A known regression
sudo pacman -Syyu linux-pinebookpro linux-pinebookpro-headers
to get tsy's kernel

Went to try, but this gives me pause:

Code:
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
:: linux-pinebookpro and linux are in conflict. Remove linux? [y/N]

Safe to proceed?
  Reply
#26
(11-13-2020, 12:44 PM)Laksh515 Wrote: Hi, I also have a similar problem, just got the pinebook pro with Manjaro, external keyboard and mouse plug & Play no problem but USB C to HDMI no signal recognized by the monitor.

Tried flipping the USBC plug, tried plugging in the cables before powering up, i've tried two different monitors 1080p and 1440p i've also tried two different adaptors one which comes with the pinephone but that also doesn't work.

So I don't know who should I be looking at, installing drivers?

Im new to Linux.

Kernel 5.9.1-3
KDE Plasma 5.20.1

Did you get this resolved? I've got the same problem.
  Reply
#27
I have Pinebook Pro connected to LG 27UD88-W monitor via USB-C to DisplayPort cable. I'm running Manjaro ARM 21.06 (Linux kernel 5.12) with Sway WM. The problem is that I can't run 4K @ 30Hz properly (right 1/3 of the screen is distorted). FullHD (1920 x 1080) and WQHD (2560 x 1440) works just fine. I have also tested X11 based Linux distros and the issue is the same. Anybody had luck to run 4K @ 30Hz video output on the external monitor?

This is the similiar thread, but it is closed.

I will be more than happy to provide more details.

Code:
$ dmesg | grep cdn-dp
[    5.395293] cdn-dp fec00000.dp: Direct firmware load for rockchip/dptx.bin failed with error -2
[    5.395302] cdn-dp fec00000.dp: Falling back to sysfs fallback for: rockchip/dptx.bin
[   69.610270] cdn-dp fec00000.dp: [drm:cdn_dp_request_firmware [rockchipdrm]] *ERROR* failed to request firmware: -11
[  101.919603] cdn-dp fec00000.dp: [drm:cdn_dp_pd_event_work [rockchipdrm]] Connected, not enabled. Enabling cdn
[  549.569829] cdn-dp fec00000.dp: [drm:cdn_dp_check_sink_connection [rockchipdrm]] *ERROR* Get sink capability timed out
[  549.570998] cdn-dp fec00000.dp: [drm:cdn_dp_encoder_enable [rockchipdrm]] *ERROR* Failed to enable encoder -19
  Reply
#28
I have an Accell USB-C to DisplayPort 1.4 Bidirectional Cable. Not a dock, it's a single-purpose cable that should use all 4 lanes. It's rated to 8K (7680x4320)@60Hz, 4K@120Hz, and 1080p@240Hz.

I'm attaching an Eizo Flexscan EV2730Q square monitor.

OS is the latest Manjaro update.

The monitor's native resolution is 1920x1920, and it can go to 2048x2048 as well. The odd thing is that 2048x2048 @ 59.4 Hz works, 1920x1920 @ 29.9 Hz works, but 1920x1920 @ 59.9 Hz just gives a black screen with "DisplayPort Signal Error". Flipping the connector over doesn't make any difference.

Any ideas? Hopefully it's a software problem and I can eventually use the monitor at its native resolution (which is sharper) at its full refresh rate.
  Reply
#29
@Dendrocalamus64
What DE (KDE/Gnome/Mate/Sway) are you using?
Could you paste the output of the following command while connecting the external display?
Code:
$ dmesg | grep cdn-dp
  Reply
#30
EDIT: Today dmesg is giving something:
Code:
[  116.626032] cdn-dp fec00000.dp: [drm:cdn_dp_pd_event_work [rockchipdrm]] Connected with sink. Re-train link
[  117.851634] usb 7-1: new full-speed USB device number 4 using xhci-hcd
[  118.034760] usb 7-1: New USB device found, idVendor=06c4, idProduct=c100, bcdDevice= 1.24
[  118.034783] usb 7-1: New USB device strings: Mfr=1, Product=2, SerialNumber=5
[  118.034796] usb 7-1: Product: USB-C To DisplayPort Adapter
[  118.034807] usb 7-1: Manufacturer: BizLink Technology Inc.
[  118.034818] usb 7-1: SerialNumber: 101

---------------
It's Xfce, and dmesg doesn't give much to go on.
Code:
$ sudo dmesg --clear
$ dmesg --follow | grep cdn-dp
[656498.179883] cdn-dp fec00000.dp: [drm:cdn_dp_pd_event_work [rockchipdrm]] Not connected. Disabling cdn
[656498.650125] cdn-dp fec00000.dp: [drm:cdn_dp_pd_event_work [rockchipdrm]] Connected, not enabled. Enabling cdn
I tried another brand of USB-C -> DisplayPort cable and the behavior is the same.

It works the same using xrandr instead of the Xfce Display control panel.
Code:
$ xrandr --output DP-1 --mode 1920x1920 --rate 59.94   # DisplayPort Signal Error
$ xrandr --output DP-1 --mode 1920x1920 --rate 29.94   # Back on again

The X server defaults to the "preferred" refresh rate of 59.94 Hz. To make the monitor work on the sddm login screen, we can change that:
https://blog.victormendonca.com/2018/06/...e-screens/
(the reboot mentioned at the end isn't necessary; it's sufficient to log out & back in to Xfce.)

Code:
xrandr --output DP-1 --mode 1920x1920 --rate 29.94 --primary
All I had to add to /usr/share/sddm/scripts/Xsetup .

Todo: write a file for /usr/share/X11/xorg.conf.d/ so it will apply across all display managers.

The framebuffer video is another matter. Judging by the stretched M at startup & shutdown, it's defaulting to 1920x1080. Setting the resolution on the kernel command line in /boot/extlinux/extlinux.conf seems to affect it since framebuffer video on the monitor stops working, but so far I haven't found a working mode for 1920x1920. Tried IIRC
Code:
video=DP-1:1920x1920@29.94
video=DP-1:1920x1920@59.94
video=DP-1:1920x1920@60
video=DP-1:1920x1920
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Slackware Linux working on PBP vxzero 0 603 06-05-2024, 04:30 PM
Last Post: vxzero
  No external monitorvia USB-C over Dockingstation bnjmnhg 14 5,452 11-28-2023, 01:35 PM
Last Post: zaius
  Manjaro ARM: enabling external monitors & fixing Broadcom WiFi after updating trifleneurotic 2 1,632 11-14-2023, 10:57 AM
Last Post: trifleneurotic
  USB 3 port not working with Armbian zaius 3 1,690 11-13-2023, 01:54 PM
Last Post: zaius
  Sleep and external display - Are there any options? chris88233 7 3,006 09-04-2023, 09:03 PM
Last Post: wdt
  Camera not working with Cheese cypresstwist 1 1,682 08-18-2023, 02:02 AM
Last Post: juliamenendez
  5GHz wifi not working snorwood 11 7,483 01-16-2023, 03:41 PM
Last Post: ehcorn
  Pinebook Pro wifi not working Queliffrel 1 1,688 11-30-2022, 06:30 AM
Last Post: myself600
  Resume from suspend not working after flashing Tow-Boot to SPI xp19375 3 2,510 10-31-2022, 10:14 AM
Last Post: wdt
  Webcam not working in Manjaro with Cheese, but works in Armbian petaramesh 1 1,461 09-30-2022, 10:09 AM
Last Post: crazyquark

Forum Jump:


Users browsing this thread: 3 Guest(s)