https://bugs.freedesktop.org/show_bug.cgi?id=90079
Bug ID: 90079
Summary: drmSetMaster and drmDropMaster need root privileges
Product: DRI
Version: unspecified
Hardware: All
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: libdrm
Assignee: dri-devel(a)lists.freedesktop.org
Reporter: g1938560(a)trbvm.com
I run a small, user-space program that renders images in my virtual console
with drmModeSetCRTC and family. I also support virtual terminal switching with
ioctl() on stuff from linux/vt.h and some basic signal handling.
Switching back to X server, however, just renders... nothing.
Apparently I'm supposed to call drmDropMaster so that X server can pick up from
there. I get -1 and errno is set to Permission Denied. When run as root, it
works as expected.
Is there any reason why these functions require root privileges?
More importantly, is there any workaround for this so that my user space
program can let X server draw its stuff once user switches back to X's virtual
terminal?
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugs.freedesktop.org/show_bug.cgi?id=80683
Priority: medium
Bug ID: 80683
Assignee: dri-devel(a)lists.freedesktop.org
Summary: EDID valid check ignores errors in CEA blocks
Severity: normal
Classification: Unclassified
OS: All
Reporter: stefan.bruens(a)rwth-aachen.de
Hardware: Other
Status: NEW
Version: DRI CVS
Component: DRM/other
Product: DRI
in linux/drivers/gpu/drm/drm_edid.c:
bool drm_edid_block_valid(u8 *raw_edid, int block, bool print_bad_edid)
{
...
if (csum) {
if (print_bad_edid) {
DRM_ERROR("EDID checksum is invalid, remainder is
%d\n", csum);
}
/* allow CEA to slide through, switches mangle this */
if (raw_edid[0] != 0x02)
goto bad;
}
...
return true;
---
i.e. CEA blocks are always reported as valid.
This occurs frequently for me with a Radeon 7750 and a Dell U2713HM connected
via DisplayPort, the I2C-over-AUX seems to be buggy and swallows single bytes.
If I change the "return true;" to "return !csum;" bad transfers are retried.
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugs.freedesktop.org/show_bug.cgi?id=98322
Bug ID: 98322
Summary: QXL drm driver regression in 4.7
Product: DRI
Version: unspecified
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: DRM/other
Assignee: dri-devel(a)lists.freedesktop.org
Reporter: tiwai(a)suse.de
Since 4.7 kernel, qxl drm driver spews the errors when using VT:
kernel: [TTM] Buffer eviction failed
kernel: qxl 0000:00:02.0: object_init failed for (4026540032, 0x00000001)
kernel: [drm:qxl_alloc_bo_reserved [qxl]] *ERROR* failed to allocate VRAM BO
In my test case, just install a QEMU/KVM VM with QXL interface, login GUI, and
then switch to VT1. At login there, the error appears repeatedly.
4.6 kernel works fine.
The git bisection spotted that it was introduced by
6819c3c2517604f979da3de773f2420e07dd4f4b
drm/qxl: Use drm_fb_helper deferred_io support
This was originally reported for opensuse TW:
https://bugzilla.suse.com/show_bug.cgi?id=1003298
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugs.freedesktop.org/show_bug.cgi?id=89549
Bug ID: 89549
Summary: DisplayLink (udl) Linux kernel memory fault on USB
hot unplug, proposed patch
Product: DRI
Version: unspecified
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: DRM/other
Assignee: dri-devel(a)lists.freedesktop.org
Reporter: adam_richter2004(a)yahoo.com
Created attachment 114235
--> https://bugs.freedesktop.org/attachment.cgi?id=114235&action=edit
Add ".get_vblank_counter = drm_vblank_count," to DisplayLink drm_driver
functions
[This is an edit of an email that I sent yesterday to linux-fbdev at
vger.kernel.org and the Linux kernel udlfb maintainer.]
In Linux-4.0-rc3, the DisplayLink driver gets a kernel memory fault when its
USB device is unplugged, specifically when vblank_disable_and_save in
linux-4.0-rc3/drivers/gpu/drm/drm_irq.c attempts to call the NULL function
pointer dev->driver_get_vblank_counter.
linux-4.0-rc3/Documentation/DocBook/drm.tmpl says of that field, "Otherwise
drivers can use the drm_vblank_count helper function to handle this operation."
Trying that seems to have eliminated the oops when I unplug the device,
although I do see these lines in the console log at device driver
initialization time that I think are probably fine, but which I should mention
in case the indicate that I did the wrong the thing:
[drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[drm] No driver support for vblank timestamp query.
If that doesn't look like a problem, then please apply the attached patch and
push it upstream. The patch just adds one line that appears in six other
framebuffer drivers to initialize the driver_get_vblank_counter drm_driver
function.
Thanks in advance for your attention to this problem.
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugs.freedesktop.org/show_bug.cgi?id=28841
Summary: Heavy text corruption in virtual consoles using DRI
Product: DRI
Version: unspecified
Platform: x86 (IA32)
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: General
AssignedTo: dri-devel(a)lists.freedesktop.org
ReportedBy: eblanca76(a)users.sourceforge.net
I have a clean install of latest ubuntu lucid lynx, I added framebuffer support
for g550 (matroxfb) and text in virtual consoles appears corrupted, it is made
of random pixels appearing far away from the expected prompt. I can get back to
clean text if I switch to xorg (ctrl+f7) then back to the virtual console, but
if I type in new text, it appears ugly as usual.
The only workaround for this is to disable DRI, then the text appears perfect
and no switch is needed. Of course, this way the system cannot support any
game.
I attach my actual xorg.conf.
My config: ubuntu 10.04 (Lucid) 2.6.32-22-generic i686 GNU/Linux with
gnome 2.30.2 and xorg X server 1.7.6.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
https://bugs.freedesktop.org/show_bug.cgi?id=48215
Bug #: 48215
Summary: [NV11] Display constantly switches on and off roughly
every 10 seconds.
Classification: Unclassified
Product: DRI
Version: XOrg CVS
Platform: x86 (IA32)
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: DRM/other
AssignedTo: dri-devel(a)lists.freedesktop.org
ReportedBy: alex.buell(a)munted.org.uk
Display constantly switches on and off roughly every 10 seconds on my NV11
machine. This started happening with 3.2.0.
Checking backwards, 3.1.0 works just fine. I am currently trying a bisect to
find the problem.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
https://bugs.freedesktop.org/show_bug.cgi?id=52560
Bug #: 52560
Summary: Xorg -configure creats useless xorg.conf for tdfx
Classification: Unclassified
Product: DRI
Version: XOrg CVS
Platform: All
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: DRM/other
AssignedTo: dri-devel(a)lists.freedesktop.org
ReportedBy: tuxracer(a)hispeed.ch
Had want to install my old Voodoo3/2000 PCI that 2 or 3 years ago perfectly
work.
Now on actual xorg-server at least 1.10 1.11 1.12 I really unable to configure
a working 3D. If i use the driver without any xorg.conf I can use at least
Software-Rendering. But if i create a xorg.conf using Xorg -configure it gives
no 3D.
On old xorg-servers the only thing i had to do for 3D on this card was to set
the resolution to 1024x768 at 16bit colordepth and it worked.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
https://bugs.freedesktop.org/show_bug.cgi?id=38364
Summary: Ignoring invalid EDID block 1 do entire edid is
invalid and not just block 1
Product: DRI
Version: XOrg CVS
Platform: x86-64 (AMD64)
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: General
AssignedTo: dri-devel(a)lists.freedesktop.org
ReportedBy: zaverel(a)free.fr
Hello ,
All is fine except i can't change resolution on my second monitor vga
,tv in fact, (reported as DVI-I-2 ) anymore with my 9400gt.
Now , i'm on :
linux-2.6.39-gentoo-r1
xorg-server-1.10.2
xf86-video-nouveau-0.0.16_pre20110323
libdrm-2.4.25
Errors in dmesg are:
nouveau 0000:02:00.0: DVI-I-2: Ignoring invalid EDID block 1.
[drm:drm_edid_block_valid] *ERROR* Raw EDID:
<3>00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
<3>00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
<3>00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
<3>00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
<3>00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
<3>00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
<3>00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
<3>00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
whatever i valid with xrandr is not really do on my tv
although xrandr say it's good , my tv always report 1202x670 50hz
I tried with and without xorg.conf
My last kernel working is linux-2.6.36-gentoo-r6.
If, i tweak drm_edid.c from kernel-2.6.39-gentoo-r1 like this:
--- drm_edid.c 2011-06-10 22:37:36.605848000 +0200
+++ linux/drivers/gpu/drm/drm_edid.c 2011-06-13 13:04:43.136786102 +0200
@@ -292,7 +292,7 @@
block + (valid_extensions + 1) * EDID_LENGTH,
j, EDID_LENGTH))
goto out;
- if (drm_edid_block_valid(block + (valid_extensions + 1) *
EDID_LENGTH)) {
+ if (drm_edid_block_valid(block + (valid_extensions + 0) *
EDID_LENGTH)) {
valid_extensions++;
break;
}
that work good like before but i'm not sure that is safe.
More info in
http://lists.freedesktop.org/archives/nouveau/2011-June/008548.html
I can post logs here too , just tell me.
See you
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.