LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   intel display and wireless driver for debian lenny (https://www.linuxquestions.org/questions/linux-software-2/intel-display-and-wireless-driver-for-debian-lenny-769255/)

peeths003 11-15-2009 03:37 AM

intel display and wireless driver for debian lenny
 
Hi ,

I installed Debian Lenny on my notebook , This has an intel GM965 graphics card and and Intel Corporation PRO/Wireless 4965 AG wireless card.


Display Card Issue :


The driver that is installed is xserver-xorg-video-intel version that is installed is 2:2.3.2+lenny6, The display seems to be lagging sometimes and i think this might be because the xserver is not configured correctly.

This is my xorg.conf

Quote:

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
EndSection

Section "Device"
Identifier "Configured Video Device"
EndSection

Section "Monitor"
Identifier "Configured Monitor"
EndSection

"/etc/X11/xorg.conf" 41 lines, 1077 characters


I tried running

Quote:

Peeths002:~# dpkg-reconfigure -phigh xserver-xorg

xserver-xorg postinst warning: overwriting possibly-customised configuration
file; backup in /etc/X11/xorg.conf.20091115095146

but didn't help me much , also when i try running a video using mplayer , i get the below error message

Quote:

Error opening/initializing the selected video_out(-vo) device
Quote:

Peeths002:~$ glxinfo | grep direct
direct rendering: Yes
Please help me in Configuring the display for xserver.


Wireless Network :

The machine is not able to detect any wireless connection near,

Quote:

iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

wmaster0 no wireless extensions.

wlan0 IEEE 802.11 ESSID:""
Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated
Tx-Power=0 dBm
Retry min limit:7 RTS thr:off Fragment thr=2352 B
Encryption key:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
I am listing my lspci below


Quote:

lspci
00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 0c)
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c)
00:02.1 Display controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c)

00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 03)
00:1c.2 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 3 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f3)
00:1f.0 ISA bridge: Intel Corporation 82801HEM (ICH8M) LPC Interface Controller (rev 03)
00:1f.2 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA IDE Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 03)
02:00.0 Network controller: Intel Corporation PRO/Wireless 4965 AG or AGN [Kedron] Network Connection (rev 61)
06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 01)
08:07.0 CardBus bridge: Texas Instruments PCIxx12 Cardbus Controller
08:07.1 FireWire (IEEE 1394): Texas Instruments PCIxx12 OHCI Compliant IEEE 1394 Host Controller
08:07.2 Mass storage controller: Texas Instruments 5-in-1 Multimedia Card Reader (SD/MMC/MS/MS PRO/xD)

Please help ......


Thanks
Peeths

craigevil 11-15-2009 03:53 AM

Section "ServerFlags"
Option "AllowMouseOpenFail" "true"
Option "DontZap" "off"
EndSection


Section "Device"
Identifier "Configured Video Device"
Driver "intel"
Option "AccelMethod" "UXA"
Option "MigrationHeuristic" "smart"
EndSection

Section "Module"
Load "dbe"
Load "dri"
Load "extmod"
Load "glx"
Load "bitmap"
Load "record"
EndSection
Section "DRI"
Mode 0666
EndSection

On my desktop the above is what my xorg.conf looks like. You will probably want a section for the touchpad as well.

For the wirelss take a look at http://wiki.debian.org/WiFi

peeths003 11-15-2009 03:59 AM

Other details

Quote:

Peeths002:~$ uname -a
Linux Peeths002 2.6.26-2-686 #1 SMP Fri Oct 23 23:43:53 UTC 2009 i686 GNU/Linux

peeths003 11-15-2009 04:00 AM

if I add the same details above will that be sufficient for the xserver to function properly ? I mean without any lag and also for video .

peeths003 11-15-2009 04:08 AM

Wireless network is up and running .....

Thanks , I am trying to configure my xserver .........

peeths003 11-15-2009 04:17 AM

Hi ,

This is how my xorg.conf looks , but the display is the same , not able to play video


Quote:

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection


Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
EndSection

Section "Device"
Identifier "Configured Video Device"
Driver "intel"
Option "AccelMethod" "UXA"
Option "MigrationHeuristic" "smart"
EndSection

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

Section "DRI"
Mode 0666
EndSection

Section "Monitor"
Identifier "Configured Monitor"
EndSection

Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
EndSection



craigevil 11-15-2009 05:30 AM

First change the UXA to Exa or XAA then in mplayer's preferences set the video to xv.

peeths003 11-15-2009 07:18 AM

That did the trick , thanks a lot ............... ( :) )

peeths003 11-15-2009 07:29 AM

I got another problem now . with compiz-fusion there no video from mplayer or any other player , This is becoming weird .


Quote:


Peeths002:~$ mplayer /home/peeths/Desktop/The\ Hangover\ \(2009\)\ DVDSCR-MAXSPEED/The\ Hangover\ \(2009\)\ DVDSCR-MAXSPEED\ www.torentz.3xforum.ro.avi
MPlayer dev-SVN-r26940
CPU: Intel(R) Core(TM)2 Duo CPU T7250 @ 2.00GHz (Family: 6, Model: 15, Stepping: 13)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing /home/peeths/Desktop/The Hangover (2009) DVDSCR-MAXSPEED/The Hangover (2009) DVDSCR-MAXSPEED www.torentz.3xforum.ro.avi.
AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
VIDEO: [XVID] 672x272 12bpp 23.976 fps 903.7 kbps (110.3 kbyte/s)
Clip info:
Software: FairUse Wizard - http://fairusewizard.com
open: No such file or directory
[MGA] Couldn't open: /dev/mga_vid
open: No such file or directory
[MGA] Couldn't open: /dev/mga_vid
[VO_TDFXFB] Can't open /dev/fb0: No such file or directory.
s3fb: can't open /dev/fb0: No such file or directory
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 672 x 272 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 2.47:1 - prescaling to correct movie aspect.
VO: [xv] 672x272 => 672x272 Planar YV12
X11 error: BadAlloc (insufficient resources for operation)?,?% 0 0
X11 error: BadAlloc (insufficient resources for operation)?,?% 0 0
X11 error: BadAlloc (insufficient resources for operation)
X11 error: BadAlloc (insufficient resources for operation)?,?% 0 0
X11 error: BadAlloc (insufficient resources for operation)?,?% 0 0
X11 error: BadAlloc (insufficient resources for operation)?,?% 0 0
X11 error: BadAlloc (insufficient resources for operation)?,?% 0 0
X11 error: BadAlloc (insufficient resources for operation)?,?% 0 0
X11 error: BadAlloc (insufficient resources for operation)
X11 error: BadAlloc (insufficient resources for operation)?,?% 0 0
X11 error: BadAlloc (insufficient resources for operation)0.6% 0 0
X11 error: BadAlloc (insufficient resources for operation)0.5% 0 0
X11 error: BadAlloc (insufficient resources for operation)
X11 error: BadAlloc (insufficient resources for operation)0.5% 0 0
X11 error: BadAlloc (insufficient resources for operation)0.5% 0 0
X11 error: BadAlloc (insufficient resources for operation)
X11 error: BadAlloc (insufficient resources for operation)0.5% 0 0
X11 error: BadAlloc (insufficient resources for operation)0.5% 0 0
X11 error: BadAlloc (insufficient resources for operation)0.5% 0 0
X11 error: BadAlloc (insufficient resources for operation)0.5% 0 0
X11 error: BadAlloc (insufficient resources for operation)
X11 error: BadAlloc (insufficient resources for operation)0.5% 0 0
X11 error: BadAlloc (insufficient resources for operation)0.5% 0 0
X11 error: BadAlloc (insufficient resources for operation)0.5% 0 0
X11 error: BadAlloc (insufficient resources for operation)0.5% 0 0
X11 error: BadAlloc (insufficient resources for operation)
X11 error: BadAlloc (insufficient resources for operation)
X11 error: BadAlloc (insufficient resources for operation)0.5% 0 0
X11 error: BadAlloc (insufficient resources for operation)0.5% 0 0
X11 error: BadAlloc (insufficient resources for operation)0.5% 0 0
X11 error: BadAlloc (insufficient resources for operation)
X11 error: BadAlloc (insufficient resources for operation)0.5% 0 0
X11 error: BadAlloc (insufficient resources for operation)
X11 error: BadAlloc (insufficient resources for operation)0.5% 0 0
X11 error: BadAlloc (insufficient resources for operation)0.5% 0 0
X11 error: BadAlloc (insufficient resources for operation)
X11 error: BadAlloc (insufficient resources for operation)0.5% 0 0
Sound is there though ....... :(

peeths003 11-15-2009 01:45 PM

Any help please ....

craigevil 11-15-2009 02:15 PM

Try adding to your xorg.conf

Section "Extensions"
Option "Composite" "Enable"
Endsection

http://wiki.debian.org/Compiz

peeths003 11-16-2009 10:30 AM

Hi ,



Still no luck ......... :( . This is how my xorg.conf looks now .

Quote:


Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
EndSection

Section "Device"
Identifier "Configured Video Device"
Driver "intel"
Option "AccelMethod" "XAA"
Option "MigrationHeuristic" "smart"
Option "XAANoOffscreenPixmaps" "true"
EndSection

# Dedicated "Extensions" section
Section "Extensions"
Option "Composite" "enable"
EndSection

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

Section "DRI"
Mode 0666
EndSection

Section "Monitor"
Identifier "Configured Monitor"
EndSection

Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
EndSection






Addition of the below block in xorg.conf increased the display performance.

Section "Extensions"
Option "Composite" "enable"
EndSection


What will i do now ?


Thanks
Anoop

jens 11-16-2009 11:02 AM

Your video card might have problems with the xv driver (what's your default resolution? do you have descent hw acceleration).

Does it work with X11 instead of xv (in mplayer)?

peeths003 11-16-2009 11:24 AM

My default resolution is 1200x800 .

Yes I am pretty sure it has a decent hw accelaration. I also have Fedora in the same machine , with whih the video works well and fine with compiz fusion .

it works with X11 drivers , but full screen is not available in that (:()

and I also tried with the gl driver , but it flickers sometimes. am not sure why

This is what i get when i use gl driver

Quote:


Peeths002:~$ gmplayer /home/peeths/Desktop/The\ Echo\ 2008\ ExtraScene\ RG/The\ Echo\ 2008\ DvdRip\ ExtraScene\ RG.avi
MPlayer dev-SVN-r26940
CPU: Intel(R) Core(TM)2 Duo CPU T7250 @ 2.00GHz (Family: 6, Model: 15, Stepping: 13)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing /home/peeths/Desktop/The Echo 2008 ExtraScene RG/The Echo 2008 DvdRip ExtraScene RG.avi.
AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
VIDEO: [XVID] 640x256 24bpp 23.976 fps 887.6 kbps (108.3 kbyte/s)
[gl] using extended formats. Use -vo gl:nomanyfmts if playback fails.
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
[mpeg4 @ 0x87a0ff0]Invalid and inefficient vfw-avi packed B frames detected
[mpeg4 @ 0x87a0ff0]Invalid and inefficient vfw-avi packed B frames detected
VDec: vo config request - 640 x 256 (preferred colorspace: Planar YV12)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 2.50:1 - prescaling to correct movie aspect.
[swscaler @ 0x8790df8]using unscaled yuv420p -> rgb32 special converter
VO: [gl] 640x256 => 640x256 BGRA
[mpeg4 @ 0x87a0ff0]Invalid and inefficient vfw-avi packed B frames detected
[mpeg4 @ 0x87a0ff0]Invalid and inefficient vfw-avi packed B frames detected
[mpeg4 @ 0x87a0ff0]Invalid and inefficient vfw-avi packed B frames detected
[mpeg4 @ 0x87a0ff0]Invalid and inefficient vfw-avi packed B frames detected
[mpeg4 @ 0x87a0ff0]Invalid and inefficient vfw-avi packed B frames detected
[mpeg4 @ 0x87a0ff0]Invalid and inefficient vfw-avi packed B frames detected
[mpeg4 @ 0x87a0ff0]Invalid and inefficient vfw-avi packed B frames detected
[mpeg4 @ 0x87a0ff0]Invalid and inefficient vfw-avi packed B frames detected
[mpeg4 @ 0x87a0ff0]Invalid and inefficient vfw-avi packed B frames detected
[mpeg4 @ 0x87a0ff0]Invalid and inefficient vfw-avi packed B frames detected
[mpeg4 @ 0x87a0ff0]Invalid and inefficient vfw-avi packed B frames detected
[mpeg4 @ 0x87a0ff0]Invalid and inefficient vfw-avi packed B frames detected
[mpeg4 @ 0x87a0ff0]Invalid and inefficient vfw-avi packed B frames detected
[mpeg4 @ 0x87a0ff0]Invalid and inefficient vfw-avi packed B frames detected
A: 246.6 V: 246.6 A-V: -0.004 ct: 0.120 5914/5914 6% 29% 0.6% 0 0
Exiting... (Quit)



craigevil 11-16-2009 12:01 PM

If it works in fedora, why not just copy the xorg.conf and mplayer.conf from there to your debian partition? Other than package versions and the way they are installed linux is pretty much linux. Settings that work on one distro will normally work on a different one.
Code:

# Write your default config options here!


[gnome-mplayer]
msglevel=all=5
vo=x11
zoom=1
vf=eq2
ao=alsa

works well for me.

Graphics: Card Intel 82915G/GV/910GL Integrated Graphics Controller X.Org 1.6.5 Res: 1280x1024@60.0hz
GLX Renderer Mesa DRI Intel 915G GEM 20090712 2009Q2 RC3 x86/MMX/SSE2 GLX Version 1.4 Mesa 7.6 Direct Rendering Yes

$ apt-cache policy xserver-xorg-video-intel
xserver-xorg-video-intel:
Installed: 2:2.9.0-1
Candidate: 2:2.9.0-1

$ apt-cache policy xserver-xorg
xserver-xorg:
Installed: 1:7.4+4
Candidate: 1:7.4+4

$ apt-cache policy libgl1-mesa-glx
libgl1-mesa-glx:
Installed: 7.6-1
Candidate: 7.6-1


$ apt-cache policy mplayer
mplayer:
Installed: 1:1.0.rc2svn20091101-0.0
Candidate: 1:1.0.rc2svn20091101-0.0


All times are GMT -5. The time now is 02:47 AM.