Intel HD 2500 mit Grafikbeschleunigung?

christian83

Well-Known Member
Hallo zusammen,

ich habe hier in meinem Rechner einen i3 Prozessor mit einer HD 2500 Grafikkarte verbaut. PC-BSD läuft so weit ohne Probleme jedoch gibt es keine 3d Beschleunigung. Ich habe nun bei Google gesucht aber nichts klares gefunden. Wie sieht es mit der Grafikbeschleunigung bei der Intel HD 2500 aktuell aus, gibt es die, oder muss ich darauf verzichten?

Danke für eure ANtwort.
 
Muss man da unter PC-BSD 9.2 noch irgendwo manuell Hand anlegen weiß das jemand? Intel ist als Grafiktreiber gewählt, aber 3d Beschleunigung scheint es nicht zu geben, nicht einmal Super Tux Kart läuft ;)

Als Renderer wird nur unknow angezeigt.
 
So, kldstat sagt:
Code:
Id Refs Address            Size    Name
1  171 0xffffffff80200000 12d0000  kernel
2    3 0xffffffff817f7000 5532a    vboxdrv.ko
3    2 0xffffffff8184d000 3fcd    iicbb.ko
4    5 0xffffffff81851000 4567    iicbus.ko
5    2 0xffffffff81856000 3a9a    iic.ko
6    2 0xffffffff8185a000 4fef4    drm2.ko
7    1 0xffffffff818aa000 a875c    i915kms.ko
8    1 0xffffffff81953000 8e7c    sdhci.ko
10    2 0xffffffff8196b000 77f6    opensolaris.ko
11    1 0xffffffff81973000 223fd1  zfs.ko
12    1 0xffffffff81b97000 10b79    tmpfs.ko
13    3 0xffffffff81ba8000 12224e  linux.ko
14    4 0xffffffff81ccb000 31069    crypto.ko
15    1 0xffffffff81cfd000 2201a    geom_journal.ko
16    1 0xffffffff81d20000 23114    geom_mirror.ko
17    1 0xffffffff81d44000 21cdb    geom_eli.ko
18    2 0xffffffff81d66000 5e24    aesni.ko
19    1 0xffffffff81e12000 9e72    linprocfs.ko
20    6 0xffffffff81e1c000 4458    libiconv.ko
21    3 0xffffffff81e21000 13c0    libmchain.ko
22    1 0xffffffff81e23000 81a      msdosfs_iconv.ko
23    1 0xffffffff81e24000 2ee83    if_bwn.ko
24    1 0xffffffff81e53000 7fa3    siba_bwn.ko
25    1 0xffffffff81e5b000 1b006    if_bwi.ko
26    1 0xffffffff81e77000 2774    runfw.ko
27    1 0xffffffff81e7a000 4d2a    ng_ubt.ko
28    1 0xffffffff81e7f000 a3a9    ng_hci.ko
29    2 0xffffffff81e8a000 1187    ng_bluetooth.ko
30    5 0xffffffff81e8c000 b150    netgraph.ko
31    1 0xffffffff81e98000 374d    cuse4bsd.ko
32    1 0xffffffff81e9c000 670d    sem.ko
33    2 0xffffffff81ea3000 bec4    ntfs.ko
34    1 0xffffffff81eaf000 818      ntfs_iconv.ko
35    2 0xffffffff81eb0000 8e8f    udf.ko
36    1 0xffffffff81eb9000 819      udf_iconv.ko
37    1 0xffffffff81eba000 11459    ext2fs.ko
38    1 0xffffffff81ecc000 640d    mmc.ko
39    1 0xffffffff81ed3000 29a3    mmcsd.ko
40    1 0xffffffff81ed6000 3df5    scd.ko
41    1 0xffffffff81eda000 2411    geom_uzip.ko
42    1 0xffffffff81edd000 11229    pefs.ko
43    1 0xffffffff81eef000 68414    xfs.ko
44    1 0xffffffff81f58000 a9e5    reiserfs.ko
45    1 0xffffffff81f63000 1c5bc    smbfs.ko
46    1 0xffffffff81f80000 52e0    fdescfs.ko
47    1 0xffffffff81f86000 5db8    linsysfs.ko
48    1 0xffffffff81f8c000 2e5da    iwn4965fw.ko
49    1 0xffffffff81fbb000 52df1    iwn1000fw.ko
50    1 0xffffffff8200e000 53a62    iwn5000fw.ko
51    1 0xffffffff82062000 52d8d    iwn5150fw.ko
52    1 0xffffffff820b5000 6f75e    iwn6000fw.ko
53    1 0xffffffff82125000 6ce67    iwn6000g2afw.ko
54    1 0xffffffff82192000 70ff6    iwn6000g2bfw.ko
55    1 0xffffffff82203000 732a9    iwn6050fw.ko
56    1 0xffffffff82277000 3aa7    acpi_video.ko
57    1 0xffffffff8227b000 759c    vkbd.ko
58    1 0xffffffff82283000 30519    pf.ko
59    1 0xffffffff822b4000 11f98    ipfw.ko
60    1 0xffffffff822c6000 1a2f9    ng_btsocket.ko
61    1 0xffffffff822e1000 aa63    fuse.ko
62    2 0xffffffff822ec000 2bb1    vboxnetflt.ko
63    1 0xffffffff822ef000 444c    ng_ether.ko
64    1 0xffffffff822f4000 400a    vboxnetadp.ko

meine xorg.conf:
Code:
Section "ServerLayout"
    Identifier    "X.org Configured"
    Screen      0  "Screen0" 0 0
    Screen      1  "Screen1" RightOf "Screen0"
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

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

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

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "kbd"
EndSection

Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "mouse"
    Option        "Protocol" "auto"
    Option        "Device" "/dev/sysmouse"
    Option        "ZAxisMapping" "4 5 6 7"
EndSection

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

Section "Monitor"
    Identifier  "Monitor1"
    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"            # <str>
        #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 "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    "ShadowFB"              # [<bool>]
        #Option    "DefaultRefresh"        # [<bool>]
        #Option    "ModeSetClearScreen"    # [<bool>]
    Identifier  "Card1"
    Driver      "vesa"
    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

Section "Screen"
    Identifier "Screen1"
    Device    "Card1"
    Monitor    "Monitor1"
    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

Und noch ein paar Dinge von sysctl:
Code:
hw.pci.do_power_nodriver: 0
hw.dri.0.name: i915 0x33 pci:0000:00:02.0
hw.dri.0.vm:
hw.dri.0.clients:
y dri/card0      566    0          0    2379479
hw.dri.0.vblank:
hw.dri.0.info.i915_capabilities: gen: 7
hw.dri.0.info.i915_gem_objects: 1238 objects, 78737408 bytes
hw.dri.0.info.i915_gem_gtt:    0xfffffe0002b44600: p        4KiB 0001 0001 0 0 snooped (LLC) (gtt offset: 00000000, size: 00001000) (p mappable)
hw.dri.0.info.i915_gem_active: Active:
hw.dri.0.info.i915_gem_flushing: Flushing:
hw.dri.0.info.i915_gem_inactive: Inactive:
hw.dri.0.info.i915_gem_pinned: Pinned:
hw.dri.0.info.i915_gem_deferred_free: Deferred free:
hw.dri.0.info.i915_gem_pageflip: No flip due on pipe A (plane A)
hw.dri.0.info.i915_gem_request: No requests
hw.dri.0.info.i915_gem_seqno: Current sequence (render ring): 392186
hw.dri.0.info.i915_gem_fence_regs: Reserved fences = 0
hw.dri.0.info.i915_gem_interrupt: North Display Interrupt enable:              b0000129
hw.dri.0.info.i915_gem_hws: 0x00000000: 0x00000001 0x00000000 0x00000000 0x00000000
hw.dri.0.info.i915_gem_hws_blt: 0x00000000: 0x00000000 0x00000000 0x00000000 0x00000000
hw.dri.0.info.i915_gem_hws_bsd: 0x00000000: 0x00000000 0x00000000 0x00000000 0x00000000
hw.dri.0.info.i915_ringbuffer_data: 00000000 :  0b640001
hw.dri.0.info.i915_ringbuffer_info: Ring render ring:
hw.dri.0.info.i915_bsd_ringbuffer_data: 00000000 :  00000000
hw.dri.0.info.i915_bsd_ringbuffer_info: Ring gen6 bsd ring:
hw.dri.0.info.i915_blt_ringbuffer_data: 00000000 :  0b640001
hw.dri.0.info.i915_blt_ringbuffer_info: Ring blt ring:
hw.dri.0.info.i915_error_state: no error state collected
hw.dri.0.info.i915_rstdby_delays: w/ctx: 0, w/o ctx: 0
hw.dri.0.info.i915_cur_delayinfo: no P-state info available
hw.dri.0.info.i915_delayfreq_table: P00VIDFREQ: 0x00000000 (VID: 0)
hw.dri.0.info.i915_inttoext_table: INTTOEXT01: 0x00000000
hw.dri.0.info.i915_drpc_info: RC information accurate: yes
hw.dri.0.info.i915_emon_status: Not supported
hw.dri.0.info.i915_ring_freq_table: GPU freq (MHz)      Effective CPU freq (MHz)
hw.dri.0.info.i915_gfxec: GFXEC: 0
hw.dri.0.info.i915_fbc_status: FBC unsupported on this chipset
hw.dri.0.info.i915_sr_status: self-refresh: enabled
hw.dri.0.info.i915_gem_framebuffer: fbcon size: 1920 x 1080, depth 24, 32 bpp, obj 0xfffffe0002dc1a00: p      8100KiB 0041 0000 0 0 uncached (gtt offset: 00064000, size: 007e9000) (p mappable)
hw.dri.0.info.i915_gen6_forcewake_count_info: forcewake count = 0
hw.dri.0.info.i915_swizzle_info: bit6 swizzle for X-tiling = bit9/bit10
hw.dri.0.info.i915_ppgtt_info: render ring
hw.dri.0.info.i915_gem_wired_pages: 14158
hw.dri.0.wedged: 0
hw.dri.0.max_freq: 0
hw.dri.0.cache_sharing: 0
hw.dri.0.sync_exec: 0
hw.dri.0.fix_mi: 0
hw.dri.0.intr_pf: 0
hw.dri.0.busid: pci:0000:00:02.0
hw.dri.0.modesetting: 1
hw.dri.debug: 0
hw.dri.notyet: 0
hw.dri.vblank_offdelay: 5000
hw.dri.timestamp_precision: 20

Es läuft bis auf die 3d Beschleunigung alles, wäre nur schön wenn ich hin und wieder doch mal eine kleine Runde Super Tux Kart oder ähnliches spielen könnte ;)
 

Anhänge

  • Bildschirmfoto1.png
    Bildschirmfoto1.png
    37,7 KB · Aufrufe: 505
Also mir fällt auf, daß Du 2x eine "Section Device" hast in der einen steht "driver intel" und in der anderen "driver vesa". Die Grafikkonfiguration von PC-BSD funktioniert manchmal nicht richtig, ich würde diese einfach mal laut FreeBSD Handbook durchführen, also erstmal X killen und dann ein "Xorg -configure" (glaube ich) durchführen. Die dabei enstandene xorg.conf im root-Verzeichnis dann in /etc/X11/xorg.conf kopieren, vielleicht klappt es dann.
 
Das versuche ich später einmal. Muss überhaupt eine xorg.conf vorhanden sein? Ich bin es ja inzwischen gewohnt das man diese im Normalfall nicht braucht (linux).
 
Braucht man in der Regel nur, wenn etwas nicht automatisch klappt. Dann ist es in der Regel aber auch besser HAL auszuschalten, damit die Regeln in der xorg.conf überhaupt greifen.
 
Also ich habe jetzt alles durch, mit xorg.conf vom PC-BSD Tool mit intel, intel-3d-enable und ohne xorg.conf. Das Testspiel Super Tux Kart war mit keiner Einstellung spielbar. Ich habe jetzt auch keinen Vergleich ob die 3d Beschleunigung klemmt oder die 3d Beschleunigung unter FreeBSD jetzt so sehr viel schlechter ist als unter einem aktuellen Linux. Ich habe mal bei einem GhostBSD versucht auf die schnelle zu schauen wie es dort aussieht, aber da lief nur Vesa und das ist echt mies ;)

Die 3d Beschleunigung scheint schon zu gehen, Desktop Effekte laufen nur alles andere scheint sehr langsam zu sein. Naja ich spiele ja nicht großartig und so lange der Browser anständig läuft kann ich damit leben. Vielleicht wird es ja in PC-BSD 10 besser ;)
 
Zurück
Oben