Page 2 of 4

Re: xserver error

Posted: 10. Jan 2015, 02:27
by westms
noob51 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.

The intel driver in 14.0 is 2.19.0, In 14.1 it is 2.21.15.
Possible cause??

Thanks.
Now you are using 1280x1024, but you are not satisfied. In the file xorg.conf, the maximum resolution is even only 1024x768.

If I had to solve the problem, I would do the following:

1. Use the Salix 14.0 installation for testing, because obviously it works.
2. Determine the natural screen resolution, e.g. from the manual.
3. Include this resolution in file /etc/X11/xorg.conf, this one with the VESA driver.
4. Create the same for a second xorg.conf file that uses the Intel driver (xf86-video-intel).
5. Test all.
6. Save/backup both files.
7. Install Salix 14.1.
8. If there are problems with X, use the file in 3rd,
9. then use the file in 4th.

To 3rd and 4th: assumed, this resolution is 1600x1200, then change all lines with Modes "1024x768" "800x600" "640x480" to Modes "1600x1200" "1024x768" "800x600" "640x480" and test it. Use only resolutions that are supported by each driver and the monitor simultaneously. The resolutions which offer the drivers are different. Vesa will offer less.

If it works with the Vesa driver, start again with the Intel driver. The use of the Intel-Driver instead of Vesa, will result in better performance. Thats what you want.

Instead of 7th perhaps you can keep your Salix 14.0 and boot the live cd. Then stop the X server and start X again with a command line that points to one of the saved xorg.conf files. You have to mount the backup medium first. But I can not say, if the Salix live do allow this.

Please read
/usr/doc/xf86-video-intel-2.21.15/README
and
man intel

Re: xserver error

Posted: 10. Jan 2015, 07:51
by coroner
noob51 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.

The intel driver in 14.0 is 2.19.0, In 14.1 it is 2.21.15.
Possible cause??

Thanks.
Hi.

Do you try generate new xorg.conf?

Code: Select all

Xorg :0 -configure
Maybe i dont understood but you use vesa driver not intel.

Code: Select all

Section "Device"
    Identifier  "VESA Framebuffer"
    Driver      "vesa"
    #VideoRam    4096
    # Insert Clocks lines here if appropriate
EndSection

Re: xserver error

Posted: 11. Jan 2015, 00:31
by noob51
noob51 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.

The intel driver in 14.0 is 2.19.0, In 14.1 it is 2.21.15.
Possible cause??

Thanks.
Thanks for replying, I'm lost but planning a solution.
still haven't figured out code tags.

Re: xserver error

Posted: 11. Jan 2015, 04:07
by westms
noob51 wrote: Thanks for replying, I'm lost but planning a solution.
still haven't figured out code tags.
In a previous post you wrote: 1280x1024 using vesa & supplied intel driver[...]

First question: is 1280x1024 the resolution that you like to have?

Second question: how did you use the intel driver? For this you have to change the xorg.conf file, which was created for the Vesa driver. What have you changed?

Please try to answer the questions.
The various xorg.conf files you should keep so you can use them later for further experiments again.

Re: xserver error

Posted: 11. Jan 2015, 19:01
by noob51
I went to the intel download center, they have stack release downloads
are these what i need ? or do i need a plugin video card ?

Installed hwinfo,

Code: Select all

Hardware Class: graphics card
  Model: "Intel 4 Series Chipset Integrated Graphics Controller"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x2e42 "4 Series Chipset Integrated Graphics Controller"
  SubVendor: pci 0x8086 "Intel Corporation"
  SubDevice: pci 0x0025 
  Revision: 0x03
  Driver: "i915"
  Driver Modules: "drm"
  Memory Range: 0xd0000000-0xd03fffff (rw,non-prefetchable)
  Memory Range: 0xc0000000-0xcfffffff (ro,non-prefetchable)
  I/O Ports: 0xe1c0-0xe1c7 (rw)
  IRQ: 44 (8922 events)
  I/O Ports: 0x3c0-0x3df (rw)
  Module Alias: "pci:v00008086d00002E42sv00008086sd00000025bc03sc00i00"
  Driver Info #0:
    Driver Status: i915 is active
    Driver Activation Cmd: "modprobe i915"
  Config Status: cfg=new, avail=yes, need=no, active=unknown

Hope this sheds light.

Re: xserver error

Posted: 11. Jan 2015, 22:14
by westms
noob51 wrote:I went to the intel download center, they have stack release downloads
are these what i need ? or do i need a plugin video card ?
None of it.

The Intel driver xf86-video-intel (X.org graphics driver for Intel graphics) is already installed. You can just use it.

From the Intel manpage:

Code: Select all

SUPPORTED HARDWARE
   supports the intel i810, i810-DC100, i810e, i815, i830M, 845G, 852GM, 855GM,
   865G, 915G, 915GM, 945G, 945GM, 965G, 965Q, 946GZ, 965GM, 945GM, G33,
   Q33, Q35, G35, GM45, G45, Q45, G43, G41 chipsets, and Pineview-M N400 Atom
   series, Pineview-D in nuclear D400 / D500 series.
G45 is probably the name of the chipset GMA X4500

To try this chipset you could change first

Code: Select all

Section "Device"
   Identifier "VESA framebuffer"
   Driver "vesa"
EndSection
to:

Code: Select all

Section "Device"
   Identifier "VESA framebuffer"
   Driver "intel"
   Chipset "G45"
EndSection
Change all occurrences of "VESA framebuffer" to in example "Intel GMA X4500" to make the identifier strings correct.Than try to start the X server. If this causes problems, then try to omit the line Driver "intel".
also
cannot run Xorg --configure with x running.
If you like to run Xorg --configure, you have to stop the X server first. The best way is to change the runlevel to 4 or less. From a tty console do:

Code: Select all

sudo /sbin/telinit 4

Re: xserver error

Posted: 13. Jan 2015, 22:11
by noob51
How do i execute sudo /sbin/telinit 4 with su command ? Can I add myself to sudoers in 14.0 ?


UPDATE:

su init 3 stops X server.

Re: xserver error

Posted: 14. Jan 2015, 01:50
by westms
noob51 wrote:How do i execute sudo /sbin/telinit 4 with su command ? Can I add myself to sudoers in 14.0 ?


UPDATE:

su init 3 stops X server.
Right, it is runlevel 3. I just wanted to see if you ever read what I write.

Re: xserver error

Posted: 15. Jan 2015, 00:34
by noob51
Hello again,

When I am in runlevel 3 will I have to use nano to edit the /etc/X11/xorgconf.d file in 14.1 ?

Also tried visudo to add myself to soders, did not work.

Re: xserver error

Posted: 15. Jan 2015, 18:40
by westms
noob51 wrote:Hello again,

When I am in runlevel 3 will I have to use nano to edit the /etc/X11/xorgconf.d file in 14.1 ?
Hello,

what editor do you use is your decision. Nano, vim, emacs or others.
Also tried visudo to add myself to soders, did not work.
I do not know what you're trying there. If you want to use your editor, you need to set your editor, z.B. in ~/.bashrc. For example with: export EDITOR=/usr/bin/vim
Suppose your user's name is noop51, then that takes place in the noop51 environment. With sudoedit filename you can then edit each file.