VectorLinux
August 22, 2014, 01:31:57 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1]
  Print  
Author Topic: Xorg refuses Intel driver  (Read 2688 times)
Piki
Member
*
Posts: 6


WWW
« on: January 05, 2011, 11:17:11 am »

Hi,
Decided to try Vector Linux 6.0 Kde-classic. I'm having trouble getting Xorg to start using the intel driver. I have to use the generic xorg.conf-vesa (none of the other failsafes will work, nor will the hardware-specific xorg.conf). Sometimes I get a blank screen, other times it complains of not finding any screens, and will sometimes complain of not being able to bind hw memory to get status.

lspci (second and third devices):
Code:
00:00.0 Host bridge: Intel Corporation Cantiga Memory Controller Hub (rev 07)
00:02.0 VGA compatible controller: Intel Corporation Cantiga Integrated Graphics Controller (rev 07)
00:02.1 Display controller: Intel Corporation Cantiga Integrated Graphics Controller (rev 07)
00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 03)
00:1c.2 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 3 (rev 03)
00:1c.3 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 4 (rev 03)
00:1c.4 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 5 (rev 03)
00:1c.5 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 6 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93)
00:1f.0 ISA bridge: Intel Corporation ICH9M LPC Interface Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation ICH9M/M-E SATA AHCI Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 03)
02:00.0 Network controller: Broadcom Corporation BCM4310 USB Controller (rev 01)
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E PCI Express Fast Ethernet controller (rev 02)

Hardware-specific xorg.conf ("X -configure", went with the vesa config on my last install just for the sake of having a working system):
Code:
Section "ServerLayout"
Identifier     "X.org Configured"
Screen      0  "Screen0" 0 0
InputDevice    "Mouse0" "CorePointer"
InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
RgbPath      "/usr/share/X11/rgb"
ModulePath   "/usr/lib/xorg/modules"
FontPath     "/usr/share/fonts/TTF"
FontPath     "/usr/share/fonts/OTF"
FontPath     "/usr/share/fonts/Type1"
FontPath     "/usr/share/fonts/misc"
FontPath     "/usr/share/fonts/75dpi/:unscaled"
EndSection

Section "Module"
Load  "GLcore"
Load  "dbe"
Load  "dri"
Load  "extmod"
Load  "glx"
Load  "record"
Load  "xtrap"
Load  "freetype"
Load  "type1"
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"
#DisplaySize   300   190 # mm
Identifier   "Monitor0"
VendorName   "AUO"
ModelName    "4444"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"            # [<bool>]
        #Option     "SWcursor"            # [<bool>]
        #Option     "ColorKey"            # <i>
        #Option     "CacheLines"          # <i>
        #Option     "Dac6Bit"            # [<bool>]
        #Option     "DRI"                # [<bool>]
        #Option     "NoDDC"              # [<bool>]
        #Option     "ShowCache"          # [<bool>]
        #Option     "XvMCSurfaces"        # <i>
        #Option     "PageFlip"            # [<bool>]
Identifier  "Card0"
Driver      "intel"
VendorName  "Intel Corporation"
BoardName   "Mobile Integrated Graphics Controller"
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

lsmod:
Code:
Module                  Size  Used by
snd_seq_dummy           3588  0
snd_seq_oss            31616  0
snd_seq_midi_event      6912  1 snd_seq_oss
snd_seq                52016  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device          7564  3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss            46208  0
snd_mixer_oss          15616  1 snd_pcm_oss
speedstep_lib           4740  0
acpi_cpufreq            7948  0
freq_table              4352  1 acpi_cpufreq
uvcvideo               54408  0
compat_ioctl32          2048  1 uvcvideo
videodev               33792  1 uvcvideo
rtc_cmos               10144  0
i2c_i801                9616  0
v4l1_compat            14852  2 uvcvideo,videodev
ieee80211_crypt_tkip     9728  0
rtc_core               15132  1 rtc_cmos
snd_hda_intel         397104  0
i2c_core               21268  1 i2c_i801
rtc_lib                 3328  1 rtc_core
wl                   1068420  0
snd_pcm                75268  2 snd_pcm_oss,snd_hda_intel
r8169                  28164  0
snd_timer              20872  2 snd_seq,snd_pcm
mii                     5376  1 r8169
snd_page_alloc          8712  2 snd_hda_intel,snd_pcm
ieee80211_crypt         5380  2 ieee80211_crypt_tkip,wl
snd_hwdep               8196  1 snd_hda_intel
snd                    54052  10 snd_seq_dummy,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_hda_intel,snd_pcm,snd_timer,snd_hwdep
soundcore               7008  1 snd
video                  17296  0
output                  3456  1 video
wmi                     6568  0
joydev                 10048  0
evdev                  10144  9

It has been a hassle setting up Vector. I keep running into problems, one of which I'm still having (not related to this problem, so I'll make another post for it). I've had a lot of bad luck with many other distros (I am a strong Linux and have had a few work), so I'm hoping to add a working system to my arsenal  Wink
Logged

You don't know what what Linux do until you try!
rm-r
DoucheBag
Vectorite
***
Posts: 115


« Reply #1 on: February 16, 2011, 03:48:43 pm »

Hmmm, yet another unresolved intel vid driver post ?

Command scanpci is more informative (use piped "grep" to limit output to GPU device)

First  questionable item noticed in lsmod probe -  no module named "intel" as  driver for basic display  usage
(Googling uvcvideo -  appears to be support for usb devices only - cams etc etc)
"video" module -  might  mean uvcvideo - not GPU card

EDIT:  Just noticed -in your xorg.conf file (did  it work ?) no "screen modes" lines have been set
This may be optional IF xorg uses built-in VESA modes
- If they do not match monitor edid probe - - should be specified (wide -screens are notorious for that)

(Have you used command "xrandr" to see probed modes available ?)

Re Display sub-section : When different screensizes are specified, 
The "Active display"  - is first to match -then next inline - OR falls back to defaults
(I.E. if  "1280x1024"  precedes any other that will be used)

Instead you have "viewport" which only sets  virtual screen placement
(Please see "Display Subsection in below:)

http://www.x.org/archive/X11R6.8.1/doc/xorg.conf.5.html

Which kernel, xorg version (same as Joe 1962 ?)

Perhaps this URL may shed some light:

http://intellinuxgraphics.org/documentation.html

Are  you also having problems primarily w/GUI under KDE desktop  ?

And as Joe's post - what  xorg errors are being logged
(you state it varies ?) 

Blank or  not finding useable screen indicates driver CFG for xorg is improperly Cfg'd or not loaded


"Binding" error Msg needs exact wording - relates to GPU  device mem allocations
(device DMA is probed, parameters noted, used or discarded)



« Last Edit: February 16, 2011, 08:53:44 pm by rm-r » Logged

"Problems are seldom resolved by thinking in the same manner they were created"

"What is viewed is not important - That which is seen is"
fogpipe
Vectorite
***
Posts: 105


« Reply #2 on: March 03, 2011, 08:43:41 pm »

You might want to try installing the intel driver. Its a pretty straight forward ./configure, make, make install installation. you do need to install a newer version of libdrm and pay some attention to the install directories. The intel driver is  stable but slow.
Logged
fogpipe
Vectorite
***
Posts: 105


« Reply #3 on: March 06, 2011, 07:13:50 pm »

Heres what i did to make this work on VL Light. I will try to summarize the steps.

The files you will need are:

libdrm-2.4.22.tar.gz     xf86-video-intel-2.7.0.tar.gz

Compile and install libdrm first. Run "./configure --prefix=/usr" and then just "make" and "make install" as usual
Repeat the above steps for the  xf86-video-intel driver

I didnt notice that it did alot of good fiddling with the xorg.conf ymmv, but if you have stability problems you may want to add "Option AccelMethod "EXA" to the appropriate section (see man intel) after installing the driver.
Depending on the version of the chip you have it may try to use UXA, which for me, sometimes results in X dying abruptly.

You will probably need to use xrandr to get the resolution right ex. xrandr-s 1280x1024 (or what ever resolution will work) 1280x1024 is the only one that works for me and allows me to see all the screen.

Video playback with gmplayer did not work for me with the default settings, select gl or gl2 in gmplayer preferences for best results.

Recompiling the kernel also seemed to help generally, tho it probably isnt necessary. I left out acpi and apm and chose the reserve the first 64k of memory for the bios option. I saw an Xorg log message referring to the bios and thought it might be worth a shot Smiley

Good Luck Smiley

EDIT: Its probably a good idea to turn off acpi generally for this chip.
« Last Edit: March 06, 2011, 07:22:39 pm by fogpipe » Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!