• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Configuring Intel HD graphics in FreeBSD 10-RC4

wblock@

Administrator
Staff member
Administrator
Moderator
Developer

Thanks: 3,558
Messages: 13,856

#26
That chipset is listed as supported by the Intel driver. Please post the entire Xorg.0.log and xorg.conf to pastebin.com and give the links here.
 

tzoi516

Well-Known Member

Thanks: 12
Messages: 368

#29
OK, sorry to piecemeal my replies, but my setup is without HAL; all devd(8). When I make config in /usr/ports/x11/xorg I select the devd(8), which is why you have the keyboard/mouse issue with my settings. I'm trying to clean up a new xorg.conf to see if it helps.

Edit:
To add if you could run Xorg -configure and post the results to Pastebin that could help expedite.
 

wblock@

Administrator
Staff member
Administrator
Moderator
Developer

Thanks: 3,558
Messages: 13,856

#30
X.Org X Server 1.7.7 is still the old X server. It should say X.Org X Server 1.12.4.

How did you update ports? Were the changes made in /etc/make.conf before building ports?
 

tzoi516

Well-Known Member

Thanks: 12
Messages: 368

#31
It's not too big, so I'll post here:
Code:
Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

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

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

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "NoAccel"            	# [<bool>]
        Option     "AccelMethod"        	"sna"
        #Option     "Backlight"          	# <str>
        #Option     "DRI"                	# <str>
        #Option     "ColorKey"           	# <i>
        #Option     "VideoKey"           	# <i>
        #Option     "Tiling"             	# [<bool>]
        #Option     "LinearFramebuffer"  	# [<bool>]
        #Option     "SwapbuffersWait"    	# [<bool>]
        #Option     "TripleBuffer"       	# [<bool>]
        #Option     "XvPreferOverlay"    	# [<bool>]
        #Option     "HotPlug"            	# [<bool>]
        #Option     "ReprobeOutputs"     	# [<bool>]
        #Option     "XvMC"               	# [<bool>]
        #Option     "ZaphodHeads"        	# <str>
        #Option     "TearFree"           	# [<bool>]
        #Option     "PerCrtcPixmaps"     	# [<bool>]
        #Option     "FallbackDebug"      	# [<bool>]
        #Option     "DebugFlushBatches"  	# [<bool>]
        #Option     "DebugFlushCaches"   	# [<bool>]
        #Option     "DebugWait"          	# [<bool>]
        #Option     "BufferCache"        	# [<bool>]
	Identifier  "Card0"
	Driver      "intel"
	BusID       "PCI:0:2:0"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	DefaultDepth      24
	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
Based off of the auto-configuration, this should work. I see @wblock@ added something, so I'm not sure how that impacts things.
 
Last edited by a moderator:

wblock@

Administrator
Staff member
Administrator
Moderator
Developer

Thanks: 3,558
Messages: 13,856

#33
Please show the contents of /etc/make.conf.
 

tzoi516

Well-Known Member

Thanks: 12
Messages: 368

#35
I'm posting my make.conf too:

Code:
WITH_PKGNG=yes
CCACHE_CPP2=1

# clang
CC=clang
CXX=clang++
CPP=clang-cpp

WRKDIRPREFIX=/usr/dump
WITH_CCACHE_BUILD=yes
WITH_NEW_XORG=yes
WITH_KMS=yes
MAKE_JOBS_UNSAFE=yes
WITH_CUPS=yes
CUPS_OVERWRITE_BASE=yes
WITH_LCD_FILTERING=yes

.if ${.CURDIR:M*/lang/gcc*}
CC=gcc
CXX=g++
CPP=cpp
.endif
 

wblock@

Administrator
Staff member
Administrator
Moderator
Developer

Thanks: 3,558
Messages: 13,856

#36
tzoi516 said:
Posting my make.conf too
Code:
CCACHE_CPP2=1
devel/ccache does not work with 10.0, at least for building the system.

Code:
# clang
CC=clang
CXX=clang++
CPP=clang-cpp
This is not necessary with 10.0.

Code:
WRKDIRPREFIX=/usr/dump
No idea what the point of that is.

Code:
WITH_CCACHE_BUILD=yes
As above, I would (and have) removed ccache entirely with 10.0.

Code:
WITH_NEW_XORG=yes
WITH_KMS=yes
These are fine.

Code:
MAKE_JOBS_UNSAFE=yes
This is likely counterproductive.
 

wblock@

Administrator
Staff member
Administrator
Moderator
Developer

Thanks: 3,558
Messages: 13,856

#39
robspop said:
X.Org X Server 1.7.7 is still the old X server. It should say X.Org X Server 1.12.4.
Shall I remove it, and try again from updating ports?
No, at worst you'll just have to rebuild it. What is the date of /usr/ports/UPDATING?
 

tzoi516

Well-Known Member

Thanks: 12
Messages: 368

#43
I really don't want to create a new thread because I still feel this is relevant to Intel HD. I have an HD 3000 and HD 4000 that are working, but his isn't. We both seem to have the same ports tree and OS version, however, my Intel driver won't update from 2.21.15_1 to 2.7.1_6 - which is what his is.
 

wblock@

Administrator
Staff member
Administrator
Moderator
Developer

Thanks: 3,558
Messages: 13,856

#44
xf86-video-intel-2.21.15_1 is the newer driver. His is older (7 < 21).
 

tzoi516

Well-Known Member

Thanks: 12
Messages: 368

#45
wblock@ said:
xf86-video-intel-2.21.15_1 is the newer driver. His is older (7 < 21).
OK, had my versioning backwards - thought the '1' after the '2' was the first update to "2.2".

FreshPorts lists 2.7.1_6
and FreeBSD Ports shows 2.7.1_4
 

robspop

Member

Thanks: 1
Messages: 80

#46
Sorry but I'm still struggling with this:

xf86-video-intel-2.21.15_1 is the newer driver. His is older (7 < 21).
I've updated ports again, but I still have the older driver. Where do I get the new one?

NB in case it makes a difference, I'm using the amd64 version of RC4, not ia64
 

robspop

Member

Thanks: 1
Messages: 80

#48
Ditto. Are there IA64 laptops available?
I don't know! I always use amd64 so it's just a habit. I assumed newish laptops with Intel CPUs would run ia64. Anyway, if you are using amd64, obviously that's not the issue.
 

kpa

Beastie's Twin

Thanks: 1,673
Messages: 6,084

#49
IA64 is something entirely different than AMD64, see here:

https://en.wikipedia.org/wiki/Itanium

You won't find the Itanium CPUs in laptops, only in server class hardware.

Long story short, you use the AMD64 version for both AMD and Intel CPUs that have the capability to run the 64-bit x86 code. The AMD64 name is quite an unfortunate one because it fools many people into thinking that the Intel 64-bit x86 CPUs are not compatible with the AMD 64-bit x86 CPUs. There is a better name for the architecture, X86-64:

https://en.wikipedia.org/wiki/X86-64
 

robspop

Member

Thanks: 1
Messages: 80

#50
Thanks - I didn't know that. I used SPARC stuff until a couple of years ago so not very familiar with the "PC" world.