xserver error

You have a problem with Salix? Post here and we'll do what we can to help.
noob51
Posts: 58
Joined: 22. Oct 2013, 16:56

Re: xserver error

Post by noob51 »

Thanks for trying to help, I am new to command line. I would like to copy the /var/log/Xorg.0.log to a thumb drive from the command line so I can show you the error. Don't know to mount drive ? or how to copy log file ?

Also only 14 is installed, maybe make another partition for 14.1 for experiments, or install on external drive ??
westms
Posts: 298
Joined: 17. Mar 2013, 18:51

Re: xserver error

Post by westms »

noob51 wrote:Thanks for trying to help, I am new to command line. I would like to copy the /var/log/Xorg.0.log to a thumb drive from the command line so I can show you the error. Don't know to mount drive ? or how to copy log file ?
If you have performed the experiments on the installed Salix 14.0, you may first copy the log file to a safe place in the filesystem, eg with

Code: Select all

cp /var/log/Xorg.0.log path_to_your_home_directory
Then you can restore the previous xorg.conf file for the Vesa driver and reboot.

The description of the following process to mount an USB memory stick, you can not use if the filesystem type is NTFS. I do not know NTFS and can not estimate the possible consequences.

If you want to mount an USB memory stick, then you need to know under which device name it will appear in the filesystem. Would it mounted as /dev/sdb1, then the following is an example:

Connect the device, then

Code: Select all

udisks --mount /dev/sdb1
If the file system has a label, then it appears with the label. Suppose the label is Spaceloop_XL_1, then you can find it with mount -l . The output would be like:

Code: Select all

/dev/sdb1 on /media/Spaceloop_XL_1 type ext2 (rw,nosuid,nodev,uhelper=udisks) [Spaceloop_XL_1]
In this case the file system type is ext2, but may be something else. If no label exists, then something else is used and you must use this.

Then you can copy with:

Code: Select all

cp /var/log/Xorg.0.log /media/Spaceloop_XL_1
after that

Code: Select all

sync
umount /media/Spaceloop_XL_1
After command umount ends unplug the device.

Once again, strictly speaking, you have to know the device name exactly. Otherwise, your system may be damaged.

A word about your efforts. It is commendable that you are trying to incorporate into an operating system / a distribution. But you start at the wrong end. How to mount or copy is the simplest of all the basic knowledge. Urgently you need basic knowledge about the use / operation of Linux. This can not be conveyed to you here (this means I can not do). Please read appropriate introductory literature.
Last edited by westms on 22. Jan 2015, 23:28, edited 2 times in total.
noob51
Posts: 58
Joined: 22. Oct 2013, 16:56

Re: xserver error

Post by noob51 »

I followed your instructions and was able to copy the Xorg.0.log file from my 14.0 install to flash drive via the command line succesfully. But how do I find the Xorg.log of the 14.1 live cd ? Live cd will be sr0 ?
westms
Posts: 298
Joined: 17. Mar 2013, 18:51

Re: xserver error

Post by westms »

In your message from 8th Jan to this topic you showed your xorg.conf file. This file let load a Vesa driver on Salix 14.0. Excerpt:

Code: Select all

Section "Device"
    Identifier  "VESA Framebuffer"
    Driver      "vesa"
    #VideoRam    4096
    # Insert Clocks lines here if appropriate
EndSection
(8th Jan 2015, 16:42)

Did you use the Vesa driver and the Intel driver successively on Salix 14.0, and if so, what is the xorg.conf file that allowed to load the Intel driver? Was the Intel driver loaded successfully?

On 9th Jan you wrote:
Today i was able to boot into live cd using ACPI=off option, screen resolution is 1280x1024 using vesa & supplied intel driver, not too good but usable. (9th Jan 2015, 16:13)
The intel driver in 14.0 is 2.19.0, In 14.1 it is 2.21.15.


Why did you write "using vesa & supplied intel driver"? How did you get the Vesa driver and the Intel driver to work (with the live CD)?

Also I asked you for the native resolution of your screen. I'm assuming, it is a TFT display. What is its resolution, or what resolution do you wish to use?
noob51 wrote:I followed your instructions and was able to copy the Xorg.0.log file from my 14.0 install to flash drive via the command line succesfully.
But why? It's a full-working Salix 14.0 installation. You can show the log file out of the running system.
But how do I find the Xorg.log of the 14.1 live cd ? Live cd will be sr0 ?
The file is located where it should be, namely in /var/log . Have you looked there before? For the Live CD, the default file systems are normally in memory, not on disk. But that is not important to you, because you are using filesystems here, not devices.
noob51
Posts: 58
Joined: 22. Oct 2013, 16:56

Re: xserver error

Post by noob51 »

I'm sorry for being annoying, native resolution in 14.0 = 1366 x 768 using vesa. in 14.1 it is 1280 x 1024 using intel ?? I guess I should be satisfied with that. I thought 14.1 would self-configure to 1366 x 768 without any work. I ordered a graphics card but would have liked to fix the problem manually. But you say I cannot access /var/log/Xorg.0.log on live cd because it is running in memory ?
Hopefull the pci card works.

Thank you for your input.
westms
Posts: 298
Joined: 17. Mar 2013, 18:51

Re: xserver error

Post by westms »

noob51 wrote:I'm sorry for being annoying, native resolution in 14.0 = 1366 x 768 using vesa. in 14.1 it is 1280 x 1024 using intel ??
No. The native resolution depends on the screen. The resolution does not dependent on the version of the distribution. The resolution of the screen you can find in the manual or in the product description.
I guess I should be satisfied with that. I thought 14.1 would self-configure to 1366 x 768 without any work. I ordered a graphics card but would have liked to fix the problem manually.
That may be, if during installation or when starting the X server, the chipset is properly detected. If it is not detected, the Vesa driver is used. The Vesa driver has fewer possibilities. If the X server, for example, can not use any resolutions of the screen, because the Vesa driver does not know this resolutions, then the X server fails.
But you say I cannot access /var/log/Xorg.0.log on live cd because it is running in memory ?
No. I wrote /var/log is part of the filesystem that is in memory. It is not on the Live CD. So you can reach it and read, copy or change the log file, if you like to. The same applies to other files, e.g. /etc/X11/xorg.conf.
Hopefull the pci card works.
I'm sorry for you. This will be just another disaster.
noob51
Posts: 58
Joined: 22. Oct 2013, 16:56

Re: xserver error

Post by noob51 »

Hello sorry to bother you again, but as per your request my monitors native resolution is: 1366x768
After much trial & error here is the xorg.log from the 14.1 live cd.

[[ 82.282]
X.Org X Server 1.14.3
Release Date: 2013-09-12
[ 82.283] X Protocol Version 11, Revision 0
[ 82.283] Build Operating System: Slackware 14.1 Slackware Linux Project
[ 82.283] Current Operating System: Linux salixlive 3.10.17-smp #2 SMP Wed Oct 23 17:13:14 CDT 2013 i686
[ 82.283] Kernel command line: initrd=/boot/initrd.gz max_loop=255 vga=791 locale=en_US.utf8 keymap=us useswap=yes copy2ram=no tz=Etc/GMT hwc=localtime runlevel=4 BOOT_IMAGE=/boot/vmlinuz
[ 82.283] Build Date: 09 October 2013 09:56:03PM
[ 82.283]
[ 82.283] Current version of pixman: 0.30.2
[ 82.283] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 82.283] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 82.284] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Jan 22 00:44:41 2015
[ 82.286] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 82.286] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 82.287] (==) No Layout section. Using the first Screen section.
[ 82.287] (==) No screen section available. Using defaults.
[ 82.287] (**) |-->Screen "Default Screen Section" (0)
[ 82.287] (**) | |-->Monitor "<default monitor>"
[ 82.287] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 82.287] (==) Automatically adding devices
[ 82.287] (==) Automatically enabling devices
[ 82.287] (==) Automatically adding GPU devices
[ 82.288] (WW) The directory "/usr/share/fonts/local" does not exist.
[ 82.288] Entry deleted from font path.
[ 82.288] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[ 82.288] Entry deleted from font path.
[ 82.288] (WW) The directory "/usr/share/fonts/CID" does not exist.
[ 82.288] Entry deleted from font path.
[ 82.289] (==) FontPath set to:
/usr/share/fonts/TTF,
/usr/share/fonts/Type1,
/usr/share/fonts/misc,
/usr/share/fonts/75dpi/:unscaled,
/usr/share/fonts/100dpi/:unscaled,
/usr/share/fonts/75dpi,
/usr/share/fonts/100dpi,
/usr/share/fonts/cyrillic
[ 82.289] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 82.289] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 82.289] (II) Loader magic: 0x82553a0
[ 82.289] (II) Module ABI versions:
[ 82.289] X.Org ANSI C Emulation: 0.4
[ 82.289] X.Org Video Driver: 14.1
[ 82.289] X.Org XInput driver : 19.1
[ 82.289] X.Org Server Extension : 7.0
[ 82.289] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 82.291] (--) PCI:*(0:0:2:0) 8086:2e42:8086:0025 rev 3, Mem @ 0xd0000000/4194304, 0xc0000000/268435456, I/O @ 0x0000e1c0/8
[ 82.291] (--) PCI: (0:0:2:1) 8086:2e43:8086:0025 rev 3, Mem @ 0xd0400000/1048576
[ 82.291] (II) Open ACPI successful (/var/run/acpid.socket)
[ 82.292] Initializing built-in extension Generic Event Extension
[ 82.292] Initializing built-in extension SHAPE
[ 82.292] Initializing built-in extension MIT-SHM
[ 82.292] Initializing built-in extension XInputExtension
[ 82.292] Initializing built-in extension XTEST
[ 82.292] Initializing built-in extension BIG-REQUESTS
[ 82.292] Initializing built-in extension SYNC
[ 82.292] Initializing built-in extension XKEYBOARD
[ 82.292] Initializing built-in extension XC-MISC
[ 82.292] Initializing built-in extension XINERAMA
[ 82.293] Initializing built-in extension XFIXES
[ 82.293] Initializing built-in extension RENDER
[ 82.293] Initializing built-in extension RANDR
[ 82.293] Initializing built-in extension COMPOSITE
[ 82.293] Initializing built-in extension DAMAGE
[ 82.293] Initializing built-in extension MIT-SCREEN-SAVER
[ 82.293] Initializing built-in extension DOUBLE-BUFFER
[ 82.293] Initializing built-in extension RECORD
[ 82.293] Initializing built-in extension DPMS
[ 82.293] Initializing built-in extension X-Resource
[ 82.293] Initializing built-in extension XVideo
[ 82.293] Initializing built-in extension XVideo-MotionCompensation
[ 82.293] Initializing built-in extension XFree86-VidModeExtension
[ 82.293] Initializing built-in extension XFree86-DGA
[ 82.293] Initializing built-in extension XFree86-DRI
[ 82.294] Initializing built-in extension DRI2
[ 82.294] (II) LoadModule: "glx"
[ 82.303] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 82.304] (II) Module glx: vendor="X.Org Foundation"
[ 82.304] compiled for 1.14.3, module version = 1.0.0
[ 82.304] ABI class: X.Org Server Extension, version 7.0
[ 82.305] (==) AIGLX enabled
[ 82.305] Loading extension GLX
[ 82.305] (==) Matched intel as autoconfigured driver 0
[ 82.305] (==) Matched intel as autoconfigured driver 1
[ 82.305] (==) Matched vesa as autoconfigured driver 2
[ 82.305] (==) Matched modesetting as autoconfigured driver 3
[ 82.305] (==) Matched fbdev as autoconfigured driver 4
[ 82.305] (==) Assigned the driver to the xf86ConfigLayout
[ 82.305] (II) LoadModule: "intel"
[ 82.306] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[ 82.308] (II) Module intel: vendor="X.Org Foundation"
[ 82.308] compiled for 1.14.2, module version = 2.21.15
[ 82.309] Module class: X.Org Video Driver
[ 82.309] ABI class: X.Org Video Driver, version 14.1
[ 82.309] (II) LoadModule: "vesa"
[ 82.310] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[ 82.310] (II) Module vesa: vendor="X.Org Foundation"
[ 82.310] compiled for 1.14.3, module version = 2.3.3
[ 82.311] Module class: X.Org Video Driver
[ 82.311] ABI class: X.Org Video Driver, version 14.1
[ 82.311] (II) LoadModule: "modesetting"
[ 82.312] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 82.312] (II) Module modesetting: vendor="X.Org Foundation"
[ 82.312] compiled for 1.14.2, module version = 0.8.0
[ 82.312] Module class: X.Org Video Driver
[ 82.313] ABI class: X.Org Video Driver, version 14.1
[ 82.313] (II) LoadModule: "fbdev"
[ 82.321] (WW) Warning, couldn't open module fbdev
[ 82.321] (II) UnloadModule: "fbdev"
[ 82.321] (II) Unloading fbdev
[ 82.321] (EE) Failed to load module "fbdev" (module does not exist, 0)
[ 82.322] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
GM45, 4 Series, G45/G43, Q45/Q43, G41, B43, HD Graphics,
HD Graphics 2000, HD Graphics 3000, HD Graphics 2500,
HD Graphics 4000, HD Graphics P4000, HD Graphics 4600,
HD Graphics 5000, HD Graphics P4600/P4700, Iris(TM) Graphics 5100,
HD Graphics 4400, HD Graphics 4200, Iris(TM) Pro Graphics 5200
[ 82.324] (II) VESA: driver for VESA chipsets: vesa
[ 82.325] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 82.325] (++) using VT number 7

[ 82.330] (WW) Falling back to old probe method for vesa
[ 82.330] (WW) Falling back to old probe method for modesetting
[ 82.331] (II) intel(0): Creating default Display subsection in Screen section
"Default Screen Section" for depth/fbbpp 24/32
[ 82.331] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[ 82.331] (==) intel(0): RGB weight 888
[ 82.331] (==) intel(0): Default visual is TrueColor
[ 82.331] (--) intel(0): Integrated Graphics Chipset: Intel(R) B43
[ 82.331] (II) UnloadModule: "intel"
[ 82.331] (EE) Screen(s) found, but none have a usable configuration.
[ 82.331] (EE)
Fatal server error:
[ 82.331] (EE) no screens found(EE)
[ 82.332] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 82.332] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 82.332] (EE)
[ 82.338] (EE) Server terminated with error (1). Closing log file.
]
westms
Posts: 298
Joined: 17. Mar 2013, 18:51

Re: xserver error

Post by westms »

noob51 wrote:Hello sorry to bother you again,
Hello,

that you do not do!
but as per your request my monitors native resolution is: 1366x768
Give the following a try, but read all first.

Boot from Live CD into runlevel 3 or boot and wait for the X server has stoped. Then login and use the commands

Code: Select all

lspci | grep VGA
to get the PCI id. You'll get a line like:

Code: Select all

00:05.0 VGA compatible controller: NVIDIA Corporation C51 [GeForce 6150 LE] (rev a2)
take the numbers from the first column an replace the numbers within the xorg-intel_B43.conf line:

Code: Select all

#	BusID       "PCI:1:2:3"
with the got numbers.

Uncomment the line, then you'll have a line like this but with your PCI id:

Code: Select all

	BusID       "PCI:0:5:0"
and store the file on the USB stick.

Then change directory

Code: Select all

cd /etc/X11
use superuser rights for the following commands

Code: Select all

mv xorg.conf the_old_one-xorg.conf # if there is an xorg.conf
cp where_it_is_ever_mounted/xorg-intel_B43.conf xorg.conf
sync
chown root:root xorg.conf
chmod 644 xorg.conf
Try to run the X server again
with

Code: Select all

telinit 4
or with

Code: Select all

startx
grab file /var/log/Xorg.0.log, store it on your USB stick and show it here please.

Code: Select all

umount where_it_is_ever_mounted
To move xorg.conf, copy xorg-intel_B43.conf and restart the X server, you can do very painless first on your installed and working Salix 14.0. If it works there it works on 14.1 too.
You can do all necessary changes and tests on your 14.0 first. When you got a working xorg.conf for the Intel driver, try it on the SalixLive as described above. The PCI id could be different on all installations, so you need to get it new each time.

Good luck


Oh, the configuration file xorg-intel_B43.conf was missed:

Code: Select all

# File generated for noob51, 22th January 2015.

Section "ServerLayout"
	Identifier "Simple Layout"
	Screen "Screen 1"
	InputDevice "Mouse 1" "CorePointer"
	InputDevice "Keyboard 1" "CoreKeyboard"
EndSection

Section "ServerFlags"
#	Option 		"DontZap"		"off"
	Option		"DefaultServerLayout"  "Simple Layout"
EndSection

Section "Files"
	RgbPath "/usr/share/X11/rgb"

##	FontPath     "/usr/share/fonts/local"  # missing
#	FontPath     "/usr/share/fonts/TTF"  # default
##	FontPath     "/usr/share/fonts/OTF"  # missing
#	FontPath     "/usr/share/fonts/Type1"  # default
#	FontPath     "/usr/share/fonts/misc"  # default
##	FontPath     "/usr/share/fonts/CID"  # missing
#	FontPath     "/usr/share/fonts/75dpi/:unscaled"  # default
#	FontPath     "/usr/share/fonts/100dpi/:unscaled"  # default
#	FontPath     "/usr/share/fonts/75dpi"  # default
#	FontPath     "/usr/share/fonts/100dpi"  # default
#	FontPath     "/usr/share/fonts/cyrillic"  # default
EndSection

Section "Module"
#	Load "dbe"  	 # Double buffer extension  # default
	SubSection "extmod"
		Option "omit xfree86-dga"   # don't initialise the DGA extension
	EndSubSection

	Load "type1"
	Load "freetype"
#	Load "glx"  # default
EndSection

Section "InputDevice"
	Identifier "Keyboard 1"
	Driver "kbd"
EndSection

Section "InputDevice"
	Identifier "Mouse 1"
	Driver "mouse"
	Option "Protocol" "PS/2"
	Option "Device" "/dev/mouse"
EndSection

Section "Monitor"
	Identifier "Monitor 1"
	HorizSync	31.5-50.0
	VertRefresh	40-90
	Option	"DPMS"
	ModeLine "1366x768" 84.75 1366 1440 1584 1776 768 769 772 800 -hsync +vsync
EndSection

Section "Device"
	Identifier "Intel B43"
	Driver "intel"
#	Chipset "B43"
#	BusID       "PCI:1:2:3"
EndSection

Section "Screen"
	Identifier "Screen 1"
	Device "Intel B43"
	Monitor "Monitor 1"
	DefaultDepth 24

	Subsection "Display"
		Depth 8
		Modes "1366x768"  # "1280x1024" "1024x768" "800x600" "640x480"
	EndSubsection
	Subsection "Display"
		Depth 16
		Modes "1366x768"  # "1280x1024" "1024x768" "800x600" "640x480"
	EndSubsection
	Subsection "Display"
		Depth 24
		Modes "1366x768"  # "1280x1024" "1024x768" "800x600" "640x480"
	EndSubsection
	Subsection "Display"
		Depth 32
		Modes "1366x768"  # "1280x1024" "1024x768" "800x600" "640x480"
	EndSubsection
EndSection
noob51
Posts: 58
Joined: 22. Oct 2013, 16:56

Re: xserver error

Post by noob51 »

Thank you for your patience & guidance, this project will take a few days to complete.


thanks again.
westms
Posts: 298
Joined: 17. Mar 2013, 18:51

Re: xserver error

Post by westms »

I missed to write that the Modeline might not work. If the X server fail, then you can comment out or remove the line with Modeline and all four lines with Modes for the next trial.

Code: Select all

   ModeLine "1366x768" 84.75 1366 1440 1584 1776 768 769 772 800 -hsync +vsync

Code: Select all

      Modes "1366x768"  # "1280x1024" "1024x768" "800x600" "640x480"
Does it even not work, the line:

Code: Select all

#   Chipset "B43"
might help if you remove the comment character. I do not know if the Intel driver can actually do something with the line

Code: Select all

   Chipset "B43"
That may need to be tried.
noob51 wrote:[...], this project will take a few days to complete.
No, it will take about five minutes.
Post Reply