WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Yet Another Intel Graphics 2 Thread (just cannot get it to work)  (Read 5496 times)

Offline tokafondo

  • Newbie
  • *
  • Posts: 6
Hello. First of all, thanks for Tiny Core linux. Second: greetings to all members.

Now for the subject:

I have a LG Notebook with integrated 855GM graphics.

I've tried several modes (Xvesa, Xfbdev and Xorg) and cannot get it to work.

Tried loading agpgart, intel-agp and drm.

Tried 915resolution

Results vary, but the go from "no screens found" to load X, show up the mouse pointer, but the screen is fuzzed with horizontal lines, just like out of sync.

What to do now?

Can I download the latest intel driver and load it to TCL?

Will i have to compile latest linux kernel, xorg and/or drm?

Thanks for your help.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14815
Re: Yet Another Intel Graphics 2 Thread (just cannot get it to work)
« Reply #1 on: October 13, 2009, 11:36:00 PM »
Have you tried booting "base norestore text" and then "Xvesa -listmodes" to see what video modes are supported on your hardware? If so, what does it show?

More details at http://wiki.tinycorelinux.com/tiki-index.php?page=Display+Modes

Offline tokafondo

  • Newbie
  • *
  • Posts: 6
Re: Yet Another Intel Graphics 2 Thread (just cannot get it to work)
« Reply #2 on: October 14, 2009, 03:05:05 AM »
Yes, but xvesa does  not list modes. Forcing to 800x600 in Xorg does not work, too.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14815
Re: Yet Another Intel Graphics 2 Thread (just cannot get it to work)
« Reply #3 on: October 14, 2009, 03:28:48 AM »
Yes, but xvesa does  not list modes

Really? Does this give any kind of error message?
Code: [Select]
$ Xvesa -listmodesNote the capital "X" in Xvesa

Edit: Here's what I get with an intel 945GM:
Code: [Select]
$ Xvesa -listmodes
VBE version 3.0 (Intel(r) 82945GM Chipset Family Graphics Chip Accelerated VGA BIOS)
DAC is fixed, controller is VGA compatible, RAMDAC causes snow
Total memory: 7872 kilobytes
0x0006: 640x200x1 (monochrome) Planar (1 planes)
0x000D: 320x200x4 Planar (4 planes) (no linear framebuffer)
0x000E: 640x200x4 Planar (4 planes) (no linear framebuffer)
0x0010: 640x350x4 Planar (4 planes) (no linear framebuffer)
0x0011: 640x480x1 (monochrome) Planar (1 planes)
0x0012: 640x480x4 Planar (4 planes) (no linear framebuffer)
0x0013: 320x200x8 PseudoColor
0x0105: 1024x768x8 PseudoColor
0x0117: 1024x768x16 TrueColor [5:6:5:0]
0x0118: 1024x768x24 TrueColor [8:8:8:8]
0x0112: 1280x800x24 TrueColor [8:8:8:8]
0x0114: 800x600x16 TrueColor [5:6:5:0]
0x0115: 800x600x24 TrueColor [8:8:8:8]
0x0101: 1280x800x8 PseudoColor
0x0103: 800x600x8 PseudoColor
0x0111: 1280x800x16 TrueColor [5:6:5:0]

Note that on this machine, Xorg will not work "confless"
« Last Edit: October 14, 2009, 04:06:37 AM by Juanito »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14815
Re: Yet Another Intel Graphics 2 Thread (just cannot get it to work)
« Reply #4 on: October 14, 2009, 06:34:55 AM »
I thought about this a bit more and I seem to remember thay my last laptop (dell d400) had an intel 855GM and it never worked with Xvesa and the confless/configure did not work with Xorg either.

If it helps, here's what I need with my new(er) laptop (dell d430) with an intel 945GM to get Xorg working with tc-2.4.1:

1. Load the Xorg-7.4, expat2, fontconfig, pixman, openssl-0.9.8h, graphics-2.6.29.1-tinycore and hwmon-2.6.29.1-tinycore extensions.

2. If you already "startx-ed", drop back to the prompt and:
Code: [Select]
$ sudo rm /etc/sysconfig/Xserver
$ sudo echo "Xorg" > /etc/sysconfig/Xserver

3. load the modules the intel chipset needs (some are already loaded):
Code: [Select]
$ sudo modprobe i915
$ sudo modprobe drm
$ lsmod

Module                  Size  Used by
i915                  101560  2
drm                    84616  3 i915
i2c_algo_bit            2956  1 i915
i2c_i801                5280  0
i2c_core                9980  4 i915,drm,i2c_algo_bit,i2c_i801
intel_agp              14984  1
agpgart                15724  3 drm,intel_agp

4. Copy something like this to /etc/X11/xorg.conf:
Code: [Select]
Section "ServerLayout"
Identifier     "X.org Configured"
Screen      0  "Screen0" 0 0
InputDevice    "Mouse0" "CorePointer"
InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
ModulePath   "/usr/local/lib/X11/modules"
FontPath     "/usr/local/lib/X11/fonts/misc/"
FontPath     "/usr/local/lib/X11/fonts/TTF/"
FontPath     "/usr/local/lib/X11/fonts/75dpi/"
EndSection

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

Section "InputDevice"
Identifier  "Keyboard0"
Driver      "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
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"
Identifier  "Card0"
Driver      "intel"
VendorName  "Intel Corporation"
BoardName   "Integrated Graphics Chipset: Intel(R) 945GM"
BusID       "PCI:0:2:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device     "Card0"
Monitor    "Monitor0"
SubSection "Display"
Viewport   0 0
Depth     24
Modes     "1280x800" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "DRI"
Group "video"
Mode 0666
EndSection
Not all of this is required, but just in case...

5. "startx"

Offline tokafondo

  • Newbie
  • *
  • Posts: 6
Re: Yet Another Intel Graphics 2 Thread (just cannot get it to work)
« Reply #5 on: October 27, 2009, 05:54:13 AM »
Well, I had to delay the testing of this for a while and now I could do it, but still the same: garbled screen but pointer show.

How to compile the latest intel driver, (2.9.x) that seems to have improvements for i8xx chipsets??

Thanks.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14815
Re: Yet Another Intel Graphics 2 Thread (just cannot get it to work)
« Reply #6 on: October 27, 2009, 06:40:18 AM »
blfs is probably the best place to look for instructions on how to compile xorg drivers

Offline tokafondo

  • Newbie
  • *
  • Posts: 6

Offline tokafondo

  • Newbie
  • *
  • Posts: 6
Re: Yet Another Intel Graphics 2 Thread (just cannot get it to work)
« Reply #8 on: October 27, 2009, 10:34:46 AM »
It seems I have no choice but try to install gentoo or other linux here, in this box, because the only I get are errors and more errors.

Trying to follow steps from the thread of my previous post, I get something like "x11 module not found, required xorg-server >=1.6 ...."

And I think I will give up here, because I have no knowledge of this.

I'm switching from Windows but still haven't found an easy way to stay in Linux without being a guru.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14815
Re: Yet Another Intel Graphics 2 Thread (just cannot get it to work)
« Reply #9 on: October 27, 2009, 11:33:36 AM »
Trying to follow steps from the thread of my previous post, I get something like "x11 module not found, required xorg-server >=1.6 ...."

I believe this is because the server in the Xorg-7.4 extension is 1.5...

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: Yet Another Intel Graphics 2 Thread (just cannot get it to work)
« Reply #10 on: October 30, 2009, 05:47:37 AM »
Are we talking TC 1.x here? In TC 2.x it has been 1.6.1 for a while now.
The only barriers that can stop you are the ones you create yourself.