[HTC One X+] SharkWipf:
So, I decided to try and get creative with my HOX+ (International), and decided to get Xorg running from a Debian chroot.

Well, most of it works, my Debian chroot is set up, I have recompiled the BLADE kernel with my ROM's settings + the settings required for Xorg (VT support, System V IPC).

I have installed the Nvidia Linux For Tegra drivers.

I have a working xorg.conf file.

I have symlinked /dev/graphics/fd0 and /dev/graphics/fd0 to /dev/fd0 and /dev/fd1.

Of course, I have freed the screen (and more RAM) by stopping zygote/surfaceflinger/bootanimation

I can launch the Xorg server without problems, if I execute # X(org) -retro, it will show the normal gray screen with cursor.

However, this is where the problems start.

After the first rendered image, the screen stops responding. I can launch graphical apps over ssh or adb, they open as normal, except they are not rendered. The screen stays unmoved. I have also tried toying with xdotool, xrandr and xsetroot, the screen stays the same. As soon as the last X program exits, the screen flashes black for half a second, and goes back to the same unmoved state.

When I run x11vnc (which streams the *current* X session) in said session and open a graphical app, it opens fine over VNC, but the phone screen stays exactly the same.

I have found people with the same problem on the Nexus 7, which also has a Tegra 3 chip, but haven't found any solutions yet.

I'm running out of ideas myself, does anyone have any ideas on the matter?

I am running PippoX3's Carbon Rom atm, with his fork of the BLADE kernel self-compiled, however I've ran into the same problem on Lloir's CM10.2 with the (at that moment) latest BLADE kernel from Maxwen's github.

My xorg.conf:

Section "Module"
Disable "dri"
Disable "dri2"
Disable "glx"
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection
EndSection

Section "Device"
Identifier "Tegra"
Driver "tegra"
EndSection

My Xorg.0.log:

[ 7332.114]
X.Org X Server 1.14.3
Release Date: 2013-09-12
[ 7332.121] X Protocol Version 11, Revision 0
[ 7332.125] Build Operating System: Linux 3.2.0-4-mx5 armv7l Debian
[ 7332.129] Current Operating System: Linux localhost 3.1.10-BLADE #0 SMP PREEMPT Wed Nov 13 19:44:15 CET 2013 armv7l
[ 7332.131] Kernel command line: tegraid=30.1.3.0.0 mem=1016M@2048M vmalloc=668M video=tegrafb zygote_oneshot=off kmemleak=off androidboot.lb=1 androidboot.carrier=HTC-Dutch androidboot.wipeddata=0 led=4 androidboot.keycaps=qwerty console=none usbcore.old_scheme_first=1 lp0_vec=8192@0xbc0a8000 nvdumper_reserved=0xbf7ff000 tegra_fbmem=3689280@0xbc0ab000 panel_id=0x944a03 tegraboot=sdmmc gpt gpt_sector=122097663 androidboot.mode=normal batt_V=1048575 batt_I=1048575 batt_T=1048575 debug_uartport=hsport modem_id=0 androidboot.baseband=3.1204.168.32 androidboot.emmc=1 androidboot.sf=1 androidboot.skunum=1 androidboot.cid=HTC__E11 androidboot.mid=PM3511000 androidboot.serialno=FA2CXW105532 androidboot.mb_serialno=41HD12CV01419 androidboot.bootloader=1.35.0000 last_off_event=pmu_poweroff start_on_event=none hw_rst_reason=0x0 sw_rst_reason=0x77665501 project_phase=A radioflag=0x0 ats=0 hlog.ofs=296 un.ofs=364 androidboot.engid=0x0
[ 7332.148] Build Date: 09 October 2013 12:19:48AM
[ 7332.149] xorg-server 2:1.14.3-4 (Julien Cristau <jcristau@debian.org>)
[ 7332.149] Current version of pixman: 0.30.2
[ 7332.150]	Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 7332.151] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 7332.157] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Nov 14 03:02:27 2013
[ 7332.160] (==) Using config file: "/etc/X11/xorg.conf"
[ 7332.162] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 7332.163] (==) No Layout section. Using the first Screen section.
[ 7332.163] (==) No screen section available. Using defaults.
[ 7332.164] (**) |-->Screen "Default Screen Section" (0)
[ 7332.164] (**) | |-->Monitor "<default monitor>"
[ 7332.165] (==) No device specified for screen "Default Screen Section".
Using the first device section listed.
[ 7332.165] (**) | |-->Device "Tegra"
[ 7332.165] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 7332.165] (==) Automatically adding devices
[ 7332.165] (==) Automatically enabling devices
[ 7332.165] (==) Automatically adding GPU devices
[ 7332.165] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 7332.165]	Entry deleted from font path.
[ 7332.165] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/100dpi/:unscaled,
/usr/share/fonts/X11/75dpi/:unscaled,
/usr/share/fonts/X11/Type1,
/usr/share/fonts/X11/100dpi,
/usr/share/fonts/X11/75dpi,
built-ins
[ 7332.165] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 7332.168] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 7332.168] (II) Loader magic: 0x401eeec0
[ 7332.168] (II) Module ABI versions:
[ 7332.168]	X.Org ANSI C Emulation: 0.4
[ 7332.168]	X.Org Video Driver: 14.1
[ 7332.168]	X.Org XInput driver : 19.1
[ 7332.168]	X.Org Server Extension : 7.0
[ 7332.173] Initializing built-in extension Generic Event Extension
[ 7332.175] Initializing built-in extension SHAPE
[ 7332.175] Initializing built-in extension MIT-SHM
[ 7332.175] Initializing built-in extension XInputExtension
[ 7332.175] Initializing built-in extension XTEST
[ 7332.175] Initializing built-in extension BIG-REQUESTS
[ 7332.176] Initializing built-in extension SYNC
[ 7332.177] Initializing built-in extension XKEYBOARD
[ 7332.178] Initializing built-in extension XC-MISC
[ 7332.178] Initializing built-in extension SECURITY
[ 7332.178] Initializing built-in extension XINERAMA
[ 7332.178] Initializing built-in extension XFIXES
[ 7332.178] Initializing built-in extension RENDER
[ 7332.180] Initializing built-in extension RANDR
[ 7332.180] Initializing built-in extension COMPOSITE
[ 7332.180] Initializing built-in extension DAMAGE
[ 7332.180] Initializing built-in extension MIT-SCREEN-SAVER
[ 7332.180] Initializing built-in extension DOUBLE-BUFFER
[ 7332.180] Initializing built-in extension RECORD
[ 7332.180] Initializing built-in extension DPMS
[ 7332.181] Initializing built-in extension X-Resource
[ 7332.181] Initializing built-in extension XVideo
[ 7332.184] Initializing built-in extension XVideo-MotionCompensation
[ 7332.185] Initializing built-in extension SELinux
[ 7332.185] Initializing built-in extension XFree86-VidModeExtension
[ 7332.185] Initializing built-in extension XFree86-DGA
[ 7332.185] Initializing built-in extension XFree86-DRI
[ 7332.185] Initializing built-in extension DRI2
[ 7332.185] (WW) "dri" will not be loaded unless you've specified it to be loaded elsewhere.
[ 7332.185] (WW) "dri2" will not be loaded unless you've specified it to be loaded elsewhere.
[ 7332.186] (WW) "glx" will not be loaded unless you've specified it to be loaded elsewhere.
[ 7332.186] (II) "glx" will be loaded even though the default is to disable it.
[ 7332.186] (II) LoadModule: "extmod"
[ 7332.186] (II) Module "extmod" already built-in
[ 7332.186] (II) LoadModule: "tegra"
[ 7332.187] (II) Loading /usr/lib/xorg/modules/drivers/tegra_drv.so
[ 7332.197] (II) Module tegra: vendor="X.Org Foundation"
[ 7332.197]	compiled for 1.13.99.901, module version = 0.4.0
[ 7332.197]	Module class: X.Org Video Driver
[ 7332.197]	ABI class: X.Org Video Driver, version 14.1
[ 7332.197] (II) NVIDIA driver for Tegra
[ 7332.198] (--) using VT number 2

[ 7332.198] (WW) Falling back to old probe method for tegra
[ 7332.199] (II) TEGRA(0): GPU is a T30
[ 7332.199] (II) TEGRA(0): Creating default Display subsection in Screen section
"Default Screen Section" for depth/fbbpp 24/32
[ 7332.199] (==) TEGRA(0): Depth 24, (--) framebuffer bpp 32
[ 7332.199] (==) TEGRA(0): RGB weight 888
[ 7332.199] (==) TEGRA(0): Default visual is TrueColor
[ 7332.200] (==) TEGRA(0): Using gamma correction (1.0, 1.0, 1.0)
[ 7332.200] (**) TEGRA(0): Option "OverlayDepth" "255"
[ 7332.200] (**) TEGRA(0): Option "ARGBHWCursor" "true"
[ 7332.200] (II) TEGRA(0): Output LVDS-1 has no monitor section
[ 7332.200] (II) TEGRA(0): Output HDMI-1 has no monitor section
[ 7332.201] (WW) TEGRA(0): LVDS-1: Error querying display modes: No such device.
[ 7332.201] (II) TEGRA(0): EDID for output LVDS-1
[ 7332.201] (II) TEGRA(0): Printing probed modes for output LVDS-1
[ 7332.201] (II) TEGRA(0): Modeline "720x1280"x60.0 63.17 720 749 765 820 1280 1281 1282 1284 (77.0 kHz eP)
[ 7332.201] (II) TEGRA(0): EDID for output HDMI-1
[ 7332.201] (II) TEGRA(0): Output LVDS-1 connected
[ 7332.201] (II) TEGRA(0): Output HDMI-1 disconnected
[ 7332.201] (II) TEGRA(0): Using exact sizes for initial modes
[ 7332.201] (II) TEGRA(0): Output LVDS-1 using initial mode 720x1280
[ 7332.201] (II) TEGRA(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.
[ 7332.201] (--) TEGRA(0): VideoRAM: 32768 kByte
[ 7332.201] (--) TEGRA(0): Virtual size is 720x1280 (pitch 0)
[ 7332.202] (**) TEGRA(0): Driver mode "720x1280": 63.2 MHz, 77.0 kHz, 60.0 Hz
[ 7332.202] (II) TEGRA(0): Modeline "720x1280"x60.0 63.17 720 749 765 820 1280 1281 1282 1284 (77.0 kHz eP)
[ 7332.202] (==) TEGRA(0): DPI set to (96, 96)
[ 7332.202] (II) Loading sub module "fb"
[ 7332.202] (II) LoadModule: "fb"
[ 7332.202] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 7332.203] (II) Module fb: vendor="X.Org Foundation"
[ 7332.203]	compiled for 1.14.3, module version = 1.0.0
[ 7332.203]	ABI class: X.Org ANSI C Emulation, version 0.4
[ 7332.203] (II) Loading sub module "ramdac"
[ 7332.203] (II) LoadModule: "ramdac"
[ 7332.203] (II) Module "ramdac" already built-in
[ 7332.203] (--) Depth 24 pixmap format is 32 bpp
[ 7332.209] (==) TEGRA(0): Backing store disabled
[ 7332.209] (==) TEGRA(0): Silken mouse enabled
[ 7332.209] (II) TEGRA(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[ 7332.217] Loading extension TEGRA-EGL
[ 7332.217] (==) TEGRA(0): DPMS enabled
[ 7332.218] (--) RandR disabled
[ 7332.249] (II) SELinux: Disabled on system
[ 7332.254] (II) TEGRA(0): Setting screen physical size to 190 x 338
[ 7344.071] 6 XSELINUXs still allocated at reset
[ 7344.073] SCREEN: 0 objects of 184 bytes = 0 total bytes 0 private allocs
[ 7344.073] DEVICE: 0 objects of 64 bytes = 0 total bytes 0 private allocs
[ 7344.074] CLIENT: 0 objects of 100 bytes = 0 total bytes 0 private allocs
[ 7344.075] WINDOW: 0 objects of 28 bytes = 0 total bytes 0 private allocs
[ 7344.076] PIXMAP: 1 objects of 48 bytes = 48 total bytes 0 private allocs
[ 7344.077] GC: 4 objects of 16 bytes = 64 total bytes 0 private allocs
[ 7344.080] CURSOR: 1 objects of 4 bytes = 4 total bytes 0 private allocs
[ 7344.081] DBE_WINDOW: 0 objects of 12 bytes = 0 total bytes 0 private allocs
[ 7344.083] TOTAL: 6 objects, 116 bytes, 0 allocs
[ 7344.084] 1 PIXMAPs still allocated at reset
[ 7344.086] PIXMAP: 1 objects of 48 bytes = 48 total bytes 0 private allocs
[ 7344.087] GC: 4 objects of 16 bytes = 64 total bytes 0 private allocs
[ 7344.089] CURSOR: 1 objects of 4 bytes = 4 total bytes 0 private allocs
[ 7344.091] DBE_WINDOW: 0 objects of 12 bytes = 0 total bytes 0 private allocs
[ 7344.092] TOTAL: 6 objects, 116 bytes, 0 allocs
[ 7344.093] 4 GCs still allocated at reset
[ 7344.095] GC: 4 objects of 16 bytes = 64 total bytes 0 private allocs
[ 7344.096] CURSOR: 1 objects of 4 bytes = 4 total bytes 0 private allocs
[ 7344.097] DBE_WINDOW: 0 objects of 12 bytes = 0 total bytes 0 private allocs
[ 7344.098] TOTAL: 5 objects, 68 bytes, 0 allocs
[ 7344.099] 1 CURSORs still allocated at reset
[ 7344.101] CURSOR: 1 objects of 4 bytes = 4 total bytes 0 private allocs
[ 7344.103] DBE_WINDOW: 0 objects of 12 bytes = 0 total bytes 0 private allocs
[ 7344.104] TOTAL: 1 objects, 4 bytes, 0 allocs
[ 7344.104] 1 CURSOR_BITSs still allocated at reset
[ 7344.104] DBE_WINDOW: 0 objects of 12 bytes = 0 total bytes 0 private allocs
[ 7344.104] TOTAL: 0 objects, 0 bytes, 0 allocs
[ 7344.112] (II) TEGRA(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[ 7344.116] (==) TEGRA(0): DPMS enabled
[ 7344.116] (--) RandR disabled
[ 7344.134] (II) SELinux: Disabled on system
[ 7344.137] (II) TEGRA(0): Setting screen physical size to 190 x 338
[ 7346.348] (EE) Server terminated successfully (0). Closing log file.