13421 Intel GMA - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Base System > System Hardware

System Hardware Internal storage, motherboards, PCI cards, stuff inside the case.

Reply
 
Thread Tools Display Modes
  #1  
Old November 2nd, 2011, 02:00
Xenon Xenon is offline
Junior Member
 
Join Date: Nov 2011
Location: United States
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Intel GMA

Hello everyone,

I decided to install FreeBSD 8.2 Generic to a machine I bought recently. Everything seems to be performing well except for the graphics card, which as you can see in the title, is an Intel HD GMA integrated graphics card. There are two video outputs, a VGA and an HDMI, I am currently using the HDMI output at 1280x768 resolution.

I've compiled Xorg (Just standard Xorg, NOT Xorg-server) from ports with no errors, which installed the x11-drivers/xf86-intel-video driver. Simply running a "startx", everything checks out fine. Resolution is okay, a little bit grainy, but okay.

So I then installed gnome2 from packages with "pkg_add -r gnome2". Starting GDM from the console worked fine, resolution is still okay. But I am finding that the graphics are VERY choppy. If I open Firefox, I can't move my mouse across the screen without it lagging. So I compiled Chromium from ports, thinking it could just be Firefox, but the same thing, with pretty much every program.

I tried to generate and edit my Xorg.conf file to no avail. Setting the Horizonal and Vertical refresh rates and the default depth and modes, all that. In my generated Xorg.conf, the driver listed as in use it "vesa".

Is my hardware just not very well supported, or did Xorg try to configure Xorg.conf with the wrong driver? I read in another thread that people were using Xorg-server with Mesa 7.x and they said they had no issues. Is my problem that I am using Xorg instead of Xorg-server and without Mesa?

Should I try and use Xorg-server with Mesa 7.x and xf86-intel-video? Or will that not make any real difference in performance at all? Any suggestions are appreciated, I've tried everything I can think of. I would just like some confirmation if Xorg-server and Mesa is the way to go or if I am stuck.

- Thanks.
Reply With Quote
  #2  
Old November 2nd, 2011, 03:37
wblock@'s Avatar
wblock@ wblock@ is offline
Moderator
 
Join Date: Sep 2009
Location: Milky Way galaxy
Posts: 7,850
Thanks: 444
Thanked 1,827 Times in 1,494 Posts
Default

Quote:
Originally Posted by Xenon View Post
Hello everyone,

I decided to install FreeBSD 8.2 Generic to a machine I bought recently. Everything seems to be performing well except for the graphics card, which as you can see in the title, is an Intel HD GMA integrated graphics card. There are two video outputs, a VGA and an HDMI, I am currently using the HDMI output at 1280x768 resolution.

I've compiled Xorg (Just standard Xorg, NOT Xorg-server)
xorg-server is part of xorg.

Quote:
from ports with no errors, which installed the x11-drivers/xf86-intel-video driver. Simply running a "startx", everything checks out fine. Resolution is okay, a little bit grainy, but okay.
It's using the vesa driver.

Quote:
So I then installed gnome2 from packages with "pkg_add -r gnome2". Starting GDM from the console worked fine, resolution is still okay. But I am finding that the graphics are VERY choppy. If I open Firefox, I can't move my mouse across the screen without it lagging. So I compiled Chromium from ports, thinking it could just be Firefox, but the same thing, with pretty much every program.
The vesa driver is slow. The intel driver has acceleration but needs KMS, which is a work in progress on FreeBSD.

Quote:
Is my hardware just not very well supported, or did Xorg try to configure Xorg.conf with the wrong driver? I read in another thread that people were using Xorg-server with Mesa 7.x and they said they had no issues. Is my problem that I am using Xorg instead of Xorg-server and without Mesa?
xorg-server is a major component of xorg, you're already using it. Mesa is for 3D acceleration. See http://wiki.freebsd.org/Intel_GPU for more information about the Intel KMS work.

Last edited by phoenix; November 2nd, 2011 at 04:18. Reason: Add missing quote tag.
Reply With Quote
  #3  
Old November 2nd, 2011, 13:33
SirDice's Avatar
SirDice SirDice is offline
Moderator
 
Join Date: Nov 2008
Location: Rotterdam, Netherlands
Posts: 13,844
Thanks: 48
Thanked 2,060 Times in 1,890 Posts
Default

Try x11-drivers/xf86-video-intel29, it's slightly newer then x11-drivers/xf86-video-intel.
__________________
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
Reply With Quote
  #4  
Old November 2nd, 2011, 21:18
Xenon Xenon is offline
Junior Member
 
Join Date: Nov 2011
Location: United States
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Okay, so the problem is the lack of KMS support and that the Vesa driver is just slow, then. I tried to deinstall the intel-2.7 driver and upgrade the intel-2.9 driver, now X doesn't start at all. I checked the Xorg logfile, and got a few errors, the main one of concern being:

"Failed to open DRM device on pci0000:02.0: File exists"

So, I then checked if the kernel modules were loaded using kldstat, both i915.ko and drm.ko were auto loaded. So I tried to unload and re-load them manually, then startx, same error from Xorg.

The other error Xorg spat out was:

"Screen(s) detected, but no useable configuration was found."

So, looks like I am waiting for new drivers then? The vesa driver isn't unusable, but it certainly is very slow.
Reply With Quote
  #5  
Old November 2nd, 2011, 23:12
wblock@'s Avatar
wblock@ wblock@ is offline
Moderator
 
Join Date: Sep 2009
Location: Milky Way galaxy
Posts: 7,850
Thanks: 444
Thanked 1,827 Times in 1,494 Posts
Default

Please put /var/log/Xorg.0.log on pastebin.com and post a link here.
Reply With Quote
  #6  
Old November 2nd, 2011, 23:49
Xenon Xenon is offline
Junior Member
 
Join Date: Nov 2011
Location: United States
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

My Xorg.0.log file:

http://pastebin.com/tAg8uSGA

The errors start to occur on line 154.
Reply With Quote
  #7  
Old November 3rd, 2011, 08:07
SirDice's Avatar
SirDice SirDice is offline
Moderator
 
Join Date: Nov 2008
Location: Rotterdam, Netherlands
Posts: 13,844
Thanks: 48
Thanked 2,060 Times in 1,890 Posts
Default

Can you post your xorg.conf too?
__________________
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
Reply With Quote
  #8  
Old November 4th, 2011, 00:17
Xenon Xenon is offline
Junior Member
 
Join Date: Nov 2011
Location: United States
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I'm not currently using an Xorg configuration file. If I auto-generate one, the same errors occur and no difference is made.
Reply With Quote
  #9  
Old November 4th, 2011, 11:42
T-Daemon T-Daemon is offline
Junior Member
 
Join Date: Oct 2011
Posts: 57
Thanks: 1
Thanked 12 Times in 11 Posts
Default

http://pastebin.com/tAg8uSGA

Code:
…
173. drmOpenDevice: node name is /dev/dri/card0
174. Failed to change owner or group for file /dev/dri! 2: No such file or directory
175. Failed to change owner or group for file /dev/dri/card0! 2: No such file or directory
176. drmOpenDevice: open result is -1, (No such file or directory)
177. Failed to change owner or group for file /dev/dri/card0! 2: No such file or directory
178. drmOpenDevice: open result is -1, (No such file or directory)
179. drmOpenDevice: Open failed
180. [drm] failed to load kernel module "i915"
181. (EE) intel(0): [drm] Failed to open DRM device for pci:0000:00:02.0: File exists
182. (EE) intel(0): Failed to become DRM master.
...
The device node for card0 isn't created. Try starting X after creating it manual. Please search for it under /dev, if it's there, link to it. If it isn't there, create a device node. mknod(8)

# mknod /dev/dri/card0 c 226 0

This is a temporal workaround. The node will be cleaned out after a reboot, but let's see if X can be started. If it can't, paste Xorg.0.log again on pastebin.com.

Last edited by DutchDaemon; November 4th, 2011 at 17:15. Reason: [quote] is for people, [code] is for data.
Reply With Quote
  #10  
Old November 5th, 2011, 14:05
Xenon Xenon is offline
Junior Member
 
Join Date: Nov 2011
Location: United States
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Well, now the problem has become that /dev/dri isn't a directory, it can't be created, and therefore creating the device node fails. Any other suggestions? I switched back to the 2.7 driver for the moment...

Last edited by DutchDaemon; November 6th, 2011 at 03:26.
Reply With Quote
Reply

Tags
intel hd gma

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Does FreeBSD support Intel GMA 3150? jasonmanley87 Mobile Computing 4 June 24th, 2011 19:11
[PC-BSD] More problems with Intel GMA 4500M Radek System Hardware 0 November 11th, 2010 12:42
[Solved] [PC-BSD] Lenovo Ideacentre A300 / Intel GMA 4500M - terrible slow Radek System Hardware 28 October 27th, 2010 08:56
Intel GMA HD QM57/QS57 xorg drivers cd X.Org 2 October 17th, 2010 19:45
intel GMA + xrandr + 720p = black vertical bar van_Zeller X.Org 0 February 24th, 2010 00:37


All times are GMT +1. The time now is 01:39.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0