Jump to content

Orange Pi PC, mainline, Ubuntu xenial dev. Can't change screen resolution. No matter what I tried.


Patrick Michaels

Recommended Posts

Edit: Please see my second post in this thread. I think I've identified exactly what my problem is, please see my second post in the thread. I need to change the display mode to something that my own TV is able to display. But no matter what I've tried, I haven't been able to change the display mode. How do you do it? 

 

---- 

 

Hello,

 

I just got an Orange Pi PC.

I installed using the Armbian_5.32.170629_Orangepipc_Ubuntu_xenial_dev_4.11.7.7z image.

I'm able to log in through SSH, and I've installed all updates (apt-get update && apt-get upgrade)

 

I have the Orange Pi PC connected to my HDMI television. The screen appears blank, nothing appears on it at any time.

 

I tried experimenting with the disp_mode option in armbian-config -> System -> Bootenv.

I tried "disp_mode=1280x720p60" and "disp_mode=640x480p60", neither have worked. The default didn't work either.

 

edit: The screen is still blank. Since I posted, I've also tried putting these


setenv video-mode sunxi:1280x720-24@60,monitor=dvi,hpd=1,edid=1
disp.screen0_output_mode=1280x720p60

in /boot/armbianEnv.txt, and then running "sudo mkimage -C none -A arm -T script -d /boot/boot.cmd /boot/boot.scr" and rebooting a few times.

I also put 'saveenv' at the end of /boot/boot.cmd. None of this seems to have changed anything.

 

What would you suggest I try doing next?

 

------- beyond this line, information taken from my Orange PI PC: -------

 

Kernel version: Linux orangepipc 4.11.12-sun8i #16 SMP Tue Nov 7 00:24:13 CET 2017 armv7l armv7l armv7l GNU/Linux

dmesg:

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.11.12-sun8i (root@armbian) (gcc version 7.1.1 20170707 (Linaro GCC 7.1-2017.08) ) #16 SMP Tue Nov 7 00:24:13 CET 2017
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=50c5387d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: Xunlong Orange Pi PC
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] cma: Reserved 16 MiB at 0x7cc00000
[    0.000000] On node 0 totalpages: 253952
[    0.000000] free_area_init_node: node 0, pgdat c0b5fd80, node_mem_map ef740000
[    0.000000]   Normal zone: 1728 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 196608 pages, LIFO batch:31
[    0.000000]   HighMem zone: 57344 pages, LIFO batch:15
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: Using PSCI v0.1 Function IDs from DT
[    0.000000] percpu: Embedded 16 pages/cpu @ef6ec000 s34572 r8192 d22772 u65536
[    0.000000] pcpu-alloc: s34572 r8192 d22772 u65536 alloc=16*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 252224
[    0.000000] Kernel command line: root=UUID=37031002-c65e-4113-b451-f4b61a52ca54 rootwait rootfstype=ext4 console=tty1 console=ttyS0,115200 hdmi.audio=EDID:0 disp.screen0_output_mode=640x480p60 panic=10 consoleblank=0 loglevel=1 ubootpart=5fabfc8f-01 ubootsource=mmc   sunxi_ve_mem_reserve=0 sunxi_g2d_mem_reserve=0 sunxi_fb_mem_reserve=16 cgroup_enable=memory swapaccount=1
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] allocated 1015808 bytes of page_ext
[    0.000000] Memory: 971892K/1015808K available (6144K kernel code, 386K rwdata, 2392K rodata, 1024K init, 328K bss, 27532K reserved, 16384K cma-reserved, 212980K highmem)
[    0.000000] Virtual kernel memory layout:
                   vector  : 0xffff0000 - 0xffff1000   (   4 kB)
                   fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
                   vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
                   lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
                   pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
                   modules : 0xbf800000 - 0xbfe00000   (   6 MB)
                     .text : 0xc0008000 - 0xc0700000   (7136 kB)
                     .init : 0xc0a00000 - 0xc0b00000   (1024 kB)
                     .data : 0xc0b00000 - 0xc0b60980   ( 387 kB)
                      .bss : 0xc0b62000 - 0xc0bb40b0   ( 329 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]     Build-time adjustment of leaf fanout to 32.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000000] arm_arch_timer: Architected cp15 timer(s) running at 24.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000005] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000013] Switching to timer-based delay loop, resolution 41ns
[    0.000176] Console: colour dummy device 80x30
[    0.000188] console [tty1] enabled
[    0.000209] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.000219] pid_max: default: 32768 minimum: 301
[    0.000387] Security Framework initialized
[    0.000397] AppArmor: AppArmor disabled by boot time parameter
[    0.000442] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000449] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.001095] CPU: Testing write buffer coherency: ok
[    0.001476] CPU0: update cpu_capacity 1024
[    0.001483] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.001799] Setting up static identity map for 0x40100000 - 0x4010004c
[    0.002497] smp: Bringing up secondary CPUs ...
[    0.013099] CPU1: update cpu_capacity 1024
[    0.013104] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.023742] CPU2: update cpu_capacity 1024
[    0.023747] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.034355] CPU3: update cpu_capacity 1024
[    0.034361] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.034424] smp: Brought up 1 node, 4 CPUs
[    0.034431] SMP: Total of 4 processors activated (192.00 BogoMIPS).
[    0.034434] CPU: All CPU(s) started in HYP mode.
[    0.034436] CPU: Virtualization extensions available.
[    0.035297] devtmpfs: initialized
[    0.041046] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.041277] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.041292] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.042083] xor: measuring software checksum speed
[    0.134194]    arm4regs  :  1261.600 MB/sec
[    0.234238]    8regs     :   750.000 MB/sec
[    0.334290]    32regs    :   768.000 MB/sec
[    0.434336]    neon      :  1282.400 MB/sec
[    0.434340] xor: using function: neon (1282.400 MB/sec)
[    0.434429] pinctrl core: initialized pinctrl subsystem
[    0.435275] NET: Registered protocol family 16
[    0.437588] DMA: preallocated 2048 KiB pool for atomic coherent allocations
[    0.438792] cpuidle: using governor ladder
[    0.438918] cpuidle: using governor menu
[    0.439619] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.439623] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.624562] raid6: int32x1  gen()   189 MB/s
[    0.794585] raid6: int32x1  xor()   160 MB/s
[    0.964699] raid6: int32x2  gen()   255 MB/s
[    1.134879] raid6: int32x2  xor()   198 MB/s
[    1.304999] raid6: int32x4  gen()   258 MB/s
[    1.475036] raid6: int32x4  xor()   193 MB/s
[    1.645149] raid6: int32x8  gen()   247 MB/s
[    1.815145] raid6: int32x8  xor()   172 MB/s
[    1.985255] raid6: neonx1   gen()   494 MB/s
[    2.155299] raid6: neonx1   xor()   366 MB/s
[    2.325413] raid6: neonx2   gen()   663 MB/s
[    2.495416] raid6: neonx2   xor()   478 MB/s
[    2.665552] raid6: neonx4   gen()   796 MB/s
[    2.835623] raid6: neonx4   xor()   533 MB/s
[    3.005714] raid6: neonx8   gen()   703 MB/s
[    3.175760] raid6: neonx8   xor()   485 MB/s
[    3.175765] raid6: using algorithm neonx4 gen() 796 MB/s
[    3.175768] raid6: .... xor() 533 MB/s, rmw enabled
[    3.175771] raid6: using intx1 recovery algorithm
[    3.175984] reg-fixed-voltage usb0-vbus: could not find pctldev for node /soc/pinctrl@01f02c00/usb0_vbus_pin@0, deferring probe
[    3.177092] SCSI subsystem initialized
[    3.177252] libata version 3.00 loaded.
[    3.177484] usbcore: registered new interface driver usbfs
[    3.177538] usbcore: registered new interface driver hub
[    3.177614] usbcore: registered new device driver usb
[    3.177796] media: Linux media interface: v0.10
[    3.177837] Linux video capture interface: v2.00
[    3.177898] pps_core: LinuxPPS API ver. 1 registered
[    3.177902] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    3.177917] PTP clock support registered
[    3.178254] Advanced Linux Sound Architecture Driver Initialized.
[    3.179377] clocksource: Switched to clocksource arch_sys_counter
[    3.179523] VFS: Disk quotas dquot_6.6.0
[    3.179578] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    3.180187] simple-framebuffer 7e000000.framebuffer: framebuffer at 0x7e000000, 0x3f4800 bytes, mapped to 0xf0a80000
[    3.180196] simple-framebuffer 7e000000.framebuffer: format=x8r8g8b8, mode=1920x540x32, linelength=7680
[    3.199053] Console: switching to colour frame buffer device 240x33
[    3.217288] simple-framebuffer 7e000000.framebuffer: fb0: simplefb registered!
[    3.225112] NET: Registered protocol family 2
[    3.225634] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    3.225720] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    3.225831] TCP: Hash tables configured (established 8192 bind 8192)
[    3.225919] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    3.225973] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    3.226178] NET: Registered protocol family 1
[    3.226566] RPC: Registered named UNIX socket transport module.
[    3.226570] RPC: Registered udp transport module.
[    3.226573] RPC: Registered tcp transport module.
[    3.226576] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    3.226814] Trying to unpack rootfs image as initramfs...
[    3.520024] Freeing initrd memory: 5012K
[    3.521968] audit: initializing netlink subsys (disabled)
[    3.522100] audit: type=2000 audit(3.510:1): state=initialized audit_enabled=0 res=1
[    3.522271] Initialise system trusted keyrings
[    3.522392] workingset: timestamp_bits=14 max_order=18 bucket_order=4
[    3.529716] zbud: loaded
[    3.532770] NFS: Registering the id_resolver key type
[    3.532797] Key type id_resolver registered
[    3.532800] Key type id_legacy registered
[    3.532811] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    3.532814] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    3.533811] JFS: nTxBlock = 7760, nTxLock = 62080
[    3.542065] SGI XFS with ACLs, security attributes, realtime, no debug enabled
[    3.549335] Key type asymmetric registered
[    3.549443] bounce: pool size: 64 pages
[    3.549504] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[    3.549633] io scheduler noop registered
[    3.549637] io scheduler deadline registered
[    3.550032] io scheduler cfq registered (default)
[    3.550037] io scheduler mq-deadline registered
[    3.554693] sun8i-h3-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    3.556449] sun8i-h3-r-pinctrl 1f02c00.pinctrl: initialized sunXi PIO driver
[    3.608571] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    3.611159] console [ttyS0] disabled
[    3.631309] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 41, base_baud = 1500000) is a U6_16550A
[    3.631357] console [ttyS0] enabled
[    3.635226] brd: module loaded
[    3.641528] loop: module loaded
[    3.642817] libphy: Fixed MDIO Bus: probed
[    3.644268] usbcore: registered new interface driver catc
[    3.644313] usbcore: registered new interface driver kaweth
[    3.644317] pegasus: v0.9.3 (2013/04/25), Pegasus/Pegasus II USB Ethernet driver
[    3.644360] usbcore: registered new interface driver pegasus
[    3.644414] usbcore: registered new interface driver rtl8150
[    3.644476] usbcore: registered new interface driver r8152
[    3.644519] usbcore: registered new interface driver lan78xx
[    3.644576] usbcore: registered new interface driver asix
[    3.644619] usbcore: registered new interface driver ax88179_178a
[    3.644661] usbcore: registered new interface driver cdc_ether
[    3.644703] usbcore: registered new interface driver cdc_eem
[    3.644752] usbcore: registered new interface driver dm9601
[    3.644795] usbcore: registered new interface driver sr9700
[    3.644853] usbcore: registered new interface driver CoreChips
[    3.644912] usbcore: registered new interface driver smsc75xx
[    3.644973] usbcore: registered new interface driver smsc95xx
[    3.645015] usbcore: registered new interface driver gl620a
[    3.645058] usbcore: registered new interface driver net1080
[    3.645108] usbcore: registered new interface driver plusb
[    3.645152] usbcore: registered new interface driver rndis_host
[    3.645196] usbcore: registered new interface driver cdc_subset
[    3.645240] usbcore: registered new interface driver MOSCHIP usb-ethernet driver
[    3.645306] usbcore: registered new interface driver cdc_ncm
[    3.645351] usbcore: registered new interface driver huawei_cdc_ncm
[    3.645394] usbcore: registered new interface driver cdc_mbim
[    3.645403] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.645406] ehci-platform: EHCI generic platform driver
[    3.645555] ehci-platform 1c1a000.usb: EHCI Host Controller
[    3.645580] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
[    3.646196] ehci-platform 1c1a000.usb: irq 27, io mem 0x01c1a000
[    3.669419] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[    3.669690] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    3.669697] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.669702] usb usb1: Product: EHCI Host Controller
[    3.669708] usb usb1: Manufacturer: Linux 4.11.12-sun8i ehci_hcd
[    3.669713] usb usb1: SerialNumber: 1c1a000.usb
[    3.670252] hub 1-0:1.0: USB hub found
[    3.670294] hub 1-0:1.0: 1 port detected
[    3.670874] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    3.670892] ohci-platform: OHCI generic platform driver
[    3.671043] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[    3.671066] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2
[    3.671199] ohci-platform 1c1a400.usb: irq 28, io mem 0x01c1a400
[    3.743624] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
[    3.743631] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.743637] usb usb2: Product: Generic Platform OHCI controller
[    3.743642] usb usb2: Manufacturer: Linux 4.11.12-sun8i ohci_hcd
[    3.743647] usb usb2: SerialNumber: 1c1a400.usb
[    3.744117] hub 2-0:1.0: USB hub found
[    3.744153] hub 2-0:1.0: 1 port detected
[    3.744742] usbcore: registered new interface driver cdc_wdm
[    3.744826] usbcore: registered new interface driver usb-storage
[    3.745508] sun6i-rtc 1f00000.rtc: rtc core: registered rtc-sun6i as rtc0
[    3.745514] sun6i-rtc 1f00000.rtc: RTC enabled
[    3.745561] i2c /dev entries driver
[    3.748895] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    3.750063] sunxi-mmc 1c0f000.mmc: Got CD GPIO
[    3.809405] sunxi-mmc 1c0f000.mmc: base:0xf13d2000 irq:25
[    3.810305] ledtrig-cpu: registered to indicate activity on CPUs
[    3.810378] hidraw: raw HID events driver (C) Jiri Kosina
[    3.810534] usbcore: registered new interface driver usbhid
[    3.810537] usbhid: USB HID core driver
[    3.810989] Initializing XFRM netlink socket
[    3.811680] NET: Registered protocol family 10
[    3.828718] Segment Routing with IPv6
[    3.828797] NET: Registered protocol family 17
[    3.828828] NET: Registered protocol family 15
[    3.828876] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    3.828917] 8021q: 802.1Q VLAN Support v1.8
[    3.828954] Key type dns_resolver registered
[    3.829318] Registering SWP/SWPB emulation handler
[    3.829956] registered taskstats version 1
[    3.829960] Loading compiled-in X.509 certificates
[    3.830032] zswap: loaded using pool lzo/zbud
[    3.831494] Btrfs loaded, crc32c=crc32c-generic
[    3.839011] Key type encrypted registered
[    3.844868] ehci-platform 1c1b000.usb: EHCI Host Controller
[    3.844900] ehci-platform 1c1b000.usb: new USB bus registered, assigned bus number 3
[    3.845118] ehci-platform 1c1b000.usb: irq 29, io mem 0x01c1b000
[    3.856568] mmc0: host does not support reading read-only switch, assuming write-enable
[    3.858479] mmc0: new high speed SDHC card at address 59b4
[    3.859081] mmcblk0: mmc0:59b4 00000 7.48 GiB 
[    3.860321]  mmcblk0: p1
[    3.869434] ehci-platform 1c1b000.usb: USB 2.0 started, EHCI 1.00
[    3.869617] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002
[    3.869624] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.869629] usb usb3: Product: EHCI Host Controller
[    3.869635] usb usb3: Manufacturer: Linux 4.11.12-sun8i ehci_hcd
[    3.869640] usb usb3: SerialNumber: 1c1b000.usb
[    3.870151] hub 3-0:1.0: USB hub found
[    3.870186] hub 3-0:1.0: 1 port detected
[    3.870791] ehci-platform 1c1c000.usb: EHCI Host Controller
[    3.870822] ehci-platform 1c1c000.usb: new USB bus registered, assigned bus number 4
[    3.871037] ehci-platform 1c1c000.usb: irq 31, io mem 0x01c1c000
[    3.899393] ehci-platform 1c1c000.usb: USB 2.0 started, EHCI 1.00
[    3.899569] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002
[    3.899576] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.899581] usb usb4: Product: EHCI Host Controller
[    3.899586] usb usb4: Manufacturer: Linux 4.11.12-sun8i ehci_hcd
[    3.899591] usb usb4: SerialNumber: 1c1c000.usb
[    3.900093] hub 4-0:1.0: USB hub found
[    3.900126] hub 4-0:1.0: 1 port detected
[    3.900671] ehci-platform 1c1d000.usb: EHCI Host Controller
[    3.900694] ehci-platform 1c1d000.usb: new USB bus registered, assigned bus number 5
[    3.900862] ehci-platform 1c1d000.usb: irq 33, io mem 0x01c1d000
[    3.929388] ehci-platform 1c1d000.usb: USB 2.0 started, EHCI 1.00
[    3.929562] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002
[    3.929568] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.929573] usb usb5: Product: EHCI Host Controller
[    3.929579] usb usb5: Manufacturer: Linux 4.11.12-sun8i ehci_hcd
[    3.929583] usb usb5: SerialNumber: 1c1d000.usb
[    3.930074] hub 5-0:1.0: USB hub found
[    3.930104] hub 5-0:1.0: 1 port detected
[    3.930628] ohci-platform 1c1b400.usb: Generic Platform OHCI controller
[    3.930649] ohci-platform 1c1b400.usb: new USB bus registered, assigned bus number 6
[    3.930769] ohci-platform 1c1b400.usb: irq 30, io mem 0x01c1b400
[    4.003536] usb usb6: New USB device found, idVendor=1d6b, idProduct=0001
[    4.003543] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.003548] usb usb6: Product: Generic Platform OHCI controller
[    4.003554] usb usb6: Manufacturer: Linux 4.11.12-sun8i ohci_hcd
[    4.003558] usb usb6: SerialNumber: 1c1b400.usb
[    4.004062] hub 6-0:1.0: USB hub found
[    4.004097] hub 6-0:1.0: 1 port detected
[    4.004640] ohci-platform 1c1c400.usb: Generic Platform OHCI controller
[    4.004661] ohci-platform 1c1c400.usb: new USB bus registered, assigned bus number 7
[    4.004793] ohci-platform 1c1c400.usb: irq 32, io mem 0x01c1c400
[    4.073536] usb usb7: New USB device found, idVendor=1d6b, idProduct=0001
[    4.073543] usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.073548] usb usb7: Product: Generic Platform OHCI controller
[    4.073554] usb usb7: Manufacturer: Linux 4.11.12-sun8i ohci_hcd
[    4.073559] usb usb7: SerialNumber: 1c1c400.usb
[    4.074123] hub 7-0:1.0: USB hub found
[    4.074154] hub 7-0:1.0: 1 port detected
[    4.074704] ohci-platform 1c1d400.usb: Generic Platform OHCI controller
[    4.074727] ohci-platform 1c1d400.usb: new USB bus registered, assigned bus number 8
[    4.074862] ohci-platform 1c1d400.usb: irq 34, io mem 0x01c1d400
[    4.143539] usb usb8: New USB device found, idVendor=1d6b, idProduct=0001
[    4.143546] usb usb8: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.143551] usb usb8: Product: Generic Platform OHCI controller
[    4.143556] usb usb8: Manufacturer: Linux 4.11.12-sun8i ohci_hcd
[    4.143561] usb usb8: SerialNumber: 1c1d400.usb
[    4.144096] hub 8-0:1.0: USB hub found
[    4.144128] hub 8-0:1.0: 1 port detected
[    4.144752] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[    4.145084] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[    4.145093] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 9
[    4.145291] usb usb9: New USB device found, idVendor=1d6b, idProduct=0002
[    4.145298] usb usb9: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.145303] usb usb9: Product: MUSB HDRC host driver
[    4.145308] usb usb9: Manufacturer: Linux 4.11.12-sun8i musb-hcd
[    4.145313] usb usb9: SerialNumber: musb-hdrc.1.auto
[    4.145925] hub 9-0:1.0: USB hub found
[    4.145960] hub 9-0:1.0: 1 port detected
[    4.146729] of_cfs_init
[    4.146811] of_cfs_init: OK
[    4.146918] vcc3v0: disabling
[    4.146924] vcc5v0: disabling
[    4.146929] usb0-vbus: disabling
[    4.146932] ALSA device list:
[    4.146934]   No soundcards found.
[    4.148452] Freeing unused kernel memory: 1024K
[    4.210247] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[    4.210737] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[    4.215005] random: udevadm: uninitialized urandom read (16 bytes read)
[    4.259512] usb 4-1: new high-speed USB device number 2 using ehci-platform
[    4.275069] random: udevadm: uninitialized urandom read (16 bytes read)
[    4.276706] random: udevadm: uninitialized urandom read (16 bytes read)
[    4.277113] random: udevadm: uninitialized urandom read (16 bytes read)
[    4.277527] random: udevadm: uninitialized urandom read (16 bytes read)
[    4.277935] random: udevadm: uninitialized urandom read (16 bytes read)
[    4.278380] random: udevadm: uninitialized urandom read (16 bytes read)
[    4.278752] random: udevadm: uninitialized urandom read (16 bytes read)
[    4.477828] usb 4-1: New USB device found, idVendor=1737, idProduct=0078
[    4.477838] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    4.477844] usb 4-1: Product: Linksys RangePlus Wireless Network USB Adapter
[    4.477849] usb 4-1: Manufacturer: Cisco-Linksys LLC
[    4.559432] usb 8-1: new low-speed USB device number 2 using ohci-platform
[    4.823449] usb 8-1: New USB device found, idVendor=045e, idProduct=00f9
[    4.823460] usb 8-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    4.823466] usb 8-1: Product: Microsoft Wireless Desktop Receiver 3.1
[    4.823471] usb 8-1: Manufacturer: Microsft
[    4.941559] input: Microsft Microsoft Wireless Desktop Receiver 3.1 as /devices/platform/soc/1c1d400.usb/usb8/8-1/8-1:1.0/0003:045E:00F9.0001/input/input0
[    5.009720] microsoft 0003:045E:00F9.0001: input,hidraw0: USB HID v1.11 Keyboard [Microsft Microsoft Wireless Desktop Receiver 3.1] on usb-1c1d400.usb-1/input0
[    5.009795] microsoft 0003:045E:00F9.0002: fixing up Microsoft Wireless Receiver Model 1028 report descriptor
[    5.025226] input: Microsft Microsoft Wireless Desktop Receiver 3.1 as /devices/platform/soc/1c1d400.usb/usb8/8-1/8-1:1.1/0003:045E:00F9.0002/input/input1
[    5.089594] microsoft 0003:045E:00F9.0002: input,hidraw1: USB HID v1.11 Mouse [Microsft Microsoft Wireless Desktop Receiver 3.1] on usb-1c1d400.usb-1/input1
[    5.517909] sunxi-mmc 1c0f000.mmc: smc 0 err, cmd 18, RD DTO !!
[    5.517949] sunxi-mmc 1c0f000.mmc: data error, sending stop command
[    5.518010] mmcblk0: timed out sending r/w cmd command, card status 0x900
[    5.838687] random: fast init done
[    6.008398] EXT4-fs (mmcblk0p1): mounted filesystem with writeback data mode. Opts: (null)
[    6.510902] systemd[1]: System time before build time, advancing clock.
[    6.541371] systemd[1]: systemd 229 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN)
[    6.541865] systemd[1]: Detected architecture arm.
[    6.610269] systemd[1]: Set hostname to <orangepipc>.
[    7.023974] sunxi-mmc 1c0f000.mmc: smc 0 err, cmd 18, RD DTO !!
[    7.024020] sunxi-mmc 1c0f000.mmc: data error, sending stop command
[    7.024075] mmcblk0: timed out sending r/w cmd command, card status 0x900
[    7.424401] systemd[1]: Listening on fsck to fsckd communication Socket.
[    7.449732] systemd[1]: Listening on Syslog Socket.
[    7.479508] systemd[1]: Reached target Remote File Systems (Pre).
[    7.509767] systemd[1]: Listening on Journal Audit Socket.
[    7.539933] systemd[1]: Created slice User and Session Slice.
[    7.569634] systemd[1]: Listening on udev Control Socket.
[    7.600216] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[    8.285193] EXT4-fs (mmcblk0p1): re-mounted. Opts: commit=600,errors=remount-ro
[    9.469037] input: r_gpio_keys as /devices/platform/r_gpio_keys/input/input2
[    9.533300] thermal thermal_zone0: failed to read out thermal zone (-16)
[    9.724525] sun4i-codec 1c22c00.codec: Codec <-> 1c22c00.codec mapping ok
[    9.832307] rc rc0: sunxi-ir as /devices/platform/soc/1f02000.ir/rc/rc0
[    9.837662] Registered IR keymap rc-empty
[    9.837989] input: sunxi-ir as /devices/platform/soc/1f02000.ir/rc/rc0/input3
[    9.838129] sunxi-ir 1f02000.ir: initialized sunXi IR driver
[    9.880263] lirc_dev: IR Remote Control driver registered, major 244
[    9.896406] mousedev: PS/2 mouse device common for all mice
[    9.911563] rc rc0: lirc_dev: driver ir-lirc-codec (sunxi-ir) registered at minor = 0
[    9.911576] IR LIRC bridge handler initialized
[   10.099477] usb 4-1: reset high-speed USB device number 2 using ehci-platform
[   10.299509] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 3070, rev 0201 detected
[   10.354168] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 0005 detected
[   10.355002] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   10.356291] usbcore: registered new interface driver rt2800usb
[   10.369922] rt2800usb 4-1:1.0 wlx98fc11ca00b2: renamed from wlan0
[   10.910102] systemd-journald[328]: Received request to flush runtime journal from PID 1
[   10.960265] libphy: 1c30000.ethernet: probed
[   10.964606] Generic PHY 1c30000.ethernet-0:01: attached PHY driver [Generic PHY] (mii_bus:phy_addr=1c30000.ethernet-0:01, irq=-1)
[   10.964618] sun8i-emac 1c30000.ethernet: device MAC address slot 0 02:81:31:1b:c3:da
[   10.965884] sun8i-emac 1c30000.ethernet: device MAC address slot 1 33:33:00:00:00:01
[   10.965957] sun8i-emac 1c30000.ethernet: device MAC address slot 1 33:33:00:00:00:01
[   10.965962] sun8i-emac 1c30000.ethernet: device MAC address slot 2 01:00:5e:00:00:01
[   10.965975] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   11.131715] random: crng init done
[   12.673680] IPv6: ADDRCONF(NETDEV_UP): wlx98fc11ca00b2: link is not ready
[   12.673859] ieee80211 phy0: rt2x00lib_request_firmware: Info - Loading firmware file 'rt2870.bin'
[   12.676617] ieee80211 phy0: rt2x00lib_request_firmware: Info - Firmware detected - version: 0.36
[   13.039959] sun8i-emac 1c30000.ethernet eth0: Link is Up - 100Mbps/Full - flow control off
[   13.194067] IPv6: ADDRCONF(NETDEV_UP): wlx98fc11ca00b2: link is not ready
[   13.194114] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   13.194260] sun8i-emac 1c30000.ethernet: device MAC address slot 1 33:33:00:00:00:01
[   13.194266] sun8i-emac 1c30000.ethernet: device MAC address slot 2 01:00:5e:00:00:01
[   13.194271] sun8i-emac 1c30000.ethernet: device MAC address slot 3 33:33:ff:1b:c3:da
[   13.529563] IPv6: ADDRCONF(NETDEV_UP): wlx98fc11ca00b2: link is not ready
[   16.368152] wlx98fc11ca00b2: authenticate with 08:bd:43:a5:ae:54
[   16.407902] wlx98fc11ca00b2: send auth to 08:bd:43:a5:ae:54 (try 1/3)
[   16.410065] wlx98fc11ca00b2: authenticated
[   16.419501] wlx98fc11ca00b2: associate with 08:bd:43:a5:ae:54 (try 1/3)
[   16.422956] wlx98fc11ca00b2: RX AssocResp from 08:bd:43:a5:ae:54 (capab=0x411 status=0 aid=10)
[   16.431758] wlx98fc11ca00b2: associated
[   16.432149] IPv6: ADDRCONF(NETDEV_CHANGE): wlx98fc11ca00b2: link becomes ready
[  283.748868] sun8i-emac 1c30000.ethernet: device MAC address slot 1 33:33:00:00:00:01
[  283.748911] sun8i-emac 1c30000.ethernet: device MAC address slot 2 01:00:5e:00:00:01
[  283.748936] sun8i-emac 1c30000.ethernet: device MAC address slot 3 33:33:ff:1b:c3:da
 

 

Link to comment
Share on other sites

I've just tried attaching it to an other TV, and it does work and displays text on the screen with that TV.

The TV reports that the image coming from the OrangePiPC is 1360x768 at 60hz.

So that suggests that all my attempts to change the video/display mode actually did nothing at all.

 

It's not an acceptable solution to just use the other TV, it belongs to my roommate.

 

Can someone please explain how to change the video mode? I've read these pages https://docs.armbian.com/Hardware_Allwinner/#how-to-reconfigure-video-output https://docs.armbian.com/User-Guide_Fine-Tuning/ and tried adding things to /boot/armbianEnv.txt and /boot/boot.cmd and recompiling to boot.scr. What am I doing wrong?

 

Link to comment
Share on other sites

Thanks. I've selected 'next' kernel from armbian-config and it seems to be installing. 

Will this make it possible to change the screen resolution?

Edit: I've got a picture on the screen on my own TV now, thanks. But I'm not sure it's the right resolution. I might still need help on how to change the resolution. I'll do some testing and come back later

Link to comment
Share on other sites

I have kernel 4.13.11 now, and I have a picture on the screen with my own TV, but still pretty much the same problem. The resolution is too big and not all of the screen is visible. I can't see the commands I'm typing in because they're below the bottom of the screen, so I still have to use ssh.

 

How are you supposed to change the screen resolution? What are you meant to do? 

I've searched and searched and tried adding different things to /boot/armbianEnv.txt as instructed by pages from docs.armbian.com and even done some trial and error guess work, nothing is working, I'm completely stuck.

Link to comment
Share on other sites

4.13.11 autodetect resolution. This means it asks your TV for it. Check TV settings first before you want to explore advanced settings (note that changes will come into action after second boot) at armbian. And you are in a development area which means things might not be developed, they certainly are not well tested and 100% not aligned with documentation. Bottom line. Not for end users. You still are welcome to explore but expect problems.

Link to comment
Share on other sites

On ‎2017‎년 ‎11‎월 ‎8‎일 at 5:21 AM, Igor said:

4.13.11 autodetect resolution. This means it asks your TV for it. Check TV settings first before you want to explore advanced settings (note that changes will come into action after second boot) at armbian. And you are in a development area which means things might not be developed, they certainly are not well tested and 100% not aligned with documentation. Bottom line. Not for end users. You still are welcome to explore but expect problems.

 

I am using Orange Pi One with 4.13.10-sunxi image and a 5" 800 x 480 HDMI Display.

As you mentioned EDID detection is automatic. But sometimes it fails to detect EDID and default resolution is set to 1024 x768

 

I need to the resolution to be 800 x 480 no matter what. I followed the advanced settings and

fw_setenv video-mode sunxi:800x480-24@60,monitor=hdmi,hpd=1,edid=0

when I follow fw_printenv command it displays,

video-mode=sunxi:800x480-24@60,monitor=hdmi,hpd=1,edid=0

 

But still sometimes(after multiple boots) resolution is set to 1024x768. This is a problem. 

I think edid=0 is not working properly because of this observation.

 

Can anyone tell me how to solve this problem? Any suggestion/approach is welcomed.

Link to comment
Share on other sites

4 hours ago, sunzone said:

Can anyone tell me how to solve this problem? Any suggestion/approach is welcomed.

 

Video driver is still considered testing as the whole mainline build for H3/H5/A64 and we can tag this as a bug @jernej . I know that sometimes failed to detect properly but forced resolution used to work ... at least with old simple fb driver which was in temporally function until this proper driver.

In any case, a kernel is a month(s) away from production state and alternatives might not be useful for your case. Except digging into the video driver there is little you can do ... I hope you can wait a while?

Link to comment
Share on other sites

4 hours ago, sunzone said:

I followed the advanced settings

That is a bit outdated, since 4.13 has proper DRM driver and U-Boot settings aren't considered anymore. Those instruction are also for non mainlined U-Boot driver and with the stock U-Boot driver can't be used anymore.

 

Detecting monitor resolution is a bit quirky on H3. It doesn't have interrupt for for hot plug detection, so kernel will check every 10s or so for monitor attachment/removal. I'm not sure about reading EDID though. I can only confirm what you already know - if EDID is not read out correctly, fallback resolution is 1024x768. Try with detaching hdmi cable, wait more than 10s and plug it back.

Link to comment
Share on other sites

10 minutes ago, Igor said:

In any case, a kernel is a month(s) away from production state and alternatives might not be useful for your case. Except digging into the video driver there is little you can do ... I hope you can wait a while?

I am kind of in a hurry.

@Igor @jernej is there any way to change the fall-back resolution somehow?  If so, I can set fallback resolution to 800 x 480

Link to comment
Share on other sites

7 minutes ago, sunzone said:

Any idea where general DRM code might be located?

That is the line you are looking for: http://elixir.free-electrons.com/linux/latest/source/drivers/gpu/drm/drm_probe_helper.c#L504

 

Unfortunately, only resolutions from this array can be selected: http://elixir.free-electrons.com/linux/latest/source/drivers/gpu/drm/drm_edid.c#L661

Link to comment
Share on other sites

So I tested again with the latest build 4.13.13 for Opi One

Results are A Okay... This time kernal auto detects EDID correctly almost every time. I didn't notice any occurrings of fallback resolution when the HDMI display(800x480) is connected :)

But 4.13.10 often failed to detect EDID.

 

Link to comment
Share on other sites

On 11/15/2017 at 10:46 AM, jernej said:

Hi,

I confirm that "setenv video-mode" it not working with latest "next" and Orange Pi PC. 

So how can I set a smaller resolution ? I have 3.5 inch HDMI display with a totally  crazy resolution and I can't see anything on it... 

I would like to ignore edid and set something like at least 640x480.

 

Link to comment
Share on other sites

On 13.11.2017 at 6:21 PM, Igor said:


Get our 4.13.y ... it has far more support (then upstream kernel) 

Hey, Igor,

 

can you help pleas with "next" 4.13.15 and OrangePi PC? Here is the log http://sprunge.us/FGJK

What I see at boot is the logo for a minute and then black screen just after it.

 

In dmesg I see something like this:

 

[ 8.679626] sun8i-mixer 1100000.mixer: Couldn't get our reset line [ 8.679772] sun4i-drm display-engine: failed to bind 1100000.mixer (ops sun8i_mixer_platform_driver_exit [sun8i_mixer]): -517 [ 8.679778] sun4i-drm display-engine: Couldn't bind all pipelines components [ 8.679871] sun4i-drm display-engine: master bind failed: -517

 

 

Edited by zador.blood.stained
Moved from OPi PC2 thread
Link to comment
Share on other sites

We don't provide end user support for mainline H3/H5/A64 with a reason. It is extremely hard, expensive and usually complete waste of time since things are moving too fast. I barely find time to answer you this, for finding a problem I might spend a day, hour, a week? Those builds are considered beta/testing and if something doesn't work ... you are on your own or wait.

 

3 minutes ago, hanni76 said:

can you help pleas with "next" 4.13.15 and OrangePi PC? Here is the log http://sprunge.us/FGJK

What I see at boot is the logo for a minute and then black screen just after it.

3


Linux kernel is a work of many people. I have no idea what they did in the last couple of days that this stopped working. 

Link to comment
Share on other sites

1 minute ago, Igor said:

We don't provide end user support for mainline H3/H5/A64 with a reason. It is extremely hard, expensive and usually complete waste of time since things are moving too fast. I barely find time to answer you this, for finding a problem I might spend a day, hour, a week? Those builds are considered beta/testing and if something doesn't work ... you are on your own or wait.

 


Linux kernel is a work of many people. I have no idea what they did in the last couple of days that this stopped working. 

thx

so just wait ? or.. ?

Link to comment
Share on other sites

5 minutes ago, zador.blood.stained said:

Especially we can't "fix" user-built images made with visible modifications when they are working fine without any modifications: http://sprunge.us/XPVI

 

And especially if problems are reported in completely unrelated threads (Problems with OPi PC reported in OPi PC2 general discussions thread)

That's interesting... I didn't make any modifications to drm. I didn't change the device tree either.

Link to comment
Share on other sites

Just now, zador.blood.stained said:

In any case there is nothing to fix on our side. Any modifications to patches, DT and DT overlays, board, sources and kernel configuration may have caused issues. In rare cases there may be even build host issues, but most likely it is kernel configuration or DT related.

Yes, I agree. Thanks for trying it on your side.

Link to comment
Share on other sites

2 hours ago, hanni76 said:

So how can I set a smaller resolution ? I have 3.5 inch HDMI display with a totally  crazy resolution and I can't see anything on it... 

I would like to ignore edid and set something like at least 640x480.

The "next" branch has a DRM/KMS driver. If your display provides correct EDID modes for smaller resolutions you should be able to set a different resolution like with any other DRM driver, i.e. via XFCE control panel on desktop images.

If display doesn't provide correct EDID you could force EDID mode through drm_kms_helper: https://wiki.archlinux.org/index.php/kernel_mode_setting#Forcing_modes_and_EDID

Please note that on Ubuntu and Debian firmware lives in /lib/firmware and kernel command line can be changed in /boot/boot.cmd or /boot/armbianEnv.txt (extraargs variable, not added by default)

Link to comment
Share on other sites

1 hour ago, zador.blood.stained said:

The "next" branch has a DRM/KMS driver. If your display provides correct EDID modes for smaller resolutions you should be able to set a different resolution like with any other DRM driver, i.e. via XFCE control panel on desktop images.

If display doesn't provide correct EDID you could force EDID mode through drm_kms_helper: https://wiki.archlinux.org/index.php/kernel_mode_setting#Forcing_modes_and_EDID

Please note that on Ubuntu and Debian firmware lives in /lib/firmware and kernel command line can be changed in /boot/boot.cmd or /boot/armbianEnv.txt (extraargs variable, not added by default)

Thank you! It worked with the following line in /boot/armbianEnv.txt :

 

extraargs=drm_kms_helper.edid_firmware=HDMI-A-1:edid/640x480.bin video=HDMI-A-1:640x480-24@60

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines