问题标签 [modesetting]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
2 回答
7513 浏览

linux-kernel - 什么是内核的 KMS(内核模式设置)API?

什么是内核的 KMS(内核模式设置)API?

0 投票
1 回答
489 浏览

asp.net - 我们应该如何使用asp.net 4.0自带的ClientIDMode属性?

我们应该如何使用 asp.net 4.0 附带的 ClientIDMode 属性?...什么时候我应该使用一个而不是另一个 clientIdModes?

0 投票
1 回答
44 浏览

linux - 仅将 2 行添加到文件中,但下次在 shell 脚本中不形成

执行 bash shell 脚本时,谁能帮我在文件中添加 2 行。当我们下次运行相同的脚本时,它不应该从下一次开始将相同的行添加到文件中。

0 投票
1 回答
64 浏览

layer - Moovweb 5 模式如何适用于平板电脑和移动设备?

通过 API ( http://developer.moovweb.com/docs/cloud/modes ) 但在 Moovweb 5 中没有找到为模式设置正则表达式的地方。

我们如何在模式中设置正则表达式?

谢谢

0 投票
1 回答
1844 浏览

memory-address - 根据寻址模式查找每条指令中的值

给定以下内存值和带有累加器的单地址机器,我如何找到以下每条指令将哪些值加载到累加器中?

我对如何确定每种情况/模式下的值感到非常困惑。请逐步告诉我如何找到每种模式的值。对于立即数,值是否为 40,因为 20 包含 40?提前致谢。

0 投票
1 回答
2487 浏览

c++ - Why does KMS drmModeSetCrtc() fail with permission denied while running in X11 session?

The title already implies the question, so what is blocking the execution from the sample program in this repo https://github.com/dvdhrm/docs/tree/master/drm-howto

It's a simple program showing KMS in action, so I downloaded it, compiled it and gave it a run. This was the output:

Also note that I have a running X11 session on my machine. It seems X is already using the device /dev/dri/card0 and blocks it for all other programs.

Here is my video card:

I have also added i915.modeset=1 into /etc/initramfs-tools/modules and rebuilt it with sudo update-initramfs -u so it loads the driver from inside my kernel and not from the xorg side.

There is also the possibility that my driver doesn't support KMS but lspci has shown that I only have an internal intel graphics card installed. So I sticked with the xorg core display driver package which is installed by default from xserver-xorg-core.

None of these changes have taken affect. The only way I can execute those examples is by killing the xorg session and let it run in tty.

Any ideas?

0 投票
0 回答
94 浏览

c++ - 文本覆盖不适用于 Xorg 模式设置驱动程序

这是一段显示文本和背景矩形的代码当这段代码Intel默认运行时,XORG driver一切正常,文本和矩形都被显示,而当我切换到Modesetting驱动程序时,只看到背景矩形而文本没有正在显示

我也尝试了其他驱动程序,使用 radeon 驱动程序时,我看到一个 X 错误,即不支持共享像素图,而我没有看到模式设置驱动程序的任何此类错误。这与共享像素图有关,如果是,我应该如何使其与模式设置驱动程序一起使用。我已经坚持了一段时间了,任何帮助将不胜感激。