Hey guys,
The tip above didnt worked for me, but i found something that made the intel driver work.
Following this post: http://ubuntuforums.org/showthread.php?t=1400524
i'm just pasting here what that guy suggested:
As i already said, i compiled the xorg in a diferent path (/opt/xorg) and instaled the intel driver 2.13.Following the tip for creating the file "/etc/modprobe.d/i915-kms.conf" with the line "options i915 modeset=1" seems to have worked.
After folowing this tip, it worked fine for me when i startx -- /opt/xorg/bin/Xorg.
Hope it helps.
Anyone know how to set the defaut path for startx? So i won't have to type the hole (startx -- /opt/xorg/bin/Xorg).
Sorry for any error.
Hi everyone,
I was about to compile xorg 7.6 to be able to use the latest Intel driver that supports Intel HD Graphics. Since my laptop is 64 bits and has 4Gb of RAM and with the current BackTrack kernel it only recognizes 3, I decided to recompile the kernel first.
Before that I had been trying everything everyone said in this forums and others to be able to use my laptop's native resolution with Intel Graphics HD card. But nothing worked. One if the last things I tried was using the framebuffer, but I didn't get the native resolution.
So when recompiling the kernel I copied the original BackTrack configuration and only changed under the section "Processor type and features" the value "High Memory Support" to 64GB, that was initially set to 4GB. With this change the kernel recognizes the 4GB of RAM.
But while browsing the different options it seems that without realizing I also changed in section "Device Drivers", "Graphics support", "Direct Rendering Manager", the value "Enable modesetting on intel by default" to "y".
So I recompiled the kernel, installed it, and rebooted, and to my surprise, after rebooting I got the right resolution, that for my laptop is 1366x768. Obviously, this was because on previous steps I had configured X to use the framebuffer and indicated the right resolution, but it had not worked with the original kernel.
It is all pure chance, I know, but it worked. It doesn't use 2D or 3D acceleration, but at least we can have the right resolution, until a better solution is implemented BackTrack developers.
So basically 2 changes:
1. Kernel. The following is a diff between the original config and the changes I made:
2. xorg.conf. The following is my xorg.conf file:Code:342,343c342,343 < # CONFIG_HIGHMEM4G is not set < CONFIG_HIGHMEM64G=y --- > CONFIG_HIGHMEM4G=y > # CONFIG_HIGHMEM64G is not set 346,347c346 < CONFIG_X86_PAE=y < CONFIG_ARCH_PHYS_ADDR_T_64BIT=y --- > # CONFIG_ARCH_PHYS_ADDR_T_64BIT is not set 361c360 < CONFIG_PHYS_ADDR_T_64BIT=y --- > # CONFIG_PHYS_ADDR_T_64BIT is not set 1653d1651 < CONFIG_I2O_EXT_ADAPTEC_DMA64=y 2759c2757 < CONFIG_DRM_I915_KMS=y --- > # CONFIG_DRM_I915_KMS is not set
Section "ServerLayout"Code:Section "ServerLayout" Identifier "X.org Configured" Screen 0 "Screen0" 0 0 InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" EndSection Section "Files" ModulePath "/usr/lib/xorg/modules" FontPath "/usr/share/fonts/X11/misc" FontPath "/usr/share/fonts/X11/cyrillic" FontPath "/usr/share/fonts/X11/100dpi/:unscaled" FontPath "/usr/share/fonts/X11/75dpi/:unscaled" FontPath "/usr/share/fonts/X11/Type1" FontPath "/usr/share/fonts/X11/100dpi" FontPath "/usr/share/fonts/X11/75dpi" FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" EndSection Section "Module" Load "xtrap" Load "dbe" Load "dri" Load "glx" Load "record" Load "extmod" 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" Identifier "Monitor0" VendorName "Monitor Vendor" ModelName "Monitor Model" EndSection Section "Device" Identifier "Card0" Driver "fbdev" VendorName "Intel Corporation" BoardName "Core Processor Integrated Graphics Controller" BusID "PCI:0:2:0" EndSection Section "Screen" Identifier "Screen0" Device "Card0" Monitor "Monitor0" SubSection "Display" Viewport 1366 768 Depth 24 EndSubSection EndSection
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection
Section "Module"
Load "xtrap"
Load "dbe"
Load "dri"
Load "glx"
Load "record"
Load "extmod"
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"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection
Section "Device"
Identifier "Card0"
Driver "fbdev"
VendorName "Intel Corporation"
BoardName "Core Processor Integrated Graphics Controller"
BusID "PCI:0:2:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 1366 768
Depth 24
EndSubSection
EndSection
I hope it helps someone, so that he doesn't have to dedicate as many hours as I did until I found an acceptable solution, though not the best, of course.
Cheers
i have lenonovo notebook when i start bt 4 in it and hardware driver install when my pcs light gone down and after it when i restart pc my windows and my my starting boot process light also down when i run bt 4 in safe graphic mode my problem solved after it if any one face or know about that prob tell me answer i m booted it with dvd and make 3 dvd coz i thought this prob coz dvd and when i installed bt 4 its also gave same prob
As our friend asked, Yes, the Xorg is already installed, but I don't know what (files) was installed by default, nor its version. In my installation, I used files from version 7.6, but some requirements were missing, so i picked them from the latest versions repository.
Well guys, I'm going to write down a tutorial to make the intel linux driver 2.13 work on BT4 R2.
1. Install the xorg to /opt/xorg (can be other path, like /etc/xorg. but I put it there)
I used some links to help me install it. As follows:
http://intellinuxgraphics.org/2010Q3.html
http://www.x.org/wiki/CompileXserverManually
http://www.x.org/wiki/ModularDevelopersGuide
This I didnt used, but can be useful too (specialy it tells wich drivers you need to install (basics only) at session Building X drivers:
http://wiki.x.org/wiki/Development/B...elopment%2Fgit
2. Then reconfigure your xorg.conf
It stills at /etc/X11/xorg.conf
http://pastebin.com/QHRGWvV3 -- here is mine working one.
3. Activate the kernel module for the intel driver
Create the file /etc/modprobe.d/i915-kms.conf with the following line: options i915 modeset=1
4. Reboot, login as root, and typeThat is it. If you are able to install the xorg, the rest of it is very simple.Code:startx -- /opt/xorg/bin/Xorg
And with this, 2D and 3D acceleration works fine and you can change the brightness of your screen. At least I can do it! =D
Sorry that I'm posting it too late, as the BT5 is on the way and probably this driver is not gonna be a problem any more.
Hope it is clear enough. And sorry for any errors (I'm gonna improve my English soon). And sorry for been too newbie for not understanding everything. =D