AllGray / PocketDesk

Run full desktop on PocketCHIP
MIT License
120 stars 32 forks source link

No graphic screen after installing PocketDesk #6

Open Miamistax opened 6 years ago

Miamistax commented 6 years ago

Reboot after install has me locked in terminal asking for pocketDESK login and password, then tells me "The programs included with the Debian GNU/linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. chip@PocketDESK:~$

Great. Now what?

durrendal commented 6 years ago

I ran into the same problem, ultimately I re-flashed my chip. I believe it has something to do with device drivers for armsoc, which you can grab a xorg-xserver-armsoc package for through apt-get. But trying to go this route just cause the system to complain that /dev/console is an inappropriate IOCTL device for X.

It probably comes down to missing a very specific device driver, but it wasn't worth the headache to continue to troubleshoot when you can just drop the chip into FEL mode, reflash, and try again.

oscarvalenzuelab commented 5 years ago

well, same happened to me. I installed armsoc using apt and the device died, no screen after booting. The owner of the project should include a warning or double check about the versions of the packages.

v1nc commented 2 years ago

Because I ran into the same problem today, here is how I fixed it without re-flashing: Change /etc/X11/xorg.conf to the following:

Section "Files"
        ModulePath "/usr/lib/arm-linux-gnueabihf/xorg/modules/"
        ModulePath "/usr/lib/xorg/modules/"
EndSection

Section "Monitor"
    Identifier  "VGA"
    Option      "PreferredMode" "1024x768_60.00"
EndSection

Section "Monitor"
    Identifier  "HDMI"
    Option      "PreferredMode" "1280x720_60.00"
EndSection

Section "Monitor"
    Identifier  "Composite"
    Option      "PreferredMode" "NTSC10"
EndSection

Section "Device"
    Identifier  "Allwinner sun4i DRM"
    Driver      "armsoc"
    Option      "Monitor-Composite-0"   "Composite"
    Option      "Monitor-VGA-0"     "VGA"
    Option      "Monitor-HDMI-A-0"  "HDMI"
EndSection

Section "Screen"
    Identifier  "Screen0"
    Device      "Card0"
EndSection

Section "Device"
    Identifier  "Card0"
    Driver      "modesetting"
EndSection

After rebooting it should work again.