Tiny Core Linux

dCore Import Debian Packages to Mountable SCE extensions => dCore X86 => Topic started by: vinnie on November 29, 2013, 06:27:25 AM

Title: Error with Xorg
Post by: vinnie on November 29, 2013, 06:27:25 AM
Today I finally managed to install the dcore on a sd, but xorg does not start.

Here is a list of the packages I imported:
xorg-all
Xprogs
openbox
wireless
wifi
graphics-3.8.10-tinycore


and this is the error when starting xorg (click on it, sorry for the picture quality but the photos are not a quality of my phone):
(http://i40.tinypic.com/14mcajl_th.jpg) (http://oi40.tinypic.com/14mcajl.jpg)
Title: Re: Error with Xorg
Post by: vinnie on November 30, 2013, 01:19:43 AM
I have the same error also in vbox:
(http://i40.tinypic.com/ogig52_th.png) (http://oi40.tinypic.com/ogig52.jpg)

in addition i attach the Xorg.o.log
Title: Re: Error with Xorg
Post by: Jason W on November 30, 2013, 05:13:00 AM
I don't see a "desktop=openbox" in your cmdline.  What is the output of

cat /etc/sysconfig/desktop

?
Title: Re: Error with Xorg
Post by: vinnie on November 30, 2013, 05:59:17 AM
for openbox I had forgotten to add that bootcode, but while waiting I have also tried with flwm (with desktop=flwm_topside) and still does not work.

I also tried with "xinit circuslinux" but it does not go either, I think it's a problem of xorg (which when I tried dcore a few months ago did not exist)


graphics-3.8.10-tinycore is necessary?
Title: Re: Error with Xorg
Post by: Jason W on November 30, 2013, 05:57:10 PM
By the MTRR error I assume you have an Nvidia card.

I don't think the graphics-3.8.10-tinycore package is necessary but it is often helpful.
I will re-import xorg-all and make sure  a new copy is working here.

Title: Re: Error with Xorg
Post by: vinnie on December 01, 2013, 02:08:03 AM
no I have an integrated intel graphic card (GMA 3150) but in any case this would not explain why xorg does not work also on virtualbox

when I install graphics-3.8.10-tinycore the font size of the terminal change dimension, however, the problem remains the same.

I try to load the xorg.conf that I use on core, then I do not have a lot of imagination on what to do.
Title: Re: Error with Xorg
Post by: vinnie on December 01, 2013, 03:58:37 AM
ok, waiting I tried to load the same xorg.conf of core (the right command is "X -config ./xorg.conf" ?) but I did not have a happy ending.

I also recorded the boot of dcore so you can see how it will not start (you can see the background for a nanosecond):
https://www.youtube.com/watch?v=im1-WJkk6ZU

I include the full screenshot of another error that occurs during the loading of packages-.
(http://i41.tinypic.com/2qcpkqt_th.jpg) (http://oi41.tinypic.com/2qcpkqt.jpg)

P.S. I took the video music randomly from those proposed by youtube, only for joking
Title: Re: Error with Xorg
Post by: vinnie on December 01, 2013, 05:25:41 AM
I have generated a xorg.conf and it is also returned an error:
error:
Code: [Select]
_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/box:0
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6

X.Org X Server 1.12.4
Release Date: 2012-08-27
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.32-5-686-bigmem i686 Debian
Current Operating System: Linux box 3.8.10-tinycore #3810 SMP Tue Apr 30 15:45:26 UTC 2013 i686
Kernel command line: waitusb=6:LABEL="dcored" tce=LABEL="dcored" restore=LABEL="dcored" mydata=/tce/dcored lst=dcored.lst noicons noswap nozswap multivt showapps quiet loglevel=3 desktop=flwm_topside initrd=/tce/boot/dCore.gz BOOT_IMAGE=/tce/boot/vmlinuz laptop
Build Date: 17 April 2013  11:13:16AM
xorg-server 2:1.12.4-6 (Julien Cristau <jcristau@debian.org>)
Current version of pixman: 0.26.0
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sun Dec  1 11:55:59 2013
List of video drivers:
voodoo
vmware
apm
tseng
trident
tdfx
sisusb
sis
siliconmotion
savage
s3virge
s3
rendition
radeon
r128
openchrome
nouveau
neomagic
mga
mach64
intel
i740
i128
ark
cirrus
chips
ati
fbdev
vesa
(++) Using config file: "/root/xorg.conf.new"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
modprobe: module fbcon not found in modules.dep
Number of created screens does not match number of detected devices.
  Configuration failed.
Server terminated with error (2). Closing log file.

xorg.conf generated:
Code: [Select]
Section "ServerLayout"
Identifier     "X.org Configured"
Screen      0  "Screen0" 0 0
Screen      1  "Screen1" RightOf "Screen0"
Screen      2  "Screen2" RightOf "Screen1"
InputDevice    "Mouse0" "CorePointer"
InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
ModulePath   "/usr/lib/xorg/modules"
FontPath     "/usr/share/fonts/X11/misc"
FontPath     "/usr/share/fonts/X11/cyrillic"
FontPath     "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath     "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath     "/usr/share/fonts/X11/Type1"
FontPath     "/usr/share/fonts/X11/100dpi"
FontPath     "/usr/share/fonts/X11/75dpi"
FontPath     "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath     "built-ins"
EndSection

Section "Module"
Load  "record"
Load  "glx"
Load  "extmod"
Load  "dri2"
Load  "dri"
Load  "dbe"
EndSection

Section "InputDevice"
Identifier  "Keyboard0"
Driver      "kbd"
EndSection

Section "InputDevice"
Identifier  "Mouse0"
Driver      "mouse"
Option     "Protocol" "auto"
Option     "Device" "/dev/input/mice"
Option     "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
Identifier   "Monitor0"
VendorName   "Monitor Vendor"
ModelName    "Monitor Model"
EndSection

Section "Monitor"
Identifier   "Monitor1"
VendorName   "Monitor Vendor"
ModelName    "Monitor Model"
EndSection

Section "Monitor"
Identifier   "Monitor2"
VendorName   "Monitor Vendor"
ModelName    "Monitor Model"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "AccelMethod"        # <str>
        #Option     "DRI"                # [<bool>]
        #Option     "ColorKey"            # <i>
        #Option     "VideoKey"            # <i>
        #Option     "Tiling"              # [<bool>]
        #Option     "LinearFramebuffer"  # [<bool>]
        #Option     "Shadow"              # [<bool>]
        #Option     "SwapbuffersWait"    # [<bool>]
        #Option     "TripleBuffer"        # [<bool>]
        #Option     "XvPreferOverlay"    # [<bool>]
        #Option     "DebugFlushBatches"  # [<bool>]
        #Option     "DebugFlushCaches"    # [<bool>]
        #Option     "DebugWait"          # [<bool>]
        #Option     "HotPlug"            # [<bool>]
        #Option     "RelaxedFencing"      # [<bool>]
        #Option     "Throttle"            # [<bool>]
        #Option     "UseVmap"            # [<bool>]
        #Option     "ZaphodHeads"        # <str>
        #Option     "DelayedFlush"        # [<bool>]
        #Option     "FallbackDebug"      # [<bool>]
        #Option     "BufferCache"        # [<bool>]
Identifier  "Card0"
Driver      "intel"
BusID       "PCI:0:2:0"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "ShadowFB"            # [<bool>]
        #Option     "Rotate"              # <str>
        #Option     "fbdev"              # <str>
        #Option     "debug"              # [<bool>]
Identifier  "Card1"
Driver      "fbdev"
BusID       "PCI:0:2:0"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "ShadowFB"            # [<bool>]
        #Option     "DefaultRefresh"      # [<bool>]
        #Option     "ModeSetClearScreen" # [<bool>]
Identifier  "Card2"
Driver      "vesa"
BusID       "PCI:0:2:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device     "Card0"
Monitor    "Monitor0"
SubSection "Display"
Viewport   0 0
Depth     1
EndSubSection
SubSection "Display"
Viewport   0 0
Depth     4
EndSubSection
SubSection "Display"
Viewport   0 0
Depth     8
EndSubSection
SubSection "Display"
Viewport   0 0
Depth     15
EndSubSection
SubSection "Display"
Viewport   0 0
Depth     16
EndSubSection
SubSection "Display"
Viewport   0 0
Depth     24
EndSubSection
EndSection

Section "Screen"
Identifier "Screen1"
Device     "Card1"
Monitor    "Monitor1"
SubSection "Display"
Viewport   0 0
Depth     1
EndSubSection
SubSection "Display"
Viewport   0 0
Depth     4
EndSubSection
SubSection "Display"
Viewport   0 0
Depth     8
EndSubSection
SubSection "Display"
Viewport   0 0
Depth     15
EndSubSection
SubSection "Display"
Viewport   0 0
Depth     16
EndSubSection
SubSection "Display"
Viewport   0 0
Depth     24
EndSubSection
EndSection

Section "Screen"
Identifier "Screen2"
Device     "Card2"
Monitor    "Monitor2"
SubSection "Display"
Viewport   0 0
Depth     1
EndSubSection
SubSection "Display"
Viewport   0 0
Depth     4
EndSubSection
SubSection "Display"
Viewport   0 0
Depth     8
EndSubSection
SubSection "Display"
Viewport   0 0
Depth     15
EndSubSection
SubSection "Display"
Viewport   0 0
Depth     16
EndSubSection
SubSection "Display"
Viewport   0 0
Depth     24
EndSubSection
EndSection

It could be fbcon / fbdev, how i do not load them?
Title: Re: Error with Xorg
Post by: Jason W on December 01, 2013, 05:50:31 AM
Could be too many Screen and Device fields in the file, I had to remove some once to get xorg.conf to work on one of my machines.
Title: Re: Error with Xorg
Post by: vinnie on December 01, 2013, 06:30:59 AM
I tried to remove some display and device
Code: [Select]
Section "ServerLayout"
Identifier     "X.org Configured"
Screen      1  "Screen1" 0 0
InputDevice    "Mouse0" "CorePointer"
InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
ModulePath   "/usr/lib/xorg/modules"
FontPath     "/usr/share/fonts/X11/misc"
FontPath     "/usr/share/fonts/X11/cyrillic"
FontPath     "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath     "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath     "/usr/share/fonts/X11/Type1"
FontPath     "/usr/share/fonts/X11/100dpi"
FontPath     "/usr/share/fonts/X11/75dpi"
FontPath     "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath     "built-ins"
EndSection

Section "Module"
Load  "record"
Load  "glx"
Load  "extmod"
Load  "dri2"
Load  "dri"
Load  "dbe"
EndSection

Section "InputDevice"
Identifier  "Keyboard0"
Driver      "kbd"
EndSection

Section "InputDevice"
Identifier  "Mouse0"
Driver      "mouse"
Option     "Protocol" "auto"
Option     "Device" "/dev/input/mice"
Option     "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
Identifier   "Monitor0"
VendorName   "Monitor Vendor"
ModelName    "Monitor Model"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "ShadowFB"            # [<bool>]
        #Option     "DefaultRefresh"      # [<bool>]
        #Option     "ModeSetClearScreen" # [<bool>]
Identifier  "Card1"
Driver      "vesa"
BusID       "PCI:0:2:0"
EndSection

Section "Screen"
Identifier "Screen1"
Device     "Card1"
Monitor    "Monitor1"
SubSection "Display"
Viewport   0 0
Depth     1
EndSubSection
SubSection "Display"
Viewport   0 0
Depth     4
EndSubSection
SubSection "Display"
Viewport   0 0
Depth     8
EndSubSection
SubSection "Display"
Viewport   0 0
Depth     15
EndSubSection
SubSection "Display"
Viewport   0 0
Depth     16
EndSubSection
SubSection "Display"
Viewport   0 0
Depth     24
EndSubSection
EndSection

I tried even with import only xorg-vesa but gui does not work again.
uhm, what else I can do?

Title: Re: Error with Xorg
Post by: vinnie on December 01, 2013, 10:19:20 AM
I tried a debian stable live (http://live.debian.net/), I created a xorg.conf in it and I did start it with the same configuration.
Should I try it in dcore but I gave up because xorg.conf it is exactly the same as a configuration in this previous message http://forum.tinycorelinux.net/index.php/topic,16294.msg96717.html#msg96717

Essentially the xorg.conf is good and also the packages in debian.
I tried dcore a few time ago  and xorg worked,  you have made ​​some personalization to xorg?
Title: Re: Error with Xorg
Post by: Jason W on December 01, 2013, 10:21:14 AM
We did refactor the xorg- packages, but it should not have affected xorg-all, only the smaller individual ones.  I will try to reproduce as I have an intel card available.
Title: Re: Error with Xorg
Post by: roberts on December 01, 2013, 10:31:58 AM
vinnie, are you sure that recent changes /etc/skel files are reflected in your home dir.
One change did involve the starting of X. See git for details.
Title: Re: Error with Xorg
Post by: vinnie on December 01, 2013, 11:19:03 AM
Quote
We did refactor the xorg- packages, but it should not have affected xorg-all, only the smaller individual ones.  I will try to reproduce as I have an intel card available.
thanks jason

Quote
vinnie, are you sure that recent changes /etc/skel files are reflected in your home dir.
One change did involve the starting of X. See git for details.
roberts, I am afraid that I did not understand.
there are new updates in git that could solve my problem?
Title: Re: Error with Xorg
Post by: roberts on December 01, 2013, 12:01:15 PM
Compare /etc/skel files with those in home dir.
In particular: etc/skel/.profile: Using check for /usr/bin/Xorg for automatic X starting
Title: Re: Error with Xorg
Post by: vinnie on December 02, 2013, 01:23:09 AM
both /etc/skel/.profile and ~/.profile match up with the changes in the git commit
Title: Re: Error with Xorg
Post by: vinnie on December 12, 2013, 07:53:59 AM
Today I tried the new dCore-5.13.12.06 version hopeful that it could solve my problems.
Well, things have gotten worse.
1) I can no longer import xorg-all: importsce shows all the list of dependencies and when it asks to create xorg-all.sce , it is stopped even if I answer yes
2) After importing and loading wireless wifi and starting wifi.sh, it does not recognize any wireless card

Title: Re: Error with Xorg
Post by: jls on December 12, 2013, 08:16:02 AM
....
1) I can no longer import xorg-all: importsce shows all the list of dependencies and when it asks to create xorg-all.sce , it is stopped even if I answer yes
...
which file system is your sce dir?
Title: Re: Error with Xorg
Post by: vinnie on December 12, 2013, 02:47:59 PM
ext2 but it is an exceptional case of xorg-all because wireless and wifi (and dcoreinstall that I used to create the key) are installed quietly.