Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: i915 observations



I had the same issues with current and with 10_beta. The single line with wsfb as driver and the tearing with intel and modesetting. But now, for me, it works. This is what I did.

I did a git clone of https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git and copied all the files from linux-firmware/i915 to /libdata/firmware/i915drmkms/i915/. I stuck my xorg.conf in /etc/X11/xorg.conf.d/. I edited the xorg.conf trying the following


Option     "Accel"              "True"
Option     "AccelMethod"  "SNA"
-- OR --
Option     "AccelMethod"  "UXA"
-- OR --
Option     "AccelMethod"  "none"

With

Identifier  "Card0"
Driver      "intel" or "modesetting
BusID       "PCI:0:2:0"

All configurations were a bust. Then I copied all linux-firmware/intel to /libdata/firmware/intel/

My Device section of my xorg.conf looks like this:

 Section "Device"
     Option     "Accel"          "True"
     Option     "AccelMethod"    "UXA"
     Identifier  "Card0"
     Driver      "intel"
     BusID       "PCI:0:2:0"
 EndSection

Everything works! Well, the response is a little sluggish and firefox takes forever to load, but the video is solid.

I do have a lot of "heartbeat" messages in dmesg. I also see this with dmesg:

[  1633.783213] heartbeat     On hold?: 0
[  1633.783213] heartbeat     MMIO base:  0x00002000
[  1633.783213] heartbeat     CCID: 0x01b5610d
[  1633.783213] heartbeat     RING_START: 0x7fffb000
[  1633.783213] heartbeat     RING_HEAD:  0x00000798
[  1633.783213] heartbeat     RING_TAIL:  0x00000bb0
[  1633.783213] heartbeat     RING_CTL:   0x00003001
[  1633.783213] heartbeat     RING_MODE:  0x00004000
[  1633.783213] heartbeat     RING_IMR: fffffffe
[  1633.783213] heartbeat     ACTHD:  0x00000000_01b0731c
[  1633.783213] heartbeat     BBADDR: 0x00000000_01b0731d
[  1633.783213] heartbeat     DMA_FADDR: 0x00000000_01b07500
[  1633.783213] heartbeat     IPEIR: 0x00000000
[  1633.783213] heartbeat     IPEHR: 0x7a000003
[  1633.783213] heartbeat     PP_DIR_BASE: 0x02210000
[  1633.783213] heartbeat     PP_DIR_BASE_READ: 0x00000000
[  1633.783213] heartbeat     PP_DIR_DCLV: 0xffffffff
[  1633.783213] heartbeat         E  2:350a5*-  @ 5950ms: firefox[13741]
[  1633.783213] heartbeat         E  2:350a6-  @ 5940ms: X[1020]
[  1633.783213] heartbeat         E  2:350a7  @ 5920ms: firefox[13741]
[  1633.783213] heartbeat         E  2:350a8  @ 5920ms: X[1020]
[  1633.783213] heartbeat         E  2:350a9  @ 5920ms: X[1020]
[  1633.783213] heartbeat         E  2:350aa  @ 3000ms: [i915][  1633.783213] heartbeat *

[  1633.783213] heartbeat Idle? no
[  1633.783213] heartbeat Signals:
[  1633.783213] heartbeat     [2:350a5*] @ 5950ms
[  1633.783213] heartbeat     [2:350a6] @ 5940ms
[  1633.783213] i915drmkms0: notice: Resetting chip for stopped heartbeat on rcs0 [  1633.783213] i915drmkms0: notice: firefox[13741] context reset due to GPU hang

I have no idea what heartbeat is a reference to, but for now things are working.

% uname -mpr
10.0_BETA amd64 x86_64


On 12/12/22 21:58, Mayuresh wrote:
On Mon, Dec 12, 2022 at 10:37:37PM +0000, RVP wrote:
Welcome to the club... You'll find the rest of the gang here already:
https://mail-index.netbsd.org/current-users/2022/07/21/msg042710.html
Please post to that thread:
Merging the thread here.

Uncomment the `Option "AccelMethod" "none"' in the config. fragment I
sent you. Then see if modesetting(4) comes up. For the intel(4) driver,
try `Option "AccelMethod" "UXA"', or even `"none"' as a last resort. The
intelfb(4) manpage lists other options which you can turn off or disable
with the SNA or UXA accel-methods.
modesetting - none and intel - none combinations start the display with a
very poor refresh rate. They appear garbled and settle down slowly.

intel - UXA is kind of working now. Finally some X11 on the device!

I'll test some video playing etc. and report back.

Thanks for your help!



Home | Main Index | Thread Index | Old Index