Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ui process terminating on booting chromiumos on rpi3 #74

Open
giriflint opened this issue Dec 15, 2016 · 3 comments
Open

ui process terminating on booting chromiumos on rpi3 #74

giriflint opened this issue Dec 15, 2016 · 3 comments

Comments

@giriflint
Copy link

dmesg.txt

ui.LATEST.txt

Xorg.0.log_with_hdmi.txt

Hi,

I am trying to boot Chromium R53 on RaspberryPi3 using the rpi-4.4.y linux kernel which has the most recent VC4 fixes.
The system boots but without the UI. Attached are the serial and X logs, the kernel config, config.txt and the cmdline.txt.
There was a modesetting failure as per the logs. Am I missing any config paramters in the config.txt or in the kernel .config, or, could it be a clash between two different drivers trying to access the same resource?
Please help.

kernel_config.txt

cmdline.txt

config.txt

var_log_messages.txt

@anholt
Copy link
Owner

anholt commented Jan 26, 2017

[    0.000000] cma: Reserved 476 MiB at 0x1f000000

This cause intermittent crashes with 3D. Delete the gpu_mem and cma lines from your config.txt, and use the defaults that vc4-kms-v3d sets up (at least, I assume you're using vc4-kms-v3d, because I don't know how the driver would probe otherwise).

The dmesg says:

[   18.018826] vc4-drm soc:gpu: No connectors reported connected with modes
[   18.100122] [drm] Cannot find any crtc or sizes - going 1024x768

I assume this is the error you were talking about. This would be EDID failing to probe on HDMI (you're using HDMI, right?). Are you by chance using an HDMI->VGA converter?

@giriflint
Copy link
Author

giriflint commented Jan 27, 2017 via email

@anholt
Copy link
Owner

anholt commented Feb 2, 2017

OK, so we're looking at this:

[    60.934] (II) AIGLX: enabled GLX_EXT_framebuffer_sRGB
[    60.934] (II) AIGLX: enabled GLX_ARB_fbconfig_float
[    60.934] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
[    60.938] (II) AIGLX: Loaded and initialized vc4
[    60.938] (II) GLX: Initialized DRI2 GL provider for screen 0
[    60.977] (EE) modeset(0): Failed(EE)
Fatal server error:
[    60.978] (EE) failed to create screen resources(EE)
[    60.978] (EE)

This is a new one to me. Also, the mismatch between dmesg claiming no connectors with modes while Xorg.0.log shows an EDID being found is confusing. The failure in CSR from Xorg.0.log could be from failing to set a mode, in which case dmesg from a boot with drm.debug=0x1e on the kernel command line might be useful. But that's kind of guessing at a problem, when we would be better off using gdb to step through CreateScreenResources to see what fails.

anholt pushed a commit that referenced this issue Jul 19, 2017
…/kernel/git/joro/iommu

Pull IOMMU updates from Joerg Roedel:
 "This update comes with:

   - Support for lockless operation in the ARM io-pgtable code.

     This is an important step to solve the scalability problems in the
     common dma-iommu code for ARM

   - Some Errata workarounds for ARM SMMU implemenations

   - Rewrite of the deferred IO/TLB flush code in the AMD IOMMU driver.

     The code suffered from very high flush rates, with the new
     implementation the flush rate is down to ~1% of what it was before

   - Support for amd_iommu=off when booting with kexec.

     The problem here was that the IOMMU driver bailed out early without
     disabling the iommu hardware, if it was enabled in the old kernel

   - The Rockchip IOMMU driver is now available on ARM64

   - Align the return value of the iommu_ops->device_group call-backs to
     not miss error values

   - Preempt-disable optimizations in the Intel VT-d and common IOVA
     code to help Linux-RT

   - Various other small cleanups and fixes"

* tag 'iommu-updates-v4.13' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu: (60 commits)
  iommu/vt-d: Constify intel_dma_ops
  iommu: Warn once when device_group callback returns NULL
  iommu/omap: Return ERR_PTR in device_group call-back
  iommu: Return ERR_PTR() values from device_group call-backs
  iommu/s390: Use iommu_group_get_for_dev() in s390_iommu_add_device()
  iommu/vt-d: Don't disable preemption while accessing deferred_flush()
  iommu/iova: Don't disable preempt around this_cpu_ptr()
  iommu/arm-smmu-v3: Add workaround for Cavium ThunderX2 erratum #126
  iommu/arm-smmu-v3: Enable ACPI based HiSilicon CMD_PREFETCH quirk(erratum 161010701)
  iommu/arm-smmu-v3: Add workaround for Cavium ThunderX2 erratum #74
  ACPI/IORT: Fixup SMMUv3 resource size for Cavium ThunderX2 SMMUv3 model
  iommu/arm-smmu-v3, acpi: Add temporary Cavium SMMU-V3 IORT model number definitions
  iommu/io-pgtable-arm: Use dma_wmb() instead of wmb() when publishing table
  iommu/io-pgtable: depend on !GENERIC_ATOMIC64 when using COMPILE_TEST with LPAE
  iommu/arm-smmu-v3: Remove io-pgtable spinlock
  iommu/arm-smmu: Remove io-pgtable spinlock
  iommu/io-pgtable-arm-v7s: Support lockless operation
  iommu/io-pgtable-arm: Support lockless operation
  iommu/io-pgtable: Introduce explicit coherency
  iommu/io-pgtable-arm-v7s: Refactor split_blk_unmap
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants