When changing screen from xorg session into console, on setup using 2 monitors with xinerama, x86d crashes with following error: May 26 14:33:38 laptop-mirka v86d: Trying to access an unsupported memory region at cffff May 26 14:33:38 laptop-mirka v86d[24038]: segfault at 0 ip 00000000004008b9 sp 00007fff6e02ad60 error 4 in v86d[400000+1b000] May 26 14:33:47 laptop-mirka uvesafb: mode switch failed (eax=0x4f02, err=1). Trying again with default timings. May 26 14:33:47 laptop-mirka v86d: Trying to access an unsupported memory region at cffff May 26 14:33:47 laptop-mirka v86d[24043]: segfault at 0 ip 00000000004008b9 sp 00007fffd4aa47e0 error 4 in v86d[400000+1b000] May 26 14:33:47 laptop-mirka uvesafb: mode switch failed (eax=0x4f02, err=1) When there is only one monitor (internal laptop screen), then evverything works well. Reproducible: Always
Created attachment 192520 [details] emerge info
Please try recompiling v86d without -msse3 or -mfpmath=sse,387 in your FLAGS please. Does this solve the problem?
No, nothing changed.
Could you please build v86d with the 'debug' USE flag, rebuild your kernel and post a full kernel log obtained when running with the new v86d binary?
I am not sure if this result is OK, I recompiled v86d with debug use flag, and MAKEOPTS nostrip. Then I made initramfs, and restarted the system. The result in log is as follow: Jun 8 06:59:56 laptop-mirka v86d[560]: segfault at 0 ip 00000000004008b9 sp 00007fff6d543280 error 4 in v86d (deleted)[400000+1b000] Jun 8 06:59:56 laptop-mirka uvesafb: mode switch failed (eax=0x4f02, err=1). Trying again with default timings. Jun 8 06:59:56 laptop-mirka v86d: Trying to access an unsupported memory region at cffff Jun 8 06:59:56 laptop-mirka v86d[5742]: segfault at 0 ip 00000000004008b9 sp 00007ffff3e52480 error 4 in v86d[400000+1b000] Jun 8 06:59:56 laptop-mirka uvesafb: mode switch failed (eax=0x4f02, err=1) Jun 8 06:59:56 laptop-mirka v86d: Trying to access an unsupported memory region at cffff Jun 8 06:59:56 laptop-mirka v86d[5745]: segfault at 0 ip 00000000004008b9 sp 00007fff7928ffd0 error 4 in v86d[400000+1b000] Jun 8 06:59:56 laptop-mirka uvesafb: mode switch failed (eax=0x4f02, err=1). Trying again with default timings. Jun 8 06:59:56 laptop-mirka v86d: Trying to access an unsupported memory region at cffff Jun 8 06:59:56 laptop-mirka v86d[5748]: segfault at 0 ip 00000000004008b9 sp 00007fff27272fb0 error 4 in v86d[400000+1b000] Jun 8 06:59:56 laptop-mirka uvesafb: mode switch failed (eax=0x4f02, err=1) Jun 8 07:01:06 laptop-mirka v86d: Trying to access an unsupported memory region at cffff Jun 8 07:01:06 laptop-mirka v86d[6479]: segfault at 0 ip 00000000004008b9 sp 00007fffb687f800 error 4 in v86d[400000+1b000] Jun 8 07:01:06 laptop-mirka uvesafb: mode switch failed (eax=0x4f02, err=1). Trying again with default timings. Jun 8 07:01:06 laptop-mirka v86d: Trying to access an unsupported memory region at cffff Jun 8 07:01:06 laptop-mirka v86d[6482]: segfault at 0 ip 00000000004008b9 sp 00007fffcd75d490 error 4 in v86d[400000+1b000] Jun 8 07:01:06 laptop-mirka uvesafb: mode switch failed (eax=0x4f02, err=1) Jun 8 07:01:06 laptop-mirka fbcondecor: console 0 using theme 'mirek' Jun 8 07:01:06 laptop-mirka v86d: Trying to access an unsupported memory region at cffff Jun 8 07:01:06 laptop-mirka v86d[6487]: segfault at 0 ip 00000000004008b9 sp 00007fffc28cd610 error 4 in v86d[400000+1b000] Jun 8 07:01:06 laptop-mirka uvesafb: mode switch failed (eax=0x4f02, err=1). Trying again with default timings. Jun 8 07:01:06 laptop-mirka v86d: Trying to access an unsupported memory region at cffff Jun 8 07:01:06 laptop-mirka v86d[6725]: segfault at 0 ip 00000000004008b9 sp 00007ffff369b3d0 error 4 in v86d[400000+1b000] Jun 8 07:01:06 laptop-mirka uvesafb: mode switch failed (eax=0x4f02, err=1) Jun 8 07:01:06 laptop-mirka fbcondecor: switched decor state to 'on' on console 0 Jun 8 07:01:12 laptop-mirka login[5318]: pam_unix(login:session): session opened for user root by LOGIN(uid=0) Jun 8 07:01:12 laptop-mirka login[6727]: ROOT LOGIN on 'tty1' Jun 8 07:02:19 laptop-mirka v86d: Trying to access an unsupported memory region at cffff Jun 8 07:02:19 laptop-mirka v86d[7471]: segfault at 0 ip 00000000004008b9 sp 00007fff88737470 error 4 in v86d[400000+1b000] Jun 8 07:02:19 laptop-mirka uvesafb: mode switch failed (eax=0x4f02, err=1). Trying again with default timings. Jun 8 07:02:19 laptop-mirka v86d: Trying to access an unsupported memory region at cffff Jun 8 07:02:19 laptop-mirka v86d[7474]: segfault at 0 ip 00000000004008b9 sp 00007fffcadf7b30 error 4 in v86d[400000+1b000] Jun 8 07:02:19 laptop-mirka uvesafb: mode switch failed (eax=0x4f02, err=1)
Created attachment 193848 [details] result of dmesg function
Created attachment 202315 [details] emerge --info my emerge --info
Created attachment 202316 [details] dmesg my dmesg output
I've recently hit this problem as well. I decided to try switching my X.Org config from nVidia TwinView to Xinerama. The moment I exit the new Xinerama X11 back to the console, v86d begins to screw up resulting in extremely slow VT switching requiring a reboot to recover. (This didn't happen with TwinView, of course) I'm confused as to why this is happening, it seems the drivers change the card configuration in a way that v86d can't handle properly. VT switching does still work though, it's just incredibly slow.
Still valid with 0.1.10?
No idea if the new version is working. As since about 1 year I use another laptop, I cannot check it. Anyway with the new grub, and efi emulation, there is possibility to avoid of v86d. So probably this program will die in the near future.