<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - SegFault when running startx"
href="https://bugs.freedesktop.org/show_bug.cgi?id=82833">82833</a>
</td>
</tr>
<tr>
<th>Assignee</th>
<td>chris@chris-wilson.co.uk
</td>
</tr>
<tr>
<th>Summary</th>
<td>SegFault when running startx
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>intel-gfx-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Reporter</th>
<td>nebupookins@gmail.com
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86 (IA32)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Component</th>
<td>Driver/intel
</td>
</tr>
<tr>
<th>Product</th>
<td>xorg
</td>
</tr></table>
<p>
<div>
<pre>I'm not sure I've selected the right product, as the version numbers are not
what I expect. I'm runnong X.Org X Server 1.16.0
I originally filed this issue on the ArchLinux forums but had no luck there:
<a href="https://bbs.archlinux.org/viewtopic.php?id=185800">https://bbs.archlinux.org/viewtopic.php?id=185800</a>
I get a segfault whenever I run the command "startx". Here's what I believe to
be the relevant lines from logs:
(EE) intel(0): Failed to set backlight acpi_video0 for output LVDS1 to
brightness level 0, disabling
(EE)
(EE) Backtrace:
(EE) 0: /usr/bin/Xorg.bin (xorg_backtrace+0x52) [0x81de282]
(EE) 1: /usr/bin/Xorg.bin (0x8048000+0x19a502) [0x81e2502]
(EE) 2: linux-gate.so.1 (__kernel_rt_sigreturn+0x0) [0xb7792d34]
...
(Sorry if there are typos in the above, I had to retype them as I write this
post here on my desktop, since I'm not sure how to do much with my laptop
without X running).
I was trying to adjust my laptop brightness, and after running some commands in
the terminal, the brightness ended up too high for me to see anything, so I
rebooted the laptop.
If it helps any, here's the bash_history I have which records what commands I
was running while trying to adjust my brightness settings:
cd /sys/class/backlight/
ls
cd acpi_video0
ls
less max_brightness
tee brightness <<< 5
sudo tee brightness <<< 5
sudo tee brightness <<< 1
sudo tee brightness <<< 0
sudo tee brightness <<< 10
sudo tee brightness <<< 1
yaourt calise
yaourt redshift
redshift
yaourt xcalib
man xcalib
xcalib --help
xcalib
xcalib -co 40 -a
xcalib -co 100 -a
xcalib -co 250 -a
xcalib -co 100 -a
xcalib -b 100 -a
xcalib -b 99 -a
xcalib -b 995
In my /sys/class/backlight directory, I have acpi_video0, acpi_video1,
intel_backlight and radeon_bl1. Right now, the brightness file in each has the
following content (as determined by, e.g., cat
/sys/class/backlight/acpi_video0/brightness):
acpi_video0: 10
acpi_video1: 1
intel_backlight: 4422465
radeon_bl1: 255
I noticed that if I run startx as another user (e.g. root), X will start just
fine.
So then I tried renaming my .xinitrc file to .xinitrc.bak, and again X started
fine.
Then I tried having a completely empty .xinitrc file (by running `touch
.xinitrc`). This time X will segfault with the above error again.
Then I tried copying the .xinitrc file from /etc/skel/.xinitrc to my home
directory. Again, X segfaults with the above error.
So it seems like if I don't have an .xinitrc file, X can start up. But if I
have an .xinitrc file, including an empty one or a "default" one, X will
segfault.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>